@namch/agent-assistant 1.1.0 → 1.2.0
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 +51 -1
- package/README.md +6 -1
- package/agents/teams/backend-team/executor.md +188 -0
- package/agents/teams/backend-team/reviewer.md +328 -0
- package/agents/teams/backend-team/techlead.md +166 -0
- package/agents/teams/database-team/executor.md +189 -0
- package/agents/teams/database-team/reviewer.md +333 -0
- package/agents/teams/database-team/techlead.md +168 -0
- package/agents/teams/debug-team/executor.md +195 -0
- package/agents/teams/debug-team/reviewer.md +324 -0
- package/agents/teams/debug-team/techlead.md +173 -0
- package/agents/teams/design-team/executor.md +196 -0
- package/agents/teams/design-team/reviewer.md +405 -0
- package/agents/teams/design-team/techlead.md +170 -0
- package/agents/teams/devops-team/executor.md +199 -0
- package/agents/teams/devops-team/reviewer.md +332 -0
- package/agents/teams/devops-team/techlead.md +168 -0
- package/agents/teams/docs-team/executor.md +196 -0
- package/agents/teams/docs-team/reviewer.md +331 -0
- package/agents/teams/docs-team/techlead.md +168 -0
- package/agents/teams/frontend-team/executor.md +190 -0
- package/agents/teams/frontend-team/reviewer.md +333 -0
- package/agents/teams/frontend-team/techlead.md +169 -0
- package/agents/teams/fullstack-team/executor.md +290 -0
- package/agents/teams/fullstack-team/reviewer.md +365 -0
- package/agents/teams/fullstack-team/techlead.md +254 -0
- package/agents/teams/game-team/executor.md +193 -0
- package/agents/teams/game-team/reviewer.md +331 -0
- package/agents/teams/game-team/techlead.md +167 -0
- package/agents/teams/mobile-team/executor.md +192 -0
- package/agents/teams/mobile-team/reviewer.md +328 -0
- package/agents/teams/mobile-team/techlead.md +168 -0
- package/agents/teams/performance-team/executor.md +192 -0
- package/agents/teams/performance-team/reviewer.md +322 -0
- package/agents/teams/performance-team/techlead.md +175 -0
- package/agents/teams/planning-team/executor.md +197 -0
- package/agents/teams/planning-team/reviewer.md +279 -0
- package/agents/teams/planning-team/techlead.md +169 -0
- package/agents/teams/project-team/executor.md +190 -0
- package/agents/teams/project-team/reviewer.md +328 -0
- package/agents/teams/project-team/techlead.md +168 -0
- package/agents/teams/qa-team/executor.md +198 -0
- package/agents/teams/qa-team/reviewer.md +271 -0
- package/agents/teams/qa-team/techlead.md +175 -0
- package/agents/teams/report-team/executor.md +195 -0
- package/agents/teams/report-team/reviewer.md +328 -0
- package/agents/teams/report-team/techlead.md +168 -0
- package/agents/teams/research-team/executor.md +200 -0
- package/agents/teams/research-team/reviewer.md +272 -0
- package/agents/teams/research-team/techlead.md +168 -0
- package/agents/teams/security-team/executor.md +193 -0
- package/agents/teams/security-team/reviewer.md +338 -0
- package/agents/teams/security-team/techlead.md +178 -0
- package/cli/README.md +19 -2
- package/cli/install.js +300 -9
- package/cli/install.test.js.example +1 -1
- package/code-assistants/antigravity-assistant/AntigravityGlobal.agent.md +86 -39
- package/code-assistants/antigravity-assistant/GEMINI.md +105 -30
- package/code-assistants/claude-assistant/CLAUDE.md +4 -4
- package/code-assistants/codex-assistant/CODEX.md +235 -0
- package/code-assistants/codex-assistant/agents/backend-engineer.toml +26 -0
- package/code-assistants/codex-assistant/agents/brainstormer.toml +26 -0
- package/code-assistants/codex-assistant/agents/business-analyst.toml +26 -0
- package/code-assistants/codex-assistant/agents/database-architect.toml +26 -0
- package/code-assistants/codex-assistant/agents/debugger.toml +26 -0
- package/code-assistants/codex-assistant/agents/designer.toml +26 -0
- package/code-assistants/codex-assistant/agents/devops-engineer.toml +26 -0
- package/code-assistants/codex-assistant/agents/docs-manager.toml +26 -0
- package/code-assistants/codex-assistant/agents/frontend-engineer.toml +26 -0
- package/code-assistants/codex-assistant/agents/game-engineer.toml +26 -0
- package/code-assistants/codex-assistant/agents/mobile-engineer.toml +26 -0
- package/code-assistants/codex-assistant/agents/performance-engineer.toml +26 -0
- package/code-assistants/codex-assistant/agents/planner.toml +26 -0
- package/code-assistants/codex-assistant/agents/project-manager.toml +26 -0
- package/code-assistants/codex-assistant/agents/reporter.toml +26 -0
- package/code-assistants/codex-assistant/agents/researcher.toml +26 -0
- package/code-assistants/codex-assistant/agents/reviewer.toml +26 -0
- package/code-assistants/codex-assistant/agents/scouter.toml +26 -0
- package/code-assistants/codex-assistant/agents/security-engineer.toml +26 -0
- package/code-assistants/codex-assistant/agents/tech-lead.toml +26 -0
- package/code-assistants/codex-assistant/agents/tester.toml +26 -0
- package/code-assistants/codex-assistant/config.toml +109 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-ask/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-ask/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-ask-fast/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-ask-fast/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-ask-hard/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-ask-hard/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-auto/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-auto/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-brainstorm/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-brainstorm/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-brainstorm-fast/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-brainstorm-fast/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-brainstorm-hard/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-brainstorm-hard/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-brainstorm-team/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-brainstorm-team/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-code/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-code/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-code-fast/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-code-fast/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-code-focus/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-code-focus/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-code-hard/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-code-hard/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-code-team/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-code-team/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-cook/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-cook/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-cook-fast/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-cook-fast/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-cook-focus/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-cook-focus/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-cook-hard/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-cook-hard/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-cook-team/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-cook-team/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-debug/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-debug/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-debug-fast/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-debug-fast/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-debug-focus/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-debug-focus/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-debug-hard/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-debug-hard/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-debug-team/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-debug-team/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-deploy/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-deploy/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-deploy-check/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-deploy-check/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-deploy-preview/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-deploy-preview/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-deploy-production/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-deploy-production/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-deploy-rollback/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-deploy-rollback/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-design/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-design/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-design-fast/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-design-fast/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-design-focus/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-design-focus/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-design-hard/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-design-hard/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-design-team/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-design-team/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-docs/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-docs/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-docs-audit/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-docs-audit/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-docs-business/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-docs-business/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-docs-core/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-docs-core/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-fix/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-fix/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-fix-fast/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-fix-fast/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-fix-focus/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-fix-focus/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-fix-hard/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-fix-hard/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-fix-team/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-fix-team/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-plan/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-plan/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-plan-fast/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-plan-fast/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-plan-focus/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-plan-focus/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-plan-hard/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-plan-hard/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-plan-team/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-plan-team/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-report/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-report/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-report-fast/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-report-fast/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-report-focus/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-report-focus/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-report-hard/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-report-hard/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-report-team/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-report-team/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-review/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-review/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-review-fast/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-review-fast/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-review-hard/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-review-hard/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-review-team/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-review-team/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-test/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-test/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-test-fast/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-test-fast/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-test-focus/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-test-focus/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-test-hard/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-test-hard/agents/openai.yaml +4 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-test-team/SKILL.md +18 -0
- package/code-assistants/codex-assistant/skills/agent-assistant-test-team/agents/openai.yaml +4 -0
- package/code-assistants/copilot-assistant/agent-assistant.agent.md +149 -51
- package/code-assistants/cursor-assistant/.cursorrules +5 -5
- package/code-assistants/cursor-assistant/rules/agent-assistant.mdc +5 -5
- package/commands/brainstorm/team.md +295 -0
- package/commands/brainstorm.md +5 -0
- package/commands/code/team.md +456 -0
- package/commands/code.md +5 -0
- package/commands/cook/team.md +609 -0
- package/commands/cook.md +5 -0
- package/commands/debug/team.md +396 -0
- package/commands/debug.md +5 -0
- package/commands/design/team.md +567 -0
- package/commands/design.md +5 -0
- package/commands/fix/team.md +596 -0
- package/commands/fix.md +5 -0
- package/commands/plan/team.md +358 -0
- package/commands/plan.md +5 -0
- package/commands/report/team.md +502 -0
- package/commands/report.md +5 -0
- package/commands/review/team.md +353 -0
- package/commands/review.md +5 -0
- package/commands/test/team.md +303 -0
- package/commands/test.md +5 -0
- package/documents/SMART-SKILL-ORCHESTRATION-BLUEPRINT.md +4 -2
- package/documents/business/business-prd.md +2 -1
- package/documents/business/business-workflows.md +2 -2
- package/documents/knowledge-architecture.md +13 -12
- package/documents/knowledge-domain.md +2 -2
- package/documents/knowledge-overview.md +2 -2
- package/documents/knowledge-source-base.md +11 -7
- package/package.json +5 -2
- package/rules/AGENTS.md +55 -0
- package/rules/CORE.md +27 -13
- package/rules/PHASES.md +58 -0
- package/rules/TEAMS.md +530 -0
|
@@ -0,0 +1,502 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "🔺 Team Report — Golden Triangle adversarial collaboration for maximum quality reporting"
|
|
3
|
+
version: "2.0"
|
|
4
|
+
category: reporting
|
|
5
|
+
execution-mode: execute
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# /report:team — Golden Triangle Report Generation
|
|
9
|
+
|
|
10
|
+
> **MISSION**: Maximum quality reporting through adversarial collaboration.
|
|
11
|
+
> Each phase spawns a **Golden Triangle** of 3 agents: Tech Lead (coordinator),
|
|
12
|
+
> Executor (implementer), Reviewer (devil's advocate). Output is released ONLY
|
|
13
|
+
> upon consensus after debate.
|
|
14
|
+
|
|
15
|
+
<task>$ARGUMENTS</task>
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 🛑 PRE-FLIGHT (DO FIRST — BLOCKS PHASE 1)
|
|
20
|
+
|
|
21
|
+
**LOAD now** (in order; path `./rules/` or `~/.{TOOL}/skills/agent-assistant/rules/`):
|
|
22
|
+
|
|
23
|
+
1. CORE.md — Identity, Laws, Routing
|
|
24
|
+
2. PHASES.md — Phase Execution
|
|
25
|
+
3. AGENTS.md — Tiered Execution
|
|
26
|
+
4. **TEAMS.md** — Golden Triangle protocol (MANDATORY)
|
|
27
|
+
|
|
28
|
+
**⛔ Do not run Phase 1 until all are loaded.** Follow **all** rules in those files; they override any conflicting instructions in this file.
|
|
29
|
+
|
|
30
|
+
**Skills Resolution**: Load `SKILLS.md` on-demand for fitness calculation and dynamic discovery.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## 🔀 TIERED EXECUTION
|
|
35
|
+
|
|
36
|
+
> Reference: AGENTS.md (Tiered Execution) + TEAMS.md (Golden Triangle Protocol)
|
|
37
|
+
|
|
38
|
+
| Tier | When | Action |
|
|
39
|
+
| ---------- | ----------------------------- | ------------------------------------------------------------------------- |
|
|
40
|
+
| **TIER 1** | runSubagent/Agent Tool EXISTS | Orchestrator spawns Tech Lead → Tech Lead spawns Executor + Reviewer |
|
|
41
|
+
| **TIER 2** | Tool MISSING or SYSTEM error | EMBODY Tech Lead → EMBODY Executor → EMBODY Reviewer → EMBODY Tech Lead |
|
|
42
|
+
|
|
43
|
+
**❌ Anti-Lazy**: Never use TIER 2 when TIER 1 tool available.
|
|
44
|
+
|
|
45
|
+
**TIER 2 Golden Triangle Embodiment** (per TEAMS.md):
|
|
46
|
+
```
|
|
47
|
+
1. EMBODY Tech Lead → decompose task → produce Shared Task List → dispatch
|
|
48
|
+
2. EMBODY Executor → execute assigned tasks → post SUBMISSION to Mailbox
|
|
49
|
+
3. EMBODY Reviewer → review submissions → post REVIEW to Mailbox
|
|
50
|
+
4. IF FAIL → EMBODY Executor again → fix/defend → EMBODY Reviewer → re-check
|
|
51
|
+
5. Repeat steps 3–4 max 3 rounds
|
|
52
|
+
6. EMBODY Tech Lead → arbitrate if needed → post DECISION → synthesize output
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## 📬 MAILBOX — Central Communication Hub
|
|
58
|
+
|
|
59
|
+
**Location**: `./reports/MAILBOX-{date}.md`
|
|
60
|
+
|
|
61
|
+
All 3 triangle agents READ from and APPEND to this file. Never overwrite — append only.
|
|
62
|
+
|
|
63
|
+
**Message Format**:
|
|
64
|
+
```markdown
|
|
65
|
+
---
|
|
66
|
+
## [{TIMESTAMP}] {MESSAGE_TYPE} | {AGENT} → {TARGET}
|
|
67
|
+
**Phase**: {phase number}
|
|
68
|
+
**Task**: {task ID from Shared Task List}
|
|
69
|
+
**Content**:
|
|
70
|
+
{message body}
|
|
71
|
+
---
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
**Message Types**:
|
|
75
|
+
|
|
76
|
+
| Type | Sender | Receiver | Purpose |
|
|
77
|
+
| ----------------- | --------- | --------- | ---------------------------------------------- |
|
|
78
|
+
| TASK_ASSIGNMENT | Tech Lead | Executor | Assign task with requirements and context |
|
|
79
|
+
| SUBMISSION | Executor | Reviewer | Submit completed work for review |
|
|
80
|
+
| REVIEW | Reviewer | Executor | Review result: PASS or FAIL with findings |
|
|
81
|
+
| DEFENSE | Executor | Reviewer | Defend work against FAIL findings |
|
|
82
|
+
| RESUBMISSION | Executor | Reviewer | Resubmit after fixing FAIL findings |
|
|
83
|
+
| APPROVAL | Reviewer | Tech Lead | Confirm task passes all review criteria |
|
|
84
|
+
| ESCALATION | Any | Tech Lead | Escalate unresolvable disagreement |
|
|
85
|
+
| ARBITRATION | Tech Lead | All | Tech Lead resolves dispute with binding decision|
|
|
86
|
+
| DECISION | Tech Lead | All | Final phase decision with consensus stamp |
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## 📁 DELIVERABLE FILES
|
|
91
|
+
|
|
92
|
+
| Phase / Agent | Output |
|
|
93
|
+
| ---------------- | ------------------------------------------------ |
|
|
94
|
+
| Phase 1 (Data) | `./reports/scouts/SCOUT-{topic}.md` |
|
|
95
|
+
| Phase 1 (Data) | `./reports/researchers/RESEARCH-{topic}.md` |
|
|
96
|
+
| Phase 2 (Draft) | `./reports/general/REPORT-{topic}-{date}.md` |
|
|
97
|
+
| Phase 3 (Final) | `./reports/general/REPORT-{topic}-{date}.md` (polished) |
|
|
98
|
+
| ALL Phases | `./reports/MAILBOX-{date}.md` |
|
|
99
|
+
|
|
100
|
+
All files in `./reports/` → English only.
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## 🔗 PHASE DEPENDENCIES
|
|
105
|
+
|
|
106
|
+
| Phase | Requires | Blocking |
|
|
107
|
+
| ------------------------------ | ------------------------------- | ----------- |
|
|
108
|
+
| P1: Data Collection & Analysis | User request | No |
|
|
109
|
+
| P2: Report Drafting | Findings from P1 | **YES** |
|
|
110
|
+
| P3: Review & Delivery | Draft report from P2 | **YES** |
|
|
111
|
+
|
|
112
|
+
**⛔ Blocking**: If input missing → STOP → Create it first → Resume
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## ⛔ INCREMENTAL EXECUTION (MANDATORY)
|
|
117
|
+
|
|
118
|
+
One phase at a time. Within each phase:
|
|
119
|
+
|
|
120
|
+
```
|
|
121
|
+
1. Spawn Golden Triangle (Tech Lead + Executor + Reviewer)
|
|
122
|
+
2. Tech Lead decomposes → publishes Shared Task List
|
|
123
|
+
3. Executor implements → posts SUBMISSION to Mailbox
|
|
124
|
+
4. Reviewer critiques → posts REVIEW to Mailbox
|
|
125
|
+
5. Debate loop: fix/defend → re-review (max 3 rounds)
|
|
126
|
+
6. Consensus reached → Tech Lead posts DECISION → Phase output released
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
**Consensus Stamp Format** (required to close each phase):
|
|
130
|
+
```
|
|
131
|
+
✅ CONSENSUS: {TechLead} ✓ | {Executor} ✓ | {Reviewer} ✓
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
Format: rules/PHASES.md § Phase output structure + rules/TEAMS.md § Golden Triangle Phase Output Format.
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## 🔺 GOLDEN TRIANGLE LOOP — Universal Protocol
|
|
139
|
+
|
|
140
|
+
> Every phase below follows this exact loop. Deviations are PROHIBITED.
|
|
141
|
+
|
|
142
|
+
```
|
|
143
|
+
┌─────────────────────────────────────────────────────────────────────┐
|
|
144
|
+
│ GOLDEN TRIANGLE LOOP │
|
|
145
|
+
│ │
|
|
146
|
+
│ 1. Tech Lead decomposes phase goal into tasks │
|
|
147
|
+
│ → Publishes Shared Task List │
|
|
148
|
+
│ → Posts TASK_ASSIGNMENT to Mailbox for each task │
|
|
149
|
+
│ │
|
|
150
|
+
│ 2. Executor works each task │
|
|
151
|
+
│ → Posts SUBMISSION to Mailbox per task │
|
|
152
|
+
│ → Includes: what was done, artifacts, approach, notes │
|
|
153
|
+
│ │
|
|
154
|
+
│ 3. Reviewer reviews each SUBMISSION │
|
|
155
|
+
│ → Posts REVIEW to Mailbox: PASS or FAIL │
|
|
156
|
+
│ → FAIL includes: findings table, severity, required actions │
|
|
157
|
+
│ │
|
|
158
|
+
│ 4. IF FAIL (debate loop, max 3 rounds): │
|
|
159
|
+
│ → Executor reads findings │
|
|
160
|
+
│ → For each finding: Fix (if valid) or DEFENSE (if disputed) │
|
|
161
|
+
│ → Posts RESUBMISSION or DEFENSE to Mailbox │
|
|
162
|
+
│ → Reviewer re-reviews → back to step 3 │
|
|
163
|
+
│ → After 3 rounds without resolution → ESCALATION to Tech Lead │
|
|
164
|
+
│ │
|
|
165
|
+
│ 5. IF PASS: │
|
|
166
|
+
│ → Reviewer posts APPROVAL to Mailbox │
|
|
167
|
+
│ → Task marked ✅ in Shared Task List │
|
|
168
|
+
│ │
|
|
169
|
+
│ 6. After ALL tasks complete: │
|
|
170
|
+
│ → Tech Lead verifies coherence across all tasks │
|
|
171
|
+
│ → Tech Lead posts DECISION with consensus stamp │
|
|
172
|
+
│ → Phase output released │
|
|
173
|
+
│ │
|
|
174
|
+
│ OUTPUT: ✅ CONSENSUS: TechLead ✓ | Executor ✓ | Reviewer ✓ │
|
|
175
|
+
└─────────────────────────────────────────────────────────────────────┘
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## 🎭 Phase 1: DATA COLLECTION & ANALYSIS — 🔺 GOLDEN TRIANGLE
|
|
181
|
+
|
|
182
|
+
| Role | Agent | Mission |
|
|
183
|
+
| --------- | ---------------------------------------- | ---------------------------------------------------------- |
|
|
184
|
+
| Tech Lead | `reporter` | Decompose: report scope, data sources, analysis dimensions |
|
|
185
|
+
| Executor | `scouter` + `researcher` | Execute: collect data from codebase, analyze metrics, gather facts |
|
|
186
|
+
| Reviewer | `business-analyst` (Devil's Advocate) | Challenge: data complete? Metrics meaningful? Missing context? Bias in collection? |
|
|
187
|
+
|
|
188
|
+
**Triangle Loop**:
|
|
189
|
+
1. `reporter` decomposes data collection into areas: report scope, target audience, data sources, analysis dimensions, success metrics
|
|
190
|
+
2. `reporter` posts TASK_ASSIGNMENT to Mailbox for each area → dispatches to `scouter` + `researcher`
|
|
191
|
+
3. `scouter` deep-scans codebase for relevant evidence → posts SUBMISSION to Mailbox with:
|
|
192
|
+
- File structure and architecture relevant to topic
|
|
193
|
+
- Code metrics, complexity scores, dependency maps
|
|
194
|
+
- Recent changes, commit history patterns, contributor activity
|
|
195
|
+
- Raw data points with exact file paths and line references
|
|
196
|
+
4. `researcher` analyzes patterns and gathers contextual facts → posts SUBMISSION with:
|
|
197
|
+
- Industry benchmarks and best practices for comparison
|
|
198
|
+
- Historical trends and prior art
|
|
199
|
+
- Cross-reference analysis between data sources
|
|
200
|
+
- Quantified metrics with methodology notes
|
|
201
|
+
5. `business-analyst` reviews EACH SUBMISSION → posts REVIEW to Mailbox:
|
|
202
|
+
- Is the data collection complete or are there blind spots?
|
|
203
|
+
- Are the metrics actually meaningful for the report's audience?
|
|
204
|
+
- Is there selection bias in what was collected vs. what was ignored?
|
|
205
|
+
- Are data sources reliable? Any contradictions between sources?
|
|
206
|
+
- What context is missing that stakeholders would expect?
|
|
207
|
+
6. If REVIEW = FAIL → `scouter`/`researcher` addresses gaps or defends findings → posts RESUBMISSION/DEFENSE
|
|
208
|
+
7. `business-analyst` re-reviews → max 3 rounds → ESCALATION to `reporter` if unresolved
|
|
209
|
+
8. `reporter` synthesizes all approved findings into unified data package
|
|
210
|
+
|
|
211
|
+
**Deliverable**: `./reports/scouts/SCOUT-{topic}.md` + `./reports/researchers/RESEARCH-{topic}.md`
|
|
212
|
+
**Exit Criteria**: All data sources tapped, metrics collected, patterns identified, gaps acknowledged, analysis dimensions defined
|
|
213
|
+
**Consensus**: ✅ CONSENSUS: reporter ✓ | scouter/researcher ✓ | business-analyst ✓
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
## 🎭 Phase 2: REPORT DRAFTING — 🔺 GOLDEN TRIANGLE (CRITICAL)
|
|
218
|
+
|
|
219
|
+
> **THIS IS THE MOST CRITICAL PHASE.** Every step is detailed. No shortcuts.
|
|
220
|
+
|
|
221
|
+
| Role | Agent | Mission |
|
|
222
|
+
| --------- | ---------------------------------------- | ---------------------------------------------------------- |
|
|
223
|
+
| Tech Lead | `reporter` | Coordinate: report structure, key findings, recommendations |
|
|
224
|
+
| Executor | `reporter` (self-implements) | Execute: write REPORT-{topic}.md with findings, analysis, recommendations |
|
|
225
|
+
| Reviewer | `tech-lead` + `reviewer` lens | Challenge: conclusions supported by data? Recommendations actionable? Missing risks? |
|
|
226
|
+
|
|
227
|
+
**Prerequisite**: **READ** SCOUT + RESEARCH outputs from Phase 1.
|
|
228
|
+
|
|
229
|
+
### GOLDEN TRIANGLE REPORT DRAFTING LOOP (CRITICAL — Step by Step)
|
|
230
|
+
|
|
231
|
+
```
|
|
232
|
+
╔══════════════════════════════════════════════════════════════════════╗
|
|
233
|
+
║ PHASE 2: REPORT DRAFTING LOOP — FOLLOW EXACTLY ║
|
|
234
|
+
╠══════════════════════════════════════════════════════════════════════╣
|
|
235
|
+
║ ║
|
|
236
|
+
║ STEP 1: Reporter reads Phase 1 deliverables ║
|
|
237
|
+
║ ─────────────────────────────────────────── ║
|
|
238
|
+
║ - Load SCOUT-{topic}.md and RESEARCH-{topic}.md into context ║
|
|
239
|
+
║ - Identify all key data points, metrics, and patterns ║
|
|
240
|
+
║ - Determine report type: status | analysis | audit | assessment ║
|
|
241
|
+
║ ║
|
|
242
|
+
║ STEP 2: Reporter creates Shared Task List ║
|
|
243
|
+
║ ─────────────────────────────────────────── ║
|
|
244
|
+
║ - Break report into sections as atomic tasks ║
|
|
245
|
+
║ - Order by logical flow: summary → findings → analysis → recs ║
|
|
246
|
+
║ - Format: [ID] [Status] [Section] [Data Sources] [Acceptance] ║
|
|
247
|
+
║ - Post Shared Task List in Mailbox as TASK_ASSIGNMENT ║
|
|
248
|
+
║ ║
|
|
249
|
+
║ STEP 3: Reporter dispatches ALL section tasks ║
|
|
250
|
+
║ ─────────────────────────────────────────── ║
|
|
251
|
+
║ - Posts TASK_ASSIGNMENT to Mailbox for each section ║
|
|
252
|
+
║ - Each assignment includes: ║
|
|
253
|
+
║ • Section ID and title ║
|
|
254
|
+
║ • Data sources to synthesize ║
|
|
255
|
+
║ • Key points to cover ║
|
|
256
|
+
║ • Acceptance criteria for section quality ║
|
|
257
|
+
║ ║
|
|
258
|
+
║ STEP 4: FOR EACH SECTION — Reporter drafts ║
|
|
259
|
+
║ ─────────────────────────────────────────── ║
|
|
260
|
+
║ a. Reporter reads TASK_ASSIGNMENT from Mailbox ║
|
|
261
|
+
║ b. Reporter writes section with evidence-backed claims ║
|
|
262
|
+
║ c. Reporter posts SUBMISSION to Mailbox: ║
|
|
263
|
+
║ ┌──────────────────────────────────────┐ ║
|
|
264
|
+
║ │ SUBMISSION │ ║
|
|
265
|
+
║ │ Section: {section ID} │ ║
|
|
266
|
+
║ │ Content drafted: {section title} │ ║
|
|
267
|
+
║ │ Data sources used: {list} │ ║
|
|
268
|
+
║ │ Key claims made: {list} │ ║
|
|
269
|
+
║ │ Evidence for each claim: {references} │ ║
|
|
270
|
+
║ │ Self-review notes: {any concerns} │ ║
|
|
271
|
+
║ └──────────────────────────────────────┘ ║
|
|
272
|
+
║ ║
|
|
273
|
+
║ STEP 5: Reviewer reviews each SUBMISSION ║
|
|
274
|
+
║ ─────────────────────────────────────────── ║
|
|
275
|
+
║ d. Reviewer reads SUBMISSION from Mailbox ║
|
|
276
|
+
║ e. Reviewer checks against ALL 5 dimensions: ║
|
|
277
|
+
║ ┌──────────────────────────────────────────────────────┐ ║
|
|
278
|
+
║ │ 1. EVIDENCE — Every claim backed by data? │ ║
|
|
279
|
+
║ │ 2. ACCURACY — No misrepresented metrics or cherry- │ ║
|
|
280
|
+
║ │ picked data? Conclusions follow from evidence? │ ║
|
|
281
|
+
║ │ 3. COMPLETENESS — Missing risks, counterarguments, │ ║
|
|
282
|
+
║ │ or perspectives the audience expects? │ ║
|
|
283
|
+
║ │ 4. ACTIONABILITY — Recommendations specific, feasible,│ ║
|
|
284
|
+
║ │ prioritized, and within audience's control? │ ║
|
|
285
|
+
║ │ 5. CLARITY — Language appropriate for audience? │ ║
|
|
286
|
+
║ │ Jargon minimized? Structure logical? │ ║
|
|
287
|
+
║ └──────────────────────────────────────────────────────┘ ║
|
|
288
|
+
║ f. Reviewer posts REVIEW to Mailbox: ║
|
|
289
|
+
║ ┌──────────────────────────────────────┐ ║
|
|
290
|
+
║ │ REVIEW │ ║
|
|
291
|
+
║ │ Section: {section ID} │ ║
|
|
292
|
+
║ │ Status: PASS or FAIL │ ║
|
|
293
|
+
║ │ Findings: │ ║
|
|
294
|
+
║ │ | # | Finding | Severity | Action | │ ║
|
|
295
|
+
║ │ |---|---------|----------|--------| │ ║
|
|
296
|
+
║ │ | 1 | ... | CRITICAL | Fix | │ ║
|
|
297
|
+
║ │ | 2 | ... | MINOR | Suggest| │ ║
|
|
298
|
+
║ │ Required actions: {list} │ ║
|
|
299
|
+
║ └──────────────────────────────────────┘ ║
|
|
300
|
+
║ ║
|
|
301
|
+
║ STEP 6: IF FAIL — Debate Loop (max 3 rounds) ║
|
|
302
|
+
║ ─────────────────────────────────────────── ║
|
|
303
|
+
║ g. Reporter reads REVIEW findings from Mailbox ║
|
|
304
|
+
║ h. For EACH finding: ║
|
|
305
|
+
║ - If VALID → Revise the section → Note what was changed ║
|
|
306
|
+
║ - If DISPUTED → Write DEFENSE with evidence: ║
|
|
307
|
+
║ "Finding #2 is invalid because [evidence/reasoning]" ║
|
|
308
|
+
║ i. Reporter posts RESUBMISSION or DEFENSE to Mailbox: ║
|
|
309
|
+
║ ┌──────────────────────────────────────┐ ║
|
|
310
|
+
║ │ RESUBMISSION / DEFENSE │ ║
|
|
311
|
+
║ │ Section: {section ID} │ ║
|
|
312
|
+
║ │ Round: {1/2/3} │ ║
|
|
313
|
+
║ │ Fixes applied: {list} │ ║
|
|
314
|
+
║ │ Defended findings: {list + evidence} │ ║
|
|
315
|
+
║ └──────────────────────────────────────┘ ║
|
|
316
|
+
║ j. Reviewer re-reviews → posts new REVIEW → back to step (e) ║
|
|
317
|
+
║ k. After round 3 without resolution: ║
|
|
318
|
+
║ → Reviewer posts ESCALATION to Mailbox ║
|
|
319
|
+
║ → Reporter (Tech Lead) reads all debate history ║
|
|
320
|
+
║ → Reporter posts ARBITRATION with binding resolution ║
|
|
321
|
+
║ ║
|
|
322
|
+
║ STEP 7: IF PASS ║
|
|
323
|
+
║ ───────────────── ║
|
|
324
|
+
║ l. Reviewer posts APPROVAL to Mailbox ║
|
|
325
|
+
║ m. Reporter marks section ✅ in Shared Task List ║
|
|
326
|
+
║ n. Move to next section → back to step (a) ║
|
|
327
|
+
║ ║
|
|
328
|
+
║ STEP 8: After ALL sections complete ║
|
|
329
|
+
║ ───────────────────────────────── ║
|
|
330
|
+
║ o. Reporter verifies full report coherence: ║
|
|
331
|
+
║ - All sections ✅ in Shared Task List ║
|
|
332
|
+
║ - Executive summary accurately reflects all findings ║
|
|
333
|
+
║ - No contradictions between sections ║
|
|
334
|
+
║ - Recommendations flow logically from analysis ║
|
|
335
|
+
║ - Report reads as a unified document, not disjointed sections ║
|
|
336
|
+
║ p. Reporter posts DECISION to Mailbox: ║
|
|
337
|
+
║ ┌──────────────────────────────────────┐ ║
|
|
338
|
+
║ │ DECISION │ ║
|
|
339
|
+
║ │ Phase: 2 — Report Drafting │ ║
|
|
340
|
+
║ │ Status: COMPLETE │ ║
|
|
341
|
+
║ │ Sections completed: {count}/{total} │ ║
|
|
342
|
+
║ │ Disputes resolved: {count} │ ║
|
|
343
|
+
║ │ Arbitrations needed: {count} │ ║
|
|
344
|
+
║ │ ✅ CONSENSUS: reporter ✓ | │ ║
|
|
345
|
+
║ │ reporter(exec) ✓ | reviewer ✓ │ ║
|
|
346
|
+
║ └──────────────────────────────────────┘ ║
|
|
347
|
+
║ q. Phase output released ║
|
|
348
|
+
╚══════════════════════════════════════════════════════════════════════╝
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
### REPORT STRUCTURE (produced by `reporter`)
|
|
352
|
+
|
|
353
|
+
```markdown
|
|
354
|
+
# Report: {topic}
|
|
355
|
+
**Date**: {date} | **Type**: {status|analysis|audit|assessment}
|
|
356
|
+
**Author**: report:team (Golden Triangle) | **Audience**: {target}
|
|
357
|
+
|
|
358
|
+
## Executive Summary
|
|
359
|
+
- Overall assessment (1-2 paragraphs)
|
|
360
|
+
- Critical findings (top 3-5, bullet points)
|
|
361
|
+
- Key recommendations (prioritized)
|
|
362
|
+
- Risk level: {LOW | MEDIUM | HIGH | CRITICAL}
|
|
363
|
+
|
|
364
|
+
## Scope & Methodology
|
|
365
|
+
- What was analyzed and why
|
|
366
|
+
- Data sources consulted
|
|
367
|
+
- Analysis methods applied
|
|
368
|
+
- Known limitations and caveats
|
|
369
|
+
|
|
370
|
+
## Findings
|
|
371
|
+
### Finding 1: {title}
|
|
372
|
+
- **Evidence**: {code refs, metrics, raw data}
|
|
373
|
+
- **Analysis**: {interpretation of evidence}
|
|
374
|
+
- **Impact**: {business/technical impact assessment}
|
|
375
|
+
- **Confidence**: {HIGH | MEDIUM | LOW} — {justification}
|
|
376
|
+
|
|
377
|
+
### Finding 2: {title}
|
|
378
|
+
{same structure...}
|
|
379
|
+
|
|
380
|
+
## Analysis
|
|
381
|
+
- Cross-cutting patterns across findings
|
|
382
|
+
- Root cause analysis (where applicable)
|
|
383
|
+
- Trend identification and projections
|
|
384
|
+
- Comparison against benchmarks/standards
|
|
385
|
+
|
|
386
|
+
## Recommendations
|
|
387
|
+
| # | Recommendation | Priority | Effort | Impact | Owner |
|
|
388
|
+
|---|---------------|----------|--------|--------|-------|
|
|
389
|
+
| 1 | {specific action} | P0 | {S/M/L} | {H/M/L} | {team} |
|
|
390
|
+
| 2 | {specific action} | P1 | {S/M/L} | {H/M/L} | {team} |
|
|
391
|
+
|
|
392
|
+
## Risk Assessment
|
|
393
|
+
| Risk | Probability | Impact | Mitigation |
|
|
394
|
+
|------|------------|--------|------------|
|
|
395
|
+
| {risk if no action} | H/M/L | H/M/L | {recommended action} |
|
|
396
|
+
|
|
397
|
+
## Appendix
|
|
398
|
+
- Raw data tables
|
|
399
|
+
- Additional code references
|
|
400
|
+
- Methodology details
|
|
401
|
+
- Glossary (if audience needs it)
|
|
402
|
+
```
|
|
403
|
+
|
|
404
|
+
### STRICT EVIDENCE ADHERENCE (ENFORCED BY REVIEWER)
|
|
405
|
+
|
|
406
|
+
```
|
|
407
|
+
1. READ Phase 1 DATA FIRST — every claim MUST trace to collected evidence
|
|
408
|
+
2. IF data insufficient → STOP → Reporter posts ESCALATION to Mailbox
|
|
409
|
+
→ Request additional data collection or acknowledge limitation
|
|
410
|
+
3. NO unsupported claims — Reviewer explicitly checks for this:
|
|
411
|
+
"Does this claim have evidence in Phase 1 deliverables? Source cited?"
|
|
412
|
+
4. Unsupported claims found by Reviewer → automatic FAIL with:
|
|
413
|
+
Severity: CRITICAL | Action: "Add evidence or remove claim"
|
|
414
|
+
```
|
|
415
|
+
|
|
416
|
+
**Deliverable**: `./reports/general/REPORT-{topic}-{date}.md`
|
|
417
|
+
**Exit Criteria**: All sections drafted, every claim evidence-backed, recommendations actionable, report coherent
|
|
418
|
+
**Consensus**: ✅ CONSENSUS: reporter ✓ | reporter(exec) ✓ | reviewer ✓
|
|
419
|
+
|
|
420
|
+
---
|
|
421
|
+
|
|
422
|
+
## 🎭 Phase 3: REVIEW & DELIVERY — 🔺 GOLDEN TRIANGLE
|
|
423
|
+
|
|
424
|
+
| Role | Agent | Mission |
|
|
425
|
+
| --------- | ---------------------------------------- | ---------------------------------------------------------- |
|
|
426
|
+
| Tech Lead | `tech-lead` | Final review, quality gate, release authorization |
|
|
427
|
+
| Executor | `docs-manager` | Execute: format, polish, executive summary refinement |
|
|
428
|
+
| Reviewer | `business-analyst` (Devil's Advocate) | Challenge: stakeholder-ready? Clear for audience? Actionable next steps? |
|
|
429
|
+
|
|
430
|
+
**Triangle Loop**:
|
|
431
|
+
1. `tech-lead` reads draft REPORT-{topic}-{date}.md → decomposes final review into tasks:
|
|
432
|
+
- Executive summary quality check
|
|
433
|
+
- Formatting and presentation polish
|
|
434
|
+
- Audience appropriateness verification
|
|
435
|
+
- Actionability and completeness audit
|
|
436
|
+
2. `tech-lead` posts TASK_ASSIGNMENT to Mailbox → dispatches to `docs-manager`
|
|
437
|
+
3. `docs-manager` polishes the report → posts SUBMISSION to Mailbox with:
|
|
438
|
+
- Formatting improvements applied (headings, tables, visual hierarchy)
|
|
439
|
+
- Executive summary refined for clarity and impact
|
|
440
|
+
- Language adjusted for target audience
|
|
441
|
+
- Table of contents / navigation aids added
|
|
442
|
+
- Consistent terminology and style throughout
|
|
443
|
+
4. `business-analyst` reviews polished report → posts REVIEW:
|
|
444
|
+
- Would a stakeholder understand this without additional context?
|
|
445
|
+
- Are next steps clear enough that someone can act on them Monday morning?
|
|
446
|
+
- Is the executive summary a standalone artifact for busy executives?
|
|
447
|
+
- Are priorities and severity levels calibrated correctly?
|
|
448
|
+
- Does the report tell a coherent story from findings to recommendations?
|
|
449
|
+
5. If REVIEW = FAIL → `docs-manager` revises or defends → posts RESUBMISSION/DEFENSE
|
|
450
|
+
6. `business-analyst` re-reviews → max 3 rounds → ESCALATION to `tech-lead` if unresolved
|
|
451
|
+
7. `tech-lead` performs final quality gate:
|
|
452
|
+
- All Phase 2 consensus items preserved
|
|
453
|
+
- No content distortion from formatting changes
|
|
454
|
+
- Report ready for distribution
|
|
455
|
+
|
|
456
|
+
**DELIVERY CHECKLIST** (executed by `tech-lead`):
|
|
457
|
+
```
|
|
458
|
+
- [ ] Executive summary is standalone and actionable
|
|
459
|
+
- [ ] All claims supported by evidence (preserved from Phase 2)
|
|
460
|
+
- [ ] Recommendations prioritized with clear ownership
|
|
461
|
+
- [ ] Language appropriate for target audience
|
|
462
|
+
- [ ] Formatting professional and consistent
|
|
463
|
+
- [ ] No contradictions between sections
|
|
464
|
+
- [ ] Risk assessment complete with mitigations
|
|
465
|
+
- [ ] Appendix contains supporting raw data
|
|
466
|
+
```
|
|
467
|
+
|
|
468
|
+
**Deliverable**: `./reports/general/REPORT-{topic}-{date}.md` (final polished version)
|
|
469
|
+
**Exit Criteria**: Report stakeholder-ready, professionally formatted, actionable recommendations, quality gate passed
|
|
470
|
+
**Consensus**: ✅ CONSENSUS: tech-lead ✓ | docs-manager ✓ | business-analyst ✓
|
|
471
|
+
|
|
472
|
+
---
|
|
473
|
+
|
|
474
|
+
## ✅ COMPLETION
|
|
475
|
+
|
|
476
|
+
Present final report with consensus stamps from ALL phases:
|
|
477
|
+
|
|
478
|
+
```markdown
|
|
479
|
+
# 🔺 Golden Triangle Report: {topic}
|
|
480
|
+
|
|
481
|
+
## Phase Results
|
|
482
|
+
| Phase | Triangle | Consensus | Rounds |
|
|
483
|
+
|-------|----------|-----------|--------|
|
|
484
|
+
| P1: Data Collection | reporter / scouter+researcher / business-analyst | ✅ | {n} |
|
|
485
|
+
| P2: Report Drafting | reporter / reporter / reviewer | ✅ | {n} |
|
|
486
|
+
| P3: Review & Delivery | tech-lead / docs-manager / business-analyst | ✅ | {n} |
|
|
487
|
+
|
|
488
|
+
## Debate Summary
|
|
489
|
+
- Total submissions: {count}
|
|
490
|
+
- First-pass approvals: {count}
|
|
491
|
+
- Debates triggered: {count}
|
|
492
|
+
- Arbitrations needed: {count}
|
|
493
|
+
|
|
494
|
+
## Mailbox Reference
|
|
495
|
+
Full debate history: `./reports/MAILBOX-{date}.md`
|
|
496
|
+
|
|
497
|
+
## Next Actions
|
|
498
|
+
1. ✅ **Done** — Report complete (triangle-validated across all phases)
|
|
499
|
+
2. 📝 **Update existing** — Apply findings to related docs → `/docs:core`
|
|
500
|
+
3. 📢 **Share** → `/internal-comms` (distribute to stakeholders)
|
|
501
|
+
4. 🔄 **Iterate** — Revise specific sections → `/report:team` with narrower scope
|
|
502
|
+
```
|
package/commands/report.md
CHANGED
|
@@ -56,6 +56,9 @@ IF task requires absolute context clarity OR "clean slate" analysis:
|
|
|
56
56
|
IF user explicitly asks to UPDATE existing files (not create report):
|
|
57
57
|
→ Still use /report:hard or /report:focus; reporter OUTPUT MODE = update existing files
|
|
58
58
|
|
|
59
|
+
IF task is complex AND maximum quality with team collaboration needed:
|
|
60
|
+
→ Route to /report:team
|
|
61
|
+
|
|
59
62
|
IF unsure:
|
|
60
63
|
→ Default to /report:fast (escalate if needed)
|
|
61
64
|
```
|
|
@@ -69,6 +72,7 @@ IF unsure:
|
|
|
69
72
|
| `/report:fast` | Quick status updates, daily summaries |
|
|
70
73
|
| `/report:hard` | Detailed analysis, any topic (algorithms, docs, changes), template-based |
|
|
71
74
|
| `/report:focus` | Deep analysis with **enforced context optimization**; update or create |
|
|
75
|
+
| `/report:team` | Maximum quality with parallel agent team collaboration |
|
|
72
76
|
|
|
73
77
|
---
|
|
74
78
|
|
|
@@ -84,6 +88,7 @@ IF unsure:
|
|
|
84
88
|
1. ⚡ **Fast** → `/report:fast` — Quick summary
|
|
85
89
|
2. ⚡⚡⚡ **Hard** → `/report:hard` — Full analysis, any topic; create report **or** update existing files / use template
|
|
86
90
|
3. 🎯 **Focus** → `/report:focus` — Deep analysis with **automatic context clearing**; create or update per task
|
|
91
|
+
4. 👥 **Team** → `/report:team` — Full team collaboration (parallel agents, maximum quality)
|
|
87
92
|
|
|
88
93
|
⏳ Awaiting selection...
|
|
89
94
|
```
|