@namch/agent-assistant 1.3.0 → 1.3.2

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 (142) hide show
  1. package/CHANGELOG.md +24 -1
  2. package/README.md +3 -4
  3. package/agents/backend-engineer.md +3 -3
  4. package/agents/brainstormer.md +3 -3
  5. package/agents/business-analyst.md +3 -3
  6. package/agents/database-architect.md +3 -3
  7. package/agents/debugger.md +2 -2
  8. package/agents/designer.md +2 -2
  9. package/agents/devops-engineer.md +2 -2
  10. package/agents/docs-manager.md +23 -15
  11. package/agents/frontend-engineer.md +3 -3
  12. package/agents/game-engineer.md +3 -3
  13. package/agents/mobile-engineer.md +4 -4
  14. package/agents/performance-engineer.md +3 -3
  15. package/agents/planner.md +4 -4
  16. package/agents/project-manager.md +3 -3
  17. package/agents/researcher.md +3 -3
  18. package/agents/reviewer.md +3 -3
  19. package/agents/scouter.md +3 -3
  20. package/agents/security-engineer.md +3 -3
  21. package/agents/tech-lead.md +3 -3
  22. package/agents/tester.md +2 -2
  23. package/code-assistants/codex-assistant/CODEX.md +1 -2
  24. package/commands/ask/hard.md +1 -1
  25. package/commands/brainstorm/hard.md +1 -1
  26. package/commands/code/hard.md +1 -1
  27. package/commands/code.md +2 -7
  28. package/commands/cook/hard.md +1 -1
  29. package/commands/cook.md +1 -6
  30. package/commands/debug/hard.md +1 -1
  31. package/commands/debug.md +1 -6
  32. package/commands/design/hard.md +1 -1
  33. package/commands/design.md +1 -6
  34. package/commands/docs/audit.md +554 -78
  35. package/commands/docs/business.md +392 -76
  36. package/commands/docs/core.md +573 -74
  37. package/commands/docs.md +62 -61
  38. package/commands/fix/hard.md +1 -1
  39. package/commands/fix.md +1 -6
  40. package/commands/plan/hard.md +1 -1
  41. package/commands/plan.md +1 -6
  42. package/commands/report/fast.md +2 -2
  43. package/commands/report/hard.md +1 -1
  44. package/commands/report.md +2 -7
  45. package/commands/review/hard.md +1 -1
  46. package/commands/test/hard.md +1 -1
  47. package/commands/test.md +1 -6
  48. package/documents/HSOL-ASSESSMENT.md +6 -6
  49. package/documents/SMART-SKILL-ORCHESTRATION-BLUEPRINT.md +1 -1
  50. package/documents/business/business-features/00-index.md +101 -0
  51. package/documents/business/business-features/01-feature-inventory.md +341 -0
  52. package/documents/business/business-features/02-prioritization-moscow.md +148 -0
  53. package/documents/business/business-features/03-feature-specifications.md +511 -0
  54. package/documents/business/business-features/04-dependencies-and-release-sequencing.md +313 -0
  55. package/documents/business/business-features/05-success-metrics.md +290 -0
  56. package/documents/business/business-glossary/00-index.md +89 -0
  57. package/documents/business/business-glossary/01-canonical-terms.md +428 -0
  58. package/documents/business/business-glossary/02-synonyms-and-deprecated-terms.md +180 -0
  59. package/documents/business/business-glossary/03-domain-entities-and-events.md +395 -0
  60. package/documents/business/business-glossary/04-api-term-mapping.md +173 -0
  61. package/documents/business/business-prd/00-index.md +107 -0
  62. package/documents/business/business-prd/01-executive-summary.md +131 -0
  63. package/documents/business/business-prd/02-problem-goals-and-scope.md +204 -0
  64. package/documents/business/business-prd/03-stakeholders-and-requirements.md +210 -0
  65. package/documents/business/business-prd/04-acceptance-risks-assumptions.md +246 -0
  66. package/documents/business/business-workflows/00-index.md +107 -0
  67. package/documents/business/business-workflows/01-actor-map.md +303 -0
  68. package/documents/business/business-workflows/02-workflow-catalog.md +252 -0
  69. package/documents/business/business-workflows/03-detailed-workflows.md +641 -0
  70. package/documents/business/business-workflows/04-decision-rules-and-exceptions.md +216 -0
  71. package/documents/business/business-workflows/05-sla-and-handoffs.md +253 -0
  72. package/documents/knowledge-architecture/00-index.md +159 -0
  73. package/documents/knowledge-architecture/01-system-overview.md +240 -0
  74. package/documents/knowledge-architecture/02-components.md +419 -0
  75. package/documents/knowledge-architecture/03-data-flow.md +368 -0
  76. package/documents/knowledge-architecture/04-design-patterns.md +497 -0
  77. package/documents/knowledge-architecture/05-decisions.md +410 -0
  78. package/documents/knowledge-domain/00-index.md +251 -0
  79. package/documents/knowledge-domain/01-entities.md +582 -0
  80. package/documents/knowledge-domain/02-database-schema.md +138 -0
  81. package/documents/knowledge-domain/03-api-contracts.md +477 -0
  82. package/documents/knowledge-domain/04-business-rules.md +554 -0
  83. package/documents/knowledge-overview/00-index.md +107 -0
  84. package/documents/knowledge-overview/01-project-identity.md +162 -0
  85. package/documents/knowledge-overview/02-tech-stack.md +119 -0
  86. package/documents/knowledge-overview/03-features.md +232 -0
  87. package/documents/knowledge-overview/04-getting-started.md +394 -0
  88. package/documents/knowledge-source-base/00-index.md +107 -0
  89. package/documents/knowledge-source-base/01-directory-structure.md +312 -0
  90. package/documents/knowledge-source-base/02-entry-points.md +346 -0
  91. package/documents/knowledge-source-base/03-key-modules.md +581 -0
  92. package/documents/knowledge-source-base/04-configuration.md +467 -0
  93. package/documents/knowledge-standards/00-index.md +129 -0
  94. package/documents/knowledge-standards/01-code-style.md +161 -0
  95. package/documents/knowledge-standards/02-conventions.md +254 -0
  96. package/documents/knowledge-standards/03-git-workflow.md +228 -0
  97. package/documents/knowledge-standards/04-testing-standards.md +175 -0
  98. package/matrix-skills/_index.yaml +1 -1
  99. package/package.json +1 -1
  100. package/rules/AGENTS.md +1 -1
  101. package/rules/REFERENCE.md +18 -14
  102. package/rules/SKILLS.md +1 -1
  103. package/rules/TEAMS.md +1 -2
  104. package/skills/docs-audit/README.md +10 -8
  105. package/skills/docs-audit/SKILL.md +45 -41
  106. package/skills/docs-audit/references/scoring-framework.md +5 -5
  107. package/skills/docs-core/README.md +19 -14
  108. package/skills/docs-core/SKILL.md +189 -117
  109. package/skills/planning/references/codebase-understanding.md +5 -5
  110. package/code-assistants/codex-assistant/skills/agent-assistant-code-focus/SKILL.md +0 -18
  111. package/code-assistants/codex-assistant/skills/agent-assistant-code-focus/agents/openai.yaml +0 -4
  112. package/code-assistants/codex-assistant/skills/agent-assistant-cook-focus/SKILL.md +0 -18
  113. package/code-assistants/codex-assistant/skills/agent-assistant-cook-focus/agents/openai.yaml +0 -4
  114. package/code-assistants/codex-assistant/skills/agent-assistant-debug-focus/SKILL.md +0 -18
  115. package/code-assistants/codex-assistant/skills/agent-assistant-debug-focus/agents/openai.yaml +0 -4
  116. package/code-assistants/codex-assistant/skills/agent-assistant-design-focus/SKILL.md +0 -18
  117. package/code-assistants/codex-assistant/skills/agent-assistant-design-focus/agents/openai.yaml +0 -4
  118. package/code-assistants/codex-assistant/skills/agent-assistant-fix-focus/SKILL.md +0 -18
  119. package/code-assistants/codex-assistant/skills/agent-assistant-fix-focus/agents/openai.yaml +0 -4
  120. package/code-assistants/codex-assistant/skills/agent-assistant-plan-focus/SKILL.md +0 -18
  121. package/code-assistants/codex-assistant/skills/agent-assistant-plan-focus/agents/openai.yaml +0 -4
  122. package/code-assistants/codex-assistant/skills/agent-assistant-report-focus/SKILL.md +0 -18
  123. package/code-assistants/codex-assistant/skills/agent-assistant-report-focus/agents/openai.yaml +0 -4
  124. package/code-assistants/codex-assistant/skills/agent-assistant-test-focus/SKILL.md +0 -18
  125. package/code-assistants/codex-assistant/skills/agent-assistant-test-focus/agents/openai.yaml +0 -4
  126. package/commands/code/focus.md +0 -297
  127. package/commands/cook/focus.md +0 -209
  128. package/commands/debug/focus.md +0 -103
  129. package/commands/design/focus.md +0 -229
  130. package/commands/fix/focus.md +0 -145
  131. package/commands/plan/focus.md +0 -140
  132. package/commands/report/focus.md +0 -107
  133. package/commands/test/focus.md +0 -123
  134. package/documents/business/business-features.md +0 -894
  135. package/documents/business/business-glossary.md +0 -554
  136. package/documents/business/business-prd.md +0 -400
  137. package/documents/business/business-workflows.md +0 -713
  138. package/documents/knowledge-architecture.md +0 -621
  139. package/documents/knowledge-domain.md +0 -602
  140. package/documents/knowledge-overview.md +0 -316
  141. package/documents/knowledge-source-base.md +0 -581
  142. package/documents/knowledge-standards.md +0 -632
@@ -0,0 +1,131 @@
1
+ # Agent Assistant — Executive Summary
2
+
3
+ > **Purpose**: Mission statement, value proposition, target outcomes, target users, and key metrics for the Agent Assistant PRD
4
+ > **Parent**: [00-index.md](./00-index.md)
5
+ > **Last Updated**: 2026-03-26
6
+ > **Generated By**: docs-business skill
7
+
8
+ ---
9
+
10
+ ## Mission Statement
11
+
12
+ Agent Assistant exists to transform a single AI coding assistant into a coordinated team of specialist agents, providing structured, repeatable workflows that eliminate manual prompt engineering and enforce quality governance — all from a one-time global installation with zero per-project configuration.
13
+
14
+ ---
15
+
16
+ ## Value Proposition
17
+
18
+ ### For Individual Developers
19
+
20
+ One install. Every project. Agent Assistant installs once into your AI tool's global config directory (`~/.cursor/`, `~/.claude/`, `~/.copilot/`, `~/.codex/`, `~/.gemini/`) and applies automatically to every project you open. Instead of crafting prompts from scratch, you invoke structured commands (`/cook`, `/fix`, `/plan`, `/test`, `/review`, etc.) that delegate to specialist agents trained for specific tasks — a backend engineer for API code, a tester for test suites, a reviewer for code quality, a debugger for issue diagnosis.
21
+
22
+ The framework claims 70% faster time-to-production, 70% bug reduction, and 85% token cost savings through focused agent profiles and HSOL skill injection. These claims are currently unvalidated and should be treated as design targets.
23
+
24
+ ### For Teams and Organizations
25
+
26
+ The `:team` variant activates the Golden Triangle protocol — Tech Lead, Executor, and Reviewer collaborate adversarially with structured debate (max 3 rounds), consensus stamps, and full audit trails via Mailbox logs. This enforces consistent quality governance across team members without requiring process documentation or manual review checklists.
27
+
28
+ ### For the Ecosystem
29
+
30
+ Skill Authors can create and publish domain skills to the community ecosystem. The Trust Progression Lifecycle (NEW → EVALUATING → VALIDATED → PROMOTED) provides quality gates. The HSOL layer automatically discovers and recommends relevant community skills when matrix coverage is insufficient.
31
+
32
+ ---
33
+
34
+ ## Target Outcomes
35
+
36
+ | Outcome ID | Outcome | Measurement | Status |
37
+ |------------|---------|-------------|--------|
38
+ | TO-001 | One-time installation works across all projects without per-project config | Installation success rate ≥99%; zero config files required per project | Achievable — CLI install mechanism verified in source |
39
+ | TO-002 | All 5 major AI coding platforms supported from single codebase | 5/5 platforms produce correct entry points and config files | Achieved — install.js supports all 5 platforms |
40
+ | TO-003 | Structured workflows available for all common development tasks | 14 command types with 4 variant strategies each (56 total workflows) | Achieved — commands/ directory contains all 14 commands with variants |
41
+ | TO-004 | Domain knowledge auto-injected without manual skill selection | HSOL fitness ≥0.8 for matrix skills; auto-injection by agent profile | Specified — HSOL rules and matrix YAML present; runtime behavior unverified |
42
+ | TO-005 | Quality governance enforced for team workflows | Golden Triangle protocol with debate, consensus, audit trail | Specified — team agents and TEAMS.md defined; runtime verification pending |
43
+ | TO-006 | Reduced time-to-production | ≥70% faster (claimed target) | Unvalidated — no benchmarks in repository |
44
+ | TO-007 | Reduced bug rate in AI-generated code | ≥70% reduction (claimed target) | Unvalidated — no benchmarks in repository |
45
+ | TO-008 | Reduced token cost | ≥85% savings (claimed target) | Unvalidated — no benchmarks in repository |
46
+
47
+ ---
48
+
49
+ ## Target Users
50
+
51
+ ### Primary: Individual Developer (Framework User)
52
+
53
+ - **Profile**: Software developer using one or more AI coding assistants daily
54
+ - **Need**: Reduce repetitive prompt engineering; get consistent, high-quality AI outputs across projects
55
+ - **Touchpoints**: CLI installer (`agent-assistant install`), slash commands (`/cook`, `/fix`, `/plan`), natural language (the framework detects intent)
56
+ - **Goals served**: BG-001 (one-time setup), BG-003 (faster delivery), BG-004 (fewer bugs), BG-005 (lower token cost), BG-006 (structured workflows)
57
+
58
+ ### Secondary: Team/Organization Lead
59
+
60
+ - **Profile**: Technical lead or engineering manager standardizing AI-assisted development practices
61
+ - **Need**: Consistent quality across team members; audit trail for AI-generated work
62
+ - **Touchpoints**: `:team` and `:hard` command variants, Mailbox logs, Golden Triangle protocol
63
+ - **Goals served**: BG-002 (consistent practices), BG-008 (adversarial collaboration)
64
+
65
+ ### Tertiary: Skill Author
66
+
67
+ - **Profile**: Developer who creates reusable domain skills for the community
68
+ - **Need**: Publish skills, gain trust, and eventually have skills promoted to the matrix
69
+ - **Touchpoints**: `SKILL.md` template, `find-skills` CLI, skills.sh platform, Trust Progression Lifecycle
70
+ - **Goals served**: BG-009 (community ecosystem)
71
+
72
+ ### Enabling: AI Model (Runtime)
73
+
74
+ - **Profile**: The AI coding assistant itself (GPT-4, Claude, Gemini, etc.) that reads and executes framework instructions
75
+ - **Need**: Clear, unambiguous instructions with cognitive anchoring that overrides default behavior
76
+ - **Touchpoints**: Platform entry point files (CLAUDE.md, COPILOT.md, etc.), agent definitions, CORE.md rules
77
+ - **Goals served**: BG-007 (auto skill injection), all goals indirectly (the AI model is the execution engine)
78
+
79
+ ### Supporting: Platform Maintainer
80
+
81
+ - **Profile**: Developer at Cursor, GitHub, Anthropic, OpenAI, or Google maintaining AI tool compatibility
82
+ - **Need**: Framework integrates cleanly with platform's file-based instruction loading
83
+ - **Touchpoints**: install.js platform configuration, entry point templates
84
+ - **Goals served**: BG-002 (multi-platform support)
85
+
86
+ ### Governing: Framework Maintainer (NamCH)
87
+
88
+ - **Profile**: Creator and primary maintainer of the agent-assistant framework
89
+ - **Need**: Sustainable release cadence, extensible architecture, community growth
90
+ - **Touchpoints**: All source code, CI/CD pipeline, npm publishing, semantic versioning
91
+ - **Goals served**: BG-009 (quality/cadence), BG-010 (extensibility)
92
+
93
+ ### Contributing: Contributor
94
+
95
+ - **Profile**: Open-source developer adding agents, commands, skills, or documentation
96
+ - **Need**: Clear templates, low friction to contribute, visible contribution path
97
+ - **Touchpoints**: AGENT-TEMPLATE.md, command structure conventions, skill SKILL.md template
98
+ - **Goals served**: BG-010 (extensibility), BG-009 (community ecosystem)
99
+
100
+ ---
101
+
102
+ ## Key Metrics
103
+
104
+ | Metric | Target | Measurement Method | Validation Status |
105
+ |--------|--------|--------------------|-------------------|
106
+ | Installation success rate | ≥99% across all 5 platforms | CLI exit codes; manual testing | Partially validated (source review confirms mechanism; no automated test suite) |
107
+ | Time-to-production improvement | ≥70% faster vs. unstructured prompting | Before/after elapsed time comparison | Unvalidated — no benchmark data |
108
+ | Bug rate reduction | ≥70% fewer defects per feature | Before/after defect counts | Unvalidated — no benchmark data |
109
+ | Token cost savings | ≥85% reduction vs. unstructured prompting | Token consumption per equivalent task | Unvalidated — no benchmark data |
110
+ | Platform coverage | 5/5 platforms | install.js platform config count | Validated — 5 platforms configured in source |
111
+ | Specialist agent coverage | 21 agents with unique profiles | agents/ directory file count and frontmatter audit | Validated — 21 agent files present |
112
+ | Command coverage | 14 commands × 4 variants | commands/ directory audit | Validated — 14 commands with variant subdirectories |
113
+ | Matrix skill coverage | 1,430+ skills across 19 domains | matrix-skills/ YAML entry count | Validated — 19 domain YAML files present |
114
+ | Team adoption rate | ≥80% within 30 days | Survey or usage telemetry | No measurement mechanism exists |
115
+ | Community skills published | ≥50 within 12 months of v1.0 | skills.sh registry count | No measurement mechanism exists |
116
+
117
+ ---
118
+
119
+ ## Evidence Sources
120
+
121
+ | Source | Path | Used For |
122
+ |--------|------|----------|
123
+ | Structured Business Pack | `reports/business-analysis/structured-business-pack.md` | Goals, stakeholders, requirements, traceability |
124
+ | Package manifest | `package.json` | Version, description, platform scripts |
125
+ | Knowledge Overview | `documents/knowledge-overview/00-index.md` | Quick facts, project identity |
126
+ | Features | `documents/knowledge-overview/03-features.md` | Performance claims, feature descriptions, platform table |
127
+ | Core Rules | `rules/CORE.md` | Orchestrator identity, tiered execution, command routing |
128
+ | HSOL Assessment | `documents/HSOL-ASSESSMENT.md` | Skill layer readiness |
129
+ | Agents directory | `agents/*.md` | Agent count and profile verification |
130
+ | Commands directory | `commands/*.md` | Command count verification |
131
+ | Matrix Skills | `matrix-skills/*.yaml` | Skill count and domain coverage |
@@ -0,0 +1,204 @@
1
+ # Agent Assistant — Problem, Goals, and Scope
2
+
3
+ > **Purpose**: Problem statement, 10 business goals (BG-001–BG-010), non-goals, and in-scope/out-of-scope boundary
4
+ > **Parent**: [00-index.md](./00-index.md)
5
+ > **Last Updated**: 2026-03-26
6
+ > **Generated By**: docs-business skill
7
+
8
+ ---
9
+
10
+ ## Problem Statement
11
+
12
+ AI coding assistants (Cursor, Copilot, Claude Code, Codex, Gemini) are powerful individually but operate as generalist single-agents. Developers face three compounding problems:
13
+
14
+ 1. **Repetitive prompt engineering**: Every project, every task requires crafting prompts from scratch. There is no memory of what worked, no reuse of proven workflows, and no structured handoff between tasks. The result is inconsistent output quality and wasted time.
15
+
16
+ 2. **No specialist depth**: A single AI model attempts backend engineering, frontend design, testing, security review, and deployment planning with equal (and often shallow) competence. There is no mechanism to focus the model on a specific role with domain-appropriate constraints, thinking protocols, and quality gates.
17
+
18
+ 3. **No governance at scale**: Teams using AI assistants have no standard for how AI-generated code is reviewed, tested, or deployed. Each team member uses the AI differently, producing inconsistent results with no audit trail and no adversarial review process.
19
+
20
+ The cost is measured in time (manual prompt iteration), quality (bugs from shallow generalist output), tokens (verbose unstructured prompts), and governance (no accountability for AI-generated deliverables).
21
+
22
+ ---
23
+
24
+ ## Business Goals
25
+
26
+ ### BG-001: One-Time Global Setup
27
+
28
+ | Attribute | Detail |
29
+ |-----------|--------|
30
+ | **Goal** | Enable one-time global setup that works across all projects |
31
+ | **Rationale** | Per-project configuration creates friction and discourages adoption. A global install ensures the framework applies automatically to every workspace. |
32
+ | **KPI** | Installation success rate ≥99%; zero per-project configuration files needed |
33
+ | **Priority** | Must |
34
+ | **Requirements** | BR-001 (global install), BR-023 (CLI list) |
35
+ | **Features** | BF-001 (one-time install), BF-023 (CLI list) |
36
+
37
+ ### BG-002: Multi-Platform Support
38
+
39
+ | Attribute | Detail |
40
+ |-----------|--------|
41
+ | **Goal** | Support all major AI coding assistants from a single codebase |
42
+ | **Rationale** | Developers use different AI tools. Platform lock-in is a dealbreaker for adoption. |
43
+ | **KPI** | 5 platforms supported (Cursor, Copilot, Claude Code, Codex, Antigravity/Gemini); identical command set across all |
44
+ | **Priority** | Must |
45
+ | **Requirements** | BR-001 (global install), BR-002 (5 platforms) |
46
+ | **Features** | BF-001 (install), BF-002 (multi-platform) |
47
+
48
+ ### BG-003: Reduce Time-to-Production
49
+
50
+ | Attribute | Detail |
51
+ |-----------|--------|
52
+ | **Goal** | Reduce time-to-production for AI-assisted development |
53
+ | **Rationale** | Structured workflows with specialist agents and parallel execution eliminate manual coordination overhead. |
54
+ | **KPI** | ≥70% faster elapsed time from requirement to merged PR |
55
+ | **Priority** | Must |
56
+ | **Validation Status** | **UNVALIDATED** — no benchmark data exists in the repository. Treat as a design target, not a measured result. |
57
+ | **Requirements** | BR-003 (orchestrator), BR-006 (commands), BR-008 (HSOL), BR-019 (/auto) |
58
+ | **Features** | BF-003 (orchestrator), BF-006 (commands), BF-008 (HSOL), BF-019 (/auto) |
59
+
60
+ ### BG-004: Reduce Bug Rate
61
+
62
+ | Attribute | Detail |
63
+ |-----------|--------|
64
+ | **Goal** | Reduce bug rate in AI-generated code |
65
+ | **Rationale** | Quality gates in `:hard` variants enforce testing, review, and security checks before delivery. Specialist agents produce more focused, higher-quality output than generalist prompting. |
66
+ | **KPI** | ≥70% reduction in defects per feature delivered |
67
+ | **Priority** | Must |
68
+ | **Validation Status** | **UNVALIDATED** — no benchmark data exists in the repository. Treat as a design target. |
69
+ | **Requirements** | BR-004 (agents), BR-005 (teams), BR-012 (laws), BR-013 (error recovery), BR-014 (debate) |
70
+ | **Features** | BF-004 (agents), BF-005 (teams), BF-012 (laws), BF-013 (error recovery), BF-014 (debate) |
71
+
72
+ ### BG-005: Reduce Token Cost
73
+
74
+ | Attribute | Detail |
75
+ |-----------|--------|
76
+ | **Goal** | Reduce token cost of AI interactions |
77
+ | **Rationale** | Focused agent profiles with HSOL skill injection reduce prompt size by loading only relevant domain knowledge instead of verbose catch-all prompts. |
78
+ | **KPI** | ≤85% token cost reduction vs. unstructured prompting |
79
+ | **Priority** | Should |
80
+ | **Validation Status** | **UNVALIDATED** — no benchmark data exists. Treat as a design target. |
81
+ | **Requirements** | BR-003 (orchestrator), BR-008 (HSOL), BR-011 (tiered execution), BR-016 (plan short-circuit) |
82
+ | **Features** | BF-003, BF-008, BF-011, BF-016 |
83
+
84
+ ### BG-006: Structured Repeatable Workflows
85
+
86
+ | Attribute | Detail |
87
+ |-----------|--------|
88
+ | **Goal** | Provide structured, repeatable workflows for all common development tasks |
89
+ | **Rationale** | Without structured workflows, each AI session starts from zero. Commands with defined phases, agent assignments, and exit criteria ensure consistent execution. |
90
+ | **KPI** | 14 command types with 4 variant strategies each (56 workflows) covering build, quality, planning, documentation, and deployment |
91
+ | **Priority** | Must |
92
+ | **Requirements** | BR-003 (orchestrator), BR-006 (commands), BR-007 (variants), BR-015 (NLP detection) |
93
+ | **Features** | BF-003, BF-006, BF-007, BF-015 |
94
+
95
+ ### BG-007: Automatic Domain Skill Injection
96
+
97
+ | Attribute | Detail |
98
+ |-----------|--------|
99
+ | **Goal** | Enable automatic domain skill injection without manual configuration |
100
+ | **Rationale** | Manual skill selection doesn't scale. HSOL resolves skills by matching agent profiles to 1,430+ matrix entries using a 5-factor fitness score, injecting relevant domain knowledge automatically. |
101
+ | **KPI** | HSOL fitness ≥0.8 for matrix skills; auto-injection driven by agent profile |
102
+ | **Priority** | Must |
103
+ | **Requirements** | BR-008 (HSOL), BR-009 (dynamic discovery), BR-010 (trust progression) |
104
+ | **Features** | BF-008, BF-009, BF-010 |
105
+
106
+ ### BG-008: Adversarial Collaboration
107
+
108
+ | Attribute | Detail |
109
+ |-----------|--------|
110
+ | **Goal** | Enable adversarial collaboration for quality-critical work |
111
+ | **Rationale** | A single agent reviewing its own work misses errors. The Golden Triangle (Tech Lead + Executor + Reviewer) introduces structured disagreement with debate rounds, binding arbitration, and consensus stamps. |
112
+ | **KPI** | Golden Triangle protocol active for all `:team` variants; debate rounds capped at 3; consensus stamp required before phase release |
113
+ | **Priority** | Should |
114
+ | **Requirements** | BR-005 (teams), BR-014 (debate mechanism) |
115
+ | **Features** | BF-005, BF-014 |
116
+
117
+ ### BG-009: Community Skill Ecosystem
118
+
119
+ | Attribute | Detail |
120
+ |-----------|--------|
121
+ | **Goal** | Grow a community skill ecosystem with trust governance |
122
+ | **Rationale** | The matrix covers 1,430 skills today but cannot cover every domain. A community ecosystem with quality gates (Trust Progression) allows organic growth while maintaining safety. |
123
+ | **KPI** | Trust progression lifecycle operational; ≥50 community skills within 12 months; auto-promotion pipeline functional |
124
+ | **Priority** | Should |
125
+ | **Requirements** | BR-009 (dynamic discovery), BR-010 (trust progression) |
126
+ | **Features** | BF-009, BF-010 |
127
+ | **External Dependency** | skills.sh platform (not bundled with framework) |
128
+
129
+ ### BG-010: Auto-Generated Documentation
130
+
131
+ | Attribute | Detail |
132
+ |-----------|--------|
133
+ | **Goal** | Provide comprehensive auto-generated project documentation |
134
+ | **Rationale** | Documentation is chronically neglected. The `/docs` command automates generation of knowledge, business, and audit documentation from source code analysis. |
135
+ | **KPI** | `/docs:core` produces 5 folders; `/docs:business` produces 4 folders; `/docs:audit` produces 4 folders |
136
+ | **Priority** | Should |
137
+ | **Requirements** | BR-017 (/docs generation) |
138
+ | **Features** | BF-017 |
139
+
140
+ ---
141
+
142
+ ## Non-Goals
143
+
144
+ The following are explicitly NOT objectives for Agent Assistant v1.3.0:
145
+
146
+ | Non-Goal | Rationale |
147
+ |----------|-----------|
148
+ | Replace human developers | The framework augments developer productivity; human judgment and oversight remain essential |
149
+ | Provide a backend server or HTTP API | Agent Assistant operates as a file-based configuration layer, not a running service |
150
+ | Build a SaaS platform | No hosted service, no user accounts, no subscription model |
151
+ | Create a database or data persistence layer | All state is file-based (Markdown, YAML); no database engine is used or required |
152
+ | Develop a mobile application | The framework targets desktop AI coding assistant integrations only |
153
+ | Guarantee measured performance improvements | Performance claims (70%/70%/85%) are design targets, not validated metrics |
154
+ | Bundle the find-skills ecosystem | Dynamic skill discovery depends on the external skills.sh service; the framework works without it |
155
+ | Enforce AI model selection | The framework is model-agnostic; it works with whatever model the AI tool provides |
156
+
157
+ ---
158
+
159
+ ## Scope Boundary
160
+
161
+ ### In Scope
162
+
163
+ | Component | Description | Evidence |
164
+ |-----------|-------------|----------|
165
+ | CLI Installer | Node.js installer (`cli/install.js`) that copies framework files to platform-specific global directories | `cli/install.js` |
166
+ | 21 Specialist Agents | Markdown agent definitions with frontmatter, thinking protocols, constraints, and output formats | `agents/*.md` |
167
+ | 17 Domain Teams | Golden Triangle team configurations for adversarial collaboration | `agents/teams/` |
168
+ | 14 Commands (54+ variants) | Structured workflow files with phases, agent assignments, and exit criteria | `commands/*.md`, `commands/*/` |
169
+ | 7 Rule Files | Governance rules: CORE, PHASES, AGENTS, SKILLS, ERRORS, REFERENCE, TEAMS | `rules/*.md` |
170
+ | HSOL (Matrix Skills) | 1,430+ pre-curated skills across 19 domain YAML files | `matrix-skills/*.yaml` |
171
+ | HSOL (Dynamic Discovery) | Integration point for community skill discovery via find-skills | `rules/SKILLS.md`, `matrix-skills/_dynamic.yaml` |
172
+ | Platform Entry Points | Per-platform bootstrap files: CLAUDE.md, COPILOT.md, CURSOR.md, CODEX.md, GEMINI.md | Root directory `*.md` files |
173
+ | Web Marketing Site | React 19 + Vite + Tailwind CSS v4 site deployed on Vercel | `web/` |
174
+ | Documentation Generation | `/docs` command producing knowledge, business, and audit document folders | `commands/docs.md`, `commands/docs/` |
175
+
176
+ ### Out of Scope
177
+
178
+ | Component | Reason for Exclusion |
179
+ |-----------|---------------------|
180
+ | Backend server | No server-side application exists; framework is file-based configuration |
181
+ | Database | No data persistence layer; all state is in Markdown/YAML files |
182
+ | HTTP API | No API endpoints; interaction is through AI tool's native interface |
183
+ | Mobile application | Framework targets desktop AI coding tools exclusively |
184
+ | SaaS platform | No hosted service, no accounts, no subscriptions |
185
+ | AI model training or fine-tuning | Framework provides instructions to existing models, not custom training |
186
+ | skills.sh platform | External dependency; not maintained or bundled within this project |
187
+ | Telemetry or analytics | No usage tracking, no metrics collection, no phone-home behavior |
188
+
189
+ ---
190
+
191
+ ## Evidence Sources
192
+
193
+ | Source | Path | Used For |
194
+ |--------|------|----------|
195
+ | Structured Business Pack | `reports/business-analysis/structured-business-pack.md` | Goals, requirements, features, traceability matrix, coverage gaps |
196
+ | Knowledge Overview | `documents/knowledge-overview/00-index.md` | Project facts, quick summary |
197
+ | Features | `documents/knowledge-overview/03-features.md` | Performance claims, feature descriptions |
198
+ | Core Rules | `rules/CORE.md` | Orchestrator identity, command routing |
199
+ | HSOL Assessment | `documents/HSOL-ASSESSMENT.md` | Skill layer strengths and gaps |
200
+ | Package manifest | `package.json` | Version, scripts, platform configuration |
201
+ | Agents directory | `agents/*.md` | Agent count and scope |
202
+ | Commands directory | `commands/*.md` | Command count and variant coverage |
203
+ | Matrix Skills | `matrix-skills/*.yaml` | Skill count and domain enumeration |
204
+ | Teams directory | `agents/teams/` | Team configuration count |
@@ -0,0 +1,210 @@
1
+ # Agent Assistant — Stakeholders and Requirements
2
+
3
+ > **Purpose**: Stakeholder map with goals and touchpoints, functional requirements (BR-001–BR-023), non-functional requirements, and traceability to business goals
4
+ > **Parent**: [00-index.md](./00-index.md)
5
+ > **Last Updated**: 2026-03-26
6
+ > **Generated By**: docs-business skill
7
+
8
+ ---
9
+
10
+ ## Stakeholder Map
11
+
12
+ ### S1: Framework User (Individual Developer)
13
+
14
+ | Attribute | Detail |
15
+ |-----------|--------|
16
+ | **Role** | Primary user of the framework |
17
+ | **Description** | Software developer using one or more AI coding assistants daily for building, debugging, testing, and deploying software |
18
+ | **Primary Goals** | BG-001 (one-time setup), BG-003 (faster delivery), BG-006 (structured workflows) |
19
+ | **Secondary Goals** | BG-004 (fewer bugs), BG-005 (lower token cost) |
20
+ | **Touchpoints** | CLI installer (`agent-assistant install --all`), slash commands (`/cook`, `/fix`, `/plan`, `/test`, `/review`), natural language input |
21
+ | **Success Criteria** | Installs in ≤5 minutes; commands produce usable deliverables without prompt iteration |
22
+ | **Pain Points Addressed** | Repetitive prompt engineering, inconsistent AI output, no workflow structure |
23
+
24
+ ### S2: Framework User (Team/Organization)
25
+
26
+ | Attribute | Detail |
27
+ |-----------|--------|
28
+ | **Role** | Team lead or organization standardizing AI-assisted development |
29
+ | **Description** | Uses `:hard` and `:team` command variants to enforce quality governance and adversarial review across team members |
30
+ | **Primary Goals** | BG-002 (consistent practices), BG-004 (fewer bugs) |
31
+ | **Secondary Goals** | BG-003 (faster delivery), BG-008 (adversarial collaboration) |
32
+ | **Touchpoints** | `:team` variant commands, Mailbox logs (`MAILBOX-{date}.md`), Golden Triangle protocol, `:hard` variants |
33
+ | **Success Criteria** | ≥80% team adoption within 30 days; measurably fewer defects than solo agent workflows |
34
+ | **Pain Points Addressed** | Inconsistent AI practices across team, no audit trail, no review process for AI output |
35
+
36
+ ### S3: Skill Author
37
+
38
+ | Attribute | Detail |
39
+ |-----------|--------|
40
+ | **Role** | Creator and publisher of domain skills |
41
+ | **Description** | Developer who builds reusable skills following the SKILL.md template and publishes them to the community ecosystem via skills.sh |
42
+ | **Primary Goals** | BG-009 (community ecosystem) |
43
+ | **Secondary Goals** | BG-010 (extensibility) |
44
+ | **Touchpoints** | SKILL.md template, `npx skills` CLI, skills.sh platform, `_dynamic.yaml` registration, Trust Progression Lifecycle |
45
+ | **Success Criteria** | Published skill discoverable via `find-skills`; trust progresses through lifecycle stages |
46
+ | **Pain Points Addressed** | No standard format for sharing AI workflow knowledge |
47
+
48
+ ### S4: AI Model (Runtime)
49
+
50
+ | Attribute | Detail |
51
+ |-----------|--------|
52
+ | **Role** | Execution engine — reads and follows framework instructions |
53
+ | **Description** | The AI model (GPT-4, Claude, Gemini, etc.) loaded by the coding assistant. It reads the platform entry point, ingests rules and agent files, and executes the Orchestrator pattern. |
54
+ | **Primary Goals** | BG-007 (auto skill injection) |
55
+ | **Secondary Goals** | BG-003 (efficiency), BG-004 (quality) |
56
+ | **Touchpoints** | Platform entry points (CLAUDE.md, COPILOT.md, CURSOR.md, CODEX.md, GEMINI.md), CORE.md, agent files, HSOL matrix |
57
+ | **Success Criteria** | Correctly delegates to specialist agents (never implements directly) in ≥95% of invocations |
58
+ | **Pain Points Addressed** | Default generalist behavior; no role specialization; no governance guardrails |
59
+
60
+ ### S5: Platform Maintainer
61
+
62
+ | Attribute | Detail |
63
+ |-----------|--------|
64
+ | **Role** | AI tool developer ensuring platform compatibility |
65
+ | **Description** | Developer at Cursor, GitHub, Anthropic, OpenAI, or Google who maintains the AI tool's file-based instruction loading mechanism |
66
+ | **Primary Goals** | BG-002 (multi-platform support) |
67
+ | **Secondary Goals** | BG-009 (framework quality) |
68
+ | **Touchpoints** | `install.js` platform configuration, entry point templates, platform file structure |
69
+ | **Success Criteria** | Framework installs and loads correctly on their platform |
70
+ | **Pain Points Addressed** | Third-party frameworks breaking on platform updates |
71
+
72
+ ### S6: Framework Maintainer (NamCH)
73
+
74
+ | Attribute | Detail |
75
+ |-----------|--------|
76
+ | **Role** | Creator, primary maintainer, and release manager |
77
+ | **Description** | Evolves the framework architecture, manages npm releases via semantic-release, and governs the skill ecosystem quality |
78
+ | **Primary Goals** | BG-009 (quality/release cadence), BG-010 (extensibility) |
79
+ | **Secondary Goals** | BG-002 (multi-platform), BG-007 (community ecosystem) |
80
+ | **Touchpoints** | All source code, CI/CD pipeline (semantic-release + husky), npm registry, GitHub repository |
81
+ | **Success Criteria** | ≥1 minor release per quarter; 0 regressions per release |
82
+ | **Pain Points Addressed** | Maintaining quality across growing codebase and community contributions |
83
+
84
+ ### S7: Contributor
85
+
86
+ | Attribute | Detail |
87
+ |-----------|--------|
88
+ | **Role** | Open-source contributor |
89
+ | **Description** | Adds agents, commands, skills, documentation, or platform support to the framework |
90
+ | **Primary Goals** | BG-010 (extensibility) |
91
+ | **Secondary Goals** | BG-009 (community ecosystem) |
92
+ | **Touchpoints** | AGENT-TEMPLATE.md, command file conventions, SKILL.md template, contribution guidelines |
93
+ | **Success Criteria** | New agent or command addable in ≤2 hours using provided templates |
94
+ | **Pain Points Addressed** | High friction to contribute to AI workflow tooling |
95
+
96
+ ---
97
+
98
+ ## Functional Requirements
99
+
100
+ ### Core Infrastructure
101
+
102
+ | Req ID | Requirement | Priority | INVEST Score | Stakeholders | Goals |
103
+ |--------|-------------|----------|-------------|--------------|-------|
104
+ | BR-001 | Framework installs globally via `npm install -g` and writes platform-specific config files to `~/.{TOOL}/skills/agent-assistant/` | Must | 29/30 | S1, S2 | BG-001, BG-002 |
105
+ | BR-002 | Framework supports 5 platforms: Cursor, Copilot, Claude Code, Codex, Antigravity/Gemini | Must | 24/30 | S5 | BG-002 |
106
+ | BR-023 | CLI list command shows installed platforms and status | Should | 27/30 | S1 | BG-001 |
107
+
108
+ **Acceptance Criteria (BR-001)**: Given a clean machine with Node.js 18+, when user runs `npm install -g @namch/agent-assistant && agent-assistant install --all`, then config files exist at `~/.cursor/`, `~/.copilot/`, `~/.claude/`, `~/.codex/`, `~/.gemini/antigravity/` and exit code is 0.
109
+
110
+ **Acceptance Criteria (BR-002)**: Given the framework is installed, when user runs `agent-assistant install {platform}` for each platform, then each platform's entry point file is created and the orchestrator instructions are loadable by that platform's AI runtime.
111
+
112
+ ### Agent System
113
+
114
+ | Req ID | Requirement | Priority | INVEST Score | Stakeholders | Goals |
115
+ |--------|-------------|----------|-------------|--------------|-------|
116
+ | BR-003 | AI runtime acts as Orchestrator: receives user request, detects command, delegates to specialist agents | Must | 21/30 | S4 | BG-003, BG-006 |
117
+ | BR-004 | 21 specialist agents available with distinct roles, profiles, and handoff chains | Must | 23/30 | S1, S4 | BG-004, BG-010 |
118
+ | BR-005 | 17 domain teams available via `:team` variant using Golden Triangle (Tech Lead + Executor + Reviewer) | Should | 23/30 | S2 | BG-002, BG-008 |
119
+ | BR-021 | Cognitive anchoring ensures each agent file overrides default AI patterns | Must | 20/30 | S4, S6 | BG-004 |
120
+
121
+ **Acceptance Criteria (BR-004)**: Given the agents directory, when any agent file is loaded, then it contains: name, description, profile, category, Thinking Protocol, Constraints, and Output Format sections, and each agent has a unique profile tag.
122
+
123
+ ### Command System
124
+
125
+ | Req ID | Requirement | Priority | INVEST Score | Stakeholders | Goals |
126
+ |--------|-------------|----------|-------------|--------------|-------|
127
+ | BR-006 | 14 structured commands available (`/cook`, `/fix`, `/plan`, `/debug`, `/test`, `/review`, `/docs`, `/design`, `/deploy`, `/report`, `/brainstorm`, `/ask`, `/code`, `/auto`) | Must | 25/30 | S1 | BG-006 |
128
+ | BR-007 | 4 variant strategies per command: `fast`, `hard`, `team` | Should | 26/30 | S1 | BG-006 |
129
+ | BR-015 | Natural language command detection maps free-text to structured commands | Must | 27/30 | S1 | BG-006 |
130
+ | BR-016 | Plan-already-provided short-circuit skips planning when user supplies a plan | Should | 28/30 | S1 | BG-003, BG-005 |
131
+ | BR-017 | Documentation generation via `/docs` creates knowledge, business, and audit docs | Should | 23/30 | S1, S6 | BG-010 |
132
+ | BR-018 | Deployment workflows via `/deploy` with variants: check, preview, production, rollback | Could | 24/30 | S1 | BG-006 |
133
+ | BR-019 | Autonomous execution via `/auto` analyzes task and runs full workflow without intervention | Could | 21/30 | S1 | BG-003 |
134
+ | BR-020 | Reporting system via `/report` generates structured analysis reports | Could | 25/30 | S1, S2 | BG-006 |
135
+
136
+ **Acceptance Criteria (BR-006)**: Given the commands directory, when each command is invoked, then a workflow file is loaded with PRE-FLIGHT, phases, agent assignments, and exit criteria, and the orchestrator follows sequential phase execution (L5).
137
+
138
+ ### Skill System
139
+
140
+ | Req ID | Requirement | Priority | INVEST Score | Stakeholders | Goals |
141
+ |--------|-------------|----------|-------------|--------------|-------|
142
+ | BR-008 | Matrix Skill Discovery (HSOL) resolves skills from 1,430 pre-curated matrix skills across 19 domains | Must | 21/30 | S4 | BG-007 |
143
+ | BR-009 | Dynamic Skill Discovery via `find-skills` searches and installs community skills when matrix fitness < 0.75 | Could | 24/30 | S3, S7 | BG-007, BG-009 |
144
+ | BR-010 | Trust Progression Lifecycle: skills progress NEW(0.3) → EVALUATING(0.5) → VALIDATED(0.7) → PROMOTED(1.0) | Could | 25/30 | S6 | BG-009 |
145
+
146
+ **Acceptance Criteria (BR-008)**: Given a complex task, when HSOL runs resolution, then fitness score is calculated using the 5-factor formula (semantic 0.35, specificity 0.25, trust 0.20, freshness 0.10, success 0.10) and skills with fitness ≥0.8 are injected.
147
+
148
+ ### Governance and Resilience
149
+
150
+ | Req ID | Requirement | Priority | INVEST Score | Stakeholders | Goals |
151
+ |--------|-------------|----------|-------------|--------------|-------|
152
+ | BR-011 | Tiered Execution: TIER 1 (sub-agent) mandatory when available; TIER 2 (embody) fallback only | Must | 24/30 | S4 | BG-003, BG-005 |
153
+ | BR-012 | 10 Orchestration Laws (L1–L10) enforced at runtime | Must | 19/30 | S4, S6 | BG-004, BG-006 |
154
+ | BR-013 | Error self-healing (E1–E4) with classification and recovery protocols | Should | 24/30 | S4 | BG-004 |
155
+ | BR-014 | Debate mechanism via Mailbox (append-only log) for team variant | Should | 22/30 | S2 | BG-008 |
156
+ | BR-022 | Language compliance (L6): responses in user's language, code/files always in English | Should | 27/30 | S1, S2 | BG-006 |
157
+
158
+ **Acceptance Criteria (BR-012)**: Given the orchestrator is operating, when any action occurs, then all 10 laws are observed: L1 (single truth), L2 (requirement integrity), L3 (explicit loading), L4 (deep embodiment), L5 (sequential execution), L6 (language compliance), L7 (recursive delegation), L8 (stateful handoff), L9 (constraint propagation), L10 (deliverable integrity).
159
+
160
+ ---
161
+
162
+ ## Non-Functional Requirements
163
+
164
+ | NFR ID | Category | Requirement | Target | Evidence |
165
+ |--------|----------|-------------|--------|----------|
166
+ | NFR-001 | Performance | CLI installation completes within 5 minutes for all platforms | ≤5 min end-to-end | `cli/install.js` — file copy operations only, no network calls |
167
+ | NFR-002 | Portability | Framework operates on macOS, Linux, and Windows with Node.js 18+ | 3 OS families supported | `cli/install.js` uses `os.homedir()` and `path.join()` for cross-platform paths |
168
+ | NFR-003 | Dependency | Zero production dependencies | 0 entries in `dependencies` | `package.json` — only `devDependencies` present |
169
+ | NFR-004 | Maintainability | Agent and command files follow standard templates | AGENT-TEMPLATE.md, command file conventions | `AGENT-TEMPLATE.md`, `commands/*.md` |
170
+ | NFR-005 | Extensibility | New agent addable in ≤2 hours using template | Follow AGENT-TEMPLATE.md | Templates and directory conventions documented |
171
+ | NFR-006 | Compatibility | Framework files loadable by all 5 supported AI tool runtimes | 5/5 platforms load entry points correctly | Platform entry point files tested per platform |
172
+ | NFR-007 | Idempotency | Install and uninstall operations are idempotent | Re-running install/uninstall produces same result | `cli/install.js` overwrites existing files |
173
+ | NFR-008 | Internationalization | AI responses match user's language; all generated files in English | L6 compliance | `rules/CORE.md` — L6 law definition |
174
+ | NFR-009 | Resilience | Error recovery covers 4 classification levels (E1–E4) | All error types have defined recovery | `rules/ERRORS.md` |
175
+ | NFR-010 | Scalability | Matrix skills scalable to additional domains without architecture change | Add new YAML file to `matrix-skills/` | `matrix-skills/_index.yaml` — declarative domain registry |
176
+
177
+ ---
178
+
179
+ ## Traceability Matrix
180
+
181
+ | Goal | Requirements | Features | Workflows | KPI |
182
+ |------|-------------|----------|-----------|-----|
183
+ | BG-001 | BR-001, BR-023 | BF-001, BF-023 | BW-001, BW-002 | Install success ≥99%; zero per-project config |
184
+ | BG-002 | BR-001, BR-002, BR-005, BR-007 | BF-001, BF-002, BF-005, BF-007 | BW-001, BW-003, BW-008 | 5/5 platforms; ≥80% team adoption |
185
+ | BG-003 | BR-003, BR-006, BR-008, BR-016, BR-019 | BF-003, BF-006, BF-008, BF-016, BF-019 | BW-003, BW-005, BW-011 | ≥70% time reduction (unvalidated) |
186
+ | BG-004 | BR-004, BR-005, BR-012, BR-013, BR-014, BR-021 | BF-004, BF-005, BF-012, BF-013, BF-014, BF-021 | BW-004, BW-008, BW-010 | ≥70% bug reduction (unvalidated) |
187
+ | BG-005 | BR-003, BR-008, BR-011, BR-016 | BF-003, BF-008, BF-011, BF-016 | BW-003, BW-005, BW-011 | ≤85% token reduction (unvalidated) |
188
+ | BG-006 | BR-003, BR-006, BR-007, BR-015, BR-022 | BF-003, BF-006, BF-007, BF-015, BF-022 | BW-003 | 14 commands × 4 variants |
189
+ | BG-007 | BR-008, BR-009, BR-010 | BF-008, BF-009, BF-010 | BW-005, BW-006, BW-007 | HSOL fitness ≥0.8; auto-injection |
190
+ | BG-008 | BR-005, BR-014 | BF-005, BF-014 | BW-008 | Golden Triangle active; ≤3 debate rounds |
191
+ | BG-009 | BR-009, BR-010 | BF-009, BF-010 | BW-006, BW-007 | Trust lifecycle; ≥50 community skills/year |
192
+ | BG-010 | BR-004, BR-006, BR-017 | BF-004, BF-006, BF-017 | BW-004, BW-009, BW-012 | New agent in ≤2 hours; /docs produces all folders |
193
+
194
+ ---
195
+
196
+ ## Evidence Sources
197
+
198
+ | Source | Path | Used For |
199
+ |--------|------|----------|
200
+ | Structured Business Pack | `reports/business-analysis/structured-business-pack.md` | Requirements (BR-001–BR-023), INVEST scores, acceptance criteria, stakeholder mapping, traceability matrix |
201
+ | Package manifest | `package.json` | Dependency count (NFR-003), platform scripts, version |
202
+ | Core Rules | `rules/CORE.md` | Orchestration laws (BR-012), tiered execution (BR-011), command routing (BR-006) |
203
+ | HSOL Assessment | `documents/HSOL-ASSESSMENT.md` | Skill resolution rules (BR-008), trust progression (BR-010) |
204
+ | Features documentation | `documents/knowledge-overview/03-features.md` | Feature evidence, platform table |
205
+ | Agent template | `AGENT-TEMPLATE.md` | Extensibility evidence (NFR-005) |
206
+ | Agents directory | `agents/*.md` | Agent count (BR-004), team count (BR-005) |
207
+ | Commands directory | `commands/*.md`, `commands/*/` | Command count (BR-006), variant structure (BR-007) |
208
+ | Matrix Skills | `matrix-skills/*.yaml`, `matrix-skills/_index.yaml` | Skill count (BR-008), domain coverage |
209
+ | Error rules | `rules/ERRORS.md` | Error classification (BR-013, NFR-009) |
210
+ | Teams rules | `rules/TEAMS.md` | Golden Triangle protocol (BR-005, BR-014) |