@namch/agent-assistant 1.3.0 → 1.3.1

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 (90) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/agents/backend-engineer.md +3 -3
  3. package/agents/brainstormer.md +3 -3
  4. package/agents/business-analyst.md +3 -3
  5. package/agents/database-architect.md +3 -3
  6. package/agents/debugger.md +2 -2
  7. package/agents/designer.md +2 -2
  8. package/agents/devops-engineer.md +2 -2
  9. package/agents/docs-manager.md +23 -15
  10. package/agents/frontend-engineer.md +3 -3
  11. package/agents/game-engineer.md +3 -3
  12. package/agents/mobile-engineer.md +4 -4
  13. package/agents/performance-engineer.md +3 -3
  14. package/agents/planner.md +4 -4
  15. package/agents/project-manager.md +3 -3
  16. package/agents/researcher.md +3 -3
  17. package/agents/reviewer.md +3 -3
  18. package/agents/scouter.md +3 -3
  19. package/agents/security-engineer.md +3 -3
  20. package/agents/tech-lead.md +3 -3
  21. package/agents/tester.md +2 -2
  22. package/commands/docs/audit.md +554 -78
  23. package/commands/docs/business.md +392 -76
  24. package/commands/docs/core.md +573 -74
  25. package/commands/docs.md +62 -61
  26. package/documents/business/business-features/00-index.md +101 -0
  27. package/documents/business/business-features/01-feature-inventory.md +341 -0
  28. package/documents/business/business-features/02-prioritization-moscow.md +148 -0
  29. package/documents/business/business-features/03-feature-specifications.md +512 -0
  30. package/documents/business/business-features/04-dependencies-and-release-sequencing.md +313 -0
  31. package/documents/business/business-features/05-success-metrics.md +290 -0
  32. package/documents/business/business-glossary/00-index.md +89 -0
  33. package/documents/business/business-glossary/01-canonical-terms.md +428 -0
  34. package/documents/business/business-glossary/02-synonyms-and-deprecated-terms.md +180 -0
  35. package/documents/business/business-glossary/03-domain-entities-and-events.md +395 -0
  36. package/documents/business/business-glossary/04-api-term-mapping.md +173 -0
  37. package/documents/business/business-prd/00-index.md +107 -0
  38. package/documents/business/business-prd/01-executive-summary.md +131 -0
  39. package/documents/business/business-prd/02-problem-goals-and-scope.md +204 -0
  40. package/documents/business/business-prd/03-stakeholders-and-requirements.md +210 -0
  41. package/documents/business/business-prd/04-acceptance-risks-assumptions.md +246 -0
  42. package/documents/business/business-workflows/00-index.md +107 -0
  43. package/documents/business/business-workflows/01-actor-map.md +303 -0
  44. package/documents/business/business-workflows/02-workflow-catalog.md +252 -0
  45. package/documents/business/business-workflows/03-detailed-workflows.md +641 -0
  46. package/documents/business/business-workflows/04-decision-rules-and-exceptions.md +216 -0
  47. package/documents/business/business-workflows/05-sla-and-handoffs.md +253 -0
  48. package/documents/knowledge-architecture/00-index.md +159 -0
  49. package/documents/knowledge-architecture/01-system-overview.md +240 -0
  50. package/documents/knowledge-architecture/02-components.md +419 -0
  51. package/documents/knowledge-architecture/03-data-flow.md +369 -0
  52. package/documents/knowledge-architecture/04-design-patterns.md +498 -0
  53. package/documents/knowledge-architecture/05-decisions.md +410 -0
  54. package/documents/knowledge-domain/00-index.md +251 -0
  55. package/documents/knowledge-domain/01-entities.md +583 -0
  56. package/documents/knowledge-domain/02-database-schema.md +138 -0
  57. package/documents/knowledge-domain/03-api-contracts.md +479 -0
  58. package/documents/knowledge-domain/04-business-rules.md +555 -0
  59. package/documents/knowledge-overview/00-index.md +107 -0
  60. package/documents/knowledge-overview/01-project-identity.md +162 -0
  61. package/documents/knowledge-overview/02-tech-stack.md +119 -0
  62. package/documents/knowledge-overview/03-features.md +233 -0
  63. package/documents/knowledge-overview/04-getting-started.md +394 -0
  64. package/documents/knowledge-source-base/00-index.md +107 -0
  65. package/documents/knowledge-source-base/01-directory-structure.md +312 -0
  66. package/documents/knowledge-source-base/02-entry-points.md +346 -0
  67. package/documents/knowledge-source-base/03-key-modules.md +582 -0
  68. package/documents/knowledge-source-base/04-configuration.md +467 -0
  69. package/documents/knowledge-standards/00-index.md +129 -0
  70. package/documents/knowledge-standards/01-code-style.md +161 -0
  71. package/documents/knowledge-standards/02-conventions.md +255 -0
  72. package/documents/knowledge-standards/03-git-workflow.md +228 -0
  73. package/documents/knowledge-standards/04-testing-standards.md +175 -0
  74. package/package.json +1 -1
  75. package/rules/REFERENCE.md +10 -6
  76. package/skills/docs-audit/README.md +10 -8
  77. package/skills/docs-audit/SKILL.md +45 -41
  78. package/skills/docs-audit/references/scoring-framework.md +5 -5
  79. package/skills/docs-core/README.md +19 -14
  80. package/skills/docs-core/SKILL.md +189 -117
  81. package/skills/planning/references/codebase-understanding.md +5 -5
  82. package/documents/business/business-features.md +0 -894
  83. package/documents/business/business-glossary.md +0 -554
  84. package/documents/business/business-prd.md +0 -400
  85. package/documents/business/business-workflows.md +0 -713
  86. package/documents/knowledge-architecture.md +0 -621
  87. package/documents/knowledge-domain.md +0 -602
  88. package/documents/knowledge-overview.md +0 -316
  89. package/documents/knowledge-source-base.md +0 -581
  90. package/documents/knowledge-standards.md +0 -632
@@ -0,0 +1,313 @@
1
+ # Agent Assistant — Dependencies and Release Sequencing
2
+
3
+ > **Purpose**: Feature dependency graph, release history mapping, and recommended rollout order for new installations
4
+ > **Parent**: [00-index.md](./00-index.md)
5
+ > **Last Updated**: 2026-03-26
6
+ > **Generated By**: docs-business skill
7
+
8
+ ---
9
+
10
+ ## Feature Dependency Graph
11
+
12
+ ```mermaid
13
+ graph TD
14
+ BF001["BF-001<br/>Global Installation"] --> BF002["BF-002<br/>Multi-Platform (5)"]
15
+ BF001 --> BF003["BF-003<br/>Orchestrator Pattern"]
16
+ BF001 --> BF023["BF-023<br/>CLI List ⏳"]
17
+
18
+ BF003 --> BF004["BF-004<br/>21 Agents"]
19
+ BF003 --> BF005["BF-005<br/>14 Commands"]
20
+ BF003 --> BF008["BF-008<br/>Tiered Execution"]
21
+ BF003 --> BF009["BF-009<br/>10 Laws"]
22
+
23
+ BF004 --> BF007["BF-007<br/>HSOL Skills"]
24
+ BF004 --> BF010["BF-010<br/>Cognitive Anchoring"]
25
+ BF004 --> BF011["BF-011<br/>17 Teams"]
26
+ BF004 --> BF015["BF-015<br/>Docs Generation"]
27
+ BF004 --> BF019["BF-019<br/>Deploy Workflows"]
28
+ BF004 --> BF020["BF-020<br/>Autonomous /auto"]
29
+ BF004 --> BF021["BF-021<br/>Reporting"]
30
+
31
+ BF005 --> BF006["BF-006<br/>4 Variants"]
32
+ BF005 --> BF017["BF-017<br/>NL Detection"]
33
+ BF005 --> BF022["BF-022<br/>Plan Short-Circuit"]
34
+ BF005 --> BF020
35
+
36
+ BF006 --> BF011
37
+
38
+ BF007 --> BF013["BF-013<br/>Dynamic Discovery"]
39
+ BF013 --> BF014["BF-014<br/>Trust Lifecycle"]
40
+
41
+ BF011 --> BF016["BF-016<br/>Debate Mailbox"]
42
+
43
+ BF012["BF-012<br/>Error Healing"]
44
+ BF018["BF-018<br/>Language L6"]
45
+
46
+ classDef must fill:#1a7f37,stroke:#1a7f37,color:#fff
47
+ classDef should fill:#0969da,stroke:#0969da,color:#fff
48
+ classDef could fill:#8250df,stroke:#8250df,color:#fff
49
+ classDef pending fill:#d1242f,stroke:#d1242f,color:#fff
50
+
51
+ class BF001,BF002,BF003,BF004,BF005,BF006,BF007,BF008,BF009,BF010 must
52
+ class BF011,BF012,BF013,BF014,BF015,BF016,BF017,BF018 should
53
+ class BF019,BF020,BF021,BF022 could
54
+ class BF023 pending
55
+ ```
56
+
57
+ **Legend**: 🟢 Must Have | 🔵 Should Have | 🟣 Could Have | 🔴 Pending
58
+
59
+ ---
60
+
61
+ ## Dependency Matrix
62
+
63
+ | Feature | Depends On | Depended On By |
64
+ |---------|-----------|----------------|
65
+ | BF-001 | (none — root) | BF-002, BF-003, BF-023 |
66
+ | BF-002 | BF-001 | (none) |
67
+ | BF-003 | BF-001 | BF-004, BF-005, BF-008, BF-009 |
68
+ | BF-004 | BF-003 | BF-007, BF-010, BF-011, BF-015, BF-019, BF-020, BF-021 |
69
+ | BF-005 | BF-003, BF-004 | BF-006, BF-017, BF-020, BF-022 |
70
+ | BF-006 | BF-005 | BF-011 |
71
+ | BF-007 | BF-004 | BF-013 |
72
+ | BF-008 | BF-003 | (none) |
73
+ | BF-009 | BF-003 | (none) |
74
+ | BF-010 | BF-004 | (none) |
75
+ | BF-011 | BF-004, BF-006 | BF-016 |
76
+ | BF-012 | (none — standalone) | (none) |
77
+ | BF-013 | BF-007 | BF-014 |
78
+ | BF-014 | BF-013 | (none) |
79
+ | BF-015 | BF-004, BF-005 | (none) |
80
+ | BF-016 | BF-011 | (none) |
81
+ | BF-017 | BF-005 | (none) |
82
+ | BF-018 | (none — standalone) | (none) |
83
+ | BF-019 | BF-004 | (none) |
84
+ | BF-020 | BF-004, BF-005 | (none) |
85
+ | BF-021 | BF-004 | (none) |
86
+ | BF-022 | BF-005 | (none) |
87
+ | BF-023 | BF-001 | (none) |
88
+
89
+ ### Standalone Features (No Inbound Dependencies)
90
+
91
+ - **BF-012** (Error Self-Healing) — Defined in `rules/ERRORS.md`; operates independently
92
+ - **BF-018** (Language Compliance) — CORE.md law; no feature dependency
93
+
94
+ ### Critical Path
95
+
96
+ The longest dependency chain determines the minimum sequential delivery order:
97
+
98
+ ```
99
+ BF-001 → BF-003 → BF-004 → BF-007 → BF-013 → BF-014
100
+ (6 features deep)
101
+ ```
102
+
103
+ All features on this chain must ship in order. Parallel branches (BF-005→BF-006→BF-011→BF-016 and BF-008, BF-009, BF-010) can ship concurrently once their immediate dependency is met.
104
+
105
+ ---
106
+
107
+ ## Release History — Features per Version
108
+
109
+ ### v1.0.0 (2026-01-26) — Foundation Release
110
+
111
+ | Feature | Description |
112
+ |---------|-------------|
113
+ | BF-001 | One-Time Global Installation |
114
+ | BF-002 | Multi-Platform Support (Cursor, Copilot, Claude, Antigravity — 4 platforms) |
115
+ | BF-003 | Orchestrator Pattern |
116
+ | BF-004 | 21 Specialist Agents |
117
+ | BF-005 | 14 Structured Commands |
118
+ | BF-006 | Variant Strategies (`:fast`, `:hard` — partial) |
119
+ | BF-007 | Matrix Skill Discovery (HSOL v1) |
120
+ | BF-008 | Tiered Execution |
121
+ | BF-009 | 10 Orchestration Laws |
122
+ | BF-010 | Cognitive Anchoring |
123
+ | BF-012 | Error Self-Healing (E1–E4) |
124
+ | BF-015 | Documentation Generation (/docs) |
125
+ | BF-017 | Natural Language Command Detection |
126
+ | BF-018 | Language Compliance (L6) |
127
+
128
+ **14 features delivered. All 10 Must Have features shipped in v1.0.0.**
129
+
130
+ ---
131
+
132
+ ### v1.0.2 (2026-01-28) — Focus Variants
133
+
134
+ | Feature | Description |
135
+ |---------|-------------|
136
+ | BF-006 | `:focus` variant added (cook:focus, fix:focus) |
137
+
138
+ ---
139
+
140
+ ### v1.0.3 (2026-01-30) — Reporter
141
+
142
+ | Feature | Description |
143
+ |---------|-------------|
144
+ | BF-021 | Reporting System (/report command + reporter agent) |
145
+
146
+ ---
147
+
148
+ ### v1.0.4 (2026-01-30) — Autonomy & Optimization
149
+
150
+ | Feature | Description |
151
+ |---------|-------------|
152
+ | BF-020 | Autonomous Execution (/auto command) |
153
+ | BF-022 | Plan Short-Circuit (skip research when plan exists) |
154
+
155
+ ---
156
+
157
+ ### v1.1.0 (2026-02-03) — HSOL v2
158
+
159
+ | Feature | Description |
160
+ |---------|-------------|
161
+ | BF-007 | Matrix Skills rewrite — 19 domains, HSOL v2 algorithm |
162
+
163
+ **Major enhancement of existing feature, not a new feature.**
164
+
165
+ ---
166
+
167
+ ### v1.2.0 (2026-03-09) — Teams & Codex
168
+
169
+ | Feature | Description |
170
+ |---------|-------------|
171
+ | BF-002 | 5th platform: Codex added |
172
+ | BF-006 | `:team` variant added |
173
+ | BF-011 | 17 Domain Teams (Golden Triangle) |
174
+ | BF-016 | Debate Mechanism (Mailbox) |
175
+ | BF-019 | Deployment Workflows (/deploy) |
176
+
177
+ **5 features delivered/enhanced. Largest feature release since v1.0.0.**
178
+
179
+ ---
180
+
181
+ ### v1.3.0 (2026-03-23) — Smart Skills
182
+
183
+ | Feature | Description |
184
+ |---------|-------------|
185
+ | BF-007 | 1,430+ skills (expanded from 310+) |
186
+ | BF-013 | Dynamic Skill Discovery |
187
+ | BF-014 | Trust Progression Lifecycle |
188
+
189
+ ---
190
+
191
+ ### Not Yet Released
192
+
193
+ | Feature | Description | Blocker |
194
+ |---------|------------|---------|
195
+ | BF-023 | CLI List Command | No blocker — low priority (Could Have) |
196
+
197
+ ---
198
+
199
+ ## Release Timeline Visualization
200
+
201
+ ```mermaid
202
+ gantt
203
+ title Feature Release Timeline
204
+ dateFormat YYYY-MM-DD
205
+ axisFormat %Y-%m-%d
206
+
207
+ section Must Have
208
+ BF-001 Global Install :done, 2026-01-26, 1d
209
+ BF-002 Multi-Platform (4) :done, 2026-01-26, 1d
210
+ BF-003 Orchestrator :done, 2026-01-26, 1d
211
+ BF-004 21 Agents :done, 2026-01-26, 1d
212
+ BF-005 14 Commands :done, 2026-01-26, 1d
213
+ BF-006 fast+hard Variants :done, 2026-01-26, 1d
214
+ BF-007 HSOL v1 :done, 2026-01-26, 1d
215
+ BF-008 Tiered Execution :done, 2026-01-26, 1d
216
+ BF-009 10 Laws :done, 2026-01-26, 1d
217
+ BF-010 Cognitive Anchoring :done, 2026-01-26, 1d
218
+
219
+ section Must Have (enhanced)
220
+ BF-006 +focus Variant :done, 2026-01-28, 1d
221
+ BF-007 HSOL v2 Rewrite :done, 2026-02-03, 1d
222
+ BF-002 +Codex Platform :done, 2026-03-09, 1d
223
+ BF-006 +team Variant :done, 2026-03-09, 1d
224
+ BF-007 1430+ Skills :done, 2026-03-23, 1d
225
+
226
+ section Should Have
227
+ BF-012 Error Healing :done, 2026-01-26, 1d
228
+ BF-015 Docs Generation :done, 2026-01-26, 1d
229
+ BF-017 NL Detection :done, 2026-01-26, 1d
230
+ BF-018 Language L6 :done, 2026-01-26, 1d
231
+ BF-011 17 Teams :done, 2026-03-09, 1d
232
+ BF-016 Debate Mailbox :done, 2026-03-09, 1d
233
+ BF-013 Dynamic Discovery :done, 2026-03-23, 1d
234
+ BF-014 Trust Lifecycle :done, 2026-03-23, 1d
235
+
236
+ section Could Have
237
+ BF-021 Reporting :done, 2026-01-30, 1d
238
+ BF-020 Autonomous /auto :done, 2026-01-30, 1d
239
+ BF-022 Plan Short-Circuit :done, 2026-01-30, 1d
240
+ BF-019 Deploy Workflows :done, 2026-03-09, 1d
241
+ BF-023 CLI List :active, 2026-03-26, 7d
242
+ ```
243
+
244
+ ---
245
+
246
+ ## Recommended Rollout Order for New Installations
247
+
248
+ For teams adopting agent-assistant for the first time, the recommended rollout sequence introduces features in dependency-safe batches:
249
+
250
+ ### Phase 1 — Foundation (Day 1)
251
+
252
+ | Feature | Reason |
253
+ |---------|--------|
254
+ | BF-001 | Install the framework |
255
+ | BF-002 | Configure target platforms |
256
+ | BF-003 | Orchestrator loads at first session |
257
+ | BF-004 | All 21 agents available immediately |
258
+ | BF-009 | Laws enforce governance from session 1 |
259
+ | BF-010 | Cognitive anchoring active in every agent |
260
+
261
+ **Result**: Users can delegate tasks to specialist agents. All Must Have foundations in place.
262
+
263
+ ### Phase 2 — Structured Workflows (Day 1–2)
264
+
265
+ | Feature | Reason |
266
+ |---------|--------|
267
+ | BF-005 | Learn core commands (start with `/cook`, `/fix`, `/test`) |
268
+ | BF-006 | Start with `:fast` variant; graduate to `:hard` |
269
+ | BF-008 | Tiered execution auto-detected per platform |
270
+ | BF-012 | Error handling active from first run |
271
+ | BF-017 | Natural language reduces learning curve |
272
+ | BF-018 | Language compliance for international teams |
273
+
274
+ **Result**: Full command workflow available. Users productive with structured development.
275
+
276
+ ### Phase 3 — Knowledge Layer (Week 1)
277
+
278
+ | Feature | Reason |
279
+ |---------|--------|
280
+ | BF-007 | HSOL skill injection enriches agent output |
281
+ | BF-015 | Generate project documentation |
282
+ | BF-022 | Use plans to skip redundant research |
283
+
284
+ **Result**: Agents produce domain-specific, high-quality output. Documentation generated.
285
+
286
+ ### Phase 4 — Advanced Quality (Week 2+)
287
+
288
+ | Feature | Reason |
289
+ |---------|--------|
290
+ | BF-011 | Introduce `:team` variant for critical features |
291
+ | BF-016 | Debate mechanism ensures adversarial review |
292
+ | BF-013 | Dynamic discovery extends skill coverage |
293
+ | BF-014 | Trust lifecycle governs community skills |
294
+ | BF-019 | Structured deployment for production releases |
295
+ | BF-020 | Autonomous execution for experienced users |
296
+ | BF-021 | Automated reporting for team visibility |
297
+
298
+ **Result**: Full framework capability. Adversarial quality, ecosystem skills, deployment automation.
299
+
300
+ ---
301
+
302
+ ## Evidence Sources
303
+
304
+ | Source | Path |
305
+ |--------|------|
306
+ | CHANGELOG (release history) | [../../CHANGELOG.md](../../CHANGELOG.md) |
307
+ | Structured Business Pack | [../../reports/business-analysis/structured-business-pack.md](../../reports/business-analysis/structured-business-pack.md) |
308
+ | Knowledge overview — features | [../knowledge-overview/03-features.md](../knowledge-overview/03-features.md) |
309
+ | PRD — goals and scope | [../business-prd/02-problem-goals-and-scope.md](../business-prd/02-problem-goals-and-scope.md) |
310
+ | CORE rules | [../../rules/CORE.md](../../rules/CORE.md) |
311
+ | SKILLS rules | [../../rules/SKILLS.md](../../rules/SKILLS.md) |
312
+ | TEAMS rules | [../../rules/TEAMS.md](../../rules/TEAMS.md) |
313
+ | CLI installer | [../../cli/install.js](../../cli/install.js) |
@@ -0,0 +1,290 @@
1
+ # Agent Assistant — Success Metrics
2
+
3
+ > **Purpose**: KPIs per feature with baselines, targets, measurement approach, and validation status
4
+ > **Parent**: [00-index.md](./00-index.md)
5
+ > **Last Updated**: 2026-03-26
6
+ > **Generated By**: docs-business skill
7
+
8
+ ---
9
+
10
+ ## Validation Status Legend
11
+
12
+ | Status | Meaning |
13
+ |--------|---------|
14
+ | ✅ VALIDATED | Metric measured and confirmed through testing or production use |
15
+ | ⚠️ SELF-REPORTED | Metric claimed in documentation but not independently verified |
16
+ | ❌ UNVALIDATED | No measurement performed; target is aspirational |
17
+ | 📐 STRUCTURAL | Metric is a count or structural check verifiable by inspection |
18
+
19
+ ---
20
+
21
+ ## Must Have Features — Metrics
22
+
23
+ ### BF-001 — One-Time Global Installation
24
+
25
+ | KPI | Baseline | Target | Measurement | Status |
26
+ |-----|----------|--------|-------------|--------|
27
+ | Installation success rate | N/A (new product) | 100% on all 5 platforms | Run `install --all` on clean systems per platform | 📐 STRUCTURAL |
28
+ | Per-project config required | Manual setup per project | Zero (0 files per project) | Verify no project-level files needed after global install | 📐 STRUCTURAL |
29
+ | Installation time | N/A | < 60 seconds | Time `npm run install:all` end-to-end | ❌ UNVALIDATED |
30
+ | Platform file count | N/A | All framework files copied | Diff source vs installed directory | 📐 STRUCTURAL |
31
+
32
+ ---
33
+
34
+ ### BF-002 — Multi-Platform Support (5 Platforms)
35
+
36
+ | KPI | Baseline | Target | Measurement | Status |
37
+ |-----|----------|--------|-------------|--------|
38
+ | Platforms supported | 0 | 5 (Cursor, Copilot, Claude, Codex, Antigravity) | Count entries in CLI `TOOLS` config | ✅ VALIDATED |
39
+ | Command parity across platforms | N/A | 100% — identical command set on each | Execute all 14 commands on each platform; compare output structure | ❌ UNVALIDATED |
40
+ | Placeholder resolution | Raw `{TOOL}` in files | Zero unresolved placeholders post-install | Grep installed files for `{TOOL}` pattern | 📐 STRUCTURAL |
41
+
42
+ ---
43
+
44
+ ### BF-003 — Orchestrator Pattern
45
+
46
+ | KPI | Baseline | Target | Measurement | Status |
47
+ |-----|----------|--------|-------------|--------|
48
+ | Direct implementation rate | AI writes code by default | 0% — Orchestrator always delegates | Audit session transcripts for Orchestrator-authored code | ⚠️ SELF-REPORTED |
49
+ | Time-to-production improvement | Manual AI prompting baseline | 70% faster | Compare task completion time with/without framework | ⚠️ SELF-REPORTED |
50
+ | Bug rate reduction | Manual AI prompting baseline | 70% reduction | Compare defect rate in outputs with/without framework | ⚠️ SELF-REPORTED |
51
+
52
+ ---
53
+
54
+ ### BF-004 — 21 Specialist Agents
55
+
56
+ | KPI | Baseline | Target | Measurement | Status |
57
+ |-----|----------|--------|-------------|--------|
58
+ | Agent count | 0 | 21 specialist + 51 team = 72 total | Count files in `agents/` and `agents/teams/` | ✅ VALIDATED |
59
+ | Profile completeness | N/A | 100% — every agent has profile, directive, protocol, constraints | Parse agent files for required sections | 📐 STRUCTURAL |
60
+ | Domain coverage | No specialization | 5 categories (implementation, architecture, quality, planning, support) | Map agents to categories | ✅ VALIDATED |
61
+
62
+ ---
63
+
64
+ ### BF-005 — 14 Structured Commands
65
+
66
+ | KPI | Baseline | Target | Measurement | Status |
67
+ |-----|----------|--------|-------------|--------|
68
+ | Command count | 0 | 14 | Count files in `commands/` | ✅ VALIDATED |
69
+ | Routing accuracy | N/A | 100% — all commands route to correct variant | Test each command with each variant specification | ❌ UNVALIDATED |
70
+ | Variant coverage | N/A | Up to 54 total variants | Count variant files across all command subdirectories | 📐 STRUCTURAL |
71
+
72
+ ---
73
+
74
+ ### BF-006 — 4 Variant Strategies
75
+
76
+ | KPI | Baseline | Target | Measurement | Status |
77
+ |-----|----------|--------|-------------|--------|
78
+ | Variants per command | 1 (no variants) | Up to 4 (fast, hard, focus, team) | Count variant files per command directory | ✅ VALIDATED |
79
+ | Agent scaling | Fixed | `:fast` 2–3, `:hard` 5–8, `:team` 3 per team | Verify agent count in variant file phase definitions | 📐 STRUCTURAL |
80
+ | Quality gate presence | None | `:hard` includes test + review + security gates | Parse `:hard` variant files for gate definitions | 📐 STRUCTURAL |
81
+
82
+ ---
83
+
84
+ ### BF-007 — Matrix Skill Discovery (HSOL)
85
+
86
+ | KPI | Baseline | Target | Measurement | Status |
87
+ |-----|----------|--------|-------------|--------|
88
+ | Skill count | 0 | 1,430+ | Count directories in `skills/` | ✅ VALIDATED |
89
+ | Domain count | 0 | 19 | Count YAML files in `matrix-skills/` (excluding meta files) | ✅ VALIDATED |
90
+ | Token cost savings | Generic AI prompting | 85% savings | Compare prompt token usage with/without HSOL skill injection | ⚠️ SELF-REPORTED |
91
+ | Fitness threshold | N/A | ≥ 0.8 for skill inclusion | Verify threshold in `rules/SKILLS.md` | 📐 STRUCTURAL |
92
+
93
+ ---
94
+
95
+ ### BF-008 — Tiered Execution
96
+
97
+ | KPI | Baseline | Target | Measurement | Status |
98
+ |-----|----------|--------|-------------|--------|
99
+ | TIER 1 usage on capable platforms | N/A | 100% when `runSubagent` available | Verify TIER 1 mandatory rule in CORE.md | 📐 STRUCTURAL |
100
+ | TIER 2 fallback reliability | N/A | 100% — execution succeeds when TIER 1 unavailable | Test on non-sub-agent platform | ❌ UNVALIDATED |
101
+ | Parallel execution speedup | Sequential (1×) | Up to 3× on TIER 1 (3 parallel agents) | Time multi-agent tasks on TIER 1 vs TIER 2 | ❌ UNVALIDATED |
102
+
103
+ ---
104
+
105
+ ### BF-009 — 10 Orchestration Laws
106
+
107
+ | KPI | Baseline | Target | Measurement | Status |
108
+ |-----|----------|--------|-------------|--------|
109
+ | Law count | 0 | 10 | Count laws in `rules/CORE.md` | ✅ VALIDATED |
110
+ | Enforcement rate | N/A | 100% — all laws active every session | Verify mandatory boot sequence loads CORE.md | 📐 STRUCTURAL |
111
+ | Violation rate | N/A | 0 violations per session | Audit session transcripts for law violations | ❌ UNVALIDATED |
112
+
113
+ ---
114
+
115
+ ### BF-010 — Cognitive Anchoring
116
+
117
+ | KPI | Baseline | Target | Measurement | Status |
118
+ |-----|----------|--------|-------------|--------|
119
+ | Agents with anchor block | 0 | 21/21 (100%) | Parse agent files for cognitive anchor section | 📐 STRUCTURAL |
120
+ | Role drift incidents | Unanchored AI drifts frequently | Zero drift per session | Audit long sessions for agent identity loss | ❌ UNVALIDATED |
121
+
122
+ ---
123
+
124
+ ## Should Have Features — Metrics
125
+
126
+ ### BF-011 — 17 Domain Teams (Golden Triangle)
127
+
128
+ | KPI | Baseline | Target | Measurement | Status |
129
+ |-----|----------|--------|-------------|--------|
130
+ | Team count | 0 | 17 | Count directories in `agents/teams/` | ✅ VALIDATED |
131
+ | Team agent count | 0 | 51 (17 × 3) | Count agent files in team directories | ✅ VALIDATED |
132
+ | Defect detection improvement | Single-agent review baseline | Measurable improvement over `:hard` variant | Compare defect escape rate `:team` vs `:hard` | ❌ UNVALIDATED |
133
+
134
+ ---
135
+
136
+ ### BF-012 — Error Self-Healing (E1–E4)
137
+
138
+ | KPI | Baseline | Target | Measurement | Status |
139
+ |-----|----------|--------|-------------|--------|
140
+ | Error classes defined | 0 | 4 (E1–E4) | Parse `rules/ERRORS.md` | ✅ VALIDATED |
141
+ | Silent failure rate | Unknown | 0 — all errors surfaced | Audit sessions for unreported errors | ❌ UNVALIDATED |
142
+ | Auto-recovery rate (E1+E2) | N/A | ≥ 80% of recoverable errors auto-resolved | Track E1/E2 recovery outcomes | ❌ UNVALIDATED |
143
+
144
+ ---
145
+
146
+ ### BF-013 — Dynamic Skill Discovery
147
+
148
+ | KPI | Baseline | Target | Measurement | Status |
149
+ |-----|----------|--------|-------------|--------|
150
+ | Discovery trigger threshold | N/A | Fitness < 0.8 | Verify in `rules/SKILLS.md` | 📐 STRUCTURAL |
151
+ | Community skills discovered | 0 | Grows over time | Count entries in `matrix-skills/_dynamic.yaml` | ❌ UNVALIDATED |
152
+ | Offline fallback success | N/A | 100% — graceful degradation | Test with network disabled | ❌ UNVALIDATED |
153
+
154
+ ---
155
+
156
+ ### BF-014 — Trust Progression Lifecycle
157
+
158
+ | KPI | Baseline | Target | Measurement | Status |
159
+ |-----|----------|--------|-------------|--------|
160
+ | Lifecycle stages | 0 | 4 (NEW → EVALUATING → VALIDATED → PROMOTED) | Verify in `rules/SKILLS.md` | 📐 STRUCTURAL |
161
+ | Skills promoted | 0 | Grows with community usage | Count PROMOTED entries in `_dynamic.yaml` | ❌ UNVALIDATED |
162
+ | False promotion rate | N/A | 0 — no skill promoted without successful validation | Audit promotion criteria | ❌ UNVALIDATED |
163
+
164
+ ---
165
+
166
+ ### BF-015 — Documentation Generation (/docs)
167
+
168
+ | KPI | Baseline | Target | Measurement | Status |
169
+ |-----|----------|--------|-------------|--------|
170
+ | Doc folder types | 0 | 3 categories (Core 5, Business 4+, Audit 4) | Count generated folder structure | 📐 STRUCTURAL |
171
+ | Generation completeness | Manual docs | All specified folders populated | Verify non-empty output per folder | ❌ UNVALIDATED |
172
+ | Update idempotency | N/A | Re-running `/docs` updates, not duplicates | Run twice; compare output | ❌ UNVALIDATED |
173
+
174
+ ---
175
+
176
+ ### BF-016 — Debate Mechanism (Mailbox)
177
+
178
+ | KPI | Baseline | Target | Measurement | Status |
179
+ |-----|----------|--------|-------------|--------|
180
+ | Message types | 0 | 6 (TASK_ASSIGNMENT, SUBMISSION, REVIEW, DEFENSE, ARBITRATION, DECISION) | Parse `rules/TEAMS.md` | ✅ VALIDATED |
181
+ | Max debate rounds | Unlimited | 3 | Verify in `rules/TEAMS.md` | 📐 STRUCTURAL |
182
+ | Convergence rate | N/A | ≥ 90% consensus within 3 rounds | Track round counts across team executions | ❌ UNVALIDATED |
183
+
184
+ ---
185
+
186
+ ### BF-017 — Natural Language Command Detection
187
+
188
+ | KPI | Baseline | Target | Measurement | Status |
189
+ |-----|----------|--------|-------------|--------|
190
+ | Intent mapping accuracy | N/A | ≥ 95% correct routing | Test corpus of natural language inputs | ❌ UNVALIDATED |
191
+ | Supported intents | 0 | All 14 commands reachable via natural language | Verify mapping table in CORE.md | 📐 STRUCTURAL |
192
+
193
+ ---
194
+
195
+ ### BF-018 — Language Compliance (L6)
196
+
197
+ | KPI | Baseline | Target | Measurement | Status |
198
+ |-----|----------|--------|-------------|--------|
199
+ | Response language match | English only | Matches user's language | Test with non-English prompts | ❌ UNVALIDATED |
200
+ | Code language | N/A | Always English | Audit generated code for non-English content | ❌ UNVALIDATED |
201
+
202
+ ---
203
+
204
+ ## Could Have Features — Metrics
205
+
206
+ ### BF-019 — Deployment Workflows (/deploy)
207
+
208
+ | KPI | Baseline | Target | Measurement | Status |
209
+ |-----|----------|--------|-------------|--------|
210
+ | Deploy variants | 0 | 4 (check, preview, production, rollback) | Count variant files in `commands/deploy/` | ✅ VALIDATED |
211
+ | Pre-deployment check coverage | Manual checklists | Automated validation of environment, config, deps | Audit check variant output | ❌ UNVALIDATED |
212
+
213
+ ---
214
+
215
+ ### BF-020 — Autonomous Execution (/auto)
216
+
217
+ | KPI | Baseline | Target | Measurement | Status |
218
+ |-----|----------|--------|-------------|--------|
219
+ | Classification accuracy | N/A | ≥ 90% correct command selection | Test with varied task descriptions | ❌ UNVALIDATED |
220
+ | Human intervention rate | 100% (manual routing) | < 10% (only ambiguous cases) | Track fallback-to-user events in `/auto` | ❌ UNVALIDATED |
221
+
222
+ ---
223
+
224
+ ### BF-021 — Reporting System (/report)
225
+
226
+ | KPI | Baseline | Target | Measurement | Status |
227
+ |-----|----------|--------|-------------|--------|
228
+ | Report variants | 0 | 4 (auto, fast, hard, focus) | Count variant files | ✅ VALIDATED |
229
+ | Report accuracy | Manual reports | Grounded in project state | Compare report assertions to actual codebase state | ❌ UNVALIDATED |
230
+
231
+ ---
232
+
233
+ ### BF-022 — Plan Short-Circuit
234
+
235
+ | KPI | Baseline | Target | Measurement | Status |
236
+ |-----|----------|--------|-------------|--------|
237
+ | Phases skipped | 0 | 3 (research, scout, brainstorm) when plan exists | Verify skip logic in code command files | 📐 STRUCTURAL |
238
+ | Token savings | Full pipeline tokens | Measurable reduction when plan provided | Compare token usage with/without plan | ❌ UNVALIDATED |
239
+
240
+ ---
241
+
242
+ ### BF-023 — CLI List Command
243
+
244
+ | KPI | Baseline | Target | Measurement | Status |
245
+ |-----|----------|--------|-------------|--------|
246
+ | Platforms detected | N/A | All 5 platforms accurately reported | Run CLI list; compare to filesystem state | ❌ UNVALIDATED |
247
+
248
+ **Status**: NOT YET IMPLEMENTED — all metrics are targets for future validation.
249
+
250
+ ---
251
+
252
+ ## Metrics Summary by Validation Status
253
+
254
+ | Status | Count | Features Affected |
255
+ |--------|-------|-------------------|
256
+ | ✅ VALIDATED | 12 | BF-002, BF-004, BF-005, BF-006, BF-007, BF-009, BF-011, BF-012, BF-016, BF-019, BF-021 |
257
+ | ⚠️ SELF-REPORTED | 4 | BF-003 (70% faster, 70% bugs), BF-007 (85% tokens) |
258
+ | 📐 STRUCTURAL | 22 | All features (structural checks always verifiable) |
259
+ | ❌ UNVALIDATED | 28 | Most behavioral and performance metrics |
260
+
261
+ ### Key Observation
262
+
263
+ The majority of **structural metrics** (counts, file presence, configuration values) are easily validated by script or inspection. The **behavioral metrics** (accuracy, speed, defect rates) require controlled experiments that have not been conducted. The three **self-reported performance claims** (70% time reduction, 70% bug reduction, 85% token savings) are the highest-risk metrics — they drive the product's value proposition but lack independent verification.
264
+
265
+ ### Recommended Measurement Plan
266
+
267
+ | Priority | Action | Metrics Covered |
268
+ |----------|--------|-----------------|
269
+ | 1 | Build automated structural validation script | All 📐 STRUCTURAL metrics |
270
+ | 2 | Design A/B test: framework vs manual prompting | BF-003 time/bug claims, BF-007 token claims |
271
+ | 3 | Instrument `:team` sessions for debate round tracking | BF-016 convergence rate |
272
+ | 4 | Create NL intent test corpus | BF-017 accuracy |
273
+ | 5 | Run `/auto` classification tests | BF-020 accuracy |
274
+ | 6 | Measure TIER 1 vs TIER 2 execution time | BF-008 parallel speedup |
275
+
276
+ ---
277
+
278
+ ## Evidence Sources
279
+
280
+ | Source | Path |
281
+ |--------|------|
282
+ | Structured Business Pack (metrics section) | [../../reports/business-analysis/structured-business-pack.md](../../reports/business-analysis/structured-business-pack.md) |
283
+ | Knowledge overview — features and metrics | [../knowledge-overview/03-features.md](../knowledge-overview/03-features.md) |
284
+ | README (performance claims) | [../../README.md](../../README.md) |
285
+ | HSOL Assessment (skill metrics) | [../HSOL-ASSESSMENT.md](../HSOL-ASSESSMENT.md) |
286
+ | CORE rules (laws, tiered execution) | [../../rules/CORE.md](../../rules/CORE.md) |
287
+ | SKILLS rules (HSOL thresholds) | [../../rules/SKILLS.md](../../rules/SKILLS.md) |
288
+ | TEAMS rules (debate protocol) | [../../rules/TEAMS.md](../../rules/TEAMS.md) |
289
+ | ERRORS rules (classification) | [../../rules/ERRORS.md](../../rules/ERRORS.md) |
290
+ | CHANGELOG | [../../CHANGELOG.md](../../CHANGELOG.md) |
@@ -0,0 +1,89 @@
1
+ # Agent Assistant — Business Glossary Index
2
+
3
+ | Field | Value |
4
+ |-------|-------|
5
+ | **Purpose** | Master index for the canonical business glossary of the agent-assistant framework |
6
+ | **Parent** | [../README.md](../README.md) |
7
+ | **Last Updated** | 2026-03-26 |
8
+ | **Generated By** | docs-business skill |
9
+
10
+ ---
11
+
12
+ ## Quick Summary
13
+
14
+ This glossary establishes the **single source of truth** for all domain terminology used across the @namch/agent-assistant v1.3.0 framework. It canonicalizes 35+ terms spanning orchestration, agent delegation, skill resolution, team protocols, governance, and error handling. The glossary serves as the authoritative reference for documentation authors, agent definitions, command workflows, and platform integrations.
15
+
16
+ ---
17
+
18
+ ## Sub-Files
19
+
20
+ | # | File | Description |
21
+ |---|------|-------------|
22
+ | 01 | [01-canonical-terms.md](01-canonical-terms.md) | All 35+ canonical terms with formal definitions organized by category |
23
+ | 02 | [02-synonyms-and-deprecated-terms.md](02-synonyms-and-deprecated-terms.md) | Complete alias table, deprecated terms with replacement guidance, confused terms |
24
+ | 03 | [03-domain-entities-and-events.md](03-domain-entities-and-events.md) | Entity vocabulary, event vocabulary, entity-event interaction matrix |
25
+ | 04 | [04-api-term-mapping.md](04-api-term-mapping.md) | Domain term to technical implementation mapping (files, YAML fields, CLI args) |
26
+
27
+ ---
28
+
29
+ ## Key Facts
30
+
31
+ | Metric | Value |
32
+ |--------|-------|
33
+ | Canonical Terms | 35+ |
34
+ | Term Categories | 6 (Core Concepts, Execution Model, Skill System, Team Protocol, Governance, Error Handling) |
35
+ | Domain Entities | 12 |
36
+ | Domain Events | 11 |
37
+ | Skill Domains | 19 |
38
+ | Deprecated Terms | 2 |
39
+ | Known Aliases | 70+ |
40
+ | API Mappings | 9 primary + CLI + prompt + HSOL config |
41
+
42
+ ---
43
+
44
+ ## Cross-References
45
+
46
+ | Glossary Area | Related Documents |
47
+ |---------------|-------------------|
48
+ | Orchestrator, Agent, Command | `rules/CORE.md`, `rules/AGENTS.md`, `rules/PHASES.md` |
49
+ | HSOL, Matrix Skill, Dynamic Skill | `matrix-skills/_index.yaml`, `matrix-skills/_dynamic.yaml` |
50
+ | Golden Triangle, Mailbox, Consensus | `rules/TEAMS.md`, `agents/teams/` |
51
+ | Orchestration Laws (L1–L10) | `rules/CORE.md` |
52
+ | Error Classification (E1–E4) | `rules/ERRORS.md` |
53
+ | Commands, Variants, Phases | `commands/*.md`, `commands/{cmd}/*.md`, `rules/PHASES.md` |
54
+ | Platform Entry Points | `CLAUDE.md`, `CURSOR.md`, `COPILOT.md`, `CODEX.md`, `GEMINI.md` |
55
+ | Tiered Execution | `rules/AGENTS.md` |
56
+ | Trust Progression, Promotion | `matrix-skills/_index.yaml` `hsol.trust` |
57
+ | Requirements Registry | `rules/PHASES.md` |
58
+ | Anti-Pattern Registry | `rules/CORE.md` |
59
+ | Business Workflows | `documents/business/business-workflows/` |
60
+
61
+ ---
62
+
63
+ ## Known Gaps
64
+
65
+ | Gap | Description | Priority |
66
+ |-----|-------------|----------|
67
+ | **CLI sub-commands** | `install`, `uninstall`, `list`, `update` sub-command terminology not yet canonicalized beyond `find-skills` | Medium |
68
+ | **Platform-specific overrides** | Terminology differences across Claude, Cursor, Copilot, Codex, Gemini entry points not fully mapped | Medium |
69
+ | **Skill metadata fields** | Not all YAML fields in SKILL.md files have been mapped to glossary terms (e.g., `tags`, `version`, `author`) | Low |
70
+ | **Team variant naming** | Naming conventions for team folders under `agents/teams/` not formally defined | Low |
71
+ | **Error recovery actions** | Specific recovery action vocabulary (retry, escalate, abort) not canonicalized | Low |
72
+ | **Versioning terminology** | No canonical terms for version progression, breaking changes, or migration paths | Low |
73
+
74
+ ---
75
+
76
+ ## Evidence Sources
77
+
78
+ - `rules/CORE.md` — Orchestration Laws, identity, prohibitions
79
+ - `rules/AGENTS.md` — Tiered execution, agent delegation
80
+ - `rules/PHASES.md` — Phase structure, deliverable format
81
+ - `rules/TEAMS.md` — Golden Triangle, mailbox, consensus
82
+ - `rules/ERRORS.md` — Error classification E1–E4
83
+ - `rules/SKILLS.md` — HSOL resolution, fitness scoring
84
+ - `matrix-skills/_index.yaml` — HSOL configuration, trust, fitness weights
85
+ - `matrix-skills/_dynamic.yaml` — Dynamic skill registry
86
+ - `agents/*.md` — Agent file structure, profile, handoffs
87
+ - `commands/*.md` — Command routing, variant structure
88
+ - `package.json` — Project metadata v1.3.0
89
+ - `README.md` — Project overview, feature summary