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,121 +0,0 @@
1
- # Config Schema Audit
2
-
3
- Pre-release audit of `agentboot.config.json` and `persona.config.json` schemas. Fields are hard to rename after adoption.
4
-
5
- **Date:** 2026-03-21
6
- **Status:** Pre-release review
7
-
8
- ---
9
-
10
- ## agentboot.config.json
11
-
12
- ### Root Fields
13
-
14
- | Field | Type | Used | Status |
15
- |-------|------|------|--------|
16
- | `org` | string | Yes | OK — required, no change |
17
- | `orgDisplayName` | string | Yes | OK — defaults to `org` |
18
- | `groups` | Record | Yes | See issue #1 |
19
- | `personas` | object | Yes | See issues #2, #3 |
20
- | `traits` | object | Yes | OK |
21
- | `instructions` | object | Yes | OK |
22
- | `output` | object | Yes | See issue #5 |
23
- | `sync` | object | Yes | See issues #6, #7 |
24
- | `claude` | object | Yes | See issue #8 |
25
- | `validation` | object | Yes | OK |
26
-
27
- ### Issues Found
28
-
29
- #### CRITICAL — Fix before public release
30
-
31
- **1. `groups[].label` is defined but never used**
32
- `GroupConfig.label` exists in the TypeScript interface but no code reads it. Dead field in the schema.
33
- - Recommendation: Remove from interface and example config, or implement display in PERSONAS.md output.
34
-
35
- **2. `personas.extend` — unclear name**
36
- Does it extend, override, or supplement core personas? The behavior is "load additional personas from this path" but the name suggests inheritance.
37
- - Recommendation: Rename to `personas.customDir` or `personas.additionalDir`.
38
-
39
- **3. `personas.outputFormats` not validated**
40
- Accepts any string but only recognizes `"skill"`, `"claude"`, `"copilot"`. Invalid values are silently ignored.
41
- - Recommendation: Validate against allowed set. Error on unknown formats.
42
-
43
- #### HIGH — Fix before 1.0
44
-
45
- **4. `repos[].platform` allows unimplemented values**
46
- `"cursor"` and `"gemini"` are accepted in repos.json but compile.ts doesn't generate output for them.
47
- - Recommendation: Restrict to implemented platforms or emit a clear warning.
48
-
49
- **5. `output.tokenBudget.perPersona` — unclear intent**
50
- Warns when exceeded but doesn't block. Is this informational or a hard limit?
51
- - Recommendation: Document design intent. If informational, rename to `output.tokenBudget.warnAt`. If hard limit, enforce it.
52
-
53
- **6. `sync.pr.*` — implemented but commented out in example config**
54
- PR mode works in code but users can't discover it from the config file.
55
- - Recommendation: Uncomment the PR section with a note that it's optional.
56
-
57
- **7. `sync.pr.titleTemplate` not validated**
58
- `branchPrefix` has regex validation but `titleTemplate` doesn't. Inconsistent security posture.
59
- - Recommendation: Add validation for `titleTemplate` to match `branchPrefix`.
60
-
61
- #### MEDIUM — Polish
62
-
63
- **8. `claude.hooks`, `claude.permissions`, `claude.mcpServers` — Phase 2 features exposed**
64
- These generate settings.json and .mcp.json but CC integration is incomplete. Users may expect full functionality.
65
- - Recommendation: Add clear comments marking these as experimental.
66
-
67
- **9. `output.tokenBudget.perPersona` — deeply nested for one field**
68
- `output.tokenBudget.perPersona` is 3 levels deep for a single number.
69
- - Recommendation: Keep for now (anticipate adding `perTrait`, `total` later), but document why.
70
-
71
- **10. Default values not documented in example config**
72
- `repos[].platform` defaults to `"claude"`, `sync.pr.branchPrefix` defaults to `"agentboot/sync-"`, etc.
73
- - Recommendation: Add comments documenting defaults in the example config file.
74
-
75
- ---
76
-
77
- ## persona.config.json
78
-
79
- | Field | Type | Required | Status |
80
- |-------|------|----------|--------|
81
- | `name` | string | Yes | OK |
82
- | `description` | string | Yes | OK |
83
- | `invocation` | string | No | OK — defaults to `/{dir-name}` |
84
- | `model` | string | No | OK |
85
- | `permissionMode` | string | No | OK |
86
- | `traits` | string[] | No | OK |
87
- | `groups.{name}.traits` | string[] | No | OK — trait inheritance well-designed |
88
- | `teams.{name}.traits` | string[] | No | OK — dedup works correctly |
89
-
90
- **No issues found.** The persona config schema is clean and well-designed. Trait inheritance (core + group + team with dedup) works as expected.
91
-
92
- ---
93
-
94
- ## repos.json
95
-
96
- | Field | Type | Required | Status |
97
- |-------|------|----------|--------|
98
- | `path` | string | Yes | OK |
99
- | `platform` | string | No | See issue #4 |
100
- | `group` | string | No | OK — validated against config |
101
- | `team` | string | No | OK — validated against group |
102
- | `label` | string | No | OK |
103
-
104
- ---
105
-
106
- ## Before Public Release Checklist
107
-
108
- - [ ] Remove `groups[].label` or implement it
109
- - [ ] Rename `personas.extend` to `personas.customDir`
110
- - [ ] Validate `personas.outputFormats` against allowed set
111
- - [ ] Restrict `repos[].platform` to implemented platforms
112
- - [ ] Clarify `tokenBudget` design intent
113
- - [ ] Uncomment `sync.pr` in example config (with "optional" note)
114
- - [ ] Add default value comments to example config
115
- - [ ] Mark `claude.*` fields as experimental in example config
116
-
117
- ---
118
-
119
- ## Recommendation
120
-
121
- The schema is ~85% production-ready. The critical issue is `groups.label` (dead code) and `personas.extend` (unclear name). Everything else is polish. No fundamental restructuring needed — the hierarchy (org → groups → teams, traits → personas → output) is sound.