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
@@ -0,0 +1,309 @@
1
+ # Integration Summary
2
+
3
+ ## Overview
4
+
5
+ TeamLifecycle SDLC workflow system with BRAIN master orchestrator, designed for Kiro IDE and Antigravity compound engineering integration.
6
+
7
+ ## Supported Platforms
8
+
9
+ ### 1. Kiro IDE (Primary)
10
+ - **Integration:** Native through `.kiro/steering/` files
11
+ - **Setup:** Automatic - no configuration needed
12
+ - **Features:** Full BRAIN orchestrator, all 13 roles, enhanced workflows
13
+ - **Documentation:** `KIRO-IDE.md`
14
+
15
+ ### 2. Antigravity (Compound Learning)
16
+ - **Integration:** Knowledge base system
17
+ - **Setup:** Shared `.agent/knowledge-base/` directory
18
+ - **Features:** Compound learning loop, searchable knowledge
19
+ - **Documentation:** `.agent/knowledge-base/README.md`
20
+
21
+ ## Architecture
22
+
23
+ ```
24
+ ┌─────────────────────────────────────────────────────────────┐
25
+ │ USER (Kiro IDE) │
26
+ └────────────────────┬────────────────────────────────────────┘
27
+
28
+
29
+ ┌─────────────────────────────────────────────────────────────┐
30
+ │ .kiro/steering/ │
31
+ │ (Lightweight References) │
32
+ │ - Automatically loaded by Kiro │
33
+ │ - Keyword-based activation │
34
+ │ - Points to .agent/ for full docs │
35
+ └────────────────────┬────────────────────────────────────────┘
36
+
37
+
38
+ ┌─────────────────────────────────────────────────────────────┐
39
+ │ .agent/ │
40
+ │ (SOURCE OF TRUTH) │
41
+ │ ┌──────────────────────────────────────────────────────┐ │
42
+ │ │ roles/ - 13 role definitions │ │
43
+ │ │ workflows/ - Enhanced workflow implementations │ │
44
+ │ │ knowledge-base/ - Compound learning system │ │
45
+ │ │ templates/ - Document templates │ │
46
+ │ │ rules/ - Global rules & patterns │ │
47
+ │ └──────────────────────────────────────────────────────┘ │
48
+ └────────────────────┬────────────────────────────────────────┘
49
+
50
+
51
+ ┌─────────────────────────────────────────────────────────────┐
52
+ │ docs/sprints/sprint-N/ │
53
+ │ (Generated Artifacts) │
54
+ │ - plans/ - Project plans (PM, PO) │
55
+ │ - designs/ - Design specs (SA, UIUX) │
56
+ │ - reviews/ - QA/Security reports (QA, SECA) │
57
+ │ - logs/ - Dev/DevOps/Test logs │
58
+ │ - reports/ - Final reports (REPORTER, STAKEHOLDER) │
59
+ └─────────────────────────────────────────────────────────────┘
60
+ ```
61
+
62
+ ## Key Components
63
+
64
+ ### BRAIN Master Orchestrator
65
+ - **Location:** `.agent/roles/role-brain.md`
66
+ - **Purpose:** Root-level controller for strict workflow enforcement
67
+ - **States:** 13 workflow states (IDLE → COMPLETE)
68
+ - **Commands:** `/status`, `/validate`, `/auto-execute`, `/rollback`
69
+
70
+ ### 13 Roles
71
+ 1. @BRAIN - Master Orchestrator
72
+ 2. @PM - Project Manager
73
+ 3. @PO - Product Owner
74
+ 4. @SA - System Analyst
75
+ 5. @UIUX - UI/UX Designer
76
+ 6. @QA - Quality Assurance
77
+ 7. @SECA - Security Analyst
78
+ 8. @DEV - Developer
79
+ 9. @DEVOPS - DevOps Engineer
80
+ 10. @TESTER - Tester
81
+ 11. @REPORTER - Reporter
82
+ 12. @STAKEHOLDER - Stakeholder
83
+ 13. @ORCHESTRATOR - Orchestrator
84
+
85
+ ### 6 Enhanced Workflows
86
+ 1. `/cycle` - Complete task lifecycle (< 4 hours)
87
+ 2. `/explore` - Deep investigation
88
+ 3. `/compound` - Knowledge capture
89
+ 4. `/emergency` - Critical incident response
90
+ 5. `/housekeeping` - Cleanup and maintenance
91
+ 6. `/route` - Intelligent workflow selection
92
+
93
+ ### Compound Learning System
94
+ - **Location:** `.agent/knowledge-base/`
95
+ - **Structure:** YAML frontmatter + categorized entries
96
+ - **Integration:** Antigravity plugin compatible
97
+ - **Workflow:** Search → Reuse → Document → Compound
98
+
99
+ ## Integration Benefits
100
+
101
+ ### For Kiro IDE Users
102
+ ✅ **Zero Configuration** - Works out of the box
103
+ ✅ **Automatic Loading** - Steering files auto-loaded
104
+ ✅ **Keyword Activation** - Simple `@ROLE` mentions
105
+ ✅ **Full Features** - All roles, workflows, BRAIN orchestrator
106
+ ✅ **State Management** - Complete workflow tracking
107
+
108
+ ### For Antigravity Users
109
+ ✅ **Compound Learning** - Every solution becomes knowledge
110
+ ✅ **Searchable KB** - YAML frontmatter indexing
111
+ ✅ **Auto-Compounding** - Automatic knowledge capture
112
+ ✅ **Pattern Reuse** - Time-saving solution library
113
+ ✅ **Metrics Tracking** - Compound effectiveness dashboard
114
+
115
+ ## File Organization
116
+
117
+ ### Source Files (.agent/)
118
+ ```
119
+ .agent/
120
+ ├── README.md # Architecture explanation
121
+ ├── roles/ # 13 role definitions
122
+ ├── workflows/ # 6 enhanced workflows
123
+ ├── knowledge-base/ # Compound learning
124
+ ├── templates/ # Document templates
125
+ ├── rules/ # Global rules
126
+ └── ide-integration/ # This folder
127
+ ```
128
+
129
+ ### Kiro Integration (.kiro/steering/)
130
+ ```
131
+ .kiro/steering/
132
+ ├── README.md # Steering guide
133
+ ├── 00-teamlifecycle-overview.md # Always loaded
134
+ ├── global-rules.md # Always loaded
135
+ ├── critical-patterns.md # Always loaded
136
+ ├── compound-learning.md # Always loaded
137
+ ├── workflow-enhancements.md # Always loaded
138
+ ├── workflow-routing.md # Always loaded
139
+ └── role-*.md # 13 role references
140
+ ```
141
+
142
+ ### Documentation (docs/)
143
+ ```
144
+ docs/
145
+ ├── ARCHITECTURE-OVERVIEW.md # Complete system overview
146
+ ├── BRAIN-ARCHITECTURE.md # BRAIN technical details
147
+ ├── SDLC-Diagram.md # Mermaid workflow diagrams
148
+ ├── SETUP-COMPLETE.md # Quick start guide
149
+ └── sprints/sprint-N/ # Generated artifacts
150
+ ```
151
+
152
+ ## Workflow Execution
153
+
154
+ ### SDLC States
155
+ ```
156
+ IDLE → PLANNING → PLAN_APPROVAL → DESIGNING → DESIGN_REVIEW →
157
+ DEVELOPMENT → TESTING → BUG_FIXING → DEPLOYMENT → REPORTING →
158
+ FINAL_REVIEW → FINAL_APPROVAL → COMPLETE
159
+ ```
160
+
161
+ ### Approval Gates
162
+ 1. **Project Plan** - User approval after PLANNING
163
+ 2. **Design** - User approval if critical issues found
164
+ 3. **Final Delivery** - User approval after FINAL_REVIEW
165
+
166
+ ### Parallel Execution
167
+ - **Design:** @SA + @UIUX + @PO
168
+ - **Review:** @QA + @SECA
169
+ - **Development:** @DEV + @DEVOPS
170
+
171
+ ## Usage Patterns
172
+
173
+ ### Pattern 1: Simple Task
174
+ ```
175
+ @DEV /cycle - Fix login button
176
+ → Search KB → Plan → Implement → Test → Commit → Compound
177
+ ```
178
+
179
+ ### Pattern 2: Complex Feature
180
+ ```
181
+ @SA /explore - Real-time notifications
182
+ → Analysis → Research → Recommendations → Document
183
+ ```
184
+
185
+ ### Pattern 3: Full Project
186
+ ```
187
+ @BRAIN /auto-execute - Build todo app
188
+ → Complete SDLC with approval gates
189
+ ```
190
+
191
+ ### Pattern 4: Emergency
192
+ ```
193
+ @DEV /emergency - P0: Payment gateway down
194
+ → Assess → Hotfix → Deploy → Postmortem → Compound
195
+ ```
196
+
197
+ ## Integration Points
198
+
199
+ ### Kiro IDE ↔ .agent/
200
+ - Steering files reference source files
201
+ - Automatic keyword activation
202
+ - On-demand full documentation loading
203
+ - State persistence in `.brain-state.json`
204
+
205
+ ### Antigravity ↔ .agent/knowledge-base/
206
+ - Shared knowledge repository
207
+ - YAML frontmatter for searchability
208
+ - Auto-compounding triggers
209
+ - Metrics dashboard
210
+
211
+ ### BRAIN ↔ All Roles
212
+ - State machine management
213
+ - Workflow enforcement
214
+ - Approval gate control
215
+ - Artifact validation
216
+
217
+ ## Metrics & Monitoring
218
+
219
+ ### Workflow Metrics
220
+ - Phase durations
221
+ - Approval gate status
222
+ - Iteration counts
223
+ - Efficiency scores
224
+
225
+ ### Compound Metrics
226
+ - Total KB entries
227
+ - Time saved
228
+ - Reuse rate
229
+ - Coverage percentage
230
+
231
+ ### Quality Metrics
232
+ - Bug counts by priority
233
+ - Test coverage
234
+ - Security issues
235
+ - Performance improvements
236
+
237
+ ## Philosophy
238
+
239
+ > "Each unit of engineering work should make subsequent units of work easier—not harder."
240
+
241
+ ### Core Principles
242
+ 1. **Single Source of Truth** - All docs in `.agent/`
243
+ 2. **Strict Enforcement** - BRAIN enforces rules
244
+ 3. **Compound Learning** - Knowledge compounds over time
245
+ 4. **IDE Agnostic** - Core logic portable
246
+ 5. **Maintainable** - Clear separation of concerns
247
+
248
+ ## Quick Reference
249
+
250
+ ### Start New Project
251
+ ```
252
+ @BRAIN - Build [description]
253
+ or
254
+ @PM - Create project plan for [description]
255
+ ```
256
+
257
+ ### Check Status
258
+ ```
259
+ @BRAIN /status
260
+ ```
261
+
262
+ ### Small Task
263
+ ```
264
+ @DEV /cycle - [task description]
265
+ ```
266
+
267
+ ### Complex Feature
268
+ ```
269
+ @SA /explore - [feature description]
270
+ ```
271
+
272
+ ### Full Automation
273
+ ```
274
+ @ORCHESTRATOR --mode=full-auto
275
+ [project description]
276
+ ```
277
+
278
+ ### Search Knowledge
279
+ ```
280
+ Search .agent/knowledge-base/INDEX.md
281
+ ```
282
+
283
+ ### Document Solution
284
+ ```
285
+ @DEV /compound - [solution description]
286
+ ```
287
+
288
+ ## Support
289
+
290
+ ### Documentation
291
+ - **Kiro Guide:** `KIRO-IDE.md`
292
+ - **Architecture:** `docs/ARCHITECTURE-OVERVIEW.md`
293
+ - **BRAIN Details:** `docs/BRAIN-ARCHITECTURE.md`
294
+ - **Diagrams:** `docs/SDLC-Diagram.md`
295
+
296
+ ### Troubleshooting
297
+ - Check `.kiro/steering/` files exist
298
+ - Verify `.agent/roles/` files exist
299
+ - Use `@BRAIN /status` for workflow state
300
+ - Review `docs/SETUP-COMPLETE.md`
301
+
302
+ ---
303
+
304
+ **Version:** 1.0.0
305
+ **Created:** 2026-01-02
306
+ **Status:** Production Ready ✅
307
+ **Supported:** Kiro IDE, Antigravity
308
+
309
+ #integration #kiro-ide #antigravity #teamlifecycle #brain
@@ -0,0 +1,381 @@
1
+ # Kiro IDE Integration Guide
2
+
3
+ ## Overview
4
+
5
+ Kiro IDE integration is handled through the `.kiro/steering/` directory, which contains lightweight reference files that point to the source documentation in `.agent/`.
6
+
7
+ ## Architecture
8
+
9
+ ```
10
+ User (Kiro IDE)
11
+
12
+ .kiro/steering/ # Lightweight references (auto-loaded)
13
+
14
+ .agent/ # Source of truth
15
+ ├── roles/ # Full role documentation
16
+ ├── workflows/ # Workflow implementations
17
+ └── knowledge-base/ # Compound learning system
18
+ ```
19
+
20
+ ## File Structure
21
+
22
+ ### Kiro Steering Files
23
+ ```
24
+ .kiro/steering/
25
+ ├── README.md # Steering guide
26
+ ├── 00-teamlifecycle-overview.md # Always loaded
27
+ ├── global-rules.md # Always loaded
28
+ ├── critical-patterns.md # Always loaded
29
+ ├── compound-learning.md # Always loaded
30
+ ├── workflow-enhancements.md # Always loaded
31
+ ├── workflow-routing.md # Always loaded
32
+ ├── role-brain.md # @BRAIN reference
33
+ ├── role-pm.md # @PM reference
34
+ ├── role-po.md # @PO reference
35
+ ├── role-sa.md # @SA reference
36
+ ├── role-uiux.md # @UIUX reference
37
+ ├── role-qa.md # @QA reference
38
+ ├── role-seca.md # @SECA reference
39
+ ├── role-dev.md # @DEV reference
40
+ ├── role-devops.md # @DEVOPS reference
41
+ ├── role-tester.md # @TESTER reference
42
+ ├── role-reporter.md # @REPORTER reference
43
+ ├── role-stakeholder.md # @STAKEHOLDER reference
44
+ └── role-orchestrator.md # @ORCHESTRATOR reference
45
+ ```
46
+
47
+ ### Source Files
48
+ ```
49
+ .agent/roles/
50
+ ├── role-brain.md # Full BRAIN documentation
51
+ ├── role-pm.md # Full PM documentation
52
+ ├── role-po.md # Full PO documentation
53
+ ├── role-sa.md # Full SA documentation
54
+ ├── role-uiux.md # Full UIUX documentation
55
+ ├── role-qa.md # Full QA documentation
56
+ ├── role-seca.md # Full SECA documentation
57
+ ├── role-dev.md # Full DEV documentation
58
+ ├── role-devops.md # Full DEVOPS documentation
59
+ ├── role-tester.md # Full TESTER documentation
60
+ ├── role-reporter.md # Full REPORTER documentation
61
+ ├── role-stakeholder.md # Full STAKEHOLDER documentation
62
+ └── role-orchestrator.md # Full ORCHESTRATOR documentation
63
+ ```
64
+
65
+ ## How It Works
66
+
67
+ ### 1. Automatic Loading
68
+ Kiro IDE automatically loads all files in `.kiro/steering/` based on their frontmatter:
69
+
70
+ ```yaml
71
+ ---
72
+ inclusion: always # Loaded in every conversation
73
+ ---
74
+ ```
75
+
76
+ ```yaml
77
+ ---
78
+ inclusion: manual # Loaded when keywords mentioned
79
+ keywords: ["@PM", "project manager", "planning"]
80
+ ---
81
+ ```
82
+
83
+ ### 2. Reference Pattern
84
+ Each role file in `.kiro/steering/` is a lightweight reference:
85
+
86
+ ```markdown
87
+ ---
88
+ inclusion: manual
89
+ keywords: ["@PM", "project manager"]
90
+ source: .agent/roles/role-pm.md
91
+ ---
92
+
93
+ # @PM - Project Manager
94
+
95
+ **Source:** `.agent/roles/role-pm.md`
96
+
97
+ ## Quick Reference
98
+ [Brief overview and commands]
99
+
100
+ For complete documentation, see `.agent/roles/role-pm.md`
101
+ ```
102
+
103
+ ### 3. Source of Truth
104
+ Full documentation lives in `.agent/roles/`:
105
+
106
+ ```markdown
107
+ ---
108
+ title: "@PM - Project Manager"
109
+ version: 1.0.0
110
+ category: role
111
+ priority: high
112
+ ---
113
+
114
+ # Project Manager (PM) Role
115
+
116
+ [Complete documentation with all details]
117
+ ```
118
+
119
+ ## Usage in Kiro IDE
120
+
121
+ ### Activating Roles
122
+
123
+ Simply mention the role in your message:
124
+
125
+ ```
126
+ @PM - Build a todo app with React
127
+ ```
128
+
129
+ Kiro will:
130
+ 1. Detect the `@PM` keyword
131
+ 2. Load `.kiro/steering/role-pm.md`
132
+ 3. Reference `.agent/roles/role-pm.md` for full context
133
+ 4. Execute the PM role
134
+
135
+ ### Using BRAIN Master Orchestrator
136
+
137
+ ```
138
+ @BRAIN - Build a todo app
139
+
140
+ @BRAIN /status
141
+
142
+ @BRAIN /validate
143
+
144
+ @BRAIN /auto-execute
145
+ ```
146
+
147
+ ### Using Enhanced Workflows
148
+
149
+ ```
150
+ @DEV /cycle - Fix login button on mobile
151
+
152
+ @SA /explore - Real-time notification architecture
153
+
154
+ @DEV /compound - Document React hydration fix
155
+
156
+ @DEV /emergency - P0: Payment gateway down
157
+
158
+ @ORCHESTRATOR /housekeeping
159
+ ```
160
+
161
+ ### Using Full Automation
162
+
163
+ ```
164
+ @ORCHESTRATOR --mode=full-auto
165
+ Build a complete authentication system with OAuth
166
+ ```
167
+
168
+ ## Available Commands
169
+
170
+ ### BRAIN Commands
171
+ - `@BRAIN /status` - Show current workflow state
172
+ - `@BRAIN /validate` - Validate phase completion
173
+ - `@BRAIN /auto-execute` - Full automation mode
174
+ - `@BRAIN /rollback [STATE]` - Rollback to previous state
175
+ - `@BRAIN /force-transition [REASON]` - Emergency bypass
176
+
177
+ ### Role Mentions
178
+ - `@PM` - Project Manager
179
+ - `@PO` - Product Owner
180
+ - `@SA` - System Analyst
181
+ - `@UIUX` - UI/UX Designer
182
+ - `@QA` - Quality Assurance
183
+ - `@SECA` - Security Analyst
184
+ - `@DEV` - Developer
185
+ - `@DEVOPS` - DevOps Engineer
186
+ - `@TESTER` - Tester
187
+ - `@REPORTER` - Reporter
188
+ - `@STAKEHOLDER` - Stakeholder
189
+ - `@ORCHESTRATOR` - Orchestrator
190
+
191
+ ### Enhanced Workflows
192
+ - `/cycle` - Complete task lifecycle (< 4 hours)
193
+ - `/explore` - Deep investigation
194
+ - `/compound` - Capture knowledge
195
+ - `/emergency` - Critical incident response
196
+ - `/housekeeping` - Cleanup and maintenance
197
+ - `/route` - Intelligent workflow selection
198
+
199
+ ## Workflow States
200
+
201
+ BRAIN manages these workflow states:
202
+
203
+ ```
204
+ IDLE → PLANNING → PLAN_APPROVAL → DESIGNING → DESIGN_REVIEW →
205
+ DEVELOPMENT → TESTING → BUG_FIXING → DEPLOYMENT → REPORTING →
206
+ FINAL_REVIEW → FINAL_APPROVAL → COMPLETE
207
+ ```
208
+
209
+ ### Approval Gates 🚪
210
+ 1. **Project Plan** - After PLANNING
211
+ 2. **Design** - After DESIGN_REVIEW (if issues)
212
+ 3. **Final Delivery** - After FINAL_REVIEW
213
+
214
+ ### Parallel Execution ⚡
215
+ - **Design Phase:** @SA + @UIUX + @PO work simultaneously
216
+ - **Review Phase:** @QA + @SECA work simultaneously
217
+ - **Development Phase:** @DEV + @DEVOPS work simultaneously
218
+
219
+ ## Examples
220
+
221
+ ### Example 1: Simple Task
222
+ ```
223
+ User: @DEV /cycle - Add user avatar upload
224
+
225
+ Kiro executes:
226
+ 1. Loads role-dev.md reference
227
+ 2. Accesses full documentation from .agent/roles/role-dev.md
228
+ 3. Executes /cycle workflow
229
+ 4. Completes task with atomic commit
230
+ 5. Compounds knowledge if non-obvious
231
+ ```
232
+
233
+ ### Example 2: Full Project with BRAIN
234
+ ```
235
+ User: @BRAIN - Build a todo app with React
236
+
237
+ BRAIN:
238
+ 🧠 BRAIN Initialized
239
+ State: IDLE → PLANNING
240
+ Activating @PM...
241
+
242
+ PM creates plan → User approves → BRAIN transitions to DESIGNING
243
+ @SA + @UIUX + @PO work in parallel → BRAIN validates completion
244
+ @QA + @SECA review → BRAIN checks for issues
245
+ @DEV + @DEVOPS implement → BRAIN monitors progress
246
+ @TESTER tests → BRAIN checks for bugs
247
+ @DEVOPS deploys → BRAIN validates deployment
248
+ @REPORTER documents → BRAIN reviews completeness
249
+ @STAKEHOLDER approves → BRAIN marks COMPLETE ✅
250
+ ```
251
+
252
+ ### Example 3: Check Status
253
+ ```
254
+ User: @BRAIN /status
255
+
256
+ 📊 Workflow Status
257
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
258
+ Current State: DESIGNING
259
+ Sprint: sprint-1
260
+ Phase Progress: 3/12 (25%)
261
+
262
+ ✅ Completed:
263
+ - PLANNING: @PM (Project-Plan-v1.md)
264
+ - PLAN_APPROVAL: User approved
265
+
266
+ 🔄 In Progress:
267
+ - @SA: Architecture spec (80%)
268
+ - @UIUX: UI/UX spec (60%)
269
+ - @PO: Product backlog (90%)
270
+
271
+ ⏳ Pending:
272
+ - DESIGN_REVIEW: @QA + @SECA
273
+ - DEVELOPMENT: @DEV + @DEVOPS
274
+ - ... (remaining phases)
275
+
276
+ 🚪 Next Gate: Design Approval (after QA + SECA review)
277
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
278
+ ```
279
+
280
+ ## Customization
281
+
282
+ ### Adding New Roles
283
+
284
+ 1. Create full documentation in `.agent/roles/role-[name].md`
285
+ 2. Create reference in `.kiro/steering/role-[name].md`:
286
+
287
+ ```markdown
288
+ ---
289
+ inclusion: manual
290
+ keywords: ["@NEWROLE", "new role"]
291
+ source: .agent/roles/role-[name].md
292
+ ---
293
+
294
+ # @NEWROLE - New Role Name
295
+
296
+ **Source:** `.agent/roles/role-[name].md`
297
+
298
+ [Quick reference content]
299
+
300
+ For complete documentation, see `.agent/roles/role-[name].md`
301
+ ```
302
+
303
+ 3. Update `.kiro/steering/00-teamlifecycle-overview.md` to include new role
304
+
305
+ ### Modifying Existing Roles
306
+
307
+ 1. Edit the source file in `.agent/roles/role-[name].md`
308
+ 2. Optionally update quick reference in `.kiro/steering/role-[name].md`
309
+ 3. Kiro will automatically use the updated documentation
310
+
311
+ ## Benefits
312
+
313
+ ### Single Source of Truth
314
+ - All documentation in `.agent/`
315
+ - Update once, reference everywhere
316
+ - No duplication or drift
317
+
318
+ ### IDE Agnostic
319
+ - Core logic not tied to Kiro
320
+ - Can port to other IDEs easily
321
+ - Maintains consistency
322
+
323
+ ### Lightweight References
324
+ - Kiro loads small reference files
325
+ - Full context accessed on-demand
326
+ - Better performance
327
+
328
+ ### Maintainable
329
+ - Clear separation of concerns
330
+ - Easy to update and extend
331
+ - Version control friendly
332
+
333
+ ## Troubleshooting
334
+
335
+ ### Role Not Activating
336
+
337
+ **Check:**
338
+ 1. Reference file exists: `.kiro/steering/role-[name].md`
339
+ 2. Source file exists: `.agent/roles/role-[name].md`
340
+ 3. Keywords are correct in frontmatter
341
+ 4. Mention exact keyword in message (e.g., `@PM`)
342
+
343
+ ### Commands Not Working
344
+
345
+ **Check:**
346
+ 1. Command syntax is correct (e.g., `@BRAIN /status`)
347
+ 2. Role is activated before using commands
348
+ 3. Kiro has access to project files
349
+
350
+ ### Workflow Not Progressing
351
+
352
+ **Check:**
353
+ 1. BRAIN is managing the workflow (`@BRAIN` mentioned)
354
+ 2. Approval gates are satisfied
355
+ 3. Required artifacts exist
356
+ 4. No critical/high bugs blocking progress
357
+
358
+ ## Documentation
359
+
360
+ - **Architecture:** `docs/ARCHITECTURE-OVERVIEW.md`
361
+ - **BRAIN Details:** `docs/BRAIN-ARCHITECTURE.md`
362
+ - **Diagrams:** `docs/SDLC-Diagram.md`
363
+ - **Setup Guide:** `docs/SETUP-COMPLETE.md`
364
+ - **Steering README:** `.kiro/steering/README.md`
365
+ - **Agent README:** `.agent/README.md`
366
+
367
+ ## Support
368
+
369
+ For issues or questions:
370
+ 1. Check documentation in `docs/`
371
+ 2. Review role definitions in `.agent/roles/`
372
+ 3. Check steering files in `.kiro/steering/`
373
+ 4. Use `@BRAIN /status` to check workflow state
374
+
375
+ ---
376
+
377
+ **Version:** 1.0.0
378
+ **Created:** 2026-01-02
379
+ **Status:** Production Ready ✅
380
+
381
+ #kiro-ide #integration #teamlifecycle