agentboot 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/README.md +9 -8
  2. package/agentboot.config.json +4 -1
  3. package/package.json +2 -2
  4. package/scripts/cli.ts +465 -18
  5. package/scripts/compile.ts +724 -75
  6. package/scripts/dev-sync.ts +1 -1
  7. package/scripts/lib/config.ts +259 -1
  8. package/scripts/lib/frontmatter.ts +3 -1
  9. package/scripts/validate.ts +12 -7
  10. package/website/docusaurus.config.ts +117 -0
  11. package/website/package-lock.json +18448 -0
  12. package/website/package.json +47 -0
  13. package/website/sidebars.ts +53 -0
  14. package/website/src/css/custom.css +23 -0
  15. package/website/src/pages/index.module.css +23 -0
  16. package/website/src/pages/index.tsx +125 -0
  17. package/website/static/.nojekyll +0 -0
  18. package/website/static/CNAME +1 -0
  19. package/website/static/img/favicon.ico +0 -0
  20. package/website/static/img/logo.svg +1 -0
  21. package/.github/ISSUE_TEMPLATE/persona-request.md +0 -62
  22. package/.github/ISSUE_TEMPLATE/quality-feedback.md +0 -67
  23. package/.github/workflows/cla.yml +0 -25
  24. package/.github/workflows/validate.yml +0 -49
  25. package/.idea/agentboot.iml +0 -9
  26. package/.idea/misc.xml +0 -6
  27. package/.idea/modules.xml +0 -8
  28. package/.idea/vcs.xml +0 -6
  29. package/CLAUDE.md +0 -230
  30. package/CONTRIBUTING.md +0 -168
  31. package/PERSONAS.md +0 -156
  32. package/core/instructions/baseline.instructions.md +0 -133
  33. package/core/instructions/security.instructions.md +0 -186
  34. package/core/personas/code-reviewer/SKILL.md +0 -175
  35. package/core/personas/security-reviewer/SKILL.md +0 -233
  36. package/core/personas/test-data-expert/SKILL.md +0 -234
  37. package/core/personas/test-generator/SKILL.md +0 -262
  38. package/core/traits/audit-trail.md +0 -182
  39. package/core/traits/confidence-signaling.md +0 -172
  40. package/core/traits/critical-thinking.md +0 -129
  41. package/core/traits/schema-awareness.md +0 -132
  42. package/core/traits/source-citation.md +0 -174
  43. package/core/traits/structured-output.md +0 -199
  44. package/docs/ci-cd-automation.md +0 -548
  45. package/docs/claude-code-reference/README.md +0 -21
  46. package/docs/claude-code-reference/agentboot-coverage.md +0 -484
  47. package/docs/claude-code-reference/feature-inventory.md +0 -906
  48. package/docs/cli-commands-audit.md +0 -112
  49. package/docs/cli-design.md +0 -924
  50. package/docs/concepts.md +0 -1117
  51. package/docs/config-schema-audit.md +0 -121
  52. package/docs/configuration.md +0 -645
  53. package/docs/delivery-methods.md +0 -758
  54. package/docs/developer-onboarding.md +0 -342
  55. package/docs/extending.md +0 -448
  56. package/docs/getting-started.md +0 -298
  57. package/docs/knowledge-layer.md +0 -464
  58. package/docs/marketplace.md +0 -822
  59. package/docs/org-connection.md +0 -570
  60. package/docs/plans/architecture.md +0 -2429
  61. package/docs/plans/design.md +0 -2018
  62. package/docs/plans/prd.md +0 -1862
  63. package/docs/plans/stack-rank.md +0 -261
  64. package/docs/plans/technical-spec.md +0 -2755
  65. package/docs/privacy-and-safety.md +0 -807
  66. package/docs/prompt-optimization.md +0 -1071
  67. package/docs/test-plan.md +0 -972
  68. package/docs/third-party-ecosystem.md +0 -496
  69. package/domains/compliance-template/README.md +0 -173
  70. package/domains/compliance-template/traits/compliance-aware.md +0 -228
  71. package/examples/enterprise/agentboot.config.json +0 -184
  72. package/examples/minimal/agentboot.config.json +0 -46
  73. package/tests/REGRESSION-PLAN.md +0 -705
  74. package/tests/TEST-PLAN.md +0 -111
  75. package/tests/cli.test.ts +0 -705
  76. package/tests/pipeline.test.ts +0 -608
  77. package/tests/validate.test.ts +0 -278
  78. package/tsconfig.json +0 -62
@@ -1,112 +0,0 @@
1
- # CLI Commands Audit
2
-
3
- Pre-release audit of all CLI command and flag names. These become the public API surface — hard to change after adoption.
4
-
5
- **Date:** 2026-03-21
6
- **Status:** Pre-release review
7
-
8
- ---
9
-
10
- ## Implemented Commands (12)
11
-
12
- | Command | Flags | Notes |
13
- |---------|-------|-------|
14
- | `build` | `--config` | Compiles traits into persona output |
15
- | `validate` | `--config`, `--strict` | Pre-build validation |
16
- | `sync` | `--config`, `--repos`, `--dry-run` | Distribute to target repos |
17
- | `dev-sync` | `--config` | Copy dist/ locally for dogfooding |
18
- | `full-build` | `--config` | clean → validate → build → dev-sync |
19
- | `setup` | `--skip-detect` | Scaffold new personas repo |
20
- | `add <type> <name>` | — | Create persona, trait, or gotcha |
21
- | `doctor` | `--config` | Diagnose config issues |
22
- | `status` | `--config`, `--format` | Show deployment status |
23
- | `lint` | `--config`, `--persona`, `--fix`, `--severity`, `--format` | Prompt quality analysis |
24
- | `uninstall` | `--repo`, `--dry-run` | Remove AgentBoot from a repo |
25
- | `config [key]` | — | View configuration (read-only) |
26
-
27
- **Global flags:** `-c, --config <path>`, `--verbose`, `--quiet`, `-v, --version`
28
-
29
- ---
30
-
31
- ## Issues Found
32
-
33
- ### CRITICAL — Fix before public release
34
-
35
- **1. `--fix` flag on `lint` is accepted but not implemented**
36
- Users will expect it to work. Either implement auto-fix or remove the flag.
37
- - Recommendation: Remove `--fix` for V1, add back when implemented.
38
-
39
- **2. `--config` defined globally AND on individual commands**
40
- Redundant definition. Commander inherits global options. Having it on both creates confusion about precedence.
41
- - Recommendation: Remove per-command `--config`, rely on global `-c, --config`.
42
-
43
- **3. `config` command is read-only but doesn't communicate that**
44
- `agentboot config org acme` silently fails. Users expect `config key value` to write.
45
- - Recommendation: Either implement write, or rename to `config get` / add clear error message on write attempts.
46
-
47
- ### HIGH — Fix before 1.0
48
-
49
- **4. `--repos` flag on `sync` — ambiguous name**
50
- Is it a list of repo paths or a path to repos.json? It's the latter.
51
- - Recommendation: Rename to `--repos-file` for clarity.
52
-
53
- **5. `doctor` lacks `--format json`**
54
- `status` and `lint` both support `--format json`. `doctor` doesn't.
55
- - Recommendation: Add `--format` to `doctor` for consistency.
56
-
57
- **6. `dev-sync` is an internal command exposed publicly**
58
- End users don't need this. It's for AgentBoot contributors.
59
- - Recommendation: Either hide from `--help` or document as internal.
60
-
61
- ### MEDIUM — Polish
62
-
63
- **7. No short flags for common options**
64
- `--dry-run` is typed frequently but has no short form.
65
- - Recommendation: Add `-d` for `--dry-run`, `-s` for `--strict`.
66
-
67
- **8. `full-build` runs `dev-sync`, not `sync`**
68
- The name suggests a complete build, but it only syncs locally.
69
- - Recommendation: Either rename to `dev-build` or make `full-build` run actual `sync` (with `--dry-run` default for safety).
70
-
71
- **9. `add` subcommands incomplete**
72
- Implemented: `persona`, `trait`, `gotcha`. Design doc specifies: `domain`, `hook`, `repo`, `prompt`.
73
- - Recommendation: Document current scope. Add remaining in Phase 2.
74
-
75
- **10. `uninstall` scope limited**
76
- Only `--repo` and `--dry-run`. Design doc specifies: `--all-repos`, `--plugin`, `--managed`, `--everything`.
77
- - Recommendation: Document current scope. The existing flags are correct — just incomplete.
78
-
79
- ---
80
-
81
- ## Naming Consistency
82
-
83
- **Good patterns (keep):**
84
- - Hyphenated commands: `dev-sync`, `full-build`
85
- - Hyphenated flags: `--dry-run`, `--skip-detect`
86
- - Lowercase type arguments: `persona`, `trait`, `gotcha`
87
-
88
- **Inconsistencies to resolve:**
89
- - `--repos` (path to file) vs all other flags that describe what they point to
90
- - `--format` used on some commands but not all output commands
91
-
92
- ---
93
-
94
- ## Planned Commands (Not Yet Implemented)
95
-
96
- From `docs/cli-design.md` — these don't block V1 but should be on the roadmap:
97
-
98
- | Command | Purpose | Priority |
99
- |---------|---------|----------|
100
- | `connect` | Developer self-service org connection | High (V1.5) |
101
- | `export` | Generate distributable artifacts (plugin, marketplace) | High (V1.5) |
102
- | `discover` | Scan repos for existing agentic content | Medium (V2) |
103
- | `publish` | Push to marketplace | Medium (V2) |
104
- | `cost-estimate` | Project per-persona costs | Low (V2) |
105
- | `metrics` | Read telemetry | Low (V2) |
106
- | `review` | Guided human review | Low (V2) |
107
-
108
- ---
109
-
110
- ## Recommendation
111
-
112
- Address critical issues #1-3 before first `npm publish`. The remaining issues are improvements, not blockers. Current command names are solid and consistent — no renames needed except `--repos` → `--repos-file`.