@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,554 @@
|
|
|
1
|
+
# Agent Assistant — Business Rules
|
|
2
|
+
|
|
3
|
+
> **Purpose**: Complete business logic documentation — governance laws, execution rules, state machines, and constraint systems
|
|
4
|
+
> **Parent**: [00-index.md](./00-index.md)
|
|
5
|
+
> **Last Updated**: 2026-03-26
|
|
6
|
+
> **Generated By**: docs-core skill
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Table of Contents
|
|
11
|
+
|
|
12
|
+
1. [Orchestration Laws (L1-L10)](#orchestration-laws-l1-l10)
|
|
13
|
+
2. [Tiered Execution Rules](#tiered-execution-rules)
|
|
14
|
+
3. [Phase Sequencing](#phase-sequencing)
|
|
15
|
+
4. [HSOL Fitness Scoring](#hsol-fitness-scoring)
|
|
16
|
+
5. [Trust Progression](#trust-progression)
|
|
17
|
+
6. [Error Classification (E1-E4)](#error-classification-e1-e4)
|
|
18
|
+
7. [Golden Triangle Debate Rules](#golden-triangle-debate-rules)
|
|
19
|
+
8. [Deliverable Integrity](#deliverable-integrity)
|
|
20
|
+
9. [Language Compliance](#language-compliance)
|
|
21
|
+
10. [Constraint Propagation](#constraint-propagation)
|
|
22
|
+
11. [Anti-Pattern Registry (A1-A10)](#anti-pattern-registry-a1-a10)
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## Orchestration Laws (L1-L10)
|
|
27
|
+
|
|
28
|
+
These 10 laws are immutable governance rules defined in `rules/CORE.md` v4.1. They constrain all Orchestrator and agent behavior. No law can be overridden by any command, variant, or agent.
|
|
29
|
+
|
|
30
|
+
| Law | Name | Rule | Enforcement |
|
|
31
|
+
|-----|------|------|-------------|
|
|
32
|
+
| **L1** | Single Point of Truth | The platform entry file loads `CORE.md` first; all other rules load on-demand | Prevents conflicting instructions from multiple sources |
|
|
33
|
+
| **L2** | Requirement Integrity | 100% fidelity — parse EVERY requirement, zero loss, no assumptions | Requirements Registry must capture all items before Phase 1 |
|
|
34
|
+
| **L3** | Explicit Loading | State what you loaded before using it | Prevents phantom references to unloaded rules/agents |
|
|
35
|
+
| **L4** | Deep Embodiment | When embodying an agent (TIER 2), follow that agent's Directive + Protocol + Constraints exactly | Agent file overrides default AI patterns |
|
|
36
|
+
| **L5** | Sequential Execution | Phase N must complete (exit criteria met) before Phase N+1 starts | No parallel phase execution, no phase skipping |
|
|
37
|
+
| **L6** | Language Compliance | Respond in user's language; code, comments, and report files always in English | Dual-language protocol |
|
|
38
|
+
| **L7** | Recursive Delegation | Meta agents (tech-lead, planner) coordinate only — they NEVER implement directly | Prevents single points of failure from meta agents coding |
|
|
39
|
+
| **L8** | Stateful Handoff | Prior phase deliverables are IMMUTABLE constraints for subsequent phases | No modifying decisions made by earlier agents |
|
|
40
|
+
| **L9** | Constraint Propagation | Scouter → Planner → Implementer chain — constraints tighten, never loosen | Downstream phases cannot relax upstream decisions |
|
|
41
|
+
| **L10** | Deliverable Integrity | Files created by an agent define the standard — the deliverable IS the truth | Output artifacts are authoritative |
|
|
42
|
+
|
|
43
|
+
### Law Dependencies
|
|
44
|
+
|
|
45
|
+
```mermaid
|
|
46
|
+
graph LR
|
|
47
|
+
L1[L1: Single Point of Truth] --> L3[L3: Explicit Loading]
|
|
48
|
+
L2[L2: Requirement Integrity] --> L5[L5: Sequential Execution]
|
|
49
|
+
L5 --> L8[L8: Stateful Handoff]
|
|
50
|
+
L8 --> L9[L9: Constraint Propagation]
|
|
51
|
+
L4[L4: Deep Embodiment] --> L7[L7: Recursive Delegation]
|
|
52
|
+
L9 --> L10[L10: Deliverable Integrity]
|
|
53
|
+
L6[L6: Language Compliance]
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## Tiered Execution Rules
|
|
59
|
+
|
|
60
|
+
The Orchestrator delegates work to agents through a mandatory two-tier system. TIER 1 is always preferred; TIER 2 is fallback only.
|
|
61
|
+
|
|
62
|
+
### Tier Definitions
|
|
63
|
+
|
|
64
|
+
| Tier | Name | When | Mechanism | Context |
|
|
65
|
+
|------|------|------|-----------|---------|
|
|
66
|
+
| **TIER 1** | Sub-agent | `runSubagent` tool exists on the platform | Isolated sub-agent invocation with fresh context | Isolated from parent |
|
|
67
|
+
| **TIER 2** | Embody | Sub-agent tool unavailable or returned error | Orchestrator reads agent file and acts as that agent | Shared with parent |
|
|
68
|
+
|
|
69
|
+
### Tier Decision Rules
|
|
70
|
+
|
|
71
|
+
```mermaid
|
|
72
|
+
stateDiagram-v2
|
|
73
|
+
[*] --> ToolDiscovery: Delegation needed
|
|
74
|
+
ToolDiscovery --> CheckSubagent: First delegation only
|
|
75
|
+
CheckSubagent --> TIER1: runSubagent available
|
|
76
|
+
CheckSubagent --> TIER2: runSubagent unavailable
|
|
77
|
+
TIER1 --> VerifyOutput: Sub-agent returns
|
|
78
|
+
TIER1 --> TIER2: Sub-agent error
|
|
79
|
+
TIER2 --> EmbodyAgent: Read agent file completely
|
|
80
|
+
EmbodyAgent --> ExecuteAsAgent: Follow Directive + Protocol + Constraints
|
|
81
|
+
ExecuteAsAgent --> VerifyOutput: Agent work complete
|
|
82
|
+
VerifyOutput --> [*]: Exit criteria met
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Prohibitions
|
|
86
|
+
|
|
87
|
+
| Forbidden | Correct Behavior |
|
|
88
|
+
|-----------|-----------------|
|
|
89
|
+
| Using TIER 2 when `runSubagent` is available | Attempt TIER 1 first |
|
|
90
|
+
| Skipping TIER 1 because task seems "simple" | Always try TIER 1 regardless of task complexity |
|
|
91
|
+
| Using TIER 2 for "efficiency" or "token savings" | TIER 1 is mandatory when available |
|
|
92
|
+
|
|
93
|
+
### TIER 2 Embody Protocol
|
|
94
|
+
|
|
95
|
+
1. Log: `⚠️ TIER 2: {reason for fallback}`
|
|
96
|
+
2. Read agent file completely
|
|
97
|
+
3. Extract: Directive, Protocol, Constraints, Output Format
|
|
98
|
+
4. Announce embodiment with prescribed format
|
|
99
|
+
5. Execute as agent following their protocol
|
|
100
|
+
6. Exit embodiment, resume as Orchestrator
|
|
101
|
+
|
|
102
|
+
### Tool Discovery Caching
|
|
103
|
+
|
|
104
|
+
Tool discovery (checking if `runSubagent` exists) runs once per session. The result is cached — subsequent delegations skip the check and use the cached tier.
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## Phase Sequencing
|
|
109
|
+
|
|
110
|
+
Workflow execution follows strict sequential phase ordering governed by Law L5.
|
|
111
|
+
|
|
112
|
+
### Execution Loop
|
|
113
|
+
|
|
114
|
+
```mermaid
|
|
115
|
+
flowchart TD
|
|
116
|
+
PRE[Pre-Flight: Load CORE.md + PHASES.md + AGENTS.md] --> REQ[Requirements Intake: Parse ALL requirements into Registry]
|
|
117
|
+
REQ --> P1[Phase 1: Emit header, load agent, delegate, verify exit criteria]
|
|
118
|
+
P1 --> D1{Deliverable > 150 lines?}
|
|
119
|
+
D1 -->|Yes| CHUNK1[Write chunked folder]
|
|
120
|
+
D1 -->|No| SINGLE1[Write single file]
|
|
121
|
+
CHUNK1 --> P2[Phase 2: Read prior deliverable as constraint, delegate next agent]
|
|
122
|
+
SINGLE1 --> P2
|
|
123
|
+
P2 --> PN[Phase N: Same pattern...]
|
|
124
|
+
PN --> DELIVER[Deliver final result to user]
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
### Requirements Registry
|
|
128
|
+
|
|
129
|
+
Before any phase executes, ALL user requirements must be parsed:
|
|
130
|
+
|
|
131
|
+
```
|
|
132
|
+
| ID | Requirement | Priority | Status |
|
|
133
|
+
|----|-------------|----------|--------|
|
|
134
|
+
| R1 | {extracted} | H/M/L | ⏳ |
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
Rule: 100% fidelity — every requirement extracted, no assumptions, no omissions (Law L2).
|
|
138
|
+
|
|
139
|
+
### Phase Execution Rules
|
|
140
|
+
|
|
141
|
+
| Rule | Description |
|
|
142
|
+
|------|-------------|
|
|
143
|
+
| One phase at a time | Execute Phase 1 → Phase 2 → ... sequentially. No batching. |
|
|
144
|
+
| Load only current phase's needs | Do not pre-load agents for Phase 2 while executing Phase 1 |
|
|
145
|
+
| Prior deliverables are immutable | Read completely, lock as constraint (Law L8) — do not modify |
|
|
146
|
+
| Missing required deliverable | Halt with notice, create via appropriate agent first, then resume |
|
|
147
|
+
| Emit before execute | Announce phase start before doing work |
|
|
148
|
+
| Verify after execute | Check exit criteria after agent completes |
|
|
149
|
+
| Continue in same reply | Do not stop between phases — execute all in one response |
|
|
150
|
+
|
|
151
|
+
### Deliverable Size Management
|
|
152
|
+
|
|
153
|
+
| Condition | Strategy |
|
|
154
|
+
|-----------|----------|
|
|
155
|
+
| <= 150 lines AND < 4 sections | Single file |
|
|
156
|
+
| > 150 lines OR >= 4 sections | Chunked folder with `00-index.md` |
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## HSOL Fitness Scoring
|
|
161
|
+
|
|
162
|
+
The Hybrid Skill Orchestration Layer calculates a fitness score to determine which skills to inject into an agent for a given task.
|
|
163
|
+
|
|
164
|
+
### Formula
|
|
165
|
+
|
|
166
|
+
```
|
|
167
|
+
fitness = 0.35 × SEMANTIC_MATCH
|
|
168
|
+
+ 0.25 × SPECIFICITY
|
|
169
|
+
+ 0.20 × TRUST_LEVEL
|
|
170
|
+
+ 0.10 × FRESHNESS_SCORE
|
|
171
|
+
+ 0.10 × SUCCESS_RATE
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
### Weight Rationale
|
|
175
|
+
|
|
176
|
+
| Factor | Weight | Why |
|
|
177
|
+
|--------|--------|-----|
|
|
178
|
+
| Semantic Match | 0.35 | Highest weight — relevance to the actual task is most important |
|
|
179
|
+
| Specificity | 0.25 | Specialized skills outperform general ones |
|
|
180
|
+
| Trust Level | 0.20 | Matrix skills (trusted) preferred over unproven community skills |
|
|
181
|
+
| Freshness | 0.10 | Newer/recently verified skills may reflect current best practices |
|
|
182
|
+
| Success Rate | 0.10 | Historical performance indicates reliability |
|
|
183
|
+
|
|
184
|
+
### Decision Thresholds
|
|
185
|
+
|
|
186
|
+
| Fitness Range | Decision | Discovery Action |
|
|
187
|
+
|---------------|----------|-----------------|
|
|
188
|
+
| >= 0.8 | Matrix Sufficient | Execute with matrix skills, skip dynamic discovery |
|
|
189
|
+
| 0.75 — 0.8 | Matrix Adequate | Execute with matrix skills, run async discovery as background recommendation |
|
|
190
|
+
| < 0.75 | Matrix Insufficient | Blocking discovery — must wait for `find-skills` result before proceeding |
|
|
191
|
+
|
|
192
|
+
The superiority delta of 0.15 means a dynamic skill must exceed the best matrix skill's fitness by at least 0.15 to be preferred over it.
|
|
193
|
+
|
|
194
|
+
### Variant-Discovery Matrix
|
|
195
|
+
|
|
196
|
+
| Variant | Dynamic Discovery |
|
|
197
|
+
|---------|-------------------|
|
|
198
|
+
| `fast` | Always skipped — matrix only |
|
|
199
|
+
| `hard` | Enabled — full resolution |
|
|
200
|
+
| `team` | Enabled — full resolution |
|
|
201
|
+
|
|
202
|
+
### Complexity Gate
|
|
203
|
+
|
|
204
|
+
| Assessment | Action |
|
|
205
|
+
|------------|--------|
|
|
206
|
+
| Simple | Skip HSOL resolution — base knowledge sufficient |
|
|
207
|
+
| Complex | HSOL resolution mandatory — skipping is a protocol violation |
|
|
208
|
+
|
|
209
|
+
---
|
|
210
|
+
|
|
211
|
+
## Trust Progression
|
|
212
|
+
|
|
213
|
+
Dynamic skills (community-installed via `find-skills`) progress through a trust lifecycle.
|
|
214
|
+
|
|
215
|
+
### State Machine
|
|
216
|
+
|
|
217
|
+
```mermaid
|
|
218
|
+
stateDiagram-v2
|
|
219
|
+
[*] --> NEW: Skill installed
|
|
220
|
+
NEW --> EVALUATING: 3 successful executions
|
|
221
|
+
EVALUATING --> VALIDATED: 10 successful executions
|
|
222
|
+
VALIDATED --> PROMOTED: Auto-promote to matrix
|
|
223
|
+
PROMOTED --> [*]: Added to matrix-skills YAML
|
|
224
|
+
|
|
225
|
+
NEW --> BLOCKED: Failure or policy violation
|
|
226
|
+
EVALUATING --> BLOCKED: Success rate drops below 0.85
|
|
227
|
+
VALIDATED --> BLOCKED: Inactive > 30 days
|
|
228
|
+
|
|
229
|
+
note right of NEW: Trust = 0.3
|
|
230
|
+
note right of EVALUATING: Trust = 0.5
|
|
231
|
+
note right of VALIDATED: Trust = 0.7
|
|
232
|
+
note right of PROMOTED: Trust = 1.0
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
### Trust Values
|
|
236
|
+
|
|
237
|
+
| State | Trust Score | Gate to Next State |
|
|
238
|
+
|-------|-------------|-------------------|
|
|
239
|
+
| NEW | 0.3 | 3 successful executions |
|
|
240
|
+
| EVALUATING | 0.5 | 10 successful executions |
|
|
241
|
+
| VALIDATED | 0.7 | Auto-promote when all promotion criteria met |
|
|
242
|
+
| PROMOTED | 1.0 | Added to matrix — lifecycle complete |
|
|
243
|
+
| BLOCKED | N/A | Manual review required |
|
|
244
|
+
|
|
245
|
+
### Promotion Criteria (All Required)
|
|
246
|
+
|
|
247
|
+
| Criterion | Threshold |
|
|
248
|
+
|-----------|-----------|
|
|
249
|
+
| Minimum executions | >= 10 |
|
|
250
|
+
| Minimum success rate | >= 0.85 (85%) |
|
|
251
|
+
| Maximum inactive days | <= 30 |
|
|
252
|
+
| Automatic | Yes — no human review queue |
|
|
253
|
+
|
|
254
|
+
### Trust Decay
|
|
255
|
+
|
|
256
|
+
Trust decays after 90 days of inactivity. This prevents stale skills from maintaining high trust scores.
|
|
257
|
+
|
|
258
|
+
### Support States
|
|
259
|
+
|
|
260
|
+
| State | Meaning |
|
|
261
|
+
|-------|---------|
|
|
262
|
+
| `supported` | Actively maintained and functioning |
|
|
263
|
+
| `experimental` | New or untested — use with caution |
|
|
264
|
+
| `blocked` | Known issues or policy violations — do not use |
|
|
265
|
+
|
|
266
|
+
---
|
|
267
|
+
|
|
268
|
+
## Error Classification (E1-E4)
|
|
269
|
+
|
|
270
|
+
Defined in `rules/ERRORS.md`, the error classification system ensures every error leads to either successful completion or explicit user decision. Silent halts are forbidden.
|
|
271
|
+
|
|
272
|
+
### Error Types
|
|
273
|
+
|
|
274
|
+
```mermaid
|
|
275
|
+
stateDiagram-v2
|
|
276
|
+
[*] --> Detected: Error occurs
|
|
277
|
+
Detected --> Classified: Classify E1/E1b/E2/E3/E4
|
|
278
|
+
|
|
279
|
+
Classified --> E1_Retry: E1 Transient
|
|
280
|
+
E1_Retry --> Success: Retry succeeds (max 3)
|
|
281
|
+
E1_Retry --> E2_Alt: Max retries exceeded
|
|
282
|
+
|
|
283
|
+
Classified --> E1b_Chunk: E1b Output Overflow
|
|
284
|
+
E1b_Chunk --> Success: Chunked strategy works
|
|
285
|
+
|
|
286
|
+
Classified --> E2_Alt: E2 Recoverable
|
|
287
|
+
E2_Alt --> Success: Alternative approach works
|
|
288
|
+
E2_Alt --> E3_Block: No alternative viable
|
|
289
|
+
|
|
290
|
+
Classified --> E3_Block: E3 Blocking
|
|
291
|
+
E3_Block --> AutoRecover: Safe point + best option
|
|
292
|
+
AutoRecover --> Success: Recovery works
|
|
293
|
+
AutoRecover --> UserEscalation: Recovery fails
|
|
294
|
+
|
|
295
|
+
Classified --> E4_Cascade: E4 Cascading
|
|
296
|
+
E4_Cascade --> Rollback: Stop propagation
|
|
297
|
+
Rollback --> UserEscalation: Report impact
|
|
298
|
+
|
|
299
|
+
UserEscalation --> [*]: User decides
|
|
300
|
+
Success --> [*]: Resume execution
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
### Error Classification Table
|
|
304
|
+
|
|
305
|
+
| Code | Type | Description | Recovery Action | Max Attempts |
|
|
306
|
+
|------|------|-------------|----------------|-------------|
|
|
307
|
+
| E1 | Transient | Timeout, network failure, temporary unavailability | Retry with exponential backoff | 3 |
|
|
308
|
+
| E1b | Output Overflow | File too large for single creation tool call | Switch to chunked deliverable strategy | 1 (strategy switch) |
|
|
309
|
+
| E2 | Recoverable | Logic error, incorrect approach, wrong tool usage | Log error, attempt alternative approach | Until alternative found |
|
|
310
|
+
| E3 | Blocking | Critical failure, safe state needed | Save to safe point, pick best recovery option, auto-recover | 1 (then escalate) |
|
|
311
|
+
| E4 | Cascading | Error affects downstream phases/agents | Stop propagation immediately, rollback affected work, report | 0 (immediate stop) |
|
|
312
|
+
|
|
313
|
+
### User Escalation Protocol
|
|
314
|
+
|
|
315
|
+
When auto-recovery fails (E3) or cascade is detected (E4), the user is presented with options:
|
|
316
|
+
|
|
317
|
+
```
|
|
318
|
+
## ⚠️ BLOCKED — Decision Required
|
|
319
|
+
**Error**: {description}
|
|
320
|
+
**Impact**: {affected items}
|
|
321
|
+
**Options**:
|
|
322
|
+
A) {Alternative} — {tradeoff}
|
|
323
|
+
B) {Skip with gap} — {limitation}
|
|
324
|
+
C) {Provide input} — {what's needed}
|
|
325
|
+
D) {Modify requirements} — {suggestion}
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
### Core Principle
|
|
329
|
+
|
|
330
|
+
Every error must lead to either:
|
|
331
|
+
1. Successful completion via automated recovery, OR
|
|
332
|
+
2. Explicit user decision with clear options
|
|
333
|
+
|
|
334
|
+
Silent halts, unexplained terminations, and swallowed errors are forbidden.
|
|
335
|
+
|
|
336
|
+
---
|
|
337
|
+
|
|
338
|
+
## Golden Triangle Debate Rules
|
|
339
|
+
|
|
340
|
+
The Golden Triangle is the team collaboration protocol activated by `:team` variants. It spawns exactly 3 agents per phase.
|
|
341
|
+
|
|
342
|
+
### Roles
|
|
343
|
+
|
|
344
|
+
| Role | Agent | Authority | Personality |
|
|
345
|
+
|------|-------|-----------|-------------|
|
|
346
|
+
| Tech Lead | Domain-specific (see roster) | Final authority on all decisions | Pragmatic, decisive, ships quality |
|
|
347
|
+
| Executor | Domain-specific implementer | Owns implementation, must defend work with evidence | Builder mindset, evidence-driven, pushes back |
|
|
348
|
+
| Reviewer | Domain-specific critic | Can FAIL submissions, demand fixes, escalate | Skeptical, thorough, assumes defects exist |
|
|
349
|
+
|
|
350
|
+
### Debate Flow
|
|
351
|
+
|
|
352
|
+
```mermaid
|
|
353
|
+
flowchart TD
|
|
354
|
+
TL[Tech Lead decomposes task] --> EX[Executor implements]
|
|
355
|
+
EX --> RE[Reviewer critiques]
|
|
356
|
+
RE --> PASS{PASS?}
|
|
357
|
+
PASS -->|Yes| CONSENSUS[Consensus stamp]
|
|
358
|
+
PASS -->|No: FAIL| EXDEF{Executor response?}
|
|
359
|
+
EXDEF -->|FIX| EX
|
|
360
|
+
EXDEF -->|DEFEND with evidence| REEVAL[Reviewer evaluates evidence]
|
|
361
|
+
REEVAL --> ACCEPT{Evidence valid?}
|
|
362
|
+
ACCEPT -->|Yes| CONSENSUS
|
|
363
|
+
ACCEPT -->|No| ROUND{Round <= 3?}
|
|
364
|
+
ROUND -->|Yes| EX
|
|
365
|
+
ROUND -->|No| ARB[Tech Lead arbitrates - BINDING]
|
|
366
|
+
ARB --> CONSENSUS
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
### Debate Rules
|
|
370
|
+
|
|
371
|
+
| Rule | Detail |
|
|
372
|
+
|------|--------|
|
|
373
|
+
| Maximum rounds | 3 per task — after round 3, Tech Lead makes binding decision |
|
|
374
|
+
| Defense requirement | Executor must provide technical evidence (benchmarks, specs, code references) |
|
|
375
|
+
| "I disagree" without proof | Automatic FAIL — Reviewer wins by default |
|
|
376
|
+
| Reviewer rejects valid evidence | Escalation to Tech Lead for arbitration |
|
|
377
|
+
| Tech Lead evaluation | Based on evidence quality, not seniority or role |
|
|
378
|
+
|
|
379
|
+
### Communication Protocol
|
|
380
|
+
|
|
381
|
+
| Artifact | Owner | Rules |
|
|
382
|
+
|----------|-------|-------|
|
|
383
|
+
| Shared Task List | Tech Lead | State management for assignments, status, priorities |
|
|
384
|
+
| Mailbox | All agents (append-only) | `./reports/{topic}/MAILBOX-{date}.md` — all submissions, reviews, defenses, decisions |
|
|
385
|
+
|
|
386
|
+
Mailbox rules:
|
|
387
|
+
- Append-only — no agent may edit or delete prior exchanges
|
|
388
|
+
- All agents read the full Mailbox for shared context
|
|
389
|
+
- One Mailbox per phase execution, timestamped by date
|
|
390
|
+
|
|
391
|
+
### Foundation Enforcement Checkpoints
|
|
392
|
+
|
|
393
|
+
| Checkpoint | Scope | Rule |
|
|
394
|
+
|------------|-------|------|
|
|
395
|
+
| C8-TEAMS-01 | BLOCK | Mailbox is append-only and required for all inter-agent exchanges |
|
|
396
|
+
| C8-TEAMS-02 | BLOCK | Debate capped at 3 rounds; unresolved disputes escalate to Tech Lead |
|
|
397
|
+
| C8-TEAMS-03 | BLOCK | Phase output requires explicit consensus stamp before release |
|
|
398
|
+
|
|
399
|
+
### Consensus Protocol
|
|
400
|
+
|
|
401
|
+
Output is released only when one of these conditions is met:
|
|
402
|
+
|
|
403
|
+
| Condition | Trigger |
|
|
404
|
+
|-----------|---------|
|
|
405
|
+
| Clean pass | Reviewer approved submission with no disputes |
|
|
406
|
+
| Resolved pass | Reviewer approved after Executor fixed issues or defended successfully |
|
|
407
|
+
| Arbitrated pass | Tech Lead overrode after max 3 rounds — reasoning documented |
|
|
408
|
+
|
|
409
|
+
Consensus stamp format: `✅ CONSENSUS: TechLead ✓ | Executor ✓ | Reviewer ✓`
|
|
410
|
+
|
|
411
|
+
Without this stamp, no phase output is released.
|
|
412
|
+
|
|
413
|
+
---
|
|
414
|
+
|
|
415
|
+
## Deliverable Integrity
|
|
416
|
+
|
|
417
|
+
Governed by Law L10: files created by an agent define the standard.
|
|
418
|
+
|
|
419
|
+
### Rules
|
|
420
|
+
|
|
421
|
+
| Rule | Description |
|
|
422
|
+
|------|-------------|
|
|
423
|
+
| Deliverable IS the truth | The output file is authoritative — it defines what was decided |
|
|
424
|
+
| Immutable once complete | Once a phase produces a deliverable, subsequent phases treat it as a locked constraint (Law L8) |
|
|
425
|
+
| Format governs quality | Deliverable must match the agent's Output Format specification |
|
|
426
|
+
| Size-appropriate strategy | <= 150 lines → single file; > 150 lines → chunked folder with index |
|
|
427
|
+
|
|
428
|
+
### Deliverable Paths
|
|
429
|
+
|
|
430
|
+
Research/planning agents write to `./reports/{topic}/` with prescribed naming:
|
|
431
|
+
|
|
432
|
+
| Agent | Path Pattern |
|
|
433
|
+
|-------|-------------|
|
|
434
|
+
| brainstormer | `./reports/{topic}/brainstorms/BRAINSTORM-{feature}.md` |
|
|
435
|
+
| researcher | `./reports/{topic}/researchers/RESEARCH-{feature}.md` |
|
|
436
|
+
| scouter | `./reports/{topic}/scouts/SCOUT-{feature}.md` |
|
|
437
|
+
| designer | `./reports/{topic}/designs/DESIGN-{feature}.md` |
|
|
438
|
+
| planner | `./reports/{topic}/plans/PLAN-{feature}.md` |
|
|
439
|
+
| reporter | `./reports/{topic}/general/REPORT-{type}-{date}.md` |
|
|
440
|
+
| debugger | `./reports/{topic}/debugs/DEBUG-{issue}.md` |
|
|
441
|
+
| tester | `./reports/{topic}/tests/TEST-{feature}.md` |
|
|
442
|
+
| business-analyst | `./reports/{topic}/requirements/REQ-{feature}.md` |
|
|
443
|
+
| performance-engineer | `./reports/{topic}/performance/PERF-{component}.md` |
|
|
444
|
+
|
|
445
|
+
Implementation agents (backend-engineer, frontend-engineer, etc.) write directly to the project's source code.
|
|
446
|
+
|
|
447
|
+
---
|
|
448
|
+
|
|
449
|
+
## Language Compliance
|
|
450
|
+
|
|
451
|
+
Governed by Law L6 — a dual-language protocol.
|
|
452
|
+
|
|
453
|
+
| Context | Language Rule |
|
|
454
|
+
|---------|-------------|
|
|
455
|
+
| Response to user | Same language the user used in their request |
|
|
456
|
+
| Code and code comments | Always English |
|
|
457
|
+
| Files in `./reports/{topic}/` | Always English |
|
|
458
|
+
| Files in `./documents/` | Always English |
|
|
459
|
+
| Agent file contents | Always English |
|
|
460
|
+
| Rule file contents | Always English |
|
|
461
|
+
|
|
462
|
+
---
|
|
463
|
+
|
|
464
|
+
## Constraint Propagation
|
|
465
|
+
|
|
466
|
+
Governed by Law L9 — constraints tighten through the workflow pipeline, they never loosen.
|
|
467
|
+
|
|
468
|
+
### Pipeline Direction
|
|
469
|
+
|
|
470
|
+
```mermaid
|
|
471
|
+
flowchart LR
|
|
472
|
+
SC[Scouter - Discovers constraints] --> PL[Planner - Adds planning constraints]
|
|
473
|
+
PL --> IM[Implementer - Executes within ALL constraints]
|
|
474
|
+
IM --> VA[Validator - Verifies constraints met]
|
|
475
|
+
|
|
476
|
+
SC -->|"Constraints accumulate"| PL
|
|
477
|
+
PL -->|"Constraints accumulate"| IM
|
|
478
|
+
IM -->|"Constraints accumulate"| VA
|
|
479
|
+
```
|
|
480
|
+
|
|
481
|
+
### Rules
|
|
482
|
+
|
|
483
|
+
| Rule | Description |
|
|
484
|
+
|------|-------------|
|
|
485
|
+
| Tighten only | Each phase can ADD constraints but never REMOVE or RELAX constraints from prior phases |
|
|
486
|
+
| Scouter findings locked | If a scouter identifies technology X is used, the planner must plan around X |
|
|
487
|
+
| Planner decisions locked | If a planner specifies approach Y, the implementer must execute approach Y |
|
|
488
|
+
| No renegotiation | An implementer cannot decide to use approach Z instead of planner's approach Y |
|
|
489
|
+
| Violation handling | If a downstream agent violates an upstream constraint, self-healing triggers backtrack |
|
|
490
|
+
|
|
491
|
+
### Ambiguity Handling
|
|
492
|
+
|
|
493
|
+
When a requirement is ambiguous (before it becomes a constraint):
|
|
494
|
+
|
|
495
|
+
1. PAUSE execution
|
|
496
|
+
2. ASK user for clarification
|
|
497
|
+
3. DOCUMENT the decision
|
|
498
|
+
4. THEN proceed
|
|
499
|
+
|
|
500
|
+
Guessing, assuming intent, or skipping unclear items is forbidden.
|
|
501
|
+
|
|
502
|
+
---
|
|
503
|
+
|
|
504
|
+
## Anti-Pattern Registry (A1-A10)
|
|
505
|
+
|
|
506
|
+
Defined in `rules/ERRORS.md`, these are cataloged violations that the self-healing protocol watches for.
|
|
507
|
+
|
|
508
|
+
| Code | Anti-Pattern | Correct Behavior |
|
|
509
|
+
|------|-------------|-----------------|
|
|
510
|
+
| A1 | Direct implementation by Orchestrator | Delegate to specialist agent |
|
|
511
|
+
| A2 | Workflow bypass (skipping phases) | Follow exact phase order |
|
|
512
|
+
| A3 | Silent halt (unexplained stop) | Notify user + provide options |
|
|
513
|
+
| A4 | Skipped step within a phase | Backtrack + complete the step |
|
|
514
|
+
| A5 | Lazy fallback (using TIER 2 when TIER 1 available) | Attempt TIER 1 first |
|
|
515
|
+
| A6 | Assumed requirements | Ask for clarification |
|
|
516
|
+
| A7 | Modified prior deliverable | Treat prior deliverables as immutable |
|
|
517
|
+
| A8 | Batched phase loading (pre-loading agents) | Load one phase at a time |
|
|
518
|
+
| A9 | Meta agent implementing (tech-lead coding) | Meta agents delegate only |
|
|
519
|
+
| A10 | Unexplained termination | Always explain + provide options |
|
|
520
|
+
|
|
521
|
+
### Self-Healing Protocol
|
|
522
|
+
|
|
523
|
+
When a violation is detected:
|
|
524
|
+
|
|
525
|
+
1. DETECT violation or error
|
|
526
|
+
2. PAUSE at nearest safe point
|
|
527
|
+
3. LOG: `⚠️ {violation_code}: {description}`
|
|
528
|
+
4. BACKTRACK to correct state if needed
|
|
529
|
+
5. RE-EXECUTE correctly
|
|
530
|
+
6. UPDATE downstream if affected
|
|
531
|
+
7. RESUME normal flow
|
|
532
|
+
|
|
533
|
+
Maximum corrections per phase: 3. If limit is reached, escalate to user.
|
|
534
|
+
|
|
535
|
+
---
|
|
536
|
+
|
|
537
|
+
## Evidence Sources
|
|
538
|
+
|
|
539
|
+
| Source | Path |
|
|
540
|
+
|--------|------|
|
|
541
|
+
| Orchestration Laws (L1-L10) | `rules/CORE.md` |
|
|
542
|
+
| Tiered Execution protocol | `rules/AGENTS.md` |
|
|
543
|
+
| Phase Sequencing rules | `rules/PHASES.md` |
|
|
544
|
+
| HSOL configuration (weights, thresholds) | `matrix-skills/_index.yaml` |
|
|
545
|
+
| HSOL resolution algorithm | `rules/SKILLS.md` |
|
|
546
|
+
| Trust progression and promotion | `rules/SKILLS.md` + `matrix-skills/_index.yaml` |
|
|
547
|
+
| Error Classification (E1-E4) | `rules/ERRORS.md` |
|
|
548
|
+
| Anti-Patterns (A1-A10) | `rules/ERRORS.md` |
|
|
549
|
+
| Golden Triangle protocol | `rules/TEAMS.md` |
|
|
550
|
+
| Foundation Enforcement Checkpoints | `rules/TEAMS.md` |
|
|
551
|
+
| Deliverable paths | `rules/CORE.md` + `rules/REFERENCE.md` |
|
|
552
|
+
| Language compliance | `rules/CORE.md` (Law L6) |
|
|
553
|
+
| Constraint propagation | `rules/CORE.md` (Law L9) |
|
|
554
|
+
| Ambiguity handling | `rules/CORE.md` |
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# Knowledge Overview
|
|
2
|
+
|
|
3
|
+
> **Purpose**: High-level summary, table of contents, and cross-references for the Agent Assistant project knowledge base
|
|
4
|
+
> **Last Updated**: 2026-03-26
|
|
5
|
+
> **Generated By**: docs-core skill
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Quick Summary
|
|
10
|
+
|
|
11
|
+
Agent Assistant (`@namch/agent-assistant` v1.3.0) is a multi-agent orchestration framework that transforms a single AI coding assistant into a coordinated team of 21 specialist agents. It operates across five platforms — Cursor, GitHub Copilot, Claude Code, Codex, and Antigravity/Gemini — by installing Markdown and YAML configuration files into each tool's global directory. The framework uses a Hybrid Skill Orchestration Layer (HSOL) to dynamically resolve and inject skills from a matrix of 1,430+ skill definitions across 19 domains, requiring zero manual configuration per project.
|
|
12
|
+
|
|
13
|
+
The core value proposition is efficiency at scale: one-time global installation provides structured workflows for every project a developer works on. The Orchestrator pattern enforces 10 governance laws, delegates to specialist agents via 14 commands (with 4 variant strategies each), and supports sub-agent spawning for parallel task execution on compatible platforms. The project claims 70% faster time-to-production, 70% bug reduction, and 85% token cost savings.
|
|
14
|
+
|
|
15
|
+
Built with Node.js >=18.0.0 using only built-in modules (fs, path, os, readline), Agent Assistant has zero production dependencies. The project also includes a React 19 + Vite + Tailwind CSS v4 marketing website deployed on Vercel, and uses semantic-release with conventional commits for automated npm publishing.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Table of Contents
|
|
20
|
+
|
|
21
|
+
1. [Quick Summary](#quick-summary)
|
|
22
|
+
2. [Sub-Files](#sub-files)
|
|
23
|
+
3. [Quick Facts](#quick-facts)
|
|
24
|
+
4. [Cross-References](#cross-references)
|
|
25
|
+
5. [Known Gaps and Open Questions](#known-gaps-and-open-questions)
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Sub-Files
|
|
30
|
+
|
|
31
|
+
| # | File | Description |
|
|
32
|
+
|---|------|-------------|
|
|
33
|
+
| 1 | [01-project-identity.md](./01-project-identity.md) | Project name, version, author, license, purpose, problem/solution statement, key benefits, and a First 60 Minutes onboarding checklist |
|
|
34
|
+
| 2 | [02-tech-stack.md](./02-tech-stack.md) | Categorized technology stack table — runtime, CLI, frontend, build, styling, animation, CI/CD, release — each with version and evidence file |
|
|
35
|
+
| 3 | [03-features.md](./03-features.md) | Key features list with descriptions, performance metrics, capability matrix, and agent/command inventories |
|
|
36
|
+
| 4 | [04-getting-started.md](./04-getting-started.md) | Prerequisites, step-by-step installation, environment setup, first run commands, running tests, and common troubleshooting |
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Quick Facts
|
|
41
|
+
|
|
42
|
+
| Key | Value |
|
|
43
|
+
|-----|-------|
|
|
44
|
+
| Package Name | `@namch/agent-assistant` |
|
|
45
|
+
| Version | 1.3.0 |
|
|
46
|
+
| Type | Multi-agent orchestration framework |
|
|
47
|
+
| Language | JavaScript (CommonJS for CLI, ESM for web) |
|
|
48
|
+
| Runtime | Node.js >=18.0.0 |
|
|
49
|
+
| License | MIT |
|
|
50
|
+
| Author | NamCH |
|
|
51
|
+
| Repository | https://github.com/hainamchung/agent-assistant |
|
|
52
|
+
| npm | https://www.npmjs.com/package/@namch/agent-assistant |
|
|
53
|
+
| Website | https://agent-assistant-ten.vercel.app |
|
|
54
|
+
| Production Dependencies | 0 (zero) |
|
|
55
|
+
| Dev Dependencies | 9 (semantic-release ecosystem + husky) |
|
|
56
|
+
| Total Files | ~5,784 |
|
|
57
|
+
| Total Directories | ~2,372 |
|
|
58
|
+
| Specialist Agents | 21 |
|
|
59
|
+
| Team Configurations | 17 teams (51 team agents) |
|
|
60
|
+
| Commands | 14 |
|
|
61
|
+
| Command Variants | 4 (fast, hard, team) |
|
|
62
|
+
| Skill Modules | 1,430+ |
|
|
63
|
+
| Skill Domains | 19 |
|
|
64
|
+
| Rules | 7 |
|
|
65
|
+
| Supported Platforms | 5 (Cursor, GitHub Copilot, Claude Code, Codex, Antigravity/Gemini) |
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Cross-References
|
|
70
|
+
|
|
71
|
+
| Resource | Path | Relationship |
|
|
72
|
+
|----------|------|-------------|
|
|
73
|
+
| Knowledge Source Base | [../knowledge-source-base/00-index.md](../knowledge-source-base/00-index.md) | Deep-dive into directory structure, entry points, key modules, and configuration |
|
|
74
|
+
| HSOL Assessment | [../HSOL-ASSESSMENT.md](../HSOL-ASSESSMENT.md) | Detailed evaluation of the Hybrid Skill Orchestration Layer |
|
|
75
|
+
| SMART Skill Orchestration | [../SMART-SKILL-ORCHESTRATION-BLUEPRINT.md](../SMART-SKILL-ORCHESTRATION-BLUEPRINT.md) | Blueprint for skill orchestration design |
|
|
76
|
+
| README | [../../README.md](../../README.md) | Public-facing project overview and quick start |
|
|
77
|
+
| CHANGELOG | [../../CHANGELOG.md](../../CHANGELOG.md) | Version history and release notes |
|
|
78
|
+
| Core Rules | [../../rules/CORE.md](../../rules/CORE.md) | Orchestrator protocol and 10 governance laws |
|
|
79
|
+
| Skills Rules | [../../rules/SKILLS.md](../../rules/SKILLS.md) | HSOL resolution algorithm and skill decision flow |
|
|
80
|
+
| Package Manifest | [../../package.json](../../package.json) | npm metadata, scripts, dependencies, and engine requirements |
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## Known Gaps and Open Questions
|
|
85
|
+
|
|
86
|
+
1. **No automated test suite shipped** — The `cli/install.test.js.example` file is an example, not an active test. The `npm test` script (`node --test cli/*.test.js`) expects test files matching that glob but none are committed.
|
|
87
|
+
2. **Web application not documented in knowledge-source-base** — The `web/` directory contains a full React 19 + Vite application but is not covered in the source base analysis.
|
|
88
|
+
3. **Dynamic skill discovery undocumented** — The `_dynamic.yaml` file and `find-skills` mechanism are referenced in rules but lack dedicated architecture documentation.
|
|
89
|
+
4. **No performance benchmarks** — The claimed metrics (70% faster, 70% fewer bugs, 85% token savings) lack published methodology or benchmark data.
|
|
90
|
+
5. **Team variant coverage** — Not all 14 commands have a `:team` variant; the exact availability per command is defined by the presence of `commands/{cmd}/team.md`.
|
|
91
|
+
6. **Platform parity details** — While all 5 platforms are listed as "Full" support, the specific features or limitations per platform are not documented.
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## Evidence Sources
|
|
96
|
+
|
|
97
|
+
| Source | Path |
|
|
98
|
+
|--------|------|
|
|
99
|
+
| Package manifest | [../../package.json](../../package.json) |
|
|
100
|
+
| README | [../../README.md](../../README.md) |
|
|
101
|
+
| Core rules | [../../rules/CORE.md](../../rules/CORE.md) |
|
|
102
|
+
| Skills rules | [../../rules/SKILLS.md](../../rules/SKILLS.md) |
|
|
103
|
+
| CLI installer | [../../cli/install.js](../../cli/install.js) |
|
|
104
|
+
| Agent definitions | [../../agents/](../../agents/) |
|
|
105
|
+
| Commands | [../../commands/](../../commands/) |
|
|
106
|
+
| Matrix skills registry | [../../matrix-skills/](../../matrix-skills/) |
|
|
107
|
+
| Knowledge source base | [../knowledge-source-base/00-index.md](../knowledge-source-base/00-index.md) |
|