@namch/agent-assistant 1.1.1 → 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 +29 -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 +282 -7
- package/cli/install.test.js.example +1 -1
- 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/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 +4 -0
- package/package.json +5 -2
- package/rules/AGENTS.md +55 -0
- package/rules/CORE.md +1 -0
- package/rules/PHASES.md +58 -0
- package/rules/TEAMS.md +530 -0
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "🔺 Team Test — Golden Triangle adversarial collaboration for maximum quality testing"
|
|
3
|
+
version: "2.0"
|
|
4
|
+
category: testing
|
|
5
|
+
execution-mode: execute
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# /test:team — Golden Triangle Test & Quality Assurance
|
|
9
|
+
|
|
10
|
+
> **MISSION**: Maximum quality testing through adversarial collaboration.
|
|
11
|
+
> Each phase spawns a **Golden Triangle** of 3 agents: Tech Lead (coordinator),
|
|
12
|
+
> Executor (implementer), Reviewer (devil's advocate). Tests are released ONLY
|
|
13
|
+
> upon consensus after debate.
|
|
14
|
+
|
|
15
|
+
<scope>$ARGUMENTS</scope>
|
|
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**: EMBODY Tech Lead (decompose) → EMBODY Executor (implement) → EMBODY Reviewer (review) → IF FAIL loop max 3 → EMBODY Tech Lead (arbitrate + synthesize)
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## 📬 MAILBOX — Central Communication Hub
|
|
50
|
+
|
|
51
|
+
**Location**: `./reports/MAILBOX-{date}.md` — All 3 triangle agents READ + APPEND. Never overwrite.
|
|
52
|
+
|
|
53
|
+
**Message Types**: `TASK_ASSIGNMENT` (Lead→Executor) · `SUBMISSION` (Executor→Reviewer) · `REVIEW` (Reviewer→Executor: PASS/FAIL) · `DEFENSE` / `RESUBMISSION` (Executor→Reviewer) · `APPROVAL` (Reviewer→Lead) · `ESCALATION` (Any→Lead) · `ARBITRATION` / `DECISION` (Lead→All)
|
|
54
|
+
|
|
55
|
+
**Format**: `[{TIMESTAMP}] {TYPE} | {AGENT} → {TARGET} | Phase: {n} | Task: {id} | Content: ...`
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## 📁 DELIVERABLE FILES
|
|
60
|
+
|
|
61
|
+
| Phase / Team | Output |
|
|
62
|
+
| ---------------- | ----------------------------------------------- |
|
|
63
|
+
| Phase 1 | `./reports/tests/TEST-STRATEGY-{scope}.md` |
|
|
64
|
+
| Phase 2 | `./reports/tests/TEST-PLAN-{scope}.md` |
|
|
65
|
+
| Phase 3 | Test files written to codebase |
|
|
66
|
+
| Phase 4 | `./reports/tests/TEST-RESULTS-{scope}.md` |
|
|
67
|
+
| Phase 4 | `./reports/qa/QA-{scope}.md` |
|
|
68
|
+
| ALL Phases | `./reports/MAILBOX-{date}.md` |
|
|
69
|
+
|
|
70
|
+
All files in `./reports/` → English only.
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## 🔗 PHASE DEPENDENCIES
|
|
75
|
+
|
|
76
|
+
| Phase | Requires | Blocking |
|
|
77
|
+
| ------------------------------- | ----------------------------------- | ----------- |
|
|
78
|
+
| P1: Test Strategy | User scope + codebase access | No |
|
|
79
|
+
| P2: Test Planning | TEST-STRATEGY from P1 | **YES** |
|
|
80
|
+
| P3: Test Implementation | TEST-PLAN from P2 | **YES** |
|
|
81
|
+
| P4: Coverage & Verification | Tests from P3 + code under test | **YES** |
|
|
82
|
+
|
|
83
|
+
**⛔ Blocking**: If input missing → STOP → Create it first → Resume
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## ⛔ INCREMENTAL EXECUTION (MANDATORY)
|
|
88
|
+
|
|
89
|
+
One phase at a time. Within each phase, follow the **Golden Triangle Loop**:
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
1. Tech Lead decomposes → Shared Task List → TASK_ASSIGNMENT to Mailbox
|
|
93
|
+
2. Executor works tasks → SUBMISSION to Mailbox (what, files, approach)
|
|
94
|
+
3. Reviewer critiques → REVIEW to Mailbox (PASS or FAIL + findings)
|
|
95
|
+
4. IF FAIL → debate loop: fix/defend → re-review (max 3 rounds)
|
|
96
|
+
→ After 3 rounds unresolved → ESCALATION to Tech Lead → ARBITRATION
|
|
97
|
+
5. IF PASS → APPROVAL → task ✅
|
|
98
|
+
6. All tasks done → Tech Lead verifies coherence → DECISION + consensus stamp
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
**Consensus Stamp** (required per phase): `✅ CONSENSUS: {TechLead} ✓ | {Executor} ✓ | {Reviewer} ✓`
|
|
102
|
+
|
|
103
|
+
Format: rules/PHASES.md § Phase output + rules/TEAMS.md § Golden Triangle Phase Output Format.
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## 🎭 Phase 1: TEST STRATEGY — 🔺 GOLDEN TRIANGLE
|
|
108
|
+
|
|
109
|
+
| Role | Agent | Mission |
|
|
110
|
+
| --------- | ------------------------------------ | ---------------------------------------------------------- |
|
|
111
|
+
| Tech Lead | `tester` | Decompose: test strategy, coverage targets, test types needed |
|
|
112
|
+
| Executor | `scouter` | Execute: analyze codebase, identify testable units, map dependencies |
|
|
113
|
+
| Reviewer | `tech-lead` (Devil's Advocate) | Challenge: is strategy complete? Missing test categories? Over-testing? |
|
|
114
|
+
|
|
115
|
+
**Triangle Loop**:
|
|
116
|
+
1. `tester` decomposes into areas: test pyramid, coverage targets, framework selection, test data needs → TASK_ASSIGNMENT to `scouter`
|
|
117
|
+
2. `scouter` analyzes codebase → SUBMISSION per area: testable units inventory, dependency graph, coverage gaps, complex logic paths, external deps requiring mocks
|
|
118
|
+
3. `tech-lead` reviews → REVIEW: pyramid appropriate? Targets realistic? Missing categories (contract, smoke, regression)? Over-testing low-risk areas? Framework fits CI/CD?
|
|
119
|
+
4. Debate loop if FAIL → max 3 rounds → ESCALATION to `tester` if unresolved
|
|
120
|
+
5. `tester` synthesizes approved findings into unified test strategy
|
|
121
|
+
|
|
122
|
+
**Deliverable**: `./reports/tests/TEST-STRATEGY-{scope}.md`
|
|
123
|
+
**Exit Criteria**: Test pyramid defined, coverage targets set, frameworks chosen, testable units mapped
|
|
124
|
+
**Consensus**: ✅ CONSENSUS: tester ✓ | scouter ✓ | tech-lead ✓
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
## 🎭 Phase 2: TEST PLANNING — 🔺 GOLDEN TRIANGLE
|
|
129
|
+
|
|
130
|
+
| Role | Agent | Mission |
|
|
131
|
+
| --------- | ------------------------------------ | ---------------------------------------------------------- |
|
|
132
|
+
| Tech Lead | `tester` | Decompose: test plan with specific test cases per component |
|
|
133
|
+
| Executor | `researcher` | Execute: research testing patterns, edge cases, boundary conditions |
|
|
134
|
+
| Reviewer | `security-engineer` (Devil's Advocate) | Challenge: security test cases missing? Edge cases not covered? Injection tests? |
|
|
135
|
+
|
|
136
|
+
**Prerequisite**: **READ** `./reports/tests/TEST-STRATEGY-{scope}.md` before starting.
|
|
137
|
+
|
|
138
|
+
**Triangle Loop**:
|
|
139
|
+
1. `tester` reads strategy → decomposes into: unit test cases, integration scenarios, E2E journeys, security cases, perf benchmarks → TASK_ASSIGNMENT to `researcher`
|
|
140
|
+
2. `researcher` researches patterns → SUBMISSION per area: specific test cases (inputs/outputs/edges), boundary conditions, equivalence partitions, mock strategies, test data approaches
|
|
141
|
+
3. `security-engineer` reviews → REVIEW: injection tests (SQL/XSS/command)? Auth bypass? IDOR/privilege escalation? Input validation (null/overflow/special chars)? Race conditions? Error message leakage?
|
|
142
|
+
4. Debate loop if FAIL → max 3 rounds → ESCALATION to `tester` if unresolved
|
|
143
|
+
5. `tester` synthesizes approved test cases into final test plan
|
|
144
|
+
|
|
145
|
+
**Deliverable**: `./reports/tests/TEST-PLAN-{scope}.md`
|
|
146
|
+
**Exit Criteria**: Every component has specific test cases, edge cases documented, security scenarios covered
|
|
147
|
+
**Consensus**: ✅ CONSENSUS: tester ✓ | researcher ✓ | security-engineer ✓
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## 🛡️ VERIFICATION CHECKPOINT
|
|
152
|
+
|
|
153
|
+
> **⛔ BLOCKING**: `rules/CONTEXT-GATE.md` — HARD MODE. Prevents context rot between planning and implementation.
|
|
154
|
+
> Trigger: After Phase 2 completes. Plan file: `TEST-PLAN-{scope}.md`. Remaining: Phase 3 → 4.
|
|
155
|
+
|
|
156
|
+
**DO NOT proceed to Phase 3 until user selects option.**
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## 🎭 Phase 3: TEST IMPLEMENTATION — 🔺 GOLDEN TRIANGLE (CRITICAL)
|
|
161
|
+
|
|
162
|
+
> **THIS IS THE MOST CRITICAL PHASE.** Every step is detailed. No shortcuts.
|
|
163
|
+
|
|
164
|
+
### Team Selection
|
|
165
|
+
|
|
166
|
+
```
|
|
167
|
+
Fullstack → Tech Lead: tester | Executor: backend-engineer then frontend-engineer | Reviewer: reviewer + perf lens
|
|
168
|
+
Backend → Tech Lead: tester | Executor: backend-engineer | Reviewer: reviewer + perf lens
|
|
169
|
+
Frontend → Tech Lead: tester | Executor: frontend-engineer | Reviewer: reviewer + perf lens
|
|
170
|
+
Self → Tech Lead: tester | Executor: tester (self) | Reviewer: reviewer + perf lens
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
| Role | Agent | Mission |
|
|
174
|
+
| --------- | -------------------------------------------------------- | ---------------------------------------------------------- |
|
|
175
|
+
| Tech Lead | `tester` | Load TEST-PLAN → decompose into test writing tasks → Shared Task List → coordinate all work |
|
|
176
|
+
| Executor | `tester` (self) OR `backend-engineer`/`frontend-engineer`| Follow plan EXACTLY → write tests per spec → submit via Mailbox |
|
|
177
|
+
| Reviewer | `reviewer` + `performance-engineer` lens | Review EVERY submission → check test quality, assertions, mocks, coverage |
|
|
178
|
+
|
|
179
|
+
**Prerequisite**: **READ and FOLLOW** `./reports/tests/TEST-PLAN-{scope}.md`
|
|
180
|
+
|
|
181
|
+
### GOLDEN TRIANGLE IMPLEMENTATION LOOP (CRITICAL — Step by Step)
|
|
182
|
+
|
|
183
|
+
```
|
|
184
|
+
╔══════════════════════════════════════════════════════════════════════╗
|
|
185
|
+
║ PHASE 3: TEST IMPLEMENTATION LOOP — FOLLOW EXACTLY ║
|
|
186
|
+
╠══════════════════════════════════════════════════════════════════════╣
|
|
187
|
+
║ ║
|
|
188
|
+
║ STEP 1: Tech Lead reads TEST-PLAN-{scope}.md ║
|
|
189
|
+
║ - Load full test plan, identify all tasks, determine ordering ║
|
|
190
|
+
║ ║
|
|
191
|
+
║ STEP 2: Tech Lead creates Shared Task List ║
|
|
192
|
+
║ - Break into atomic tasks: unit→integration→E2E→security→perf ║
|
|
193
|
+
║ - Format: [ID] [Status] [Description] [Files] [Acceptance] ║
|
|
194
|
+
║ - Post as TASK_ASSIGNMENT to Mailbox ║
|
|
195
|
+
║ ║
|
|
196
|
+
║ STEP 3: Dispatch — each TASK_ASSIGNMENT includes: ║
|
|
197
|
+
║ - Task ID, test files to create, cases from plan, mock reqs, ║
|
|
198
|
+
║ coverage target ║
|
|
199
|
+
║ ║
|
|
200
|
+
║ STEP 4: FOR EACH TASK — Executor writes tests ║
|
|
201
|
+
║ a. Read TASK_ASSIGNMENT → write tests EXACTLY as plan specifies ║
|
|
202
|
+
║ b. Post SUBMISSION: Task | Tests written | Files | Cases covered ║
|
|
203
|
+
║ | Mocks used | Self-review notes | Plan step reference ║
|
|
204
|
+
║ ║
|
|
205
|
+
║ STEP 5: Reviewer reviews each SUBMISSION ║
|
|
206
|
+
║ c. Check 5 dimensions: ║
|
|
207
|
+
║ 1. ASSERTIONS — meaningful, not trivial? ║
|
|
208
|
+
║ 2. COVERAGE — edge cases, boundaries, error paths? ║
|
|
209
|
+
║ 3. MOCKS — appropriate? Over-mocking hiding bugs? ║
|
|
210
|
+
║ 4. PLAN COMPLIANCE — matches test plan exactly? ║
|
|
211
|
+
║ 5. TEST QUALITY — isolated, deterministic, readable? ║
|
|
212
|
+
║ d. Post REVIEW: PASS/FAIL + findings table (severity + action) ║
|
|
213
|
+
║ ║
|
|
214
|
+
║ STEP 6: IF FAIL — Debate Loop (max 3 rounds) ║
|
|
215
|
+
║ e. Executor reads findings, for EACH: ║
|
|
216
|
+
║ - VALID → fix test + note what was fixed ║
|
|
217
|
+
║ - DISPUTED → DEFENSE with evidence/reasoning ║
|
|
218
|
+
║ f. Post RESUBMISSION/DEFENSE: Task | Round | Fixes | Defenses ║
|
|
219
|
+
║ g. Reviewer re-reviews → back to step (c) ║
|
|
220
|
+
║ h. After round 3 unresolved → ESCALATION → Tech Lead ARBITRATION ║
|
|
221
|
+
║ ║
|
|
222
|
+
║ STEP 7: IF PASS → APPROVAL → task ✅ → next task ║
|
|
223
|
+
║ ║
|
|
224
|
+
║ STEP 8: After ALL tasks complete ║
|
|
225
|
+
║ i. Tech Lead verifies: all ✅ | no conflicts | mock consistency ║
|
|
226
|
+
║ | test independence (no shared state) ║
|
|
227
|
+
║ j. Posts DECISION: Phase 3 COMPLETE | tasks {n}/{n} | ║
|
|
228
|
+
║ disputes {n} | arbitrations {n} ║
|
|
229
|
+
║ ✅ CONSENSUS: tester ✓ | {executor} ✓ | reviewer ✓ ║
|
|
230
|
+
║ k. Phase output released ║
|
|
231
|
+
╚══════════════════════════════════════════════════════════════════════╝
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
### STRICT PLAN ADHERENCE (ENFORCED BY REVIEWER)
|
|
235
|
+
|
|
236
|
+
```
|
|
237
|
+
1. READ TEST PLAN FIRST — every test MUST trace to a plan test case
|
|
238
|
+
2. IF test case seems wrong → STOP → ESCALATION → Tech Lead evaluates
|
|
239
|
+
3. NO unauthorized test additions — Reviewer checks: "Any tests not in plan?"
|
|
240
|
+
4. Unauthorized deviations → automatic FAIL: CRITICAL | "Remove or get plan amended"
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
**Exit Criteria**: All plan test cases implemented, all reviews passed, no unauthorized deviations, test suite integration verified
|
|
244
|
+
**Consensus**: ✅ CONSENSUS: tester ✓ | {executor} ✓ | reviewer ✓
|
|
245
|
+
|
|
246
|
+
---
|
|
247
|
+
|
|
248
|
+
## 🎭 Phase 4: COVERAGE & VERIFICATION — 🔺 GOLDEN TRIANGLE
|
|
249
|
+
|
|
250
|
+
| Role | Agent | Mission |
|
|
251
|
+
| --------- | ------------------------------------ | ---------------------------------------------------------- |
|
|
252
|
+
| Tech Lead | `tester` | Synthesize: coverage report, gap analysis, quality gate evaluation |
|
|
253
|
+
| Executor | `tester` (self-executes) | Execute: run all tests, generate coverage report, collect metrics |
|
|
254
|
+
| Reviewer | `tech-lead` (Devil's Advocate) | Challenge: coverage sufficient? Brittle tests? False positives? |
|
|
255
|
+
|
|
256
|
+
**Triangle Loop**:
|
|
257
|
+
1. `tester` (Tech Lead) decomposes: test execution, coverage analysis, quality gates, gap identification → TASK_ASSIGNMENT to self
|
|
258
|
+
2. `tester` (Executor) runs full suite → SUBMISSION: pass/fail per category, coverage metrics (line/branch/function), quality gate eval, failure analysis (code bugs vs test flaws vs flaky), plan checkpoint verification
|
|
259
|
+
3. `tech-lead` reviews → REVIEW: gaming metrics with trivial tests? Brittle tests? False positives? Flaky tests (shared state)? Missing negative tests? Maintainable long-term?
|
|
260
|
+
4. Debate loop if FAIL → max 3 rounds → `tester` synthesizes final QA report
|
|
261
|
+
|
|
262
|
+
**PLAN CHECKPOINT VERIFICATION** (if PLAN exists):
|
|
263
|
+
```
|
|
264
|
+
FOR EACH AC in PLAN-{scope}.md → map to test → tech-lead confirms not trivial → "AC-{id} → Test: {name} → {pass/fail}"
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
**QUALITY GATES** (all must pass for ✅):
|
|
268
|
+
```
|
|
269
|
+
Coverage: unit ≥ strategy target | integration: critical paths exercised | E2E: journeys pass
|
|
270
|
+
Test Health: no flaky | no false positives | assertions meaningful
|
|
271
|
+
Security: injection passed | auth bypass covered | input validation verified
|
|
272
|
+
Performance: no regressions beyond threshold | baselines established
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
**Deliverable**: `./reports/tests/TEST-RESULTS-{scope}.md` + `./reports/qa/QA-{scope}.md`
|
|
276
|
+
**Exit Criteria**: All tests run, quality gates evaluated, coverage verified, no brittle/flaky tests, report complete
|
|
277
|
+
**Consensus**: ✅ CONSENSUS: tester ✓ | tester(exec) ✓ | tech-lead ✓
|
|
278
|
+
|
|
279
|
+
---
|
|
280
|
+
|
|
281
|
+
## ✅ COMPLETION
|
|
282
|
+
|
|
283
|
+
```markdown
|
|
284
|
+
# 🔺 Golden Triangle Test Report: {scope}
|
|
285
|
+
|
|
286
|
+
## Phase Results
|
|
287
|
+
| Phase | Triangle | Consensus | Rounds |
|
|
288
|
+
|-------|----------|-----------|--------|
|
|
289
|
+
| P1: Test Strategy | tester / scouter / tech-lead | ✅ | {n} |
|
|
290
|
+
| P2: Test Planning | tester / researcher / security-engineer | ✅ | {n} |
|
|
291
|
+
| P3: Test Implementation | tester / {executor} / reviewer | ✅ | {n} |
|
|
292
|
+
| P4: Coverage & Verification | tester / tester / tech-lead | ✅ | {n} |
|
|
293
|
+
|
|
294
|
+
## Summary
|
|
295
|
+
Submissions: {n} | First-pass: {n} | Debates: {n} | Arbitrations: {n}
|
|
296
|
+
Coverage: {pass/fail} | Health: {pass/fail} | Security: {pass/fail} | Perf: {pass/fail}
|
|
297
|
+
Mailbox: `./reports/MAILBOX-{date}.md`
|
|
298
|
+
|
|
299
|
+
## Next Actions
|
|
300
|
+
1. ✅ **All Pass** → quality gates met (triangle-validated)
|
|
301
|
+
2. ⚠️ **Partial** → failures categorized by severity
|
|
302
|
+
3. 🔧 **Fix** → `/fix:team` | 📝 **Review** → `/review` | 🚀 **Deploy** → `/deploy:preview`
|
|
303
|
+
```
|
package/commands/test.md
CHANGED
|
@@ -36,6 +36,9 @@ IF scope is comprehensive (full suite, E2E):
|
|
|
36
36
|
IF scope is comprehensive AND clean execution focus is critical:
|
|
37
37
|
→ Route to /test:focus
|
|
38
38
|
|
|
39
|
+
IF scope is comprehensive AND maximum quality with team collaboration needed:
|
|
40
|
+
→ Route to /test:team
|
|
41
|
+
|
|
39
42
|
IF unsure:
|
|
40
43
|
→ Default to /test:fast
|
|
41
44
|
```
|
|
@@ -49,6 +52,7 @@ IF unsure:
|
|
|
49
52
|
| `/test:fast` | Quick tests, unit tests |
|
|
50
53
|
| `/test:hard` | Full test suite, E2E |
|
|
51
54
|
| `/test:focus` | Full testing with **enforced context optimization** |
|
|
55
|
+
| `/test:team` | Maximum quality with parallel agent team collaboration |
|
|
52
56
|
|
|
53
57
|
---
|
|
54
58
|
|
|
@@ -64,6 +68,7 @@ IF unsure:
|
|
|
64
68
|
1. ⚡ **Fast** → `/test:fast` — Quick tests
|
|
65
69
|
2. ⚡⚡⚡ **Hard** → `/test:hard` — Comprehensive testing
|
|
66
70
|
3. 🔒 **Focus** → `/test:focus` — Comprehensive testing with **automatic context clearing** (focused execution)
|
|
71
|
+
4. 👥 **Team** → `/test:team` — Full team collaboration (parallel agents, maximum quality)
|
|
67
72
|
|
|
68
73
|
⏳ Awaiting selection...
|
|
69
74
|
```
|
|
@@ -37,13 +37,13 @@ The solution is a **Hybrid Skill Orchestration Layer** (HSOL) that:
|
|
|
37
37
|
|
|
38
38
|
## Prerequisites
|
|
39
39
|
|
|
40
|
-
Before HSOL can function, the **find-skills** skill must exist at `{SKILLS_PATH}/find-skills/SKILL.md`, where **{SKILLS_PATH}** is the skills path for the **tool the user is currently using** (e.g. Cursor: `~/.cursor/skills/`, Copilot: `~/.copilot/skills/`, Antigravity: `~/.gemini/antigravity/skills/`). All verify and install actions apply **only to the current tool**; do not verify or install for all tools unless the user explicitly runs `install --all`.
|
|
40
|
+
Before HSOL can function, the **find-skills** skill must exist at `{SKILLS_PATH}/find-skills/SKILL.md`, where **{SKILLS_PATH}** is the skills path for the **tool the user is currently using** (e.g. Cursor: `~/.cursor/skills/`, Copilot: `~/.copilot/skills/`, Codex: `~/.codex/skills/`, Antigravity: `~/.gemini/antigravity/skills/`). All verify and install actions apply **only to the current tool**; do not verify or install for all tools unless the user explicitly runs `install --all`.
|
|
41
41
|
|
|
42
42
|
**Installation (current tool only, skip confirmation when using npx):**
|
|
43
43
|
|
|
44
44
|
```bash
|
|
45
45
|
# Option 1: Automatic when user installs agent-assistant for a tool
|
|
46
|
-
# User runs: npm run install:cursor (or install:copilot, install:antigravity)
|
|
46
|
+
# User runs: npm run install:cursor (or install:copilot, install:antigravity, install:codex)
|
|
47
47
|
# The CLI copies skills/ (including find-skills) to that tool's path only.
|
|
48
48
|
|
|
49
49
|
# Option 2: Manual copy to CURRENT TOOL's path only
|
|
@@ -51,6 +51,8 @@ Before HSOL can function, the **find-skills** skill must exist at `{SKILLS_PATH}
|
|
|
51
51
|
cp -r skills/find-skills ~/.cursor/skills/
|
|
52
52
|
# For Copilot:
|
|
53
53
|
cp -r skills/find-skills ~/.copilot/skills/
|
|
54
|
+
# For Codex:
|
|
55
|
+
cp -r skills/find-skills ~/.codex/skills/
|
|
54
56
|
# For Antigravity:
|
|
55
57
|
cp -r skills/find-skills ~/.gemini/antigravity/skills/
|
|
56
58
|
# Do not copy to all tools unless the user explicitly wants that.
|
|
@@ -179,7 +179,8 @@ AI coding assistants are powerful but unstructured. Developers use AI tools in a
|
|
|
179
179
|
| FR-005.2 | System SHALL support Cursor | Must-Have | ✅ Complete |
|
|
180
180
|
| FR-005.3 | System SHALL support GitHub Copilot | Must-Have | ✅ Complete |
|
|
181
181
|
| FR-005.4 | System SHALL support Antigravity/Gemini | Must-Have | ✅ Complete |
|
|
182
|
-
| FR-005.5 | System SHALL
|
|
182
|
+
| FR-005.5 | System SHALL support OpenAI Codex | Must-Have | ✅ Complete |
|
|
183
|
+
| FR-005.6 | System SHALL provide CLI installer for all tools | Must-Have | ✅ Complete |
|
|
183
184
|
|
|
184
185
|
#### FR-006: Documentation Generation
|
|
185
186
|
|
|
@@ -31,7 +31,7 @@ Agent Assistant provides structured workflows for all phases of software develop
|
|
|
31
31
|
**Prerequisites**:
|
|
32
32
|
|
|
33
33
|
- Node.js 18+ installed
|
|
34
|
-
- At least one supported AI tool (Claude Code, Cursor, Copilot, Antigravity)
|
|
34
|
+
- At least one supported AI tool (Claude Code, Cursor, Copilot, Codex, Antigravity)
|
|
35
35
|
|
|
36
36
|
**Workflow Diagram**:
|
|
37
37
|
|
|
@@ -45,7 +45,7 @@ Agent Assistant provides structured workflows for all phases of software develop
|
|
|
45
45
|
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
|
|
46
46
|
│ Ready to │◀────│ Verify │◀────│ Choose tool: │
|
|
47
47
|
│ use! │ │ installation │ │ cursor/copilot/ │
|
|
48
|
-
└─────────────────┘ └─────────────────┘ │
|
|
48
|
+
└─────────────────┘ └─────────────────┘ │ codex/antigrav. │
|
|
49
49
|
└─────────────────┘
|
|
50
50
|
```
|
|
51
51
|
|
|
@@ -13,7 +13,7 @@ Agent Assistant is a **multi-agent orchestration framework** that transforms a s
|
|
|
13
13
|
```
|
|
14
14
|
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
15
15
|
│ USER INTERFACE │
|
|
16
|
-
│ (Claude Code / Cursor / Copilot / Antigravity)
|
|
16
|
+
│ (Claude Code / Cursor / Copilot / Codex / Antigravity) │
|
|
17
17
|
└─────────────────────────────────────────────────────────────────────────────┘
|
|
18
18
|
│
|
|
19
19
|
▼
|
|
@@ -495,17 +495,17 @@ jit_loading:
|
|
|
495
495
|
│ CLI INSTALLER (cli/install.js) │
|
|
496
496
|
└────────────────────────────────────┬────────────────────────────────────────┘
|
|
497
497
|
│
|
|
498
|
-
|
|
499
|
-
▼
|
|
500
|
-
┌─────────────────┐
|
|
501
|
-
│ CURSOR │
|
|
502
|
-
├─────────────────┤
|
|
503
|
-
│ ~/.cursor/ │
|
|
504
|
-
│ ├─ rules/ │
|
|
505
|
-
│ ├─ commands/ │
|
|
506
|
-
│ ├─ agents/ │
|
|
507
|
-
│ └─ skills/ │
|
|
508
|
-
└─────────────────┘
|
|
498
|
+
┌──────────────┬────────────┼────────────┬──────────────┐
|
|
499
|
+
▼ ▼ ▼ ▼ ▼
|
|
500
|
+
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
|
|
501
|
+
│ CURSOR │ │ COPILOT │ │ ANTIGRAVITY │ │ CLAUDE CODE │ │ CODEX │
|
|
502
|
+
├─────────────────┤ ├─────────────────┤ ├─────────────────┤ ├─────────────────┤ ├─────────────────┤
|
|
503
|
+
│ ~/.cursor/ │ │ ~/.copilot/ │ │ ~/.gemini/ │ │ ~/.claude/ │ │ ~/.codex/ │
|
|
504
|
+
│ ├─ rules/ │ │ ├─ commands/ │ │ └─ antigravity/ │ │ ├─ commands/ │ │ ├─ commands/ │
|
|
505
|
+
│ ├─ commands/ │ │ ├─ skills/ │ │ ├─ agents/ │ │ ├─ skills/ │ │ ├─ skills/ │
|
|
506
|
+
│ ├─ agents/ │ │ ├─ agents/ │ │ ├─ commands/│ │ ├─ agents/ │ │ ├─ agents/ │
|
|
507
|
+
│ └─ skills/ │ │ └─ matrix-skills│ │ └─ skills/ │ │ └─ matrix-skills│ │ └─ matrix-skills│
|
|
508
|
+
└─────────────────┘ └─────────────────┘ └─────────────────┘ └─────────────────┘ └─────────────────┘
|
|
509
509
|
```
|
|
510
510
|
|
|
511
511
|
### 6.2 Entry Point Files
|
|
@@ -515,6 +515,7 @@ jit_loading:
|
|
|
515
515
|
| Claude Code | `CLAUDE.md` | `~/.claude/` |
|
|
516
516
|
| Cursor | `rules/agent-assistant.mdc` | `~/.cursor/rules/` |
|
|
517
517
|
| Copilot | `agent-assistant.agent.md` | `~/.copilot/` + VS Code prompts |
|
|
518
|
+
| Codex | `AGENTS.md` (primary), `CODEX.md` (compat) | `~/.codex/` |
|
|
518
519
|
| Antigravity | `GEMINI.md` | `~/.gemini/` |
|
|
519
520
|
|
|
520
521
|
---
|
|
@@ -365,11 +365,11 @@ The CLI provides a command-line interface for installation and management.
|
|
|
365
365
|
```bash
|
|
366
366
|
# Install framework for a tool
|
|
367
367
|
agent-assistant install <tool>
|
|
368
|
-
agent-assistant install cursor|copilot|antigravity|claude|--all
|
|
368
|
+
agent-assistant install cursor|copilot|antigravity|claude|codex|--all
|
|
369
369
|
|
|
370
370
|
# Uninstall framework from a tool
|
|
371
371
|
agent-assistant uninstall <tool>
|
|
372
|
-
agent-assistant uninstall cursor|copilot|antigravity|claude|--all
|
|
372
|
+
agent-assistant uninstall cursor|copilot|antigravity|claude|codex|--all
|
|
373
373
|
|
|
374
374
|
# List installation status
|
|
375
375
|
agent-assistant list
|
|
@@ -53,7 +53,7 @@ With Agent Assistant:
|
|
|
53
53
|
| Matrix Domains | 19 | Skill categories (backend, frontend, security, ai-ml, etc.) |
|
|
54
54
|
| Quality Gates | 5 | Compile, lint, test, security, review |
|
|
55
55
|
| Rule Files | 8 | Orchestration protocols |
|
|
56
|
-
| Supported Tools |
|
|
56
|
+
| Supported Tools | 5 | Claude Code, Cursor, Copilot, Codex, Antigravity/Gemini |
|
|
57
57
|
|
|
58
58
|
### Measured Results
|
|
59
59
|
|
|
@@ -165,7 +165,7 @@ Load rules Delegate Delegate Delegate Summary
|
|
|
165
165
|
### Prerequisites
|
|
166
166
|
|
|
167
167
|
- **Node.js 18+** installed
|
|
168
|
-
- At least one supported AI tool (Claude Code, Cursor, Copilot, or Antigravity)
|
|
168
|
+
- At least one supported AI tool (Claude Code, Cursor, Copilot, Codex, or Antigravity)
|
|
169
169
|
|
|
170
170
|
### Installation Options
|
|
171
171
|
|
|
@@ -19,6 +19,7 @@ agent-assistant/ # Project root
|
|
|
19
19
|
├── skills/ # 💡 310 domain skill definitions
|
|
20
20
|
├── AGENT-TEMPLATE.md # 📝 Agent file template
|
|
21
21
|
├── CLAUDE.md # 🟣 Claude Code entry point
|
|
22
|
+
├── CODEX.md # 💻 OpenAI Codex entry point
|
|
22
23
|
├── COPILOT.md # 🔵 GitHub Copilot entry point
|
|
23
24
|
├── CURSOR.md # 🟢 Cursor entry point
|
|
24
25
|
├── GEMINI.md # 🟡 Antigravity/Gemini entry point
|
|
@@ -255,6 +256,8 @@ code-assistants/
|
|
|
255
256
|
│ └── GEMINI.md
|
|
256
257
|
├── claude-assistant/ # Claude Code integration
|
|
257
258
|
│ └── CLAUDE.md
|
|
259
|
+
├── codex-assistant/ # OpenAI Codex integration
|
|
260
|
+
│ └── CODEX.md
|
|
258
261
|
├── copilot-assistant/ # GitHub Copilot integration
|
|
259
262
|
│ └── agent-assistant.agent.md
|
|
260
263
|
└── cursor-assistant/ # Cursor integration
|
|
@@ -267,6 +270,7 @@ code-assistants/
|
|
|
267
270
|
| Tool | Entry File | Method |
|
|
268
271
|
|------|------------|--------|
|
|
269
272
|
| Claude Code | `~/.claude/CLAUDE.md` | CLI → `~/.claude/` |
|
|
273
|
+
| Codex | `~/.codex/AGENTS.md` (primary), `~/.codex/CODEX.md` (compat) | CLI → `~/.codex/` |
|
|
270
274
|
| Cursor | agent-assistant.mdc | MDC rule file injection |
|
|
271
275
|
| Copilot | agent-assistant.agent.md | VS Code prompts |
|
|
272
276
|
| Antigravity | GEMINI.md | Global config |
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@namch/agent-assistant",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Multi-agent orchestration framework for AI coding assistants (Cursor, Copilot, Antigravity, Claude Code) with Hybrid Skill Orchestration Layer (HSOL).",
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "Multi-agent orchestration framework for AI coding assistants (Cursor, Copilot, Antigravity, Claude Code, Codex) with Hybrid Skill Orchestration Layer (HSOL).",
|
|
5
5
|
"main": "cli/install.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"agent-assistant": "./cli/install.js"
|
|
@@ -10,10 +10,12 @@
|
|
|
10
10
|
"install:cursor": "node cli/install.js install cursor",
|
|
11
11
|
"install:copilot": "node cli/install.js install copilot",
|
|
12
12
|
"install:antigravity": "node cli/install.js install antigravity",
|
|
13
|
+
"install:codex": "node cli/install.js install codex",
|
|
13
14
|
"install:all": "node cli/install.js install --all",
|
|
14
15
|
"uninstall:cursor": "node cli/install.js uninstall cursor",
|
|
15
16
|
"uninstall:copilot": "node cli/install.js uninstall copilot",
|
|
16
17
|
"uninstall:antigravity": "node cli/install.js uninstall antigravity",
|
|
18
|
+
"uninstall:codex": "node cli/install.js uninstall codex",
|
|
17
19
|
"uninstall:all": "node cli/install.js uninstall --all",
|
|
18
20
|
"list": "node cli/install.js list",
|
|
19
21
|
"test": "node --test cli/*.test.js || echo 'No tests found yet - see cli/install.test.js.example'",
|
|
@@ -29,6 +31,7 @@
|
|
|
29
31
|
"copilot",
|
|
30
32
|
"antigravity",
|
|
31
33
|
"gemini",
|
|
34
|
+
"codex",
|
|
32
35
|
"cli",
|
|
33
36
|
"automation",
|
|
34
37
|
"agent-orchestration",
|
package/rules/AGENTS.md
CHANGED
|
@@ -110,6 +110,61 @@ result:
|
|
|
110
110
|
|
|
111
111
|
---
|
|
112
112
|
|
|
113
|
+
## 🔺 AGENT TEAMS — GOLDEN TRIANGLE (`:team` variant only)
|
|
114
|
+
|
|
115
|
+
> **LOAD**: `TEAMS.md` for full Golden Triangle protocol and debate mechanism.
|
|
116
|
+
> Teams spawn exactly **3 agents per phase**: Tech Lead + Executor + Reviewer.
|
|
117
|
+
> Adversarial collaboration produces higher quality than parallel cooperation.
|
|
118
|
+
|
|
119
|
+
### Golden Triangle Roster
|
|
120
|
+
|
|
121
|
+
| Domain | Tech Lead | Executor | Reviewer | Use When |
|
|
122
|
+
|--------|-----------|----------|----------|----------|
|
|
123
|
+
| `backend-team` | `tech-lead` | `backend-engineer` | `reviewer` | APIs, server logic, backend features |
|
|
124
|
+
| `frontend-team` | `tech-lead` | `frontend-engineer` | `reviewer` | UI components, client-side features |
|
|
125
|
+
| `fullstack-team` | `tech-lead` | `backend-engineer` + `frontend-engineer` | `reviewer` | End-to-end features |
|
|
126
|
+
| `database-team` | `tech-lead` | `database-architect` | `reviewer` + security lens | Schema design, migrations, queries |
|
|
127
|
+
| `research-team` | `researcher` | `scouter` | `brainstormer` (Devil's Advocate) | Discovery, codebase analysis, patterns |
|
|
128
|
+
| `planning-team` | `planner` | `researcher` | `tech-lead` (feasibility critic) | Architecture planning, task decomposition |
|
|
129
|
+
| `qa-team` | `tester` | `tester` (self-implements) | `security-engineer` + `performance-engineer` | Test strategy, coverage, quality |
|
|
130
|
+
| `design-team` | `designer` | `frontend-engineer` | `reviewer` + UX/a11y lens | UI/UX design, component specs |
|
|
131
|
+
| `debug-team` | `debugger` | `backend-engineer` | `reviewer` (root-cause validator) | Root cause analysis, issue resolution |
|
|
132
|
+
| `devops-team` | `devops-engineer` | `backend-engineer` | `security-engineer` | CI/CD, infrastructure, deployment |
|
|
133
|
+
| `security-team` | `security-engineer` | `backend-engineer` | `reviewer` (pen-test mindset) | Security assessment, vulnerability audit |
|
|
134
|
+
| `game-team` | `tech-lead` | `game-engineer` | `reviewer` (game arch + 60fps) | Game development, engines, physics, ECS |
|
|
135
|
+
| `mobile-team` | `tech-lead` | `mobile-engineer` | `reviewer` (UX + platform) | iOS, Android, React Native, Flutter |
|
|
136
|
+
| `performance-team` | `performance-engineer` | `backend-engineer` | `reviewer` (measurement + regression) | Profiling, optimization, load testing |
|
|
137
|
+
| `docs-team` | `docs-manager` | `researcher` | `reviewer` (accuracy + completeness) | Technical writing, API docs, architecture docs |
|
|
138
|
+
| `project-team` | `project-manager` | `business-analyst` | `tech-lead` (feasibility critic) | Project planning, risk, delivery |
|
|
139
|
+
| `report-team` | `reporter` | `scouter` | `reviewer` (data accuracy + insight) | Status reports, metrics, analytics |
|
|
140
|
+
|
|
141
|
+
### Golden Triangle vs Single Agent
|
|
142
|
+
|
|
143
|
+
| When | Use |
|
|
144
|
+
|------|-----|
|
|
145
|
+
| Standard `:fast`, `:hard`, `:focus` variants | Single agent per phase |
|
|
146
|
+
| `:team` variant | Golden Triangle per phase |
|
|
147
|
+
| User explicitly requests team review/collaboration | `:team` variant |
|
|
148
|
+
| Maximum quality with adversarial debate is priority | `:team` variant |
|
|
149
|
+
|
|
150
|
+
### Golden Triangle Definitions Location
|
|
151
|
+
|
|
152
|
+
```
|
|
153
|
+
agents/teams/{team-name}/
|
|
154
|
+
├── techlead.md # Coordinator, decomposer, arbitrator
|
|
155
|
+
├── executor.md # Builder, implementer, defender
|
|
156
|
+
└── reviewer.md # Devil's advocate, quality gatekeeper
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
### Communication Protocol
|
|
160
|
+
|
|
161
|
+
- **Shared Task List**: Published by Tech Lead at phase start, tracks task status
|
|
162
|
+
- **Mailbox**: `./reports/MAILBOX-{date}.md` — append-only log of all exchanges
|
|
163
|
+
- **Debate**: Max 3 rounds per task → Tech Lead arbitrates
|
|
164
|
+
- **Consensus**: `✅ CONSENSUS: TechLead ✓ | Executor ✓ | Reviewer ✓` required to release output
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
113
168
|
## TASK → AGENT MAPPING
|
|
114
169
|
|
|
115
170
|
| Task | Agent |
|
package/rules/CORE.md
CHANGED
|
@@ -40,6 +40,7 @@ REPORTS = ./reports/
|
|
|
40
40
|
| GitHub Copilot | `copilot` | `~/.copilot/skills/agent-assistant/` |
|
|
41
41
|
| Claude Code | `claude` | `~/.claude/skills/agent-assistant/` |
|
|
42
42
|
| Gemini/Antigravity | `gemini/antigravity` | `~/.gemini/antigravity/skills/agent-assistant/` |
|
|
43
|
+
| Codex | `codex` | `~/.codex/skills/agent-assistant/` |
|
|
43
44
|
|
|
44
45
|
---
|
|
45
46
|
|