@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.
- package/CHANGELOG.md +24 -1
- package/README.md +3 -4
- package/agents/backend-engineer.md +3 -3
- package/agents/brainstormer.md +3 -3
- package/agents/business-analyst.md +3 -3
- package/agents/database-architect.md +3 -3
- package/agents/debugger.md +2 -2
- package/agents/designer.md +2 -2
- package/agents/devops-engineer.md +2 -2
- package/agents/docs-manager.md +23 -15
- package/agents/frontend-engineer.md +3 -3
- package/agents/game-engineer.md +3 -3
- package/agents/mobile-engineer.md +4 -4
- package/agents/performance-engineer.md +3 -3
- package/agents/planner.md +4 -4
- package/agents/project-manager.md +3 -3
- package/agents/researcher.md +3 -3
- package/agents/reviewer.md +3 -3
- package/agents/scouter.md +3 -3
- package/agents/security-engineer.md +3 -3
- package/agents/tech-lead.md +3 -3
- package/agents/tester.md +2 -2
- package/code-assistants/codex-assistant/CODEX.md +1 -2
- package/commands/ask/hard.md +1 -1
- package/commands/brainstorm/hard.md +1 -1
- package/commands/code/hard.md +1 -1
- package/commands/code.md +2 -7
- package/commands/cook/hard.md +1 -1
- package/commands/cook.md +1 -6
- package/commands/debug/hard.md +1 -1
- package/commands/debug.md +1 -6
- package/commands/design/hard.md +1 -1
- package/commands/design.md +1 -6
- package/commands/docs/audit.md +554 -78
- package/commands/docs/business.md +392 -76
- package/commands/docs/core.md +573 -74
- package/commands/docs.md +62 -61
- package/commands/fix/hard.md +1 -1
- package/commands/fix.md +1 -6
- package/commands/plan/hard.md +1 -1
- package/commands/plan.md +1 -6
- package/commands/report/fast.md +2 -2
- package/commands/report/hard.md +1 -1
- package/commands/report.md +2 -7
- package/commands/review/hard.md +1 -1
- package/commands/test/hard.md +1 -1
- package/commands/test.md +1 -6
- package/documents/HSOL-ASSESSMENT.md +6 -6
- package/documents/SMART-SKILL-ORCHESTRATION-BLUEPRINT.md +1 -1
- package/documents/business/business-features/00-index.md +101 -0
- package/documents/business/business-features/01-feature-inventory.md +341 -0
- package/documents/business/business-features/02-prioritization-moscow.md +148 -0
- package/documents/business/business-features/03-feature-specifications.md +511 -0
- package/documents/business/business-features/04-dependencies-and-release-sequencing.md +313 -0
- package/documents/business/business-features/05-success-metrics.md +290 -0
- package/documents/business/business-glossary/00-index.md +89 -0
- package/documents/business/business-glossary/01-canonical-terms.md +428 -0
- package/documents/business/business-glossary/02-synonyms-and-deprecated-terms.md +180 -0
- package/documents/business/business-glossary/03-domain-entities-and-events.md +395 -0
- package/documents/business/business-glossary/04-api-term-mapping.md +173 -0
- package/documents/business/business-prd/00-index.md +107 -0
- package/documents/business/business-prd/01-executive-summary.md +131 -0
- package/documents/business/business-prd/02-problem-goals-and-scope.md +204 -0
- package/documents/business/business-prd/03-stakeholders-and-requirements.md +210 -0
- package/documents/business/business-prd/04-acceptance-risks-assumptions.md +246 -0
- package/documents/business/business-workflows/00-index.md +107 -0
- package/documents/business/business-workflows/01-actor-map.md +303 -0
- package/documents/business/business-workflows/02-workflow-catalog.md +252 -0
- package/documents/business/business-workflows/03-detailed-workflows.md +641 -0
- package/documents/business/business-workflows/04-decision-rules-and-exceptions.md +216 -0
- package/documents/business/business-workflows/05-sla-and-handoffs.md +253 -0
- package/documents/knowledge-architecture/00-index.md +159 -0
- package/documents/knowledge-architecture/01-system-overview.md +240 -0
- package/documents/knowledge-architecture/02-components.md +419 -0
- package/documents/knowledge-architecture/03-data-flow.md +368 -0
- package/documents/knowledge-architecture/04-design-patterns.md +497 -0
- package/documents/knowledge-architecture/05-decisions.md +410 -0
- package/documents/knowledge-domain/00-index.md +251 -0
- package/documents/knowledge-domain/01-entities.md +582 -0
- package/documents/knowledge-domain/02-database-schema.md +138 -0
- package/documents/knowledge-domain/03-api-contracts.md +477 -0
- package/documents/knowledge-domain/04-business-rules.md +554 -0
- package/documents/knowledge-overview/00-index.md +107 -0
- package/documents/knowledge-overview/01-project-identity.md +162 -0
- package/documents/knowledge-overview/02-tech-stack.md +119 -0
- package/documents/knowledge-overview/03-features.md +232 -0
- package/documents/knowledge-overview/04-getting-started.md +394 -0
- package/documents/knowledge-source-base/00-index.md +107 -0
- package/documents/knowledge-source-base/01-directory-structure.md +312 -0
- package/documents/knowledge-source-base/02-entry-points.md +346 -0
- package/documents/knowledge-source-base/03-key-modules.md +581 -0
- package/documents/knowledge-source-base/04-configuration.md +467 -0
- package/documents/knowledge-standards/00-index.md +129 -0
- package/documents/knowledge-standards/01-code-style.md +161 -0
- package/documents/knowledge-standards/02-conventions.md +254 -0
- package/documents/knowledge-standards/03-git-workflow.md +228 -0
- package/documents/knowledge-standards/04-testing-standards.md +175 -0
- package/matrix-skills/_index.yaml +1 -1
- package/package.json +1 -1
- package/rules/AGENTS.md +1 -1
- package/rules/REFERENCE.md +18 -14
- package/rules/SKILLS.md +1 -1
- package/rules/TEAMS.md +1 -2
- package/skills/docs-audit/README.md +10 -8
- package/skills/docs-audit/SKILL.md +45 -41
- package/skills/docs-audit/references/scoring-framework.md +5 -5
- package/skills/docs-core/README.md +19 -14
- package/skills/docs-core/SKILL.md +189 -117
- package/skills/planning/references/codebase-understanding.md +5 -5
- package/code-assistants/codex-assistant/skills/agent-assistant-code-focus/SKILL.md +0 -18
- package/code-assistants/codex-assistant/skills/agent-assistant-code-focus/agents/openai.yaml +0 -4
- package/code-assistants/codex-assistant/skills/agent-assistant-cook-focus/SKILL.md +0 -18
- package/code-assistants/codex-assistant/skills/agent-assistant-cook-focus/agents/openai.yaml +0 -4
- package/code-assistants/codex-assistant/skills/agent-assistant-debug-focus/SKILL.md +0 -18
- package/code-assistants/codex-assistant/skills/agent-assistant-debug-focus/agents/openai.yaml +0 -4
- package/code-assistants/codex-assistant/skills/agent-assistant-design-focus/SKILL.md +0 -18
- package/code-assistants/codex-assistant/skills/agent-assistant-design-focus/agents/openai.yaml +0 -4
- package/code-assistants/codex-assistant/skills/agent-assistant-fix-focus/SKILL.md +0 -18
- package/code-assistants/codex-assistant/skills/agent-assistant-fix-focus/agents/openai.yaml +0 -4
- package/code-assistants/codex-assistant/skills/agent-assistant-plan-focus/SKILL.md +0 -18
- package/code-assistants/codex-assistant/skills/agent-assistant-plan-focus/agents/openai.yaml +0 -4
- package/code-assistants/codex-assistant/skills/agent-assistant-report-focus/SKILL.md +0 -18
- package/code-assistants/codex-assistant/skills/agent-assistant-report-focus/agents/openai.yaml +0 -4
- package/code-assistants/codex-assistant/skills/agent-assistant-test-focus/SKILL.md +0 -18
- package/code-assistants/codex-assistant/skills/agent-assistant-test-focus/agents/openai.yaml +0 -4
- package/commands/code/focus.md +0 -297
- package/commands/cook/focus.md +0 -209
- package/commands/debug/focus.md +0 -103
- package/commands/design/focus.md +0 -229
- package/commands/fix/focus.md +0 -145
- package/commands/plan/focus.md +0 -140
- package/commands/report/focus.md +0 -107
- package/commands/test/focus.md +0 -123
- package/documents/business/business-features.md +0 -894
- package/documents/business/business-glossary.md +0 -554
- package/documents/business/business-prd.md +0 -400
- package/documents/business/business-workflows.md +0 -713
- package/documents/knowledge-architecture.md +0 -621
- package/documents/knowledge-domain.md +0 -602
- package/documents/knowledge-overview.md +0 -316
- package/documents/knowledge-source-base.md +0 -581
- package/documents/knowledge-standards.md +0 -632
|
@@ -0,0 +1,395 @@
|
|
|
1
|
+
# Agent Assistant — Domain Entities and Events
|
|
2
|
+
|
|
3
|
+
| Field | Value |
|
|
4
|
+
|-------|-------|
|
|
5
|
+
| **Purpose** | Entity vocabulary, event vocabulary, and entity-event interaction matrix for the agent-assistant domain model |
|
|
6
|
+
| **Parent** | [00-index.md](00-index.md) |
|
|
7
|
+
| **Last Updated** | 2026-03-26 |
|
|
8
|
+
| **Generated By** | docs-business skill |
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Entity Vocabulary
|
|
13
|
+
|
|
14
|
+
### Agent
|
|
15
|
+
|
|
16
|
+
| Attribute | Type | Description |
|
|
17
|
+
|-----------|------|-------------|
|
|
18
|
+
| `name` | string | Agent identifier (filename without `.md`) |
|
|
19
|
+
| `profile` | string | `{domain}:{category}` HSOL profile |
|
|
20
|
+
| `handoffs` | string[] | Permitted downstream delegation targets |
|
|
21
|
+
| `constraints` | object | Behavioral restrictions and scope limits |
|
|
22
|
+
| `directive` | text | Primary mission statement |
|
|
23
|
+
| `protocol` | text | Step-by-step execution procedure |
|
|
24
|
+
| `output_format` | text | Required deliverable structure |
|
|
25
|
+
|
|
26
|
+
| Lifecycle State | Description |
|
|
27
|
+
|----------------|-------------|
|
|
28
|
+
| **Defined** | Agent `.md` file exists in `agents/` |
|
|
29
|
+
| **Loaded** | Orchestrator has read the agent file (TIER 2) or injected it into sub-agent prompt (TIER 1) |
|
|
30
|
+
| **Active** | Agent is currently executing a phase |
|
|
31
|
+
| **Complete** | Agent has produced deliverable and returned control |
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
### Team
|
|
36
|
+
|
|
37
|
+
| Attribute | Type | Description |
|
|
38
|
+
|-----------|------|-------------|
|
|
39
|
+
| `domain` | string | Team's specialization area (folder name under `agents/teams/`) |
|
|
40
|
+
| `tech_lead` | Agent | Tech Lead role file |
|
|
41
|
+
| `executor` | Agent | Executor role file |
|
|
42
|
+
| `reviewer` | Agent | Reviewer role file |
|
|
43
|
+
| `mailbox` | file | Append-only communication channel |
|
|
44
|
+
| `task_list` | file | Shared task tracking artifact |
|
|
45
|
+
|
|
46
|
+
| Lifecycle State | Description |
|
|
47
|
+
|----------------|-------------|
|
|
48
|
+
| **Defined** | Team folder exists with 3 role files |
|
|
49
|
+
| **Activated** | `:team` variant triggered, mailbox created |
|
|
50
|
+
| **Debating** | Adversarial review cycle in progress |
|
|
51
|
+
| **Consensus** | All 3 roles have signed off |
|
|
52
|
+
| **Dissolved** | Team phase complete, artifacts finalized |
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
### Command
|
|
57
|
+
|
|
58
|
+
| Attribute | Type | Description |
|
|
59
|
+
|-----------|------|-------------|
|
|
60
|
+
| `name` | string | Command identifier (e.g., `cook`, `fix`, `plan`) |
|
|
61
|
+
| `router` | file | Top-level routing file (`commands/{cmd}.md`) |
|
|
62
|
+
| `variants` | Variant[] | Available execution strategies |
|
|
63
|
+
| `trigger` | string | User input pattern (slash command or natural language) |
|
|
64
|
+
|
|
65
|
+
| Lifecycle State | Description |
|
|
66
|
+
|----------------|-------------|
|
|
67
|
+
| **Registered** | Command `.md` file exists in `commands/` |
|
|
68
|
+
| **Triggered** | User input matched to this command |
|
|
69
|
+
| **Routing** | Router analyzing scope and selecting variant |
|
|
70
|
+
| **Dispatched** | Variant selected and execution begun |
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
### Variant
|
|
75
|
+
|
|
76
|
+
| Attribute | Type | Description |
|
|
77
|
+
|-----------|------|-------------|
|
|
78
|
+
| `name` | string | Variant identifier (filename without `.md`) |
|
|
79
|
+
| `command` | Command | Parent command |
|
|
80
|
+
| `phases` | Phase[] | Ordered execution sequence |
|
|
81
|
+
| `scope` | string | Scale indicator (single, multi, full, team) |
|
|
82
|
+
| `quality_gates` | string[] | Required checkpoints |
|
|
83
|
+
|
|
84
|
+
| Lifecycle State | Description |
|
|
85
|
+
|----------------|-------------|
|
|
86
|
+
| **Defined** | Variant `.md` file exists in `commands/{cmd}/` |
|
|
87
|
+
| **Selected** | Router chose this variant for current request |
|
|
88
|
+
| **Executing** | Phases running in sequence |
|
|
89
|
+
| **Complete** | All phases finished, all quality gates passed |
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
### Phase
|
|
94
|
+
|
|
95
|
+
| Attribute | Type | Description |
|
|
96
|
+
|-----------|------|-------------|
|
|
97
|
+
| `number` | int | Sequential position within variant |
|
|
98
|
+
| `agent` | Agent | Responsible specialist |
|
|
99
|
+
| `input` | object | Required inputs (prior deliverables + user context) |
|
|
100
|
+
| `exit_criteria` | string[] | Conditions for phase completion |
|
|
101
|
+
| `deliverable` | object | Output artifact specification |
|
|
102
|
+
|
|
103
|
+
| Lifecycle State | Description |
|
|
104
|
+
|----------------|-------------|
|
|
105
|
+
| **Pending** | Phase not yet started, waiting for prior phase |
|
|
106
|
+
| **Active** | Agent executing phase work |
|
|
107
|
+
| **Review** | Deliverable under quality check (team variants) |
|
|
108
|
+
| **Complete** | Exit criteria met, deliverable frozen (L8) |
|
|
109
|
+
| **Failed** | Error classified, recovery in progress |
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
### Rule
|
|
114
|
+
|
|
115
|
+
| Attribute | Type | Description |
|
|
116
|
+
|-----------|------|-------------|
|
|
117
|
+
| `file` | string | Rule file name (e.g., `CORE.md`, `PHASES.md`) |
|
|
118
|
+
| `scope` | string | What the rule governs (identity, execution, skills, teams, errors) |
|
|
119
|
+
| `laws` | Law[] | Immutable governance rules (CORE.md only) |
|
|
120
|
+
| `load_priority` | string | When loaded: `always` (CORE) or `on-demand` (others) |
|
|
121
|
+
|
|
122
|
+
| Lifecycle State | Description |
|
|
123
|
+
|----------------|-------------|
|
|
124
|
+
| **Available** | Rule file exists in `rules/` |
|
|
125
|
+
| **Loaded** | Orchestrator has internalized the rule |
|
|
126
|
+
| **Active** | Rule is constraining current execution |
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
### Skill (Matrix)
|
|
131
|
+
|
|
132
|
+
| Attribute | Type | Description |
|
|
133
|
+
|-----------|------|-------------|
|
|
134
|
+
| `name` | string | Skill identifier |
|
|
135
|
+
| `domain` | string | Parent domain (YAML file name) |
|
|
136
|
+
| `trust` | float | Always `1.0` for matrix skills |
|
|
137
|
+
| `tags` | string[] | Discovery keywords |
|
|
138
|
+
| `path` | string | Folder path under `skills/` |
|
|
139
|
+
|
|
140
|
+
| Lifecycle State | Description |
|
|
141
|
+
|----------------|-------------|
|
|
142
|
+
| **Registered** | Entry exists in domain YAML file |
|
|
143
|
+
| **Resolved** | HSOL selected this skill for injection |
|
|
144
|
+
| **Injected** | Skill content loaded into agent context |
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
### Matrix Skill Domain
|
|
149
|
+
|
|
150
|
+
| Attribute | Type | Description |
|
|
151
|
+
|-----------|------|-------------|
|
|
152
|
+
| `name` | string | Domain identifier (e.g., `backend`, `frontend`) |
|
|
153
|
+
| `file` | string | YAML file path (`matrix-skills/{domain}.yaml`) |
|
|
154
|
+
| `skills` | Skill[] | All skills in this domain |
|
|
155
|
+
| `count` | int | Number of skills in domain |
|
|
156
|
+
|
|
157
|
+
| Lifecycle State | Description |
|
|
158
|
+
|----------------|-------------|
|
|
159
|
+
| **Defined** | YAML file exists in `matrix-skills/` |
|
|
160
|
+
| **Indexed** | Listed in `_index.yaml` |
|
|
161
|
+
| **Queried** | HSOL searched this domain during resolution |
|
|
162
|
+
|
|
163
|
+
---
|
|
164
|
+
|
|
165
|
+
### Dynamic Skill
|
|
166
|
+
|
|
167
|
+
| Attribute | Type | Description |
|
|
168
|
+
|-----------|------|-------------|
|
|
169
|
+
| `name` | string | Skill identifier |
|
|
170
|
+
| `source` | string | Origin (community repository, URL) |
|
|
171
|
+
| `trust` | float | Current trust level (0.3–1.0) |
|
|
172
|
+
| `executions` | int | Count of successful executions |
|
|
173
|
+
| `installed_at` | datetime | Installation timestamp |
|
|
174
|
+
| `path` | string | Folder path under `skills/` |
|
|
175
|
+
|
|
176
|
+
| Lifecycle State | Description |
|
|
177
|
+
|----------------|-------------|
|
|
178
|
+
| **Discovered** | Found via `find-skills` mechanism |
|
|
179
|
+
| **Installed** | Downloaded and registered in `_dynamic.yaml` |
|
|
180
|
+
| **Progressing** | Trust increasing through successful executions |
|
|
181
|
+
| **Promoted** | Elevated to matrix skill status |
|
|
182
|
+
| **Removed** | Uninstalled from framework |
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
### Platform Config
|
|
187
|
+
|
|
188
|
+
| Attribute | Type | Description |
|
|
189
|
+
|-----------|------|-------------|
|
|
190
|
+
| `platform` | string | AI tool name (Claude, Cursor, Copilot, Codex, Gemini) |
|
|
191
|
+
| `entry_file` | string | Root-level boot file name |
|
|
192
|
+
| `format` | string | Platform-specific Markdown conventions |
|
|
193
|
+
|
|
194
|
+
| Lifecycle State | Description |
|
|
195
|
+
|----------------|-------------|
|
|
196
|
+
| **Defined** | Entry point file exists at project root |
|
|
197
|
+
| **Loaded** | AI tool has read the entry point |
|
|
198
|
+
| **Booted** | Pre-Flight complete, Orchestrator active |
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
### Entry Point
|
|
203
|
+
|
|
204
|
+
| Attribute | Type | Description |
|
|
205
|
+
|-----------|------|-------------|
|
|
206
|
+
| `file` | string | File name (e.g., `CLAUDE.md`) |
|
|
207
|
+
| `platform` | Platform Config | Target platform |
|
|
208
|
+
| `boot_sequence` | string[] | Ordered rule files to load |
|
|
209
|
+
|
|
210
|
+
| Lifecycle State | Description |
|
|
211
|
+
|----------------|-------------|
|
|
212
|
+
| **Available** | File exists at project root |
|
|
213
|
+
| **Read** | AI tool has opened and parsed the file |
|
|
214
|
+
| **Activated** | Orchestrator identity established |
|
|
215
|
+
|
|
216
|
+
---
|
|
217
|
+
|
|
218
|
+
### HSOL Config
|
|
219
|
+
|
|
220
|
+
| Attribute | Type | Description |
|
|
221
|
+
|-----------|------|-------------|
|
|
222
|
+
| `fitness_weights` | object | Weight distribution (semantic, specificity, trust, freshness, success) |
|
|
223
|
+
| `superiority_delta` | float | Minimum override threshold (0.15) |
|
|
224
|
+
| `trust_thresholds` | object | Trust progression levels |
|
|
225
|
+
| `max_skills` | int | Maximum skills injected per resolution |
|
|
226
|
+
|
|
227
|
+
| Lifecycle State | Description |
|
|
228
|
+
|----------------|-------------|
|
|
229
|
+
| **Defined** | Configuration exists in `_index.yaml` |
|
|
230
|
+
| **Loaded** | HSOL has parsed configuration |
|
|
231
|
+
| **Active** | Configuration applied to skill resolution |
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
## Event Vocabulary
|
|
236
|
+
|
|
237
|
+
### install
|
|
238
|
+
|
|
239
|
+
| Attribute | Value |
|
|
240
|
+
|-----------|-------|
|
|
241
|
+
| **Trigger** | User runs `node cli/install.js install` |
|
|
242
|
+
| **Source Entity** | CLI |
|
|
243
|
+
| **Target Entities** | Platform Config, Entry Point |
|
|
244
|
+
| **Outcome** | Platform entry points and agent files installed to target project |
|
|
245
|
+
| **Side Effects** | Creates/updates root-level `.md` files, copies `rules/`, `agents/`, `commands/`, `skills/`, `matrix-skills/` |
|
|
246
|
+
|
|
247
|
+
### uninstall
|
|
248
|
+
|
|
249
|
+
| Attribute | Value |
|
|
250
|
+
|-----------|-------|
|
|
251
|
+
| **Trigger** | User runs CLI uninstall command |
|
|
252
|
+
| **Source Entity** | CLI |
|
|
253
|
+
| **Target Entities** | Platform Config, Entry Point |
|
|
254
|
+
| **Outcome** | Framework files removed from target project |
|
|
255
|
+
| **Side Effects** | Removes installed files and folders |
|
|
256
|
+
|
|
257
|
+
### command trigger
|
|
258
|
+
|
|
259
|
+
| Attribute | Value |
|
|
260
|
+
|-----------|-------|
|
|
261
|
+
| **Trigger** | User inputs a slash command or natural language matching a command |
|
|
262
|
+
| **Source Entity** | User (via AI tool) |
|
|
263
|
+
| **Target Entities** | Command, Router |
|
|
264
|
+
| **Outcome** | Command router activated, begins scope analysis |
|
|
265
|
+
| **Side Effects** | May trigger Pre-Flight if not already complete |
|
|
266
|
+
|
|
267
|
+
### phase start
|
|
268
|
+
|
|
269
|
+
| Attribute | Value |
|
|
270
|
+
|-----------|-------|
|
|
271
|
+
| **Trigger** | Previous phase completed (or variant execution began for Phase 1) |
|
|
272
|
+
| **Source Entity** | Variant |
|
|
273
|
+
| **Target Entities** | Phase, Agent |
|
|
274
|
+
| **Outcome** | Agent receives task with prior deliverables as constraints |
|
|
275
|
+
| **Side Effects** | HSOL skill resolution for target agent |
|
|
276
|
+
|
|
277
|
+
### phase complete
|
|
278
|
+
|
|
279
|
+
| Attribute | Value |
|
|
280
|
+
|-----------|-------|
|
|
281
|
+
| **Trigger** | Agent meets all exit criteria for current phase |
|
|
282
|
+
| **Source Entity** | Phase |
|
|
283
|
+
| **Target Entities** | Variant, next Phase |
|
|
284
|
+
| **Outcome** | Deliverable frozen (L8), next phase unblocked |
|
|
285
|
+
| **Side Effects** | Deliverable becomes immutable constraint |
|
|
286
|
+
|
|
287
|
+
### agent delegation
|
|
288
|
+
|
|
289
|
+
| Attribute | Value |
|
|
290
|
+
|-----------|-------|
|
|
291
|
+
| **Trigger** | Orchestrator routes work to an agent (TIER 1 or TIER 2) |
|
|
292
|
+
| **Source Entity** | Orchestrator |
|
|
293
|
+
| **Target Entities** | Agent |
|
|
294
|
+
| **Outcome** | Agent activated with scoped task and constraints |
|
|
295
|
+
| **Side Effects** | TIER 1: new sub-agent context created; TIER 2: Orchestrator embodies agent |
|
|
296
|
+
|
|
297
|
+
### skill resolution
|
|
298
|
+
|
|
299
|
+
| Attribute | Value |
|
|
300
|
+
|-----------|-------|
|
|
301
|
+
| **Trigger** | Agent delegation requires skill injection |
|
|
302
|
+
| **Source Entity** | HSOL |
|
|
303
|
+
| **Target Entities** | Matrix Skill, Dynamic Skill, Skill Module |
|
|
304
|
+
| **Outcome** | Top-ranked skills injected into agent context |
|
|
305
|
+
| **Side Effects** | Fitness scores computed, dynamic skill execution count may increment |
|
|
306
|
+
|
|
307
|
+
### skill discovery
|
|
308
|
+
|
|
309
|
+
| Attribute | Value |
|
|
310
|
+
|-----------|-------|
|
|
311
|
+
| **Trigger** | User invokes `find-skills` mechanism |
|
|
312
|
+
| **Source Entity** | CLI / find-skills |
|
|
313
|
+
| **Target Entities** | Dynamic Skill |
|
|
314
|
+
| **Outcome** | New community skills discovered and presented for installation |
|
|
315
|
+
| **Side Effects** | Network requests to skill repositories |
|
|
316
|
+
|
|
317
|
+
### trust update
|
|
318
|
+
|
|
319
|
+
| Attribute | Value |
|
|
320
|
+
|-----------|-------|
|
|
321
|
+
| **Trigger** | Dynamic skill completes a successful execution |
|
|
322
|
+
| **Source Entity** | HSOL |
|
|
323
|
+
| **Target Entities** | Dynamic Skill |
|
|
324
|
+
| **Outcome** | Trust level incremented (0.3→0.5→0.7→1.0) |
|
|
325
|
+
| **Side Effects** | `_dynamic.yaml` updated; may trigger promotion at trust 1.0 |
|
|
326
|
+
|
|
327
|
+
### consensus reached
|
|
328
|
+
|
|
329
|
+
| Attribute | Value |
|
|
330
|
+
|-----------|-------|
|
|
331
|
+
| **Trigger** | All 3 Golden Triangle roles sign off on deliverable |
|
|
332
|
+
| **Source Entity** | Team (Reviewer confirms) |
|
|
333
|
+
| **Target Entities** | Consensus Stamp, Phase |
|
|
334
|
+
| **Outcome** | Team phase output released as deliverable |
|
|
335
|
+
| **Side Effects** | Consensus stamp written to mailbox; debate mechanism terminates |
|
|
336
|
+
|
|
337
|
+
### error classified
|
|
338
|
+
|
|
339
|
+
| Attribute | Value |
|
|
340
|
+
|-----------|-------|
|
|
341
|
+
| **Trigger** | Exception or failure during phase execution |
|
|
342
|
+
| **Source Entity** | Phase (failed) |
|
|
343
|
+
| **Target Entities** | Error Classification |
|
|
344
|
+
| **Outcome** | Error assigned class (E1/E1b/E2/E3/E4) and recovery procedure |
|
|
345
|
+
| **Side Effects** | E1: auto-retry; E1b: context reduction; E2: alternative strategy; E3: user escalation; E4: workflow rollback |
|
|
346
|
+
|
|
347
|
+
### error recovered
|
|
348
|
+
|
|
349
|
+
| Attribute | Value |
|
|
350
|
+
|-----------|-------|
|
|
351
|
+
| **Trigger** | Recovery procedure succeeds for classified error |
|
|
352
|
+
| **Source Entity** | Error Classification |
|
|
353
|
+
| **Target Entities** | Phase |
|
|
354
|
+
| **Outcome** | Phase execution resumes or restarts |
|
|
355
|
+
| **Side Effects** | Error logged; phase may re-enter Active state |
|
|
356
|
+
|
|
357
|
+
---
|
|
358
|
+
|
|
359
|
+
## Entity-Event Interaction Matrix
|
|
360
|
+
|
|
361
|
+
This matrix shows which entities participate in each event as **source (S)**, **target (T)**, or **affected (A)**.
|
|
362
|
+
|
|
363
|
+
| Event | Agent | Team | Command | Variant | Phase | Rule | Skill (Matrix) | Skill (Dynamic) | Domain | Platform Config | Entry Point | HSOL Config |
|
|
364
|
+
|-------|-------|------|---------|---------|-------|------|----------------|-----------------|--------|----------------|-------------|-------------|
|
|
365
|
+
| **install** | A | A | A | A | — | A | A | A | A | T | T | A |
|
|
366
|
+
| **uninstall** | A | A | A | A | — | A | A | A | A | T | T | A |
|
|
367
|
+
| **command trigger** | — | — | T | — | — | A | — | — | — | — | — | — |
|
|
368
|
+
| **phase start** | T | A | — | S | T | A | — | — | — | — | — | — |
|
|
369
|
+
| **phase complete** | S | A | — | A | S | — | — | — | — | — | — | — |
|
|
370
|
+
| **agent delegation** | T | — | — | — | A | A | — | — | — | — | — | — |
|
|
371
|
+
| **skill resolution** | A | — | — | — | A | — | T | T | A | — | — | A |
|
|
372
|
+
| **skill discovery** | — | — | — | — | — | — | — | T | — | — | — | — |
|
|
373
|
+
| **trust update** | — | — | — | — | — | — | — | T | — | — | — | A |
|
|
374
|
+
| **consensus reached** | A | S | — | — | T | — | — | — | — | — | — | — |
|
|
375
|
+
| **error classified** | A | A | — | — | S | A | — | — | — | — | — | — |
|
|
376
|
+
| **error recovered** | A | — | — | — | T | A | — | — | — | — | — | — |
|
|
377
|
+
|
|
378
|
+
**Legend**: S = Source (initiates event), T = Target (directly affected), A = Affected (indirectly involved or state may change)
|
|
379
|
+
|
|
380
|
+
---
|
|
381
|
+
|
|
382
|
+
## Evidence Sources
|
|
383
|
+
|
|
384
|
+
- `rules/CORE.md` — Orchestrator, Laws, agent identity
|
|
385
|
+
- `rules/AGENTS.md` — Agent delegation lifecycle, TIER 1/TIER 2 states
|
|
386
|
+
- `rules/PHASES.md` — Phase lifecycle, deliverable freezing
|
|
387
|
+
- `rules/TEAMS.md` — Team lifecycle, mailbox, consensus events
|
|
388
|
+
- `rules/ERRORS.md` — Error classification events, recovery states
|
|
389
|
+
- `rules/SKILLS.md` — HSOL resolution events, skill lifecycle
|
|
390
|
+
- `matrix-skills/_index.yaml` — HSOL config entity, domain registry
|
|
391
|
+
- `matrix-skills/_dynamic.yaml` — Dynamic skill entity, trust progression events
|
|
392
|
+
- `agents/*.md` — Agent entity attributes
|
|
393
|
+
- `agents/teams/` — Team entity structure
|
|
394
|
+
- `commands/*.md` — Command/variant entity attributes
|
|
395
|
+
- `cli/install.js` — Install/uninstall events
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
# Agent Assistant — API Term Mapping
|
|
2
|
+
|
|
3
|
+
| Field | Value |
|
|
4
|
+
|-------|-------|
|
|
5
|
+
| **Purpose** | Mapping between domain terms and their technical implementation: file locations, YAML fields, Markdown sections, CLI arguments, and configuration keys |
|
|
6
|
+
| **Parent** | [00-index.md](00-index.md) |
|
|
7
|
+
| **Last Updated** | 2026-03-26 |
|
|
8
|
+
| **Generated By** | docs-business skill |
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Primary Term-to-Implementation Mapping
|
|
13
|
+
|
|
14
|
+
| Domain Term | Implementation Artifact | File/Path | Section/Field |
|
|
15
|
+
|-------------|----------------------|-----------|---------------|
|
|
16
|
+
| **Orchestrator** | Markdown section | `rules/CORE.md` | `## IDENTITY` section — defines Orchestrator role, prohibitions, self-check |
|
|
17
|
+
| **Agent** | Markdown file | `agents/{name}.md` | Entire file — YAML frontmatter + directive + protocol + output format |
|
|
18
|
+
| **Team Agent** | Markdown file | `agents/teams/{domain}/{role}.md` | Entire file — role-specific agent within Golden Triangle |
|
|
19
|
+
| **Command** | Markdown file | `commands/{cmd}.md` | Entire file — router logic, scope analysis, variant dispatch |
|
|
20
|
+
| **Variant** | Markdown file | `commands/{cmd}/{variant}.md` | Entire file — phase sequence, agent assignments, quality gates |
|
|
21
|
+
| **Phase** | Markdown section | `commands/{cmd}/{variant}.md` | `## Phase N` sections within variant file |
|
|
22
|
+
| **Profile** | YAML frontmatter field | `agents/{name}.md` | `profile: {domain}:{category}` in YAML frontmatter |
|
|
23
|
+
| **HSOL** | YAML configuration | `matrix-skills/_index.yaml` | `hsol` top-level key — resolution config, weights, thresholds |
|
|
24
|
+
| **Trust** | YAML configuration | `matrix-skills/_index.yaml` | `hsol.trust` key — trust thresholds and progression rules |
|
|
25
|
+
| **Dynamic Skill** | YAML registry | `matrix-skills/_dynamic.yaml` | Each entry — name, source, trust, executions, path |
|
|
26
|
+
| **Matrix Skill** | YAML registry | `matrix-skills/{domain}.yaml` | Each entry — name, tags, path, implicit trust 1.0 |
|
|
27
|
+
| **Skill Module** | Folder + Markdown | `skills/{skill-name}/SKILL.md` | SKILL.md — domain knowledge, best practices, examples |
|
|
28
|
+
| **Fitness Score** | YAML configuration | `matrix-skills/_index.yaml` | `hsol.fitness_weights` — semantic, specificity, trust, freshness, success |
|
|
29
|
+
| **Superiority Delta** | YAML configuration | `matrix-skills/_index.yaml` | `hsol.superiority_delta: 0.15` |
|
|
30
|
+
| **Golden Triangle** | Folder structure | `agents/teams/{domain}/` | 3 files: tech-lead, executor, reviewer |
|
|
31
|
+
| **Mailbox** | Runtime file | Created at runtime during `:team` execution | Append-only message log |
|
|
32
|
+
| **Shared Task List** | Runtime file | Created at runtime during `:team` execution | Task breakdown with status tracking |
|
|
33
|
+
| **Orchestration Laws** | Markdown section | `rules/CORE.md` | `## LAWS` or equivalent section — L1 through L10 |
|
|
34
|
+
| **Anti-Pattern Registry** | Markdown section | `rules/CORE.md` | `## ANTI-PATTERNS` or equivalent — A1 through A10 |
|
|
35
|
+
| **Error Classification** | Markdown file | `rules/ERRORS.md` | E1–E4 definitions, recovery procedures |
|
|
36
|
+
| **Domain** | YAML file | `matrix-skills/{domain}.yaml` | Each YAML file = one domain (19 total) |
|
|
37
|
+
| **Platform Entry Point** | Markdown file | `{PLATFORM}.md` at project root | `CLAUDE.md`, `CURSOR.md`, `COPILOT.md`, `CODEX.md`, `GEMINI.md` |
|
|
38
|
+
| **Requirements Registry** | Markdown section | `rules/PHASES.md` | Requirements table format specification |
|
|
39
|
+
| **Cognitive Anchor** | Markdown section | `agents/{name}.md` | Cognitive anchor block within agent definition |
|
|
40
|
+
| **Handoff** | YAML frontmatter field | `agents/{name}.md` | `handoffs: [agent1, agent2]` in YAML frontmatter |
|
|
41
|
+
| **Consensus Stamp** | Markdown format | `rules/TEAMS.md` | Stamp format specification |
|
|
42
|
+
| **Debate Mechanism** | Markdown section | `rules/TEAMS.md` | Review cycle rules, max 3 rounds |
|
|
43
|
+
| **Trust Progression** | YAML configuration | `matrix-skills/_index.yaml` | `hsol.trust` — progression levels 0.3→0.5→0.7→1.0 |
|
|
44
|
+
| **Promotion** | YAML lifecycle | `matrix-skills/_dynamic.yaml` → `matrix-skills/{domain}.yaml` | Entry moves from dynamic to domain YAML on promotion |
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## CLI Argument Mapping
|
|
49
|
+
|
|
50
|
+
| Domain Term | CLI Command | Arguments | Description |
|
|
51
|
+
|-------------|-------------|-----------|-------------|
|
|
52
|
+
| **install** | `node cli/install.js install` | `--all`, `--platform {name}` | Install framework into target project |
|
|
53
|
+
| **uninstall** | `node cli/install.js uninstall` | `--all`, `--platform {name}` | Remove framework from target project |
|
|
54
|
+
| **find-skills** | `find-skills` | `{query}` | Discover community skills matching query |
|
|
55
|
+
| **Platform Entry Point** | `node cli/install.js install` | `--platform claude`, `--platform cursor`, `--platform copilot`, `--platform codex`, `--platform gemini` | Install specific platform entry point |
|
|
56
|
+
| **Agent** | `node cli/install.js install` | `--agents` (implicit with `--all`) | Install agent definitions |
|
|
57
|
+
| **Command** | `node cli/install.js install` | `--commands` (implicit with `--all`) | Install command routers and variants |
|
|
58
|
+
| **Skill Module** | `node cli/install.js install` | `--skills` (implicit with `--all`) | Install skill modules |
|
|
59
|
+
| **Rule** | `node cli/install.js install` | `--rules` (implicit with `--all`) | Install rule files |
|
|
60
|
+
| **Matrix Skill** | `node cli/install.js install` | `--matrix-skills` (implicit with `--all`) | Install matrix skill registry |
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## Prompt Command Term Mapping
|
|
65
|
+
|
|
66
|
+
Mapping between user-facing slash commands and their internal implementation artifacts.
|
|
67
|
+
|
|
68
|
+
| User Command | Router File | Variant Folder | Natural Language Triggers |
|
|
69
|
+
|-------------|-------------|----------------|--------------------------|
|
|
70
|
+
| `/cook` | `commands/cook.md` | `commands/cook/` | "implement", "build", "create", "make" |
|
|
71
|
+
| `/fix` | `commands/fix.md` | `commands/fix/` | "fix", "bug", "repair", "patch" |
|
|
72
|
+
| `/plan` | `commands/plan.md` | `commands/plan/` | "plan", "design architecture", "architect" |
|
|
73
|
+
| `/debug` | `commands/debug.md` | `commands/debug/` | "debug", "investigate", "trace" |
|
|
74
|
+
| `/test` | `commands/test.md` | `commands/test/` | "test", "write tests", "coverage" |
|
|
75
|
+
| `/review` | `commands/review.md` | `commands/review/` | "review", "audit", "check quality" |
|
|
76
|
+
| `/docs` | `commands/docs.md` | `commands/docs/` | "document", "write docs", "documentation" |
|
|
77
|
+
| `/design` | `commands/design.md` | `commands/design/` | "design", "UI", "UX", "mockup" |
|
|
78
|
+
| `/deploy` | `commands/deploy.md` | `commands/deploy/` | "deploy", "release", "ship" |
|
|
79
|
+
| `/report` | `commands/report.md` | `commands/report/` | "report", "analyze", "assessment" |
|
|
80
|
+
| `/brainstorm` | `commands/brainstorm.md` | `commands/brainstorm/` | "brainstorm", "ideate", "explore options" |
|
|
81
|
+
| `/ask` | `commands/ask.md` | `commands/ask/` | "ask", "question", "explain" |
|
|
82
|
+
| `/code` | `commands/code.md` | `commands/code/` | "code", "write code", "snippet" |
|
|
83
|
+
| `/auto` | `commands/auto.md` | — | "auto", "automatic", "autonomous" |
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## HSOL Configuration Term Mapping
|
|
88
|
+
|
|
89
|
+
Detailed mapping of HSOL domain terms to their `_index.yaml` configuration structure.
|
|
90
|
+
|
|
91
|
+
| Domain Term | YAML Path | Type | Default | Description |
|
|
92
|
+
|-------------|-----------|------|---------|-------------|
|
|
93
|
+
| **HSOL** | `hsol` | object | — | Top-level HSOL configuration block |
|
|
94
|
+
| **Fitness Score — Semantic** | `hsol.fitness_weights.semantic` | float | `0.35` | Weight for semantic similarity to task |
|
|
95
|
+
| **Fitness Score — Specificity** | `hsol.fitness_weights.specificity` | float | `0.25` | Weight for profile-category match |
|
|
96
|
+
| **Fitness Score — Trust** | `hsol.fitness_weights.trust` | float | `0.20` | Weight for skill trust level |
|
|
97
|
+
| **Fitness Score — Freshness** | `hsol.fitness_weights.freshness` | float | `0.10` | Weight for recency of last update |
|
|
98
|
+
| **Fitness Score — Success** | `hsol.fitness_weights.success` | float | `0.10` | Weight for historical success rate |
|
|
99
|
+
| **Superiority Delta** | `hsol.superiority_delta` | float | `0.15` | Override threshold for dynamic over matrix |
|
|
100
|
+
| **Trust — Initial** | `hsol.trust.initial` | float | `0.3` | Starting trust for new dynamic skills |
|
|
101
|
+
| **Trust — Level 2** | `hsol.trust.level_2` | float | `0.5` | Trust after first progression |
|
|
102
|
+
| **Trust — Level 3** | `hsol.trust.level_3` | float | `0.7` | Trust after second progression |
|
|
103
|
+
| **Trust — Promotion** | `hsol.trust.promotion` | float | `1.0` | Trust level triggering promotion eligibility |
|
|
104
|
+
| **Domain Registry** | `hsol.domains` | string[] | 19 domains | List of registered skill domain names |
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## Agent Frontmatter Field Mapping
|
|
109
|
+
|
|
110
|
+
| Domain Term | YAML Field | Type | Example |
|
|
111
|
+
|-------------|-----------|------|---------|
|
|
112
|
+
| **Profile** | `profile` | string | `backend:api` |
|
|
113
|
+
| **Handoff** | `handoffs` | string[] | `[debugger, tester]` |
|
|
114
|
+
| **Agent name** | (filename) | string | `backend-engineer.md` |
|
|
115
|
+
| **Constraints** | `constraints` | object | `{ max_files: 10, languages: [typescript] }` |
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
## Rule File Mapping
|
|
120
|
+
|
|
121
|
+
| Domain Term | Rule File | Load Priority | Key Sections |
|
|
122
|
+
|-------------|-----------|---------------|-------------|
|
|
123
|
+
| **Orchestration Laws (L1–L10)** | `rules/CORE.md` | Always (Pre-Flight) | Identity, Laws, Prohibitions, Self-Check |
|
|
124
|
+
| **Phase execution** | `rules/PHASES.md` | On-demand | Phase structure, deliverable format, requirements registry |
|
|
125
|
+
| **Tiered Execution** | `rules/AGENTS.md` | On-demand | TIER 1/TIER 2, delegation protocol, handoff rules |
|
|
126
|
+
| **HSOL resolution** | `rules/SKILLS.md` | On-demand | Fitness scoring, skill injection, trust progression |
|
|
127
|
+
| **Golden Triangle** | `rules/TEAMS.md` | On-demand | Team protocol, mailbox, consensus, debate mechanism |
|
|
128
|
+
| **Error Classification (E1–E4)** | `rules/ERRORS.md` | On-demand | Error classes, recovery procedures, escalation rules |
|
|
129
|
+
| **Quick lookup** | `rules/REFERENCE.md` | On-demand | Summary tables, cheat sheets |
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## Domain YAML File Mapping
|
|
134
|
+
|
|
135
|
+
| Domain Name | YAML File | Skill Count Category |
|
|
136
|
+
|-------------|-----------|---------------------|
|
|
137
|
+
| AI/ML | `matrix-skills/ai-ml.yaml` | Machine learning, LLM, NLP skills |
|
|
138
|
+
| Architecture | `matrix-skills/architecture.yaml` | System design, patterns, principles |
|
|
139
|
+
| Backend | `matrix-skills/backend.yaml` | Server-side, API, database skills |
|
|
140
|
+
| Cloud | `matrix-skills/cloud.yaml` | AWS, GCP, Azure, serverless |
|
|
141
|
+
| Data | `matrix-skills/data.yaml` | Data engineering, analytics, pipelines |
|
|
142
|
+
| Design | `matrix-skills/design.yaml` | UI/UX, visual design, accessibility |
|
|
143
|
+
| DevOps | `matrix-skills/devops.yaml` | CI/CD, infrastructure, monitoring |
|
|
144
|
+
| Frontend | `matrix-skills/frontend.yaml` | Browser, UI frameworks, CSS |
|
|
145
|
+
| Gaming | `matrix-skills/gaming.yaml` | Game engines, graphics, physics |
|
|
146
|
+
| Languages | `matrix-skills/languages.yaml` | Programming language-specific skills |
|
|
147
|
+
| Management | `matrix-skills/management.yaml` | Project management, agile, processes |
|
|
148
|
+
| MCP | `matrix-skills/mcp.yaml` | Model Context Protocol skills |
|
|
149
|
+
| Mobile | `matrix-skills/mobile.yaml` | iOS, Android, cross-platform |
|
|
150
|
+
| Performance | `matrix-skills/performance.yaml` | Optimization, profiling, benchmarking |
|
|
151
|
+
| Planning | `matrix-skills/planning.yaml` | Requirements, estimation, roadmapping |
|
|
152
|
+
| Quality | `matrix-skills/quality.yaml` | Testing, QA, code quality |
|
|
153
|
+
| Research | `matrix-skills/research.yaml` | Analysis, investigation, evaluation |
|
|
154
|
+
| Security | `matrix-skills/security.yaml` | AppSec, infrastructure security, compliance |
|
|
155
|
+
| Tools | `matrix-skills/tools.yaml` | Developer tools, IDEs, utilities |
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## Evidence Sources
|
|
160
|
+
|
|
161
|
+
- `rules/CORE.md` — Orchestrator identity section, Laws section
|
|
162
|
+
- `rules/AGENTS.md` — Tiered Execution protocol
|
|
163
|
+
- `rules/PHASES.md` — Phase format, requirements registry
|
|
164
|
+
- `rules/TEAMS.md` — Team protocol, consensus format
|
|
165
|
+
- `rules/ERRORS.md` — Error classification
|
|
166
|
+
- `rules/SKILLS.md` — HSOL resolution algorithm
|
|
167
|
+
- `matrix-skills/_index.yaml` — HSOL configuration structure, fitness weights, trust thresholds
|
|
168
|
+
- `matrix-skills/_dynamic.yaml` — Dynamic skill entry structure
|
|
169
|
+
- `matrix-skills/*.yaml` — Domain YAML file structure
|
|
170
|
+
- `agents/*.md` — Agent frontmatter field structure
|
|
171
|
+
- `commands/*.md` — Command/variant file structure
|
|
172
|
+
- `cli/install.js` — CLI argument parsing
|
|
173
|
+
- `package.json` — Project metadata, version
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# Agent Assistant — Product Requirements Document (PRD)
|
|
2
|
+
|
|
3
|
+
> **Purpose**: PRD summary, table of contents, key facts, cross-references, and known gaps for @namch/agent-assistant v1.3.0
|
|
4
|
+
> **Last Updated**: 2026-03-26
|
|
5
|
+
> **Generated By**: docs-business skill
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Quick Summary
|
|
10
|
+
|
|
11
|
+
This PRD defines the product requirements for **@namch/agent-assistant v1.3.0**, a multi-agent orchestration framework that transforms a single AI coding assistant into a coordinated team of 21 specialist agents across 5 platforms (Cursor, Copilot, Claude Code, Codex, Antigravity/Gemini). The framework provides 14 structured commands with 4 variant strategies each, a Hybrid Skill Orchestration Layer (HSOL) with 1,430+ matrix skills across 19 domains, and adversarial team collaboration via the Golden Triangle protocol. Installation is global and one-time — zero per-project configuration required.
|
|
12
|
+
|
|
13
|
+
The PRD covers 10 business goals (BG-001 through BG-010), 7 stakeholder types, 23 functional requirements (BR-001 through BR-023) with INVEST scoring, acceptance criteria, and a risk register addressing unvalidated performance claims, external dependencies, and testing gaps.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Sub-Files
|
|
18
|
+
|
|
19
|
+
| # | File | Description |
|
|
20
|
+
|---|------|-------------|
|
|
21
|
+
| 1 | [01-executive-summary.md](./01-executive-summary.md) | Mission statement, value proposition, target outcomes, target users, key metrics |
|
|
22
|
+
| 2 | [02-problem-goals-and-scope.md](./02-problem-goals-and-scope.md) | Problem statement, 10 business goals (BG-001–BG-010), non-goals, in-scope/out-of-scope boundary |
|
|
23
|
+
| 3 | [03-stakeholders-and-requirements.md](./03-stakeholders-and-requirements.md) | Stakeholder map with goals and touchpoints, functional requirements (BR-001–BR-023), non-functional requirements, traceability to goals |
|
|
24
|
+
| 4 | [04-acceptance-risks-assumptions.md](./04-acceptance-risks-assumptions.md) | Acceptance criteria for the framework, risk register, assumptions, open questions |
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Key Facts
|
|
29
|
+
|
|
30
|
+
| Key | Value |
|
|
31
|
+
|-----|-------|
|
|
32
|
+
| Package Name | `@namch/agent-assistant` |
|
|
33
|
+
| Version | 1.3.0 |
|
|
34
|
+
| Type | Multi-agent orchestration framework |
|
|
35
|
+
| Platforms | 5 (Cursor, Copilot, Claude Code, Codex, Antigravity/Gemini) |
|
|
36
|
+
| Specialist Agents | 21 |
|
|
37
|
+
| Team Configurations | 17 teams (Golden Triangle protocol) |
|
|
38
|
+
| Commands | 14 (with 4 variant strategies each) |
|
|
39
|
+
| Matrix Skills | 1,430+ across 19 domains |
|
|
40
|
+
| Business Goals | 10 (BG-001 to BG-010) |
|
|
41
|
+
| Requirements | 23 (BR-001 to BR-023) |
|
|
42
|
+
| Stakeholder Types | 7 |
|
|
43
|
+
| Production Dependencies | 0 |
|
|
44
|
+
| Runtime | Node.js >= 18.0.0 |
|
|
45
|
+
| License | MIT |
|
|
46
|
+
| Author | NamCH |
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Cross-References
|
|
51
|
+
|
|
52
|
+
### Knowledge Folders (docs-core)
|
|
53
|
+
|
|
54
|
+
| Folder | Relationship to PRD |
|
|
55
|
+
|--------|---------------------|
|
|
56
|
+
| [../knowledge-overview/](../knowledge-overview/) | Project identity, tech stack, features, getting started — provides factual basis for executive summary and scope |
|
|
57
|
+
| [../knowledge-architecture/](../knowledge-architecture/) | System overview, components, data flow, design patterns, decisions — informs non-functional requirements |
|
|
58
|
+
| [../knowledge-domain/](../knowledge-domain/) | Entities, business rules, API contracts — sources for domain-specific requirements |
|
|
59
|
+
| [../knowledge-source-base/](../knowledge-source-base/) | Directory structure, entry points, key modules, configuration — evidence for technical requirements |
|
|
60
|
+
| [../knowledge-standards/](../knowledge-standards/) | Code style, conventions, git workflow, testing standards — informs quality and process requirements |
|
|
61
|
+
|
|
62
|
+
### Business Folders (docs-business)
|
|
63
|
+
|
|
64
|
+
| Folder | Relationship to PRD |
|
|
65
|
+
|--------|---------------------|
|
|
66
|
+
| business-prd/ (this folder) | Product Requirements Document — goals, stakeholders, requirements, risks |
|
|
67
|
+
| business-user-stories/ | User stories derived from BR-001–BR-023 requirements |
|
|
68
|
+
| business-use-cases/ | Detailed use case specifications for canonical workflows |
|
|
69
|
+
| business-glossary/ | Canonical terminology for all PRD terms |
|
|
70
|
+
|
|
71
|
+
### Source Documents
|
|
72
|
+
|
|
73
|
+
| Document | Relationship |
|
|
74
|
+
|----------|-------------|
|
|
75
|
+
| [../../reports/business-analysis/structured-business-pack.md](../../reports/business-analysis/structured-business-pack.md) | Primary source — goals, requirements, features, workflows, glossary, traceability matrix |
|
|
76
|
+
| [../HSOL-ASSESSMENT.md](../HSOL-ASSESSMENT.md) | HSOL production readiness assessment — informs skill-related requirements and risks |
|
|
77
|
+
| [../SMART-SKILL-ORCHESTRATION-BLUEPRINT.md](../SMART-SKILL-ORCHESTRATION-BLUEPRINT.md) | HSOL design blueprint — informs BR-008, BR-009, BR-010 |
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## Known Gaps
|
|
82
|
+
|
|
83
|
+
| ID | Gap | Impact | Affected Items |
|
|
84
|
+
|----|-----|--------|----------------|
|
|
85
|
+
| GAP-001 | Performance claims (70% faster, 70% fewer bugs, 85% token savings) are unvalidated — no benchmarks exist in the repository | Stakeholder expectations may be inflated; marketing risk | BG-003, BG-004, BG-005, BR-003, BR-008 |
|
|
86
|
+
| GAP-002 | No automated test suite for framework behavior | Orchestration law violations (L1–L10) and error recovery (E1–E4) are undetectable at CI time | BG-009, BR-012, BR-013 |
|
|
87
|
+
| GAP-003 | Dynamic skill ecosystem depends on external service (skills.sh) which is not bundled | BF-009, BF-010 features degrade to no-op when service is unreachable | BG-007, BR-009, BR-010 |
|
|
88
|
+
| GAP-004 | Trust Progression Lifecycle has no observed implementation evidence | Trust values (0.3→0.5→0.7→1.0) may be conceptual only — `_dynamic.yaml` tracking is unverified | BG-007, BR-010 |
|
|
89
|
+
| GAP-005 | No public roadmap exists | Contributors and adopters lack visibility into planned features and release priorities | BG-009, BG-010 |
|
|
90
|
+
| GAP-006 | Community skill count target (≥50 in 12 months) has no measurement mechanism | BG-007 success cannot be tracked without skill registry analytics | BG-007 |
|
|
91
|
+
| GAP-007 | Team adoption metric (≥80% in 30 days) has no measurement tooling | BG-002 KPI is aspirational without telemetry or survey mechanism | BG-002 |
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## Evidence Sources
|
|
96
|
+
|
|
97
|
+
| Source | Path | Used For |
|
|
98
|
+
|--------|------|----------|
|
|
99
|
+
| Structured Business Pack | `reports/business-analysis/structured-business-pack.md` | Goals, requirements, features, workflows, glossary, traceability |
|
|
100
|
+
| Package manifest | `package.json` | Version, name, dependencies, scripts |
|
|
101
|
+
| HSOL Assessment | `documents/HSOL-ASSESSMENT.md` | Skill layer readiness and gaps |
|
|
102
|
+
| Knowledge Overview Index | `documents/knowledge-overview/00-index.md` | Project facts, quick summary |
|
|
103
|
+
| Features | `documents/knowledge-overview/03-features.md` | Feature descriptions, performance metrics |
|
|
104
|
+
| Core Rules | `rules/CORE.md` | Orchestration laws, tiered execution, command routing |
|
|
105
|
+
| Agents directory | `agents/*.md` | 21 specialist agent definitions |
|
|
106
|
+
| Commands directory | `commands/*.md` | 14 command workflow definitions |
|
|
107
|
+
| Matrix Skills | `matrix-skills/_index.yaml` | 1,430+ skill entries across 19 domains |
|