agentic-sdlc 1.0.0 β†’ 1.5.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.
Files changed (227) hide show
  1. package/.agent/ide-integration/INTEGRATION-SUMMARY.md +309 -0
  2. package/.agent/ide-integration/KIRO-IDE.md +381 -0
  3. package/.agent/ide-integration/README.md +256 -209
  4. package/.agent/knowledge-base/AUTO-LEARNING-GUIDE.md +327 -0
  5. package/.agent/knowledge-base/HOW-IT-WORKS.md +365 -0
  6. package/.agent/knowledge-base/INDEX.md +43 -0
  7. package/.agent/knowledge-base/README.md +47 -7
  8. package/.agent/knowledge-base/architecture/KB-2026-01-01-003-neo4j-graph-database-skills.md +1146 -0
  9. package/.agent/knowledge-base/architecture/README.md +98 -0
  10. package/.agent/knowledge-base/bugs/KB-2026-01-02-yaml-special-character-escaping.md +56 -0
  11. package/.agent/knowledge-base/bugs/medium/KB-2026-01-01-001-example-auto-learned.md +198 -0
  12. package/.agent/knowledge-base/features/KB-2026-01-01-001-landing-page-design-trends-2026.md +646 -0
  13. package/.agent/knowledge-base/features/KB-2026-01-01-004-uiux-design-skills-2026.md +945 -0
  14. package/.agent/knowledge-base/features/KB-2026-01-01-005-modern-ai-landing-page-ui.md +310 -0
  15. package/.agent/knowledge-base/features/KB-2026-01-01-006-award-winning-landing-page-patterns.md +324 -0
  16. package/.agent/knowledge-base/features/KB-2026-01-02-001-cleanup-workflow.md +242 -0
  17. package/.agent/knowledge-base/features/KB-2026-01-02-002-landing-page-monorepo-architecture.md +148 -0
  18. package/.agent/knowledge-base/features/KB-2026-01-02-003-premium-glassmorphism-patterns.md +58 -0
  19. package/.agent/knowledge-base/features/KB-2026-01-04-ai-agent-enforcement.md +46 -0
  20. package/.agent/knowledge-base/features/README.md +83 -0
  21. package/.agent/knowledge-base/features/figma-landing-page-workflow.md +311 -0
  22. package/.agent/knowledge-base/features/figma-mcp-sa-guide.md +673 -0
  23. package/.agent/knowledge-base/features/figma-mcp-uiux-guide.md +459 -0
  24. package/.agent/knowledge-base/performance/KB-2026-01-02-lazy-loading-optimization.md +80 -0
  25. package/.agent/knowledge-base/platform-specific/KB-2026-01-02-windows-console-encoding.md +56 -0
  26. package/.agent/knowledge-base/role-guides/DEV-KB-Guide.md +527 -0
  27. package/.agent/knowledge-base/role-guides/DEVOPS-KB-Guide.md +491 -0
  28. package/.agent/knowledge-base/role-guides/PM-KB-Guide.md +299 -0
  29. package/.agent/knowledge-base/role-guides/SECA-KB-Guide.md +555 -0
  30. package/.agent/knowledge-base/role-guides/TESTER-KB-Guide.md +519 -0
  31. package/.agent/knowledge-base/security/KB-2026-01-02-input-validation-sanitization.md +74 -0
  32. package/.agent/rules/AUTO-LEARNING.md +418 -0
  33. package/.agent/rules/ai-enforcement.md +11 -0
  34. package/.agent/rules/artifacts.md +77 -58
  35. package/.agent/rules/git-workflow.md +25 -65
  36. package/.agent/rules/global.md +18 -13
  37. package/.agent/skills/role-ba.md +76 -0
  38. package/.agent/skills/role-brain.md +470 -0
  39. package/.agent/skills/role-dev.md +338 -0
  40. package/.agent/skills/role-devops.md +122 -0
  41. package/.agent/skills/role-orchestrator.md +223 -0
  42. package/.agent/skills/role-pm.md +258 -0
  43. package/.agent/skills/role-po.md +237 -0
  44. package/.agent/skills/role-qa.md +81 -0
  45. package/.agent/skills/role-reporter.md +117 -0
  46. package/.agent/skills/role-sa.md +277 -0
  47. package/.agent/skills/role-seca.md +294 -0
  48. package/.agent/skills/role-stakeholder.md +105 -0
  49. package/.agent/skills/role-tester.md +294 -0
  50. package/.agent/skills/role-uiux.md +264 -0
  51. package/.agent/templates/CHANGELOG-Template.md +83 -0
  52. package/.agent/templates/Knowledge-Entry-Template.md +3 -0
  53. package/.agent/workflows/brain.md +84 -53
  54. package/.agent/workflows/compound.md +51 -0
  55. package/.agent/workflows/cycle.md +61 -0
  56. package/.agent/workflows/emergency.md +114 -0
  57. package/.agent/workflows/explore.md +147 -0
  58. package/.agent/workflows/housekeeping.md +105 -0
  59. package/.agent/workflows/metrics.md +179 -0
  60. package/.agent/workflows/orchestrator.md +68 -0
  61. package/.agent/workflows/preflight.md +35 -0
  62. package/.agent/workflows/release.md +153 -0
  63. package/.agent/workflows/route.md +160 -0
  64. package/.agent/workflows/sprint.md +125 -0
  65. package/.agent/workflows/validate.md +146 -0
  66. package/CHANGELOG.md +349 -6
  67. package/README.md +171 -86
  68. package/bin/CROSS-PLATFORM-CLI.md +526 -0
  69. package/bin/README.md +525 -0
  70. package/bin/cli.js +65 -90
  71. package/bin/kb +34 -0
  72. package/bin/kb.bat +28 -0
  73. package/bin/kb_cli.py +226 -0
  74. package/bin/lib/README.md +411 -0
  75. package/bin/lib/__init__.py +7 -0
  76. package/bin/lib/__pycache__/kb_add.cpython-313.pyc +0 -0
  77. package/bin/lib/__pycache__/kb_common.cpython-313.pyc +0 -0
  78. package/bin/lib/__pycache__/kb_compound.cpython-313.pyc +0 -0
  79. package/bin/lib/__pycache__/kb_index.cpython-313.pyc +0 -0
  80. package/bin/lib/__pycache__/kb_list.cpython-313.pyc +0 -0
  81. package/bin/lib/__pycache__/kb_search.cpython-313.pyc +0 -0
  82. package/bin/lib/__pycache__/kb_stats.cpython-313.pyc +0 -0
  83. package/bin/lib/kb_add.py +203 -0
  84. package/bin/lib/kb_common.py +224 -0
  85. package/bin/lib/kb_compound.py +250 -0
  86. package/bin/lib/kb_index.py +193 -0
  87. package/bin/lib/kb_list.py +144 -0
  88. package/bin/lib/kb_search.py +121 -0
  89. package/bin/lib/kb_stats.py +153 -0
  90. package/docs/AGENT-MANAGEMENT-GUIDE.md +298 -0
  91. package/docs/ARCHITECTURE-OVERVIEW.md +350 -0
  92. package/docs/BRAIN-ARCHITECTURE.md +396 -0
  93. package/docs/COMPOUND-ENGINEERING-SETUP.md +326 -0
  94. package/docs/KNOWLEDGE-BASE-GUIDE.md +330 -0
  95. package/docs/KNOWLEDGE-BASE-SIMPLE.md +248 -0
  96. package/docs/MONOREPO-ARCHITECTURE.md +492 -0
  97. package/docs/PROJECT-DOCUMENTATION-INDEX.md +540 -0
  98. package/docs/SDLC-Diagram.md +235 -0
  99. package/docs/analysis/Workflow-Optimization-Diagram.md +524 -0
  100. package/docs/analysis/Workflows-Deep-Analysis-2026-01-03.md +604 -0
  101. package/docs/architecture/{brain.md β†’ BRAIN.md} +1 -1
  102. package/docs/global/Master-Documentation.md +307 -0
  103. package/docs/global/reports/Final-Approval-Report.md +257 -0
  104. package/docs/guides/AUTO-LEARNING-COMPLETE-GUIDE.md +519 -0
  105. package/docs/guides/AUTO-LEARNING-SYSTEM.md +322 -0
  106. package/docs/guides/LEARNING-FLOW.md +0 -0
  107. package/docs/guides/MCP-QUICK-REFERENCE.md +104 -0
  108. package/docs/guides/MCP-SETUP.md +139 -0
  109. package/docs/guides/QUICK-START.md +4 -0
  110. package/docs/guides/ROLE-COMMUNICATION-SYSTEM.md +71 -0
  111. package/docs/reports/Metrics-Dashboard-2026-01-02.md +66 -0
  112. package/docs/reports/Metrics-Dashboard-2026-01-04.md +68 -0
  113. package/docs/reports/UIUX-Design-Skills-Research-Report-2026.md +91 -0
  114. package/docs/reports/Validation-Report-2026-01-04.md +23 -0
  115. package/docs/research-reports/research-20260103-101315.json +95 -0
  116. package/docs/research-reports/research-20260103-101315.md +78 -0
  117. package/docs/research-reports/research-20260103-183837.json +95 -0
  118. package/docs/research-reports/research-20260103-183837.md +78 -0
  119. package/docs/research-reports/research-20260103-190346.json +100 -0
  120. package/docs/research-reports/research-20260103-190346.md +83 -0
  121. package/docs/setup/{github-management.md β†’ GITHUB-MANAGEMENT.md} +1 -1
  122. package/docs/setup/RESEARCH-AGENT-SETUP.md +575 -0
  123. package/docs/sprints/{sprint-github-issues.md β†’ SPRINT-GITHUB-ISSUES.md} +1 -1
  124. package/docs/sprints/{sprint-leann-integration.md β†’ SPRINT-LEANN-INTEGRATION.md} +1 -1
  125. package/docs/sprints/sprint-1/designs/Backend-Design-Spec-Sprint-1-v1.md +1206 -0
  126. package/docs/sprints/sprint-1/designs/System-Design-Spec-Sprint-1-v1.md +439 -0
  127. package/docs/sprints/sprint-1/designs/System-Design-Spec-v1.0.md +425 -0
  128. package/docs/sprints/sprint-1/designs/UIUX-Design-Spec-Sprint-1-v1.md +55 -0
  129. package/docs/sprints/sprint-1/designs/UIUX-Design-Spec-v1.0.md +644 -0
  130. package/docs/sprints/sprint-1/logs/DevOps-Plan-and-Log-Sprint-1-v1.md +253 -0
  131. package/docs/sprints/sprint-1/logs/Development-Log-Phase1.md +433 -0
  132. package/docs/sprints/sprint-1/logs/Development-Log-Sprint-1-v1.md +181 -0
  133. package/docs/sprints/sprint-1/logs/Development-Log-Sprint-1.md +548 -0
  134. package/docs/sprints/sprint-1/logs/Orchestration-Log-Sprint-1.md +46 -0
  135. package/docs/sprints/sprint-1/logs/Phase1-Summary.md +84 -0
  136. package/docs/sprints/sprint-1/plans/Product-Backlog-Sprint-1-v1.md +40 -0
  137. package/docs/sprints/sprint-1/plans/Product-Backlog-v1.0.md +613 -0
  138. package/docs/sprints/sprint-1/plans/Project-Plan-Sprint-1-v1.0.md +210 -0
  139. package/docs/sprints/sprint-1/plans/Project-Plan-Sprint-1-v1.md +377 -0
  140. package/docs/sprints/sprint-1/reports/Design-Verification-Report-v1.0.md +220 -0
  141. package/docs/sprints/sprint-1/reports/Phase-Report-Sprint-1-v1.md +238 -0
  142. package/docs/sprints/sprint-1/reports/Security-Review-Report-v1.0.md +285 -0
  143. package/docs/sprints/sprint-1/reports/Sprint-Report-Sprint-1.md +74 -0
  144. package/docs/sprints/sprint-1/reports/Test-Report-v1.0.md +346 -0
  145. package/docs/sprints/sprint-1/reviews/Design-Verification-Report.md +508 -0
  146. package/docs/sprints/sprint-1/reviews/Security-Review-Report.md +589 -0
  147. package/docs/sprints/sprint-1/sprint-current/logs/WORKFLOW-CLEANUP-FINAL.md +121 -0
  148. package/docs/sprints/sprint-1/sprint-current/logs/WORKFLOW-OPTIMIZATION-COMPLETE.md +224 -0
  149. package/docs/sprints/sprint-1/sprint-current/logs/Workflow-Optimization-Progress.md +310 -0
  150. package/docs/sprints/sprint-1/sprint-current/logs/Workflow-Optimization-Session-Summary.md +420 -0
  151. package/docs/sprints/sprint-1/sprint-current/plans/Workflow-Optimization-Implementation-Plan.md +1124 -0
  152. package/docs/sprints/sprint-2/SPRINT-SUMMARY.md +150 -0
  153. package/docs/sprints/sprint-2/designs/UIUX-Design-Spec-Sprint-2-v1.md +352 -0
  154. package/docs/sprints/sprint-2/logs/Development-Log-Sprint-2-v1.md +293 -0
  155. package/docs/sprints/sprint-2/plans/Product-Backlog-Sprint-2-v1.md +62 -0
  156. package/docs/sprints/sprint-2/plans/Project-Plan-Sprint-2-v1.md +228 -0
  157. package/docs/sprints/sprint-2/reports/Phase-Report-Sprint-2-v1.md +303 -0
  158. package/docs/sprints/sprint-3/designs/UIUX-Design-Spec-Sprint-3-v1.md +160 -0
  159. package/docs/sprints/sprint-3/logs/Development-Log-Sprint-3-v1.md +249 -0
  160. package/docs/sprints/sprint-3/logs/Testing-Report-Sprint-3-v1.md +244 -0
  161. package/docs/sprints/sprint-3/plans/Product-Backlog-Sprint-3-v1.md +95 -0
  162. package/docs/sprints/sprint-3/reports/Final-Approval-Report-Sprint-3-v1.md +299 -0
  163. package/docs/sprints/sprint-3/reports/Sprint-Summary-Sprint-3-v1.md +276 -0
  164. package/docs/sprints/sprint-3/reviews/Design-Verification-Report-Sprint-3-v1.md +122 -0
  165. package/docs/sprints/sprint-3/reviews/Security-Review-Report-Sprint-3-v1.md +67 -0
  166. package/docs/sprints/sprint-5/designs/Backend-Design-Spec-Sprint-5-v1.md +1734 -0
  167. package/docs/sprints/sprint-5/designs/Design-Verification-Report.md +101 -0
  168. package/docs/sprints/sprint-5/designs/Security-Review-Report.md +84 -0
  169. package/docs/sprints/sprint-6/.brain-state.json +29 -0
  170. package/package.json +92 -16
  171. package/.agent/ide-integration/aider-commands.md +0 -40
  172. package/.agent/ide-integration/cline-config.json +0 -108
  173. package/.agent/ide-integration/cursor-rules.md +0 -63
  174. package/.agent/ide-integration/github-copilot-instructions.md +0 -75
  175. package/.agent/ide-integration/vscode-commands.json +0 -190
  176. package/.agent/ide-integration/windsurf-cascade.md +0 -125
  177. package/.agent/knowledge-base/index.md +0 -202
  178. package/.agent/legacy/roles/designer.md +0 -311
  179. package/.agent/legacy/roles/dev.md +0 -177
  180. package/.agent/legacy/roles/devops.md +0 -146
  181. package/.agent/legacy/roles/orchestrator.md +0 -339
  182. package/.agent/legacy/roles/pm.md +0 -120
  183. package/.agent/legacy/roles/po.md +0 -89
  184. package/.agent/legacy/roles/qa.md +0 -108
  185. package/.agent/legacy/roles/reporter.md +0 -70
  186. package/.agent/legacy/roles/sa.md +0 -118
  187. package/.agent/legacy/roles/seca.md +0 -112
  188. package/.agent/legacy/roles/stakeholder.md +0 -111
  189. package/.agent/legacy/roles/tester.md +0 -129
  190. package/.agent/rules/global.md.bak +0 -154
  191. package/.agent/usage.md +0 -653
  192. package/.agent/workflows/auto.md +0 -35
  193. package/.agent/workflows/dev.md +0 -30
  194. package/.agent/workflows/devops.md +0 -28
  195. package/.agent/workflows/kb-search.md +0 -22
  196. package/.agent/workflows/pm.md +0 -42
  197. package/.agent/workflows/po.md +0 -21
  198. package/.agent/workflows/qa.md +0 -31
  199. package/.agent/workflows/reporter.md +0 -21
  200. package/.agent/workflows/sa.md +0 -51
  201. package/.agent/workflows/seca.md +0 -21
  202. package/.agent/workflows/stakeholder.md +0 -26
  203. package/.agent/workflows/tester.md +0 -21
  204. package/.agent/workflows/uiux.md +0 -38
  205. package/.cursorrules +0 -49
  206. package/.env.template +0 -10
  207. package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -47
  208. package/.github/ISSUE_TEMPLATE/config.yml +0 -8
  209. package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -33
  210. package/.github/ISSUE_TEMPLATE/security_alert.yml +0 -28
  211. package/.github/ISSUE_TEMPLATE/task_implementation.yml +0 -37
  212. package/.github/copilot-instructions.md +0 -60
  213. package/bin/commands/create.js +0 -96
  214. package/bin/commands/help.js +0 -69
  215. package/bin/commands/ide.js +0 -116
  216. package/bin/commands/init-kb.js +0 -74
  217. package/bin/commands/install.js +0 -68
  218. package/bin/commands/list.js +0 -35
  219. package/bin/graph_brain.py +0 -86
  220. package/bin/sync_github.py +0 -75
  221. package/bin/utils/args-parser.js +0 -33
  222. package/bin/utils/colors.js +0 -21
  223. package/bin/verify_neo4j.py +0 -25
  224. /package/.agent/rules/{knowledge-base.md β†’ KNOWLEDGE-BASE.md} +0 -0
  225. /package/docs/architecture/{neo4j-learning-queries.md β†’ NEO4J-LEARNING-QUERIES.md} +0 -0
  226. /package/docs/reports/{comparison-leann-neo4j.md β†’ COMPARISON-LEANN-NEO4J.md} +0 -0
  227. /package/docs/sprints/{sprint-neo4j-brain.md β†’ SPRINT-NEO4J-BRAIN.md} +0 -0
@@ -1,298 +1,345 @@
1
1
  # IDE Integration Guide
2
2
 
3
- This folder contains configuration files to integrate TeamLifecycle roles as slash commands in various IDE agent chats.
3
+ This folder contains integration documentation for TeamLifecycle SDLC workflow with BRAIN orchestrator.
4
4
 
5
- ---
6
-
7
- ## πŸ“ Files
5
+ ## Supported IDEs
8
6
 
9
- | File | IDE | Description |
10
- |------|-----|-------------|
11
- | `vscode-commands.json` | VS Code | Command definitions for VS Code extensions |
12
- | `cursor-rules.md` | Cursor | Custom instructions for Cursor IDE |
13
- | `github-copilot-instructions.md` | GitHub Copilot | Instructions for Copilot Chat |
14
- | `windsurf-cascade.md` | Windsurf | Configuration for Cascade multi-agent |
15
- | `cline-config.json` | Cline | Slash commands for Cline extension |
16
- | `aider-commands.md` | Aider | Command aliases for Aider CLI |
7
+ This project officially supports:
8
+ - **Kiro IDE** - Primary integration with automatic steering file loading
9
+ - **Antigravity** - Compound engineering plugin integration
17
10
 
18
- ---
11
+ ## Architecture
19
12
 
20
- ## πŸš€ Quick Setup by IDE
13
+ TeamLifecycle uses a layered architecture:
14
+ - **`.agent/`** - Source of truth (roles, workflows, knowledge base)
15
+ - **`.kiro/steering/`** - Kiro IDE integration (lightweight references)
16
+ - **`.agent/ide-integration/`** - Integration documentation (this folder)
21
17
 
22
- ### 1. Cursor IDE
18
+ ---
23
19
 
24
- **Installation:**
25
- ```bash
26
- # Copy to project root
27
- cp .agent/ide-integration/cursor-rules.md .cursorrules
28
- ```
20
+ ## πŸ“ Files
29
21
 
30
- **Usage:**
31
- ```
32
- /pm Build a todo app
33
- /auto Create mobile fitness app
34
- /dev Implement authentication
35
- ```
22
+ | File | Purpose | Description |
23
+ |------|---------|-------------|
24
+ | `README.md` | Overview | This file - integration overview |
25
+ | `KIRO-IDE.md` | Kiro IDE | Complete integration guide for Kiro IDE |
26
+ | `INTEGRATION-SUMMARY.md` | Summary | Integration architecture summary |
36
27
 
37
28
  ---
38
29
 
39
- ### 2. GitHub Copilot (VS Code/JetBrains)
30
+ ## πŸš€ Kiro IDE Integration
40
31
 
41
- **Installation:**
42
- ```bash
43
- # Create .github folder if not exists
44
- mkdir -p .github
32
+ ### Built-in Support
45
33
 
46
- # Copy instructions
47
- cp .agent/ide-integration/github-copilot-instructions.md .github/copilot-instructions.md
48
- ```
34
+ Kiro IDE has **native integration** through `.kiro/steering/` files that are automatically loaded.
35
+
36
+ **No setup required!** Just start using:
49
37
 
50
- **Usage:**
51
38
  ```
52
- /pm Design a REST API
53
- /sa Create database schema
54
- /kb-search React hooks
39
+ @BRAIN - Build a todo app
40
+ @PM - Create project plan
41
+ @DEV /cycle - Fix login button
42
+ @ORCHESTRATOR --mode=full-auto
55
43
  ```
56
44
 
57
- ---
45
+ ### How It Works
58
46
 
59
- ### 3. Windsurf Cascade
47
+ 1. **Automatic Loading** - Kiro loads all `.kiro/steering/*.md` files
48
+ 2. **Keyword Activation** - Mention `@ROLE` to activate that role
49
+ 3. **Reference Pattern** - Steering files reference full docs in `.agent/`
50
+ 4. **Source of Truth** - All documentation maintained in `.agent/`
60
51
 
61
- **Installation:**
62
- ```bash
63
- # Copy to project root
64
- cp .agent/ide-integration/windsurf-cascade.md .windsurfrules
65
- ```
52
+ ### Documentation
66
53
 
67
- **Usage:**
68
- ```
69
- /orchestrator Enable full-auto mode
70
- /pm Build SaaS platform
71
- /dev Implement payment gateway
72
- ```
73
-
74
- **Cascade Multi-Agent:**
75
- Windsurf's Cascade will automatically spawn multiple agents in parallel for roles like SA + UIUX + PO.
54
+ See **`KIRO-IDE.md`** for complete integration guide including:
55
+ - Architecture details
56
+ - File structure
57
+ - Usage examples
58
+ - Available commands
59
+ - Workflow states
60
+ - Troubleshooting
76
61
 
77
62
  ---
78
63
 
79
- ### 4. Cline (VS Code Extension)
64
+ ## πŸ”„ Antigravity Integration
80
65
 
81
- **Installation:**
82
- 1. Install Cline extension in VS Code
83
- 2. Open Cline settings
84
- 3. Import `cline-config.json`
66
+ ### Compound Engineering Plugin
85
67
 
86
- **Usage:**
87
- ```
88
- /pm Create project plan
89
- /dev Fix authentication bug
90
- /tester Run E2E tests
91
- ```
68
+ Antigravity's compound engineering plugin integrates with the knowledge base system.
92
69
 
93
- ---
70
+ **Integration Points:**
71
+ - `.agent/knowledge-base/` - Shared knowledge repository
72
+ - YAML frontmatter - Searchable metadata
73
+ - Compound loop - Problem β†’ Solution β†’ Document β†’ Reuse
94
74
 
95
- ### 5. Aider (CLI)
75
+ ### Knowledge Base Structure
96
76
 
97
- **Installation:**
98
- ```bash
99
- # Add to ~/.aider.conf.yml or project .aider.conf.yml
100
- cat .agent/ide-integration/aider-commands.md >> .aider.conf.yml
101
77
  ```
102
-
103
- **Usage:**
104
- ```bash
105
- aider
106
- > /pm Build a CLI tool for file conversion
107
- > /dev Implement JSON to YAML converter
108
- > /kb-search command line parsing
78
+ .agent/knowledge-base/
79
+ β”œβ”€β”€ INDEX.md # Searchable index
80
+ β”œβ”€β”€ bugs/ # Bug patterns by priority
81
+ β”‚ β”œβ”€β”€ critical/
82
+ β”‚ β”œβ”€β”€ high/
83
+ β”‚ β”œβ”€β”€ medium/
84
+ β”‚ └── low/
85
+ β”œβ”€β”€ features/ # Feature implementations
86
+ β”‚ β”œβ”€β”€ authentication/
87
+ β”‚ β”œβ”€β”€ performance/
88
+ β”‚ └── integration/
89
+ β”œβ”€β”€ architecture/ # Architecture decisions
90
+ β”œβ”€β”€ security/ # Security fixes
91
+ β”œβ”€β”€ performance/ # Optimizations
92
+ └── platform-specific/ # Platform issues
109
93
  ```
110
94
 
111
- ---
95
+ ### Compound Learning Workflow
112
96
 
113
- ## 🎯 Available Slash Commands
97
+ **Before ANY complex work:**
98
+ 1. Search `.agent/knowledge-base/INDEX.md`
99
+ 2. Check related categories
100
+ 3. Review similar patterns
101
+ 4. Apply learned solutions
102
+ 5. Document new insights
114
103
 
115
- ### Core Roles
116
- | Command | Role | Description |
117
- |---------|------|-------------|
118
- | `/pm` | Project Manager | Planning, scope management |
119
- | `/orchestrator` | Orchestrator | Workflow automation |
120
- | `/po` | Product Owner | Backlog, prioritization |
121
- | `/sa` | System Analyst | Architecture, API design |
122
- | `/uiux` | UI/UX Designer | Interface, user experience |
123
- | `/qa` | Quality Assurance | Design review, testing |
124
- | `/seca` | Security Analyst | Security assessment |
125
- | `/dev` | Developer | Implementation |
126
- | `/devops` | DevOps | CI/CD, deployment |
127
- | `/tester` | Tester | Testing, bug detection |
128
- | `/reporter` | Reporter | Documentation, reports |
129
- | `/stakeholder` | Stakeholder | Final approval |
130
-
131
- ### Quick Actions
132
- | Command | Description |
133
- |---------|-------------|
134
- | `/auto [requirements]` | Start with full automation |
135
- | `/semi-auto [requirements]` | Start with semi-automation |
136
- | `/kb-search [query]` | Search knowledge base |
137
- | `/kb-add [topic]` | Add knowledge entry |
104
+ **Auto-Compounding Triggers:**
105
+ - Bug marked `#fixbug-critical` or `#fixbug-high`
106
+ - Security vulnerabilities found
107
+ - Performance improvement > 20%
108
+ - Architecture decisions documented
109
+ - Platform-specific issues resolved
138
110
 
139
111
  ---
140
112
 
141
- ## πŸ”§ Custom Configuration
142
-
143
- ### Adding New Commands
144
-
145
- Edit the appropriate config file and add:
113
+ ## 🎯 Available Commands
146
114
 
147
- **For JSON configs (VS Code, Cline):**
148
- ```json
149
- {
150
- "command": "/custom",
151
- "description": "Custom command",
152
- "prompt": "@ROLE - ",
153
- "category": "TeamLifecycle"
154
- }
115
+ ### BRAIN Master Orchestrator
155
116
  ```
156
-
157
- **For Markdown configs (Cursor, Copilot, Windsurf):**
158
- ```markdown
159
- - `/custom` β†’ @ROLE - Custom command description
117
+ @BRAIN - Build a todo app
118
+ @BRAIN /status - Show workflow state
119
+ @BRAIN /validate - Validate phase completion
120
+ @BRAIN /auto-execute - Full automation mode
121
+ @BRAIN /rollback [STATE] - Rollback to previous state
160
122
  ```
161
123
 
162
- ### Modifying Existing Commands
124
+ ### Core Roles
125
+ ```
126
+ @PM - Project Manager (Planning & Scope)
127
+ @PO - Product Owner (Backlog & Prioritization)
128
+ @SA - System Analyst (Architecture & API Design)
129
+ @UIUX - UI/UX Designer (Interface Design)
130
+ @QA - Quality Assurance (Design Review)
131
+ @SECA - Security Analyst (Security Assessment)
132
+ @DEV - Developer (Implementation)
133
+ @DEVOPS - DevOps Engineer (Infrastructure & Deployment)
134
+ @TESTER - Tester (Testing & Bug Detection)
135
+ @REPORTER - Reporter (Documentation & Reporting)
136
+ @STAKEHOLDER - Stakeholder (Final Review)
137
+ @ORCHESTRATOR - Orchestrator (Workflow Automation)
138
+ ```
163
139
 
164
- 1. Open the config file for your IDE
165
- 2. Find the command definition
166
- 3. Update description or prompt
167
- 4. Restart IDE or reload configuration
140
+ ### Enhanced Workflows
141
+ ```
142
+ /cycle - Complete task lifecycle (< 4 hours)
143
+ /explore - Deep investigation for complex features
144
+ /compound - Capture knowledge after solving problems
145
+ /emergency - Critical incident response
146
+ /housekeeping - Cleanup and maintenance
147
+ /route - Intelligent workflow selection
148
+ ```
168
149
 
169
150
  ---
170
151
 
171
152
  ## πŸ’‘ Usage Examples
172
153
 
173
- ### Starting a New Project
154
+ ### Using BRAIN Master Orchestrator
174
155
  ```
175
- /pm Build a wedding website with:
176
- - Photo gallery
177
- - RSVP form
178
- - Countdown timer
179
- Platform: Web (Next.js)
156
+ @BRAIN - Build a todo app with React
157
+
158
+ BRAIN will:
159
+ 1. Initialize workflow state (IDLE β†’ PLANNING)
160
+ 2. Activate @PM for planning
161
+ 3. Enforce approval gates
162
+ 4. Manage all phase transitions
163
+ 5. Validate artifacts at each step
164
+ 6. Track complete state history
180
165
  ```
181
166
 
182
- ### Full Automation
167
+ ### Check Workflow Status
183
168
  ```
184
- /auto Create a mobile expense tracking app for iOS and Android with:
185
- - Receipt scanning
186
- - Category management
187
- - Budget alerts
188
- - Export to CSV
169
+ @BRAIN /status
170
+
171
+ Shows:
172
+ - Current state (e.g., DESIGNING)
173
+ - Completed phases
174
+ - In-progress work
175
+ - Next steps
176
+ - Approval gates
189
177
  ```
190
178
 
191
- ### Development Tasks
179
+ ### Small Task with /cycle
192
180
  ```
193
- /dev Implement OAuth2 authentication with Google and GitHub providers
194
- /devops Setup CI/CD pipeline with GitHub Actions
195
- /tester Create E2E tests for authentication flow
181
+ @DEV /cycle - Fix login button on mobile
182
+
183
+ Executes:
184
+ 1. Search KB for similar issues
185
+ 2. Plan fix
186
+ 3. Implement
187
+ 4. Test locally
188
+ 5. Commit with atomic message
189
+ 6. Compound knowledge if non-obvious
196
190
  ```
197
191
 
198
- ### Knowledge Base
192
+ ### Complex Feature with /explore
199
193
  ```
200
- /kb-search React hydration mismatch
201
- /kb-add Solution for Next.js API route caching issue
194
+ @SA /explore - Real-time notification architecture
195
+
196
+ Executes:
197
+ 1. Multi-order analysis
198
+ 2. Research best practices
199
+ 3. Evaluate trade-offs
200
+ 4. Generate recommendations
201
+ 5. Document findings
202
+ ```
203
+
204
+ ### Full Automation
205
+ ```
206
+ @ORCHESTRATOR --mode=full-auto
207
+ Build authentication system with OAuth
208
+
209
+ Executes entire SDLC:
210
+ - Planning β†’ Design β†’ Development β†’ Testing β†’ Deployment
211
+ - Pauses only at approval gates
212
+ - Manages parallel execution
213
+ - Validates all transitions
202
214
  ```
203
215
 
204
216
  ---
205
217
 
206
- ## πŸ”„ Workflow Integration
218
+ ## πŸ”„ Workflow States
207
219
 
208
- ### Manual Mode
209
- ```
210
- /pm [requirements]
211
- [Review plan]
212
- "Approved"
213
- /sa Begin backend design
214
- /uiux Design UI
215
- /qa Review designs
216
- ...
217
- ```
220
+ BRAIN manages these workflow states:
218
221
 
219
- ### Semi-Auto Mode
220
222
  ```
221
- /semi-auto [requirements]
222
- [Review plan]
223
- "Approved"
224
- β†’ Auto-executes design phase
225
- [Review results]
226
- /orchestrator Continue to development
227
- β†’ Auto-executes development
223
+ IDLE β†’ PLANNING β†’ PLAN_APPROVAL β†’ DESIGNING β†’ DESIGN_REVIEW β†’
224
+ DEVELOPMENT β†’ TESTING β†’ BUG_FIXING β†’ DEPLOYMENT β†’ REPORTING β†’
225
+ FINAL_REVIEW β†’ FINAL_APPROVAL β†’ COMPLETE
228
226
  ```
229
227
 
230
- ### Full-Auto Mode
231
- ```
232
- /auto [requirements]
233
- [Review plan]
234
- "Approved"
235
- β†’ Auto-executes entire workflow
236
- β†’ Stops only for critical decisions
237
- [Make decisions when prompted]
238
- "βœ… Project complete"
239
- ```
228
+ ### Approval Gates πŸšͺ
229
+ 1. **Project Plan** - After PLANNING (User approval required)
230
+ 2. **Design** - After DESIGN_REVIEW (if critical issues found)
231
+ 3. **Final Delivery** - After FINAL_REVIEW (User approval required)
232
+
233
+ ### Parallel Execution ⚑
234
+ - **Design Phase:** @SA + @UIUX + @PO work simultaneously
235
+ - **Review Phase:** @QA + @SECA work simultaneously
236
+ - **Development Phase:** @DEV + @DEVOPS work simultaneously
240
237
 
241
238
  ---
242
239
 
243
- ## πŸ› Troubleshooting
240
+ ## πŸ“š Documentation
241
+
242
+ ### Integration Guides
243
+ - **Kiro IDE:** `KIRO-IDE.md` - Complete Kiro integration guide
244
+ - **Summary:** `INTEGRATION-SUMMARY.md` - Architecture summary
245
+
246
+ ### System Documentation
247
+ - **Architecture:** `docs/ARCHITECTURE-OVERVIEW.md`
248
+ - **BRAIN Details:** `docs/BRAIN-ARCHITECTURE.md`
249
+ - **Diagrams:** `docs/SDLC-Diagram.md`
250
+ - **Setup Guide:** `docs/SETUP-COMPLETE.md`
251
+
252
+ ### Source Files
253
+ - **Roles:** `.agent/roles/` - Full role documentation
254
+ - **Workflows:** `.agent/workflows/` - Workflow implementations
255
+ - **Knowledge Base:** `.agent/knowledge-base/` - Compound learning
256
+ - **Templates:** `.agent/templates/` - Document templates
257
+ - **Rules:** `.agent/rules/` - Global rules
244
258
 
245
- ### Commands Not Working
259
+ ### Kiro Integration
260
+ - **Steering Files:** `.kiro/steering/` - Kiro IDE references
261
+ - **README:** `.kiro/steering/README.md` - Steering guide
246
262
 
247
- **Cursor:**
248
- - Ensure `.cursorrules` is in project root
249
- - Restart Cursor IDE
250
- - Check file is not ignored by `.gitignore`
263
+ ---
264
+
265
+ ## πŸ› Troubleshooting
251
266
 
252
- **GitHub Copilot:**
253
- - Ensure `.github/copilot-instructions.md` exists
254
- - Restart VS Code
255
- - Check Copilot is enabled
267
+ ### Kiro IDE Issues
256
268
 
257
- **Windsurf:**
258
- - Ensure `.windsurfrules` is in project root
259
- - Restart Windsurf
260
- - Check Cascade is enabled
269
+ **Role Not Activating:**
270
+ - Check `.kiro/steering/role-[name].md` exists
271
+ - Check `.agent/roles/role-[name].md` exists
272
+ - Verify keywords in frontmatter
273
+ - Use exact keyword (e.g., `@PM`)
261
274
 
262
- ### Commands Not Autocompleting
275
+ **Commands Not Working:**
276
+ - Check command syntax (e.g., `@BRAIN /status`)
277
+ - Ensure role is activated first
278
+ - Verify Kiro has project access
263
279
 
264
- - Type `/` and wait for suggestions
265
- - Check IDE agent chat is active
266
- - Verify config file syntax is correct
280
+ **Workflow Not Progressing:**
281
+ - Check BRAIN is managing workflow
282
+ - Verify approval gates are satisfied
283
+ - Ensure required artifacts exist
284
+ - Check for blocking bugs
267
285
 
268
- ### Role Not Loading
286
+ ### Knowledge Base Issues
269
287
 
270
- - Check role file exists: `.agent/workflows/[role].md`
271
- - Verify file permissions
272
- - Check IDE has access to project files
288
+ **Search Not Finding Entries:**
289
+ - Check `.agent/knowledge-base/INDEX.md` is updated
290
+ - Verify YAML frontmatter is correct
291
+ - Check category structure
292
+ - Ensure tags are properly formatted
293
+
294
+ **Compound Not Triggering:**
295
+ - Check bug priority tags (`#fixbug-critical`, `#fixbug-high`)
296
+ - Verify solution was non-obvious (3+ attempts)
297
+ - Check auto-compound triggers
298
+ - Manually use `/compound` if needed
273
299
 
274
300
  ---
275
301
 
276
- ## πŸ“š Additional Resources
302
+ ## 🀝 Philosophy
303
+
304
+ > "Each unit of engineering work should make subsequent units of work easierβ€”not harder."
305
+
306
+ This system transforms AI agents from session-to-session amnesiacs into learning partners that compound their capabilities over time.
277
307
 
278
- - **Global Rules:** `.agent/rules/global.md`
279
- - **Usage Guide:** `.agent/usage.md`
280
- - **Role Definitions:** `.agent/workflows/`
281
- - **Templates:** `.agent/templates/`
282
- - **Knowledge Base:** `.agent/knowledge-base/`
308
+ ### Key Principles
309
+
310
+ 1. **Single Source of Truth** - All documentation in `.agent/`
311
+ 2. **Strict Enforcement** - BRAIN enforces workflow rules
312
+ 3. **Compound Learning** - Every solution becomes knowledge
313
+ 4. **IDE Agnostic** - Core logic not tied to specific IDE
314
+ 5. **Maintainable** - Clear separation of concerns
283
315
 
284
316
  ---
285
317
 
286
- ## 🀝 Contributing
318
+ ## πŸ“Š Metrics
319
+
320
+ ### Workflow Metrics
321
+ - Phase durations
322
+ - Approval gate status
323
+ - Iteration counts
324
+ - Efficiency scores
287
325
 
288
- To add support for a new IDE:
326
+ ### Compound Metrics
327
+ - Total KB entries
328
+ - Time saved by reusing solutions
329
+ - Pattern reuse rate
330
+ - Knowledge coverage percentage
289
331
 
290
- 1. Create config file: `[ide-name]-config.[ext]`
291
- 2. Define slash commands mapping to roles
292
- 3. Add installation instructions to this README
293
- 4. Test commands in the IDE
294
- 5. Submit PR with examples
332
+ ### Quality Metrics
333
+ - Bug counts by priority
334
+ - Test coverage
335
+ - Security issues
336
+ - Performance improvements
295
337
 
296
338
  ---
297
339
 
298
- #ide-integration #slash-commands #automation
340
+ **Version:** 1.0.0
341
+ **Created:** 2026-01-02
342
+ **Status:** Production Ready βœ…
343
+ **Supported IDEs:** Kiro IDE, Antigravity
344
+
345
+ #ide-integration #kiro-ide #antigravity #teamlifecycle