agentboot 0.1.0 → 0.2.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 (66) hide show
  1. package/README.md +8 -7
  2. package/agentboot.config.json +4 -1
  3. package/package.json +2 -2
  4. package/scripts/cli.ts +42 -14
  5. package/scripts/compile.ts +30 -7
  6. package/scripts/dev-sync.ts +1 -1
  7. package/scripts/lib/config.ts +17 -1
  8. package/scripts/validate.ts +12 -7
  9. package/.github/ISSUE_TEMPLATE/persona-request.md +0 -62
  10. package/.github/ISSUE_TEMPLATE/quality-feedback.md +0 -67
  11. package/.github/workflows/cla.yml +0 -25
  12. package/.github/workflows/validate.yml +0 -49
  13. package/.idea/agentboot.iml +0 -9
  14. package/.idea/misc.xml +0 -6
  15. package/.idea/modules.xml +0 -8
  16. package/.idea/vcs.xml +0 -6
  17. package/CLAUDE.md +0 -230
  18. package/CONTRIBUTING.md +0 -168
  19. package/PERSONAS.md +0 -156
  20. package/core/instructions/baseline.instructions.md +0 -133
  21. package/core/instructions/security.instructions.md +0 -186
  22. package/core/personas/code-reviewer/SKILL.md +0 -175
  23. package/core/personas/security-reviewer/SKILL.md +0 -233
  24. package/core/personas/test-data-expert/SKILL.md +0 -234
  25. package/core/personas/test-generator/SKILL.md +0 -262
  26. package/core/traits/audit-trail.md +0 -182
  27. package/core/traits/confidence-signaling.md +0 -172
  28. package/core/traits/critical-thinking.md +0 -129
  29. package/core/traits/schema-awareness.md +0 -132
  30. package/core/traits/source-citation.md +0 -174
  31. package/core/traits/structured-output.md +0 -199
  32. package/docs/ci-cd-automation.md +0 -548
  33. package/docs/claude-code-reference/README.md +0 -21
  34. package/docs/claude-code-reference/agentboot-coverage.md +0 -484
  35. package/docs/claude-code-reference/feature-inventory.md +0 -906
  36. package/docs/cli-commands-audit.md +0 -112
  37. package/docs/cli-design.md +0 -924
  38. package/docs/concepts.md +0 -1117
  39. package/docs/config-schema-audit.md +0 -121
  40. package/docs/configuration.md +0 -645
  41. package/docs/delivery-methods.md +0 -758
  42. package/docs/developer-onboarding.md +0 -342
  43. package/docs/extending.md +0 -448
  44. package/docs/getting-started.md +0 -298
  45. package/docs/knowledge-layer.md +0 -464
  46. package/docs/marketplace.md +0 -822
  47. package/docs/org-connection.md +0 -570
  48. package/docs/plans/architecture.md +0 -2429
  49. package/docs/plans/design.md +0 -2018
  50. package/docs/plans/prd.md +0 -1862
  51. package/docs/plans/stack-rank.md +0 -261
  52. package/docs/plans/technical-spec.md +0 -2755
  53. package/docs/privacy-and-safety.md +0 -807
  54. package/docs/prompt-optimization.md +0 -1071
  55. package/docs/test-plan.md +0 -972
  56. package/docs/third-party-ecosystem.md +0 -496
  57. package/domains/compliance-template/README.md +0 -173
  58. package/domains/compliance-template/traits/compliance-aware.md +0 -228
  59. package/examples/enterprise/agentboot.config.json +0 -184
  60. package/examples/minimal/agentboot.config.json +0 -46
  61. package/tests/REGRESSION-PLAN.md +0 -705
  62. package/tests/TEST-PLAN.md +0 -111
  63. package/tests/cli.test.ts +0 -705
  64. package/tests/pipeline.test.ts +0 -608
  65. package/tests/validate.test.ts +0 -278
  66. 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`.