@namch/agent-assistant 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -1
- 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/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/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 +512 -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 +369 -0
- package/documents/knowledge-architecture/04-design-patterns.md +498 -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 +583 -0
- package/documents/knowledge-domain/02-database-schema.md +138 -0
- package/documents/knowledge-domain/03-api-contracts.md +479 -0
- package/documents/knowledge-domain/04-business-rules.md +555 -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 +233 -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 +582 -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 +255 -0
- package/documents/knowledge-standards/03-git-workflow.md +228 -0
- package/documents/knowledge-standards/04-testing-standards.md +175 -0
- package/package.json +1 -1
- package/rules/REFERENCE.md +10 -6
- 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/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,246 @@
|
|
|
1
|
+
# Agent Assistant — Acceptance Criteria, Risks, and Assumptions
|
|
2
|
+
|
|
3
|
+
> **Purpose**: Acceptance criteria for the framework, risk register, assumptions, and open questions
|
|
4
|
+
> **Parent**: [00-index.md](./00-index.md)
|
|
5
|
+
> **Last Updated**: 2026-03-26
|
|
6
|
+
> **Generated By**: docs-business skill
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Acceptance Criteria
|
|
11
|
+
|
|
12
|
+
### AC-001: Global Installation
|
|
13
|
+
|
|
14
|
+
| Attribute | Detail |
|
|
15
|
+
|-----------|--------|
|
|
16
|
+
| **Covers** | BG-001, BR-001, BF-001 |
|
|
17
|
+
| **Given** | A clean machine with Node.js 18+ and npm |
|
|
18
|
+
| **When** | User runs `npm install -g @namch/agent-assistant && agent-assistant install --all` |
|
|
19
|
+
| **Then** | Config files exist at all 5 platform directories (`~/.cursor/skills/agent-assistant/`, `~/.copilot/skills/agent-assistant/`, `~/.claude/skills/agent-assistant/`, `~/.codex/skills/agent-assistant/`, `~/.gemini/antigravity/skills/agent-assistant/`) AND exit code is 0 AND total time ≤5 minutes |
|
|
20
|
+
|
|
21
|
+
### AC-002: Multi-Platform Parity
|
|
22
|
+
|
|
23
|
+
| Attribute | Detail |
|
|
24
|
+
|-----------|--------|
|
|
25
|
+
| **Covers** | BG-002, BR-002, BF-002 |
|
|
26
|
+
| **Given** | The framework is installed on all 5 platforms |
|
|
27
|
+
| **When** | Each platform's AI tool opens a workspace |
|
|
28
|
+
| **Then** | The platform entry point file is loaded, the Orchestrator pattern activates, and the same 14 commands are available on all platforms |
|
|
29
|
+
|
|
30
|
+
### AC-003: Orchestrator Delegation
|
|
31
|
+
|
|
32
|
+
| Attribute | Detail |
|
|
33
|
+
|-----------|--------|
|
|
34
|
+
| **Covers** | BG-003, BG-004, BR-003, BF-003 |
|
|
35
|
+
| **Given** | A loaded orchestrator context on any supported platform |
|
|
36
|
+
| **When** | User types a request (slash command or natural language) |
|
|
37
|
+
| **Then** | The Orchestrator detects the command, loads the workflow, and delegates to the appropriate specialist agent WITHOUT implementing directly. Direct implementation is a law violation (L7). |
|
|
38
|
+
|
|
39
|
+
### AC-004: Agent Completeness
|
|
40
|
+
|
|
41
|
+
| Attribute | Detail |
|
|
42
|
+
|-----------|--------|
|
|
43
|
+
| **Covers** | BG-004, BR-004, BF-004 |
|
|
44
|
+
| **Given** | The agents directory |
|
|
45
|
+
| **When** | All 21 agent files are examined |
|
|
46
|
+
| **Then** | Each contains: name, description, profile, category, Thinking Protocol, Constraints, Output Format, and Cognitive Anchor sections. Each agent has a unique profile tag. |
|
|
47
|
+
|
|
48
|
+
### AC-005: Command Routing
|
|
49
|
+
|
|
50
|
+
| Attribute | Detail |
|
|
51
|
+
|-----------|--------|
|
|
52
|
+
| **Covers** | BG-006, BR-006, BR-007, BR-015, BF-006, BF-007, BF-015 |
|
|
53
|
+
| **Given** | All 14 commands and their variant subdirectories |
|
|
54
|
+
| **When** | A command is invoked (via slash or NLP detection) |
|
|
55
|
+
| **Then** | The correct workflow file is loaded with PRE-FLIGHT sequence (CORE.md → PHASES.md → AGENTS.md), phases execute sequentially (L5), and variant modifiers route to the correct sub-workflow file |
|
|
56
|
+
|
|
57
|
+
### AC-006: HSOL Skill Resolution
|
|
58
|
+
|
|
59
|
+
| Attribute | Detail |
|
|
60
|
+
|-----------|--------|
|
|
61
|
+
| **Covers** | BG-007, BR-008, BF-008 |
|
|
62
|
+
| **Given** | A task requiring domain-specific knowledge |
|
|
63
|
+
| **When** | HSOL resolution runs |
|
|
64
|
+
| **Then** | Agent profile parsed from frontmatter, inherited domains loaded from `_index.yaml`, skills filtered by relevance, fitness score calculated via 5-factor formula (semantic 0.35 + specificity 0.25 + trust 0.20 + freshness 0.10 + success 0.10), and skills with fitness ≥0.8 auto-injected |
|
|
65
|
+
|
|
66
|
+
### AC-007: Golden Triangle Team Protocol
|
|
67
|
+
|
|
68
|
+
| Attribute | Detail |
|
|
69
|
+
|-----------|--------|
|
|
70
|
+
| **Covers** | BG-008, BR-005, BR-014, BF-005, BF-014 |
|
|
71
|
+
| **Given** | A `:team` variant is invoked |
|
|
72
|
+
| **When** | Any phase executes |
|
|
73
|
+
| **Then** | Exactly 3 agents spawn (Tech Lead, Executor, Reviewer), Mailbox log is created, debate capped at 3 rounds, unresolved disputes escalate to Tech Lead (binding arbitration), and consensus stamp is required before phase release |
|
|
74
|
+
|
|
75
|
+
### AC-008: Error Recovery
|
|
76
|
+
|
|
77
|
+
| Attribute | Detail |
|
|
78
|
+
|-----------|--------|
|
|
79
|
+
| **Covers** | BG-004, BR-013, BF-013 |
|
|
80
|
+
| **Given** | An error occurs during workflow execution |
|
|
81
|
+
| **When** | The error is classified |
|
|
82
|
+
| **Then** | E1 (transient): retry 3× with backoff. E2 (recoverable): alternative approach attempted. E3 (blocking): safe point created, auto-recovery. E4 (cascading): propagation stopped, rollback, user notified. The workflow never halts silently. |
|
|
83
|
+
|
|
84
|
+
### AC-009: Tiered Execution
|
|
85
|
+
|
|
86
|
+
| Attribute | Detail |
|
|
87
|
+
|-----------|--------|
|
|
88
|
+
| **Covers** | BG-003, BR-011, BF-011 |
|
|
89
|
+
| **Given** | A delegation request to a specialist agent |
|
|
90
|
+
| **When** | `runSubagent` tool exists |
|
|
91
|
+
| **Then** | TIER 1 (sub-agent) is used. TIER 2 (embody) is forbidden. When `runSubagent` is unavailable, TIER 2 is used with logged reason, and the agent file is read completely before embodiment. |
|
|
92
|
+
|
|
93
|
+
### AC-010: Documentation Generation
|
|
94
|
+
|
|
95
|
+
| Attribute | Detail |
|
|
96
|
+
|-----------|--------|
|
|
97
|
+
| **Covers** | BG-010, BR-017, BF-017 |
|
|
98
|
+
| **Given** | User invokes `/docs` on a workspace with source code |
|
|
99
|
+
| **When** | All 3 sub-commands complete sequentially |
|
|
100
|
+
| **Then** | `/docs:core` produces 5 knowledge folders, `/docs:business` produces 4 business folders, `/docs:audit` produces 4 audit folders, all under `./documents/` |
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## Risk Register
|
|
105
|
+
|
|
106
|
+
### RISK-001: Unvalidated Performance Claims
|
|
107
|
+
|
|
108
|
+
| Attribute | Detail |
|
|
109
|
+
|-----------|--------|
|
|
110
|
+
| **Category** | Credibility / Marketing |
|
|
111
|
+
| **Description** | The framework claims 70% faster time-to-production, 70% bug reduction, and 85% token cost savings. No benchmark data, test results, or measurement methodology exists in the repository. |
|
|
112
|
+
| **Probability** | High (claims are currently stated as facts in README and marketing) |
|
|
113
|
+
| **Impact** | High — stakeholders adopt based on expected returns that may not materialize; credibility loss if claims are challenged |
|
|
114
|
+
| **Affected Goals** | BG-003, BG-004, BG-005 |
|
|
115
|
+
| **Affected Requirements** | BR-003, BR-008 |
|
|
116
|
+
| **Mitigation** | Establish a benchmark suite comparing structured (agent-assistant) vs. unstructured prompting on standardized tasks. Reclassify claims as "design targets" until validated. Add disclaimer to README and marketing site. |
|
|
117
|
+
| **Status** | Open — no action taken |
|
|
118
|
+
|
|
119
|
+
### RISK-002: External Dependency on skills.sh
|
|
120
|
+
|
|
121
|
+
| Attribute | Detail |
|
|
122
|
+
|-----------|--------|
|
|
123
|
+
| **Category** | Availability / Resilience |
|
|
124
|
+
| **Description** | Dynamic skill discovery (BR-009), trust progression (BR-010), and community ecosystem growth (BG-009) depend on the external skills.sh service and `npx skills` CLI, neither of which is bundled with or controlled by the framework. |
|
|
125
|
+
| **Probability** | Medium — third-party services can become unreachable, deprecated, or change APIs |
|
|
126
|
+
| **Impact** | Medium — dynamic discovery degrades to no-op; matrix skills (1,430) remain functional as fallback |
|
|
127
|
+
| **Affected Goals** | BG-007, BG-009 |
|
|
128
|
+
| **Affected Requirements** | BR-009, BR-010 |
|
|
129
|
+
| **Mitigation** | Document clear fallback behavior when skills.sh is unreachable. Consider implementing a local skill registry cache. HSOL already specifies timeout-and-proceed behavior (E1 recovery). |
|
|
130
|
+
| **Status** | Partially mitigated — HSOL timeout fallback documented in SKILLS.md |
|
|
131
|
+
|
|
132
|
+
### RISK-003: No Automated Test Suite
|
|
133
|
+
|
|
134
|
+
| Attribute | Detail |
|
|
135
|
+
|-----------|--------|
|
|
136
|
+
| **Category** | Quality / Regression |
|
|
137
|
+
| **Description** | No automated tests exist for framework behavior. The `test` script in package.json points to `cli/*.test.js` but only an example file exists (`install.test.js.example`). Orchestration law compliance (L1–L10), error recovery (E1–E4), command routing, and HSOL resolution have no automated verification. |
|
|
138
|
+
| **Probability** | High — test infrastructure is absent |
|
|
139
|
+
| **Impact** | High — regressions in rule behavior, agent loading, or skill resolution will go undetected until a user reports them |
|
|
140
|
+
| **Affected Goals** | BG-009 (quality/cadence) |
|
|
141
|
+
| **Affected Requirements** | BR-012 (laws), BR-013 (error recovery) |
|
|
142
|
+
| **Mitigation** | Create behavioral test suite covering: (1) CLI install/uninstall across platforms, (2) command routing correctness, (3) agent file format validation, (4) HSOL fitness calculation. Priority: CLI tests first (most automatable). |
|
|
143
|
+
| **Status** | Open — no tests implemented |
|
|
144
|
+
|
|
145
|
+
### RISK-004: No Public Roadmap
|
|
146
|
+
|
|
147
|
+
| Attribute | Detail |
|
|
148
|
+
|-----------|--------|
|
|
149
|
+
| **Category** | Community / Adoption |
|
|
150
|
+
| **Description** | No public roadmap, GitHub project board, or milestone plan exists. Contributors and potential adopters cannot assess planned features, release timelines, or investment direction. |
|
|
151
|
+
| **Probability** | High — roadmap is confirmed absent |
|
|
152
|
+
| **Impact** | Medium — reduced contributor engagement; enterprise adopters may hesitate without visibility |
|
|
153
|
+
| **Affected Goals** | BG-009, BG-010 |
|
|
154
|
+
| **Mitigation** | Publish a minimal roadmap in README or GitHub Discussions. Even a quarterly priority list improves transparency. |
|
|
155
|
+
| **Status** | Open |
|
|
156
|
+
|
|
157
|
+
### RISK-005: Trust Progression Lifecycle Unverified
|
|
158
|
+
|
|
159
|
+
| Attribute | Detail |
|
|
160
|
+
|-----------|--------|
|
|
161
|
+
| **Category** | Feature Completeness |
|
|
162
|
+
| **Description** | The Trust Progression system (NEW 0.3 → EVALUATING 0.5 → VALIDATED 0.7 → PROMOTED 1.0) is defined in documentation but has no implementation evidence. `_dynamic.yaml` may not actively track execution counts or trust transitions at runtime. |
|
|
163
|
+
| **Probability** | Medium — specification exists but runtime behavior is unconfirmed |
|
|
164
|
+
| **Impact** | Medium — BG-009 (community ecosystem quality gates) depends on trust progression working correctly |
|
|
165
|
+
| **Affected Goals** | BG-009 |
|
|
166
|
+
| **Affected Requirements** | BR-010 |
|
|
167
|
+
| **Mitigation** | Verify that `_dynamic.yaml` actually records execution counts and trust state transitions. If not implemented, prioritize for next release or document as aspirational. |
|
|
168
|
+
| **Status** | Open — investigation needed |
|
|
169
|
+
|
|
170
|
+
### RISK-006: AI Model Behavior Variability
|
|
171
|
+
|
|
172
|
+
| Attribute | Detail |
|
|
173
|
+
|-----------|--------|
|
|
174
|
+
| **Category** | Technical / Compatibility |
|
|
175
|
+
| **Description** | The framework relies on AI models correctly interpreting Markdown instructions, following 10 orchestration laws, and performing cognitive anchoring. Different models (GPT-4, Claude, Gemini) may interpret instructions with varying fidelity. |
|
|
176
|
+
| **Probability** | Medium — model capabilities vary and change with updates |
|
|
177
|
+
| **Impact** | Medium — inconsistent delegation quality across platforms; some models may violate laws more frequently |
|
|
178
|
+
| **Affected Goals** | BG-002, BG-004 |
|
|
179
|
+
| **Affected Requirements** | BR-003, BR-012, BR-021 |
|
|
180
|
+
| **Mitigation** | Test orchestration behavior on each supported model. Document known model-specific limitations. Cognitive anchoring (BR-021) partially addresses this. |
|
|
181
|
+
| **Status** | Open — no cross-model testing documented |
|
|
182
|
+
|
|
183
|
+
### RISK-007: Platform Breaking Changes
|
|
184
|
+
|
|
185
|
+
| Attribute | Detail |
|
|
186
|
+
|-----------|--------|
|
|
187
|
+
| **Category** | Compatibility / Maintenance |
|
|
188
|
+
| **Description** | AI coding tools (Cursor, Copilot, Claude Code, Codex, Antigravity) frequently update their instruction loading mechanisms. A platform change could break the framework's integration. |
|
|
189
|
+
| **Probability** | Medium — AI tool ecosystem is rapidly evolving |
|
|
190
|
+
| **Impact** | High — affected platform becomes unusable until install.js is updated |
|
|
191
|
+
| **Affected Goals** | BG-002 |
|
|
192
|
+
| **Affected Requirements** | BR-002 |
|
|
193
|
+
| **Mitigation** | Monitor platform changelogs. Maintain platform-specific integration tests. The CLI's modular platform configuration in install.js isolates platform-specific logic. |
|
|
194
|
+
| **Status** | Open — no automated compatibility monitoring |
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
## Assumptions
|
|
199
|
+
|
|
200
|
+
| ID | Assumption | Impact if Invalid | Validation Method |
|
|
201
|
+
|----|-----------|-------------------|-------------------|
|
|
202
|
+
| A-001 | AI coding assistants will continue to support file-based instruction loading from global directories | Framework delivery mechanism becomes non-functional | Monitor platform documentation and release notes |
|
|
203
|
+
| A-002 | Node.js 18+ will remain widely available and supported | Installation fails for users on older Node.js versions | Node.js LTS schedule shows v18 supported through April 2025; v20+ is current LTS |
|
|
204
|
+
| A-003 | Developers are willing to install a global npm package for AI workflow improvement | Low adoption if resistance to global installs exists | User feedback, npm download metrics |
|
|
205
|
+
| A-004 | The 5 currently supported platforms represent the majority of AI coding assistant usage | Missing platforms reduce addressable market | Market share data for AI coding tools |
|
|
206
|
+
| A-005 | AI models are capable of following complex multi-step Markdown instructions with sufficient fidelity | Orchestration laws violated; quality degrades | Cross-model testing (currently not performed) |
|
|
207
|
+
| A-006 | The 1,430 matrix skills provide sufficient coverage for most development domains | Users frequently encounter low-fitness scenarios requiring dynamic discovery | HSOL resolution logs (not currently collected) |
|
|
208
|
+
| A-007 | Community skill authors will adopt the SKILL.md template and publish via skills.sh | Ecosystem growth stalls; BG-009 unachievable | skills.sh registry metrics |
|
|
209
|
+
| A-008 | The Golden Triangle protocol produces measurably better output than single-agent execution | Team variant overhead is unjustified if quality delta is negligible | A/B testing (not currently planned) |
|
|
210
|
+
| A-009 | Semantic-release with conventional commits provides adequate release automation | Release quality degrades if commit conventions are not followed | CI/CD pipeline monitoring |
|
|
211
|
+
| A-010 | Contributors can effectively add agents and commands within 2 hours using provided templates | High contribution friction discourages ecosystem growth | Contributor surveys, onboarding time tracking |
|
|
212
|
+
|
|
213
|
+
---
|
|
214
|
+
|
|
215
|
+
## Open Questions
|
|
216
|
+
|
|
217
|
+
| ID | Question | Context | Urgency | Suggested Resolution |
|
|
218
|
+
|----|----------|---------|---------|---------------------|
|
|
219
|
+
| OQ-001 | How will performance claims (70%/70%/85%) be validated? | Claims appear in README and marketing but no benchmark methodology exists | High | Define standardized benchmark tasks; measure with and without framework; publish results |
|
|
220
|
+
| OQ-002 | What is the fallback experience when skills.sh is permanently unavailable? | Dynamic discovery is a Could-priority feature but referenced prominently | Medium | Document graceful degradation; consider bundling a local skill cache |
|
|
221
|
+
| OQ-003 | Should trust progression be a runtime-enforced feature or a recommended practice? | `_dynamic.yaml` tracking is unverified; may be documentation-only | Medium | Investigate current implementation; decide enforce vs. recommend |
|
|
222
|
+
| OQ-004 | What is the framework's position on telemetry/analytics for measuring adoption KPIs? | Multiple KPIs (team adoption, community skills, install success) have no measurement mechanism | Medium | Decide whether opt-in telemetry is acceptable; if not, define alternative measurement approaches |
|
|
223
|
+
| OQ-005 | How will cross-model behavioral consistency be tested? | 5 platforms × multiple model versions = large test matrix | Medium | Establish minimal behavioral test suite; run manually per release on each platform |
|
|
224
|
+
| OQ-006 | What is the roadmap for v2.0? | Contributors and enterprise adopters need visibility into planned direction | Low | Publish quarterly priorities in README or GitHub Discussions |
|
|
225
|
+
| OQ-007 | Should the framework provide a local skill registry as alternative to skills.sh? | Reduces external dependency risk; increases maintenance burden | Low | Evaluate effort vs. RISK-002 impact; consider for v1.4 or v2.0 |
|
|
226
|
+
| OQ-008 | How are orchestration law violations detected and reported? | No runtime monitoring exists; violations are silent | High | Implement at minimum a self-check mechanism the AI can invoke |
|
|
227
|
+
| OQ-009 | What happens when a platform introduces a sub-agent mechanism (changing TIER 1 availability)? | Framework needs to detect and adapt; currently relies on tool presence check | Low | Document tool detection mechanism; test on platforms as features roll out |
|
|
228
|
+
| OQ-010 | Is the ≤2 hour contribution target (BG-010) realistic for a first-time contributor? | No contributor onboarding study has been performed | Low | Run contributor onboarding sessions; measure actual time; adjust target if needed |
|
|
229
|
+
|
|
230
|
+
---
|
|
231
|
+
|
|
232
|
+
## Evidence Sources
|
|
233
|
+
|
|
234
|
+
| Source | Path | Used For |
|
|
235
|
+
|--------|------|----------|
|
|
236
|
+
| Structured Business Pack | `reports/business-analysis/structured-business-pack.md` | Goals, requirements, traceability, coverage gaps, stakeholder mapping |
|
|
237
|
+
| HSOL Assessment | `documents/HSOL-ASSESSMENT.md` | Skill layer production readiness, edge cases, trust progression analysis |
|
|
238
|
+
| Package manifest | `package.json` | Test script existence, dependency count, version |
|
|
239
|
+
| Core Rules | `rules/CORE.md` | Orchestration laws, tiered execution, command routing |
|
|
240
|
+
| Error Rules | `rules/ERRORS.md` | Error classification E1–E4 |
|
|
241
|
+
| Skills Rules | `rules/SKILLS.md` | HSOL resolution algorithm, dynamic discovery, trust progression |
|
|
242
|
+
| Teams Rules | `rules/TEAMS.md` | Golden Triangle protocol, debate mechanism |
|
|
243
|
+
| CLI installer | `cli/install.js` | Installation mechanism, platform detection |
|
|
244
|
+
| Test example | `cli/install.test.js.example` | Evidence of absent test suite |
|
|
245
|
+
| Features documentation | `documents/knowledge-overview/03-features.md` | Performance claims, feature evidence |
|
|
246
|
+
| Dynamic skills config | `matrix-skills/_dynamic.yaml` | Trust progression state tracking |
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# Agent Assistant — Business Workflows Index
|
|
2
|
+
|
|
3
|
+
| Field | Value |
|
|
4
|
+
|-------|-------|
|
|
5
|
+
| **Purpose** | Summary index of all business workflows, actors, cross-references, and known gaps |
|
|
6
|
+
| **Parent** | [../README.md](../README.md) |
|
|
7
|
+
| **Last Updated** | 2026-03-26 |
|
|
8
|
+
| **Generated By** | docs-business skill |
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Quick Summary
|
|
13
|
+
|
|
14
|
+
The Agent Assistant framework operates through **12 canonical workflows** executed by **7 distinct actor types**. Workflows span the full lifecycle from CLI installation (BW-001) through command routing (BW-003), agent delegation (BW-004), skill resolution (BW-005), team collaboration (BW-008), error recovery (BW-010), and platform integration (BW-012). Every workflow enforces strict phase sequencing, tiered execution, and deterministic error handling — no silent failures are permitted.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Sub-Files
|
|
19
|
+
|
|
20
|
+
| File | Title | Description |
|
|
21
|
+
|------|-------|-------------|
|
|
22
|
+
| [01-actor-map.md](01-actor-map.md) | Actor Map | All 7 actors with definitions, responsibilities, capabilities, boundary constraints, touchpoints |
|
|
23
|
+
| [02-workflow-catalog.md](02-workflow-catalog.md) | Workflow Catalog | All 12 workflows (BW-001 – BW-012): ID, name, actor, trigger, outcome, complexity, frequency |
|
|
24
|
+
| [03-detailed-workflows.md](03-detailed-workflows.md) | Detailed Workflows | Step-by-step flows with Mermaid diagrams, decision points, branching, error paths |
|
|
25
|
+
| [04-decision-rules-and-exceptions.md](04-decision-rules-and-exceptions.md) | Decision Rules & Exceptions | Orchestration laws, tiered execution rules, HSOL thresholds, exception catalog |
|
|
26
|
+
| [05-sla-and-handoffs.md](05-sla-and-handoffs.md) | SLA & Handoffs | Timing expectations, handoff contracts, SLA/SLO targets |
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Key Facts
|
|
31
|
+
|
|
32
|
+
| Metric | Value |
|
|
33
|
+
|--------|-------|
|
|
34
|
+
| Total Workflows | 12 (BW-001 – BW-012) |
|
|
35
|
+
| Actor Types | 7 |
|
|
36
|
+
| CLI Commands | 14 |
|
|
37
|
+
| Supported Platforms | 5 (Claude, Copilot, Cursor, Codex, Gemini) |
|
|
38
|
+
| Specialist Agents | 21 |
|
|
39
|
+
| Defined Teams | 17 |
|
|
40
|
+
| Skill Catalog Size | 1,430 |
|
|
41
|
+
| Error Recovery Tiers | 4 (E1 – E4) |
|
|
42
|
+
| HSOL Fitness Thresholds | 3 bands (≥0.8, 0.75–0.8, <0.75) |
|
|
43
|
+
| Max Team Debate Rounds | 3 |
|
|
44
|
+
| Trust Progression Stages | 4 (NEW → EVALUATING → VALIDATED → PROMOTED) |
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Workflow Distribution by Actor
|
|
49
|
+
|
|
50
|
+
| Actor | Primary Workflows | Supporting Workflows |
|
|
51
|
+
|-------|-------------------|---------------------|
|
|
52
|
+
| Framework User | BW-001, BW-002 | BW-003 (trigger) |
|
|
53
|
+
| AI Model (Orchestrator) | BW-003, BW-004, BW-008, BW-009, BW-010, BW-011 | BW-005 (coordinates) |
|
|
54
|
+
| HSOL System | BW-005, BW-006, BW-007 | — |
|
|
55
|
+
| Team Agents | BW-008 | BW-003 (phase execution) |
|
|
56
|
+
| Framework Maintainer | BW-012 | BW-002 (defines removal logic) |
|
|
57
|
+
| Skill Author | — | BW-006 (publishes skills) |
|
|
58
|
+
| Contributor | — | BW-012 (adds agents/commands) |
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Cross-References
|
|
63
|
+
|
|
64
|
+
| Workflow | Depends On | Feeds Into |
|
|
65
|
+
|----------|------------|------------|
|
|
66
|
+
| BW-001 (Installation) | — | BW-003 (enables command execution) |
|
|
67
|
+
| BW-002 (Uninstallation) | BW-001 (requires prior install) | — |
|
|
68
|
+
| BW-003 (Command Execution) | BW-001, BW-004, BW-005 | BW-009 (doc generation), BW-011 (plan shortcut) |
|
|
69
|
+
| BW-004 (Agent Delegation) | BW-003 (phase context) | BW-005 (triggers skill resolution) |
|
|
70
|
+
| BW-005 (Skill Resolution) | BW-004 (agent needs skills) | BW-006 (below threshold) |
|
|
71
|
+
| BW-006 (Dynamic Discovery) | BW-005 (low fitness) | BW-007 (trust tracking) |
|
|
72
|
+
| BW-007 (Trust Progression) | BW-006 (new dynamic skill) | BW-005 (updated fitness) |
|
|
73
|
+
| BW-008 (Team Collaboration) | BW-003 (`:team` variant) | BW-004 (each team member delegated) |
|
|
74
|
+
| BW-009 (Doc Generation) | BW-003 (command trigger) | — |
|
|
75
|
+
| BW-010 (Error Recovery) | Any workflow (on failure) | Resumes originating workflow |
|
|
76
|
+
| BW-011 (Plan Short-Circuit) | BW-003 (detects plan ref) | BW-004 (skips to implementation) |
|
|
77
|
+
| BW-012 (Platform Integration) | — | BW-001 (new install targets) |
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## Known Gaps
|
|
82
|
+
|
|
83
|
+
| Gap ID | Area | Description | Impact | Suggested Resolution |
|
|
84
|
+
|--------|------|-------------|--------|---------------------|
|
|
85
|
+
| BG-001 | Skill Author Workflow | No formal workflow for skill authoring, publishing, or quality review | Skill quality inconsistency | Define BW-013: Skill Authoring & Publishing |
|
|
86
|
+
| BG-002 | Contributor Onboarding | No workflow for contributor onboarding or contribution validation | Barrier to contribution | Define BW-014: Contribution Lifecycle |
|
|
87
|
+
| BG-003 | Versioning | No workflow for framework version migration or backward compatibility | Breaking changes unmanaged | Define BW-015: Version Migration |
|
|
88
|
+
| BG-004 | Observability | No workflow for runtime telemetry or workflow execution audit | Debugging blind spots | Define BW-016: Observability & Audit Trail |
|
|
89
|
+
| BG-005 | Rollback Scope | BW-010 E4 rollback mechanism lacks granularity definition | Incomplete rollback possible | Expand E4 with per-phase rollback contracts |
|
|
90
|
+
| BG-006 | Trust Decay Monitoring | BW-007 specifies 90-day decay but no monitoring/alerting workflow | Silent skill degradation | Add monitoring hook to HSOL System |
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## Evidence Sources
|
|
95
|
+
|
|
96
|
+
- `CLAUDE.md` — Orchestrator identity, tiered execution model, prohibitions
|
|
97
|
+
- `rules/CORE.md` — 10 Orchestration Laws, phase sequencing rules
|
|
98
|
+
- `rules/AGENTS.md` — Agent delegation protocol, TIER 1/TIER 2 definitions
|
|
99
|
+
- `rules/SKILLS.md` — HSOL resolution algorithm, fitness thresholds, trust progression
|
|
100
|
+
- `rules/TEAMS.md` — Golden Triangle protocol, debate rounds, consensus stamps
|
|
101
|
+
- `rules/ERRORS.md` — E1–E4 error classification and recovery paths
|
|
102
|
+
- `rules/PHASES.md` — Phase sequencing constraints, exit criteria
|
|
103
|
+
- `cli/install.js` — Installation/uninstallation implementation
|
|
104
|
+
- `commands/*.md` — Command definitions and variant routing
|
|
105
|
+
- `agents/*.md` — Agent profiles, capabilities, tool access
|
|
106
|
+
- `matrix-skills/_index.yaml` — Skill catalog index
|
|
107
|
+
- `matrix-skills/_dynamic.yaml` — Dynamic skill registry
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
# Agent Assistant — Actor Map
|
|
2
|
+
|
|
3
|
+
| Field | Value |
|
|
4
|
+
|-------|-------|
|
|
5
|
+
| **Purpose** | Define all actors participating in business workflows with responsibilities, capabilities, constraints, and workflow touchpoints |
|
|
6
|
+
| **Parent** | [00-index.md](00-index.md) |
|
|
7
|
+
| **Last Updated** | 2026-03-26 |
|
|
8
|
+
| **Generated By** | docs-business skill |
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Actor Overview
|
|
13
|
+
|
|
14
|
+
The framework recognizes 7 distinct actor types operating across 12 business workflows. Each actor has defined boundaries — no actor may assume another's responsibilities. The Orchestrator sits at the center, coordinating all specialist work without implementing directly.
|
|
15
|
+
|
|
16
|
+
| # | Actor | Type | Primary Domain |
|
|
17
|
+
|---|-------|------|---------------|
|
|
18
|
+
| A-01 | Framework User | Human | CLI interaction, command invocation |
|
|
19
|
+
| A-02 | AI Model (Orchestrator) | AI Runtime | Coordination, delegation, verification |
|
|
20
|
+
| A-03 | Skill Author | Human | Skill creation and publishing |
|
|
21
|
+
| A-04 | Framework Maintainer (NamCH) | Human | Framework evolution, releases |
|
|
22
|
+
| A-05 | Contributor | Human | Agents, commands, skills additions |
|
|
23
|
+
| A-06 | HSOL System | Automated | Skill resolution, trust management |
|
|
24
|
+
| A-07 | Team Agents | AI Runtime | Specialized execution in team context |
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## A-01: Framework User
|
|
29
|
+
|
|
30
|
+
**Definition**: An individual developer or development team that installs and uses the agent-assistant framework through its CLI and prompt commands within a supported AI coding assistant.
|
|
31
|
+
|
|
32
|
+
### Responsibilities
|
|
33
|
+
- Install/uninstall framework via CLI (`agent-assistant install/uninstall`)
|
|
34
|
+
- Invoke commands through prompt input (`/{cmd}`, `/{cmd}:{variant}`, or natural language)
|
|
35
|
+
- Provide requirements and context for tasks
|
|
36
|
+
- Confirm or reject decisions when prompted (e.g., HSOL low-trust skill confirmation)
|
|
37
|
+
- Receive and evaluate deliverables
|
|
38
|
+
|
|
39
|
+
### Capabilities
|
|
40
|
+
- Shell/terminal access for CLI operations
|
|
41
|
+
- Prompt interaction with AI coding assistant
|
|
42
|
+
- Decision authority on ambiguous requirements
|
|
43
|
+
- Final acceptance of deliverables
|
|
44
|
+
|
|
45
|
+
### Boundary Constraints
|
|
46
|
+
- Cannot directly invoke agent delegation — must go through Orchestrator
|
|
47
|
+
- Cannot modify framework internals without Maintainer role
|
|
48
|
+
- Cannot bypass Orchestrator's phase sequencing
|
|
49
|
+
- Has no visibility into HSOL internal scoring
|
|
50
|
+
|
|
51
|
+
### Workflow Touchpoints
|
|
52
|
+
|
|
53
|
+
| Workflow | Role | Interaction |
|
|
54
|
+
|----------|------|-------------|
|
|
55
|
+
| BW-001 | Primary actor | Runs `agent-assistant install` |
|
|
56
|
+
| BW-002 | Primary actor | Runs `agent-assistant uninstall` |
|
|
57
|
+
| BW-003 | Trigger | Types command or natural language request |
|
|
58
|
+
| BW-006 | Confirmer | Approves low-trust critical skill installation |
|
|
59
|
+
| BW-010 | Escalation target | Final decision after E4 exhaustion |
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## A-02: AI Model (Orchestrator)
|
|
64
|
+
|
|
65
|
+
**Definition**: The AI runtime (Claude, Copilot, Cursor, Codex, Gemini) that reads framework instructions (CLAUDE.md, COPILOT.md, etc.) and follows orchestration protocols. Functions as conductor — delegates all implementation to specialists.
|
|
66
|
+
|
|
67
|
+
### Responsibilities
|
|
68
|
+
- Route commands to correct workflow and variant
|
|
69
|
+
- Decompose work into phases following defined sequences
|
|
70
|
+
- Delegate each phase to the appropriate specialist agent
|
|
71
|
+
- Verify exit criteria for every phase before proceeding
|
|
72
|
+
- Enforce all 10 Orchestration Laws
|
|
73
|
+
- Execute error recovery (BW-010) when failures occur
|
|
74
|
+
- Deliver final results to Framework User
|
|
75
|
+
|
|
76
|
+
### Capabilities
|
|
77
|
+
- Full context of framework rules, agents, commands, skills
|
|
78
|
+
- Sub-agent spawning (TIER 1) or embodiment (TIER 2)
|
|
79
|
+
- Phase state tracking and exit criteria verification
|
|
80
|
+
- Cross-workflow coordination
|
|
81
|
+
- Error classification and recovery path selection
|
|
82
|
+
|
|
83
|
+
### Boundary Constraints
|
|
84
|
+
- **NEVER implements directly** (Law 7 — absolute prohibition)
|
|
85
|
+
- Cannot skip phases or reorder phase sequences
|
|
86
|
+
- Cannot guess on ambiguous requirements — must PAUSE and ASK (Law 2)
|
|
87
|
+
- Cannot modify deliverables from prior phases (Law 8 — immutability)
|
|
88
|
+
- Must use TIER 1 when `runSubagent` is available — TIER 2 only as fallback
|
|
89
|
+
|
|
90
|
+
### Workflow Touchpoints
|
|
91
|
+
|
|
92
|
+
| Workflow | Role | Interaction |
|
|
93
|
+
|----------|------|-------------|
|
|
94
|
+
| BW-003 | Primary executor | Routes and manages command execution |
|
|
95
|
+
| BW-004 | Primary executor | Delegates to specialist agents |
|
|
96
|
+
| BW-005 | Coordinator | Initiates HSOL resolution for agents |
|
|
97
|
+
| BW-008 | Primary executor | Manages Golden Triangle team flow |
|
|
98
|
+
| BW-009 | Primary executor | Manages documentation generation phases |
|
|
99
|
+
| BW-010 | Primary executor | Classifies errors, executes recovery |
|
|
100
|
+
| BW-011 | Primary executor | Detects plan reference, skips phases |
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## A-03: Skill Author
|
|
105
|
+
|
|
106
|
+
**Definition**: A creator who builds and publishes domain-specific skills to the skill catalog. Skills are structured packages with SKILL.md definitions that agents consume during task execution.
|
|
107
|
+
|
|
108
|
+
### Responsibilities
|
|
109
|
+
- Author SKILL.md files following the skill template
|
|
110
|
+
- Define skill metadata (domain, keywords, complexity)
|
|
111
|
+
- Publish skills to discoverable registries
|
|
112
|
+
- Maintain and update published skills
|
|
113
|
+
|
|
114
|
+
### Capabilities
|
|
115
|
+
- Skill template access
|
|
116
|
+
- Publishing to skill registries
|
|
117
|
+
- Versioning of skill packages
|
|
118
|
+
|
|
119
|
+
### Boundary Constraints
|
|
120
|
+
- Cannot control how HSOL scores or selects skills
|
|
121
|
+
- Cannot force skill usage — selection is fitness-based
|
|
122
|
+
- Cannot modify matrix-skills YAML files directly (Maintainer-only)
|
|
123
|
+
- Published skills start at NEW trust level (0.3)
|
|
124
|
+
|
|
125
|
+
### Workflow Touchpoints
|
|
126
|
+
|
|
127
|
+
| Workflow | Role | Interaction |
|
|
128
|
+
|----------|------|-------------|
|
|
129
|
+
| BW-006 | Upstream provider | Published skills discovered by `npx skills find` |
|
|
130
|
+
| BW-007 | Indirect | Skill trust progresses based on execution outcomes |
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## A-04: Framework Maintainer (NamCH)
|
|
135
|
+
|
|
136
|
+
**Definition**: The framework owner who evolves architecture, manages releases, defines platform integrations, and maintains core rules, agents, and command definitions.
|
|
137
|
+
|
|
138
|
+
### Responsibilities
|
|
139
|
+
- Evolve framework architecture and release versions
|
|
140
|
+
- Define and maintain Orchestration Laws (rules/CORE.md)
|
|
141
|
+
- Manage agent definitions and team compositions
|
|
142
|
+
- Add/remove platform support
|
|
143
|
+
- Curate matrix-skills YAML catalog
|
|
144
|
+
- Review and merge contributions
|
|
145
|
+
- Manage npm package releases
|
|
146
|
+
|
|
147
|
+
### Capabilities
|
|
148
|
+
- Full repository write access
|
|
149
|
+
- npm publish authority
|
|
150
|
+
- Platform integration definition
|
|
151
|
+
- Rule and law authoring
|
|
152
|
+
- Agent and command lifecycle management
|
|
153
|
+
|
|
154
|
+
### Boundary Constraints
|
|
155
|
+
- Changes to Orchestration Laws require version bump
|
|
156
|
+
- New platforms must follow existing conventions (BW-012)
|
|
157
|
+
- Cannot override runtime behavior of AI Model at execution time
|
|
158
|
+
|
|
159
|
+
### Workflow Touchpoints
|
|
160
|
+
|
|
161
|
+
| Workflow | Role | Interaction |
|
|
162
|
+
|----------|------|-------------|
|
|
163
|
+
| BW-001 | Defines | Designs installation logic and file mappings |
|
|
164
|
+
| BW-002 | Defines | Designs uninstallation logic and preservation rules |
|
|
165
|
+
| BW-012 | Primary actor | Adds new platform support |
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
## A-05: Contributor
|
|
170
|
+
|
|
171
|
+
**Definition**: An external or team contributor who adds agents, commands, skills, or other framework components through pull requests or direct collaboration.
|
|
172
|
+
|
|
173
|
+
### Responsibilities
|
|
174
|
+
- Add new agent definitions following AGENT-TEMPLATE.md
|
|
175
|
+
- Create new commands or command variants
|
|
176
|
+
- Contribute skills to the catalog
|
|
177
|
+
- Follow contribution conventions
|
|
178
|
+
- Submit changes for review
|
|
179
|
+
|
|
180
|
+
### Capabilities
|
|
181
|
+
- Fork/branch repository access
|
|
182
|
+
- Agent and command template access
|
|
183
|
+
- Skill authoring tools
|
|
184
|
+
|
|
185
|
+
### Boundary Constraints
|
|
186
|
+
- Cannot modify core rules without Maintainer approval
|
|
187
|
+
- Cannot publish npm releases
|
|
188
|
+
- Contributions must pass review (implicit BW-008 quality standard)
|
|
189
|
+
- Cannot modify existing agent boundaries
|
|
190
|
+
|
|
191
|
+
### Workflow Touchpoints
|
|
192
|
+
|
|
193
|
+
| Workflow | Role | Interaction |
|
|
194
|
+
|----------|------|-------------|
|
|
195
|
+
| BW-012 | Supporting | Adds agents, commands, or skills |
|
|
196
|
+
|
|
197
|
+
---
|
|
198
|
+
|
|
199
|
+
## A-06: HSOL System
|
|
200
|
+
|
|
201
|
+
**Definition**: The Harmonized Skill Orchestration Layer — an automated subsystem responsible for resolving which skills an agent uses during task execution. Operates through matrix scoring, dynamic discovery, and trust progression.
|
|
202
|
+
|
|
203
|
+
### Responsibilities
|
|
204
|
+
- Parse agent skill profiles from agent definition files
|
|
205
|
+
- Load relevant domain YAML files from matrix-skills/
|
|
206
|
+
- Filter skills by relevance to current task
|
|
207
|
+
- Compute fitness scores using 5-weight algorithm
|
|
208
|
+
- Route to appropriate resolution path based on fitness band
|
|
209
|
+
- Execute dynamic discovery when fitness is below threshold
|
|
210
|
+
- Track trust progression for dynamically discovered skills
|
|
211
|
+
- Manage skill lifecycle (NEW → EVALUATING → VALIDATED → PROMOTED → BLOCKED)
|
|
212
|
+
|
|
213
|
+
### Capabilities
|
|
214
|
+
- Matrix-skills YAML access (read)
|
|
215
|
+
- Dynamic YAML registry access (read/write to `_dynamic.yaml`)
|
|
216
|
+
- `npx skills find` execution
|
|
217
|
+
- `npx skills add` execution
|
|
218
|
+
- Fitness scoring algorithm (5 weighted factors)
|
|
219
|
+
- Trust state machine management
|
|
220
|
+
|
|
221
|
+
### Boundary Constraints
|
|
222
|
+
- Cannot override Orchestrator's phase decisions
|
|
223
|
+
- Cannot install skills without proper fitness evaluation
|
|
224
|
+
- Low-trust + critical skills require Framework User confirmation
|
|
225
|
+
- Network timeout caps at 5 seconds — falls back to matrix-only
|
|
226
|
+
- Cannot promote skills that fail rate threshold (<85% success)
|
|
227
|
+
- Cannot prevent 90-day inactivity decay
|
|
228
|
+
|
|
229
|
+
### Workflow Touchpoints
|
|
230
|
+
|
|
231
|
+
| Workflow | Role | Interaction |
|
|
232
|
+
|----------|------|-------------|
|
|
233
|
+
| BW-005 | Primary executor | Resolves skills for agent phases |
|
|
234
|
+
| BW-006 | Primary executor | Discovers and installs dynamic skills |
|
|
235
|
+
| BW-007 | Primary executor | Manages trust state transitions |
|
|
236
|
+
|
|
237
|
+
---
|
|
238
|
+
|
|
239
|
+
## A-07: Team Agents
|
|
240
|
+
|
|
241
|
+
**Definition**: Specialist AI agents operating within the Golden Triangle team protocol — specifically the Tech Lead, Executor, and Reviewer roles. They work collaboratively on `:team` variant commands through structured debate.
|
|
242
|
+
|
|
243
|
+
### Sub-Actors
|
|
244
|
+
|
|
245
|
+
| Role | Agent | Responsibility |
|
|
246
|
+
|------|-------|---------------|
|
|
247
|
+
| Tech Lead | tech-lead.md | Decomposes tasks, assigns work, arbitrates disputes |
|
|
248
|
+
| Executor | (varies by domain) | Implements assigned tasks |
|
|
249
|
+
| Reviewer | reviewer.md | Critiques deliverables, enforces quality |
|
|
250
|
+
|
|
251
|
+
### Responsibilities
|
|
252
|
+
- **Tech Lead**: Decompose task → create TASK_ASSIGNMENT → post to Mailbox → arbitrate after 3 rounds
|
|
253
|
+
- **Executor**: Read assignment → implement → SUBMISSION to Mailbox
|
|
254
|
+
- **Reviewer**: Read submission → critique with REVIEW (PASS/FAIL) → require evidence for FAIL
|
|
255
|
+
|
|
256
|
+
### Capabilities
|
|
257
|
+
- Mailbox protocol (read/write task assignments, submissions, reviews)
|
|
258
|
+
- Domain-specific implementation (Executor varies by skill domain)
|
|
259
|
+
- Code review and quality assessment (Reviewer)
|
|
260
|
+
- Architectural decomposition (Tech Lead)
|
|
261
|
+
|
|
262
|
+
### Boundary Constraints
|
|
263
|
+
- Maximum 3 debate rounds — then Tech Lead arbitrates final decision
|
|
264
|
+
- "Disagree without proof" results in automatic FAIL
|
|
265
|
+
- Cannot bypass consensus stamp requirement
|
|
266
|
+
- Cannot communicate outside Mailbox protocol during team workflow
|
|
267
|
+
- Reviewer cannot implement — only review
|
|
268
|
+
- Executor cannot override review decisions directly
|
|
269
|
+
|
|
270
|
+
### Workflow Touchpoints
|
|
271
|
+
|
|
272
|
+
| Workflow | Role | Interaction |
|
|
273
|
+
|----------|------|-------------|
|
|
274
|
+
| BW-008 | Primary actors | Execute Golden Triangle collaboration |
|
|
275
|
+
| BW-003 | Phase executors | Delegated by Orchestrator for individual phases |
|
|
276
|
+
|
|
277
|
+
---
|
|
278
|
+
|
|
279
|
+
## Actor Interaction Matrix
|
|
280
|
+
|
|
281
|
+
| | Framework User | Orchestrator | Skill Author | Maintainer | Contributor | HSOL System | Team Agents |
|
|
282
|
+
|---|---|---|---|---|---|---|---|
|
|
283
|
+
| **Framework User** | — | Commands/receives | — | Reports issues | — | Confirms skills | — |
|
|
284
|
+
| **Orchestrator** | Delivers/asks | — | — | — | — | Requests skills | Delegates/verifies |
|
|
285
|
+
| **Skill Author** | — | — | — | Submits skills | — | Publishes to | — |
|
|
286
|
+
| **Maintainer** | Releases to | Defines rules for | Reviews skills | — | Reviews PRs | Configures | Defines agents |
|
|
287
|
+
| **Contributor** | — | — | — | Submits PRs | — | — | — |
|
|
288
|
+
| **HSOL System** | Asks confirmation | Reports scores to | Discovers from | — | — | — | Provides skills to |
|
|
289
|
+
| **Team Agents** | — | Reports to | — | — | — | Receives skills | Collaborates |
|
|
290
|
+
|
|
291
|
+
---
|
|
292
|
+
|
|
293
|
+
## Evidence Sources
|
|
294
|
+
|
|
295
|
+
- `CLAUDE.md` — Orchestrator identity and prohibitions (Law 7)
|
|
296
|
+
- `rules/CORE.md` — 10 Orchestration Laws defining actor boundaries
|
|
297
|
+
- `rules/AGENTS.md` — TIER 1/TIER 2 agent delegation protocol
|
|
298
|
+
- `rules/SKILLS.md` — HSOL resolution algorithm, trust progression state machine
|
|
299
|
+
- `rules/TEAMS.md` — Golden Triangle protocol, Mailbox system, debate limits
|
|
300
|
+
- `agents/*.md` — Individual agent profiles (21 agents)
|
|
301
|
+
- `agents/teams/` — Team composition definitions
|
|
302
|
+
- `cli/install.js` — CLI actor interaction model
|
|
303
|
+
- `AGENT-TEMPLATE.md` — Contributor agent template
|