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,179 @@
1
+ ---
2
+ description: [Utility] Metrics - Project Statistics
3
+ ---
4
+
5
+ # /metrics - Metrics Dashboard Generator
6
+
7
+ ## ⚠️ PURPOSE
8
+ Analyzes KB entries, workflow usage, and project health to generate a metrics dashboard showing learning velocity, quality indicators, and system health.
9
+
10
+ ## Quick Commands
11
+
12
+ ```bash
13
+ # Generate dashboard
14
+ python tools/kb/metrics-dashboard.py
15
+
16
+ # Weekly report focus
17
+ python tools/kb/metrics-dashboard.py --weekly
18
+
19
+ # Sprint-specific metrics
20
+ python tools/kb/metrics-dashboard.py --sprint 6
21
+
22
+ # Custom output path
23
+ python tools/kb/metrics-dashboard.py --output ./my-report.md
24
+ ```
25
+
26
+ ## What It Measures
27
+
28
+ ### 1. Knowledge Base Metrics
29
+ - **Total KB Entries:** Count of all knowledge entries
30
+ - **This Week:** Entries added in last 7 days
31
+ - **This Month:** Entries added in last 30 days
32
+ - **Category Breakdown:** Distribution across categories
33
+
34
+ ### 2. Learning Velocity
35
+ - Entries per week trend
36
+ - Strong (3+), Moderate (1-2), Low (0)
37
+
38
+ ### 3. Time Saved
39
+ - Estimated hours saved per entry
40
+ - Total accumulated time saved
41
+ - Average time per entry
42
+
43
+ ### 4. Quality Indicators
44
+ - Priority distribution (critical, high, medium, low)
45
+ - Category diversity
46
+ - Contributor activity
47
+
48
+ ## Console Output
49
+
50
+ ```
51
+ ============================================================
52
+ Metrics Dashboard Generator
53
+ ============================================================
54
+ [INFO] Analyzing knowledge base...
55
+ [OK] Analyzed 12 entries
56
+
57
+ ============================================================
58
+ Quick Stats
59
+ ============================================================
60
+ Total Entries: 12
61
+ This Week: +3
62
+ This Month: +8
63
+ Total Time Saved: 24 hours
64
+
65
+ Health Status: Good
66
+ ```
67
+
68
+ ## Dashboard Report
69
+
70
+ Generates `docs/reports/Metrics-Dashboard-YYYY-MM-DD.md`:
71
+
72
+ ```markdown
73
+ # 📊 Metrics Dashboard
74
+
75
+ **Generated:** 2026-01-03 18:30
76
+ **Overall Health:** 🟢 Excellent
77
+
78
+ ---
79
+
80
+ ## Executive Summary
81
+
82
+ | Metric | Value |
83
+ |--------|-------|
84
+ | Total KB Entries | 12 |
85
+ | This Week | +3 |
86
+ | This Month | +8 |
87
+ | Total Time Saved | 24 hours |
88
+ | Avg Time per Entry | 2.0 hours |
89
+
90
+ ---
91
+
92
+ ## 📈 Learning Velocity
93
+
94
+ ✅ **Strong learning velocity** - Team is actively documenting solutions
95
+
96
+ ---
97
+
98
+ ## 📁 Category Breakdown
99
+
100
+ | Category | Count | % |
101
+ |----------|-------|---|
102
+ | feature | 7 | 58% |
103
+ | bug | 3 | 25% |
104
+ | security | 2 | 17% |
105
+
106
+ ---
107
+
108
+ ## ⚠️ Priority Distribution
109
+
110
+ | Priority | Count |
111
+ |----------|-------|
112
+ | 🟠 High | 4 |
113
+ | 🟡 Medium | 6 |
114
+ | 🟢 Low | 2 |
115
+
116
+ ---
117
+
118
+ ## 👥 Top Contributors
119
+
120
+ | Author | Entries |
121
+ |--------|---------|
122
+ | @DEV | 5 |
123
+ | @SA | 3 |
124
+ | @TESTER | 2 |
125
+
126
+ ---
127
+
128
+ ## 🎯 Recommendations
129
+
130
+ - ✅ Keep up the great work!
131
+ ```
132
+
133
+ ## Health Score Calculation
134
+
135
+ | Points | Criteria |
136
+ |--------|----------|
137
+ | +30 | 20+ total entries |
138
+ | +20 | 10-19 total entries |
139
+ | +30 | 3+ entries this week |
140
+ | +15 | 1-2 entries this week |
141
+ | +20 | 5+ categories |
142
+ | +20 | 10+ hours time saved |
143
+
144
+ | Score | Status |
145
+ |-------|--------|
146
+ | 80-100 | 🟢 Excellent |
147
+ | 50-79 | 🟡 Good |
148
+ | 0-49 | 🔴 Needs Attention |
149
+
150
+ ## Recommendations Engine
151
+
152
+ Auto-generates recommendations based on:
153
+ - Low documentation velocity
154
+ - Missing bug documentation
155
+ - Missing architecture decisions
156
+ - Unbalanced category distribution
157
+
158
+ ## When to Run
159
+
160
+ - **Weekly:** Track learning velocity
161
+ - **End of Sprint:** Generate sprint metrics
162
+ - **Monthly:** Long-term trend analysis
163
+ - **Stakeholder Reports:** Project health overview
164
+
165
+ ## Integration
166
+
167
+ - **/brain** - Uses KB data for recommendations
168
+ - **/compound** - Creates entries that affect metrics
169
+ - **/housekeeping** - References health status
170
+ - **/sprint close** - Include metrics in retrospective
171
+
172
+ #metrics #dashboard #analytics #health #knowledge-base
173
+
174
+
175
+ ---
176
+
177
+ ## ENFORCEMENT REMINDER
178
+ Before executing, complete /preflight checks.
179
+
@@ -0,0 +1,68 @@
1
+ ---
2
+ description: [Process] Orchestrator - Full Automation Workflow
3
+ ---
4
+
5
+ # Orchestrator Workflow
6
+
7
+ > **Master Controller:** [View @BRAIN Skill](../../skills/role-brain.md)
8
+ >
9
+ > **⚠️ Supervised by @BRAIN.** Report status on each phase transition.
10
+
11
+ ## ⚠️ STRICT EXECUTION PROTOCOL (MANDATORY)
12
+ All phases must be executed in order. No skipping.
13
+
14
+ ## State Machine Integration
15
+ This workflow follows the state machine defined in `@BRAIN`. Before each phase transition:
16
+ 1. Run `python tools/brain/brain_cli.py validate` to check prerequisites
17
+ 2. Run `python tools/brain/brain_cli.py transition <NEW_STATE>` to update state
18
+ 3. Artifacts required per state are validated automatically
19
+
20
+ ### 0.0 **Team Communication (MANDATORY):**
21
+ - **Announce:** `python tools/communication/cli.py send --channel general --thread "SDLC-Flow" --role ORCHESTRATOR --content "Starting Full SDLC Automation."`
22
+
23
+ ### 0.1 **Initialize State (If New Sprint):**
24
+ ```bash
25
+ python tools/brain/brain_cli.py init <SPRINT_NUMBER>
26
+ ```
27
+
28
+ ## SDLC Flow (State Transitions)
29
+
30
+ ### Phase 1: Planning (@PM)
31
+ - Research, create Project Plan, wait for User approval.
32
+
33
+ ### Phase 2: Requirements (@BA)
34
+ - Create User Stories with Gherkin acceptance criteria.
35
+
36
+ ### Phase 3: Design (@SA + @UIUX)
37
+ - Create Backend and UI/UX design specs.
38
+
39
+ ### Phase 4: Design Verification (@TESTER + @SECA)
40
+ - Review designs for quality and security.
41
+
42
+ ### Phase 5: Development (@DEV + @DEVOPS)
43
+ - Feature branch, atomic commits, PRs, GitHub issues.
44
+
45
+ ### Phase 6: Testing (@TESTER)
46
+ - E2E testing, provide `#testing-passed`.
47
+
48
+ ### Phase 7: Bug Fixing (@DEV)
49
+ - Fix bugs, update KB.
50
+
51
+ ### Phase 8: Deployment (@DEVOPS)
52
+ - Merge to main, deploy to staging/production.
53
+
54
+ ### Phase 9-10: Reporting & Closure (@PM)
55
+ - Update CHANGELOG, Final Review.
56
+
57
+ ### Phase 11: Self-Learning
58
+ - Run: `python tools/neo4j/sync_skills_to_neo4j.py`
59
+ - Run: `python tools/neo4j/learning_engine.py --record-success`
60
+
61
+ #orchestrator #automation #sdlc
62
+ ---
63
+ ## ⚠️ ENFORCEMENT REMINDER
64
+ Before executing this workflow, agent MUST:
65
+ 1. Have completed /preflight checks
66
+ 2. Searched knowledge base for similar tasks
67
+ 3. Checked current brain state
68
+ Failure to complete pre-flight = workflow violation.
@@ -0,0 +1,35 @@
1
+ ---
2
+ description: [Support] Pre-flight workflow checker - Run BEFORE any task
3
+ ---
4
+ # Pre-Flight Workflow
5
+ > **MANDATORY:** This workflow MUST be executed conceptually before ANY task.
6
+ ## Step 1: Identify Task Type
7
+ Analyze user request and determine:
8
+ - Is this a new feature? -> Use /orchestrator
9
+ - Is this a bug fix? -> Use /cycle
10
+ - Is this investigation? -> Use /explore
11
+ - Is this emergency? -> Use /emergency
12
+ ## Step 2: Read Workflow File
13
+ `bash
14
+ # For /orchestrator tasks
15
+ cat .agent/workflows/orchestrator.md
16
+ # For /cycle tasks
17
+ cat .agent/workflows/cycle.md
18
+ `
19
+ ## Step 3: Search Knowledge Base
20
+ `bash
21
+ grep -r "relevant_keyword" .agent/knowledge-base/
22
+ `
23
+ ## Step 4: Check Brain State
24
+ `bash
25
+ python tools/brain/brain_cli.py status
26
+ `
27
+ ## Step 5: Identify Required Roles
28
+ Based on task type, activate roles:
29
+ - @PM for planning
30
+ - @SA for architecture
31
+ - @DEV for implementation
32
+ - @TESTER for testing
33
+ ## Step 6: Proceed with Workflow
34
+ Now follow the identified workflow file step-by-step.
35
+ #preflight #mandatory #enforcement
@@ -0,0 +1,153 @@
1
+ ---
2
+ description: [Support] Release Management Workflow
3
+ ---
4
+
5
+ # /release - Changelog and Version Management
6
+
7
+ ## ⚠️ STRICT EXECUTION PROTOCOL (MANDATORY)
8
+ 1. **CONVENTIONAL COMMITS:** All commits must follow conventional commit format.
9
+ 2. **SEMVER:** Version bumps follow semantic versioning.
10
+ 3. **CHANGELOG:** Update CHANGELOG.md before releasing.
11
+
12
+ ## Quick Commands
13
+
14
+ ```bash
15
+ # Preview changes (dry run)
16
+ python tools/release/release.py preview
17
+
18
+ # Generate changelog only
19
+ python tools/release/release.py changelog --sprint 6
20
+
21
+ # Bump version only
22
+ python tools/release/release.py version --auto
23
+
24
+ # Full release cycle
25
+ python tools/release/release.py release --commit --tag --push --publish
26
+ ```
27
+
28
+ ## Conventional Commit Format
29
+
30
+ ```
31
+ type(scope): description
32
+
33
+ feat(landing): add hero section animation
34
+ fix(api): resolve timeout issue
35
+ docs(kb): update authentication guide
36
+ refactor(core): extract utility functions
37
+ ```
38
+
39
+ ### Types and Changelog Categories
40
+
41
+ | Type | Changelog Category | Version Bump |
42
+ |------|-------------------|--------------|
43
+ | `feat` | Added | Minor |
44
+ | `fix` | Fixed | Patch |
45
+ | `docs` | Documentation | Patch |
46
+ | `refactor` | Changed | Patch |
47
+ | `perf` | Performance | Patch |
48
+ | `test` | Testing | - |
49
+ | `chore` | Maintenance | - |
50
+ | `BREAKING CHANGE` | Breaking | Major |
51
+
52
+ ### Scopes (Optional)
53
+
54
+ | Scope | Tag in Changelog |
55
+ |-------|------------------|
56
+ | `landing` | [Landing Page] |
57
+ | `agent` | [Agent System] |
58
+ | `workflow` | [Workflows] |
59
+ | `kb` | [Knowledge Base] |
60
+ | `tools` | [Tools] |
61
+ | `ui` | [UI] |
62
+ | `api` | [API] |
63
+
64
+ ## Workflow Steps
65
+
66
+ ### 1. Preview Changes
67
+ ```bash
68
+ python tools/release/release.py preview --sprint 6
69
+ ```
70
+ Shows:
71
+ - Last git tag
72
+ - Current version
73
+ - Commits since last release
74
+ - Auto-detected bump type
75
+ - Preview changelog entry
76
+
77
+ ### 2. Generate Changelog
78
+ ```bash
79
+ python tools/release/release.py changelog --sprint 6 --dry-run
80
+ ```
81
+ - Parses commits since last tag
82
+ - Categorizes by type
83
+ - Generates markdown section
84
+ - Inserts into CHANGELOG.md
85
+
86
+ ### 3. Bump Version
87
+ ```bash
88
+ # Auto-detect based on commits
89
+ python tools/release/release.py version --auto
90
+
91
+ # Explicit bump type
92
+ python tools/release/release.py version --bump minor
93
+ ```
94
+ Updates `package.json` version.
95
+
96
+ ### 4. Full Release
97
+ ```bash
98
+ python tools/release/release.py release --sprint 6 --commit --tag --push --publish
99
+ ```
100
+ Executes:
101
+ 1. Parse commits
102
+ 2. Detect bump type
103
+ 3. Generate changelog
104
+ 4. Update version
105
+ 5. Commit changes (optional)
106
+ 6. Create git tag (optional)
107
+ 7. Push changes (optional)
108
+ 8. Publish to npm/bun (optional)
109
+
110
+ ### 5. Manual Push (Backup)
111
+ ```bash
112
+ git add CHANGELOG.md package.json
113
+ git commit -m "chore(release): v1.2.0"
114
+ git push && git push --tags
115
+ ```
116
+
117
+ ## Example Changelog Output
118
+
119
+ ```markdown
120
+ ## [1.2.0] - 2026-01-03 (Sprint 6)
121
+
122
+ ### Added
123
+ - [Landing Page] Hero section with animations
124
+ - [Agent System] New orchestrator workflow
125
+
126
+ ### Fixed
127
+ - [API] Timeout issue in authentication
128
+ - [KB] Index update race condition
129
+
130
+ ### Documentation
131
+ - Updated quick start guide
132
+ - Added MCP integration docs
133
+ ```
134
+
135
+ ## Integration
136
+
137
+ - **Package Scripts:**
138
+ ```bash
139
+ bun run release:preview # Preview changes
140
+ bun run release:changelog # Generate changelog
141
+ bun run release # Full release
142
+ ```
143
+
144
+ - **CI/CD:** Can be triggered in GitHub Actions
145
+
146
+ #release #versioning #changelog #semver #git-tags
147
+
148
+
149
+ ---
150
+
151
+ ## ENFORCEMENT REMINDER
152
+ Before executing, complete /preflight checks.
153
+
@@ -0,0 +1,160 @@
1
+ ---
2
+ description: [Support] Route - Workflow Selection Helper
3
+ ---
4
+
5
+ # /route - Intelligent Request Routing
6
+
7
+ ## ⚠️ PURPOSE
8
+ Analyzes user requests and routes to the appropriate workflow or role. Use when unsure which workflow to invoke.
9
+
10
+ ## Quick Reference
11
+
12
+ ### By Request Type
13
+
14
+ | Request Type | Recommended Route |
15
+ |--------------|-------------------|
16
+ | "Build a new feature" | `/orchestrator` or `/pm` → full SDLC |
17
+ | "Fix this bug" | `/dev` or `/emergency` (if P0) |
18
+ | "Review this design" | `/tester` + `/seca` |
19
+ | "Set up infrastructure" | `/devops` |
20
+ | "Create user stories" | `/ba` |
21
+ | "Design the UI" | `/uiux` |
22
+ | "Design the API" | `/sa` |
23
+ | "How do I..." | `/explore` first, then appropriate role |
24
+
25
+ ### By Urgency
26
+
27
+ | Urgency | Route |
28
+ |---------|-------|
29
+ | 🔴 Production down | `/emergency --severity P0` |
30
+ | 🟠 Major bug | `/emergency --severity P1` |
31
+ | 🟡 Normal task | `/cycle` |
32
+ | 🟢 Investigation | `/explore` |
33
+
34
+ ### By Phase
35
+
36
+ | SDLC Phase | Route |
37
+ |------------|-------|
38
+ | Planning | `/pm` |
39
+ | Requirements | `/ba` |
40
+ | Design | `/sa` + `/uiux` |
41
+ | Verification | `/tester` + `/seca` |
42
+ | Implementation | `/dev` |
43
+ | Testing | `/tester` |
44
+ | Deployment | `/devops` |
45
+ | Closure | `/pm` |
46
+
47
+ ## Decision Tree
48
+
49
+ ```
50
+ Is this an emergency?
51
+ ├── Yes → /emergency
52
+ └── No → Continue
53
+
54
+ Is this a full project/feature?
55
+ ├── Yes → /orchestrator (full automation)
56
+ └── No → Continue
57
+
58
+ Is this a single task?
59
+ ├── Yes → /cycle
60
+ └── No → Continue
61
+
62
+ What phase are you in?
63
+ ├── Planning → /pm
64
+ ├── Requirements → /ba
65
+ ├── Design → /sa or /uiux
66
+ ├── Review → /tester or /seca
67
+ ├── Development → /dev
68
+ ├── Testing → /tester
69
+ └── Deployment → /devops
70
+
71
+ Need maintenance?
72
+ ├── Brain sync → /brain
73
+ ├── Cleanup → /housekeeping
74
+ ├── Validation → /validate
75
+ ├── Metrics → /metrics
76
+ └── Release → /release
77
+ ```
78
+
79
+ ## Role Selection Guide
80
+
81
+ ### @PM - Project Manager
82
+ **Use when:**
83
+ - Starting a new project
84
+ - Creating project plans
85
+ - Tracking sprint progress
86
+ - Generating reports
87
+
88
+ ### @BA - Business Analyst
89
+ **Use when:**
90
+ - Gathering requirements
91
+ - Writing user stories
92
+ - Defining acceptance criteria
93
+
94
+ ### @SA - System Analyst
95
+ **Use when:**
96
+ - Designing architecture
97
+ - Creating API specifications
98
+ - Making technical decisions
99
+
100
+ ### @UIUX - UI/UX Designer
101
+ **Use when:**
102
+ - Designing interfaces
103
+ - Creating wireframes
104
+ - Ensuring accessibility
105
+
106
+ ### @DEV - Developer
107
+ **Use when:**
108
+ - Implementing features
109
+ - Writing code
110
+ - Fixing bugs
111
+
112
+ ### @TESTER - Tester
113
+ **Use when:**
114
+ - Reviewing designs
115
+ - Writing test plans
116
+ - Executing E2E tests
117
+
118
+ ### @SECA - Security Analyst
119
+ **Use when:**
120
+ - Security review
121
+ - Threat modeling
122
+ - Compliance checking
123
+
124
+ ### @DEVOPS - DevOps Engineer
125
+ **Use when:**
126
+ - Setting up CI/CD
127
+ - Managing deployments
128
+ - Merging PRs
129
+
130
+ ## Common Patterns
131
+
132
+ ### New Feature Request
133
+ ```
134
+ /pm → /ba → /sa + /uiux → /tester + /seca → /dev → /tester → /devops
135
+ ```
136
+
137
+ ### Bug Fix
138
+ ```
139
+ Minor: /cycle
140
+ Major: /emergency → /dev → /tester → /devops → /compound
141
+ ```
142
+
143
+ ### Documentation Update
144
+ ```
145
+ /dev (for code docs) or /pm (for project docs)
146
+ ```
147
+
148
+ ### Maintenance
149
+ ```
150
+ /housekeeping → /validate → /metrics → /brain
151
+ ```
152
+
153
+ #route #routing #decision-tree #workflow-selection
154
+
155
+
156
+ ---
157
+
158
+ ## ENFORCEMENT REMINDER
159
+ Before executing, complete /preflight checks.
160
+
@@ -0,0 +1,125 @@
1
+ ---
2
+ description: [Process] Sprint Management Workflow
3
+ ---
4
+
5
+ # /sprint - Sprint Lifecycle Management
6
+
7
+ ## ⚠️ STRICT EXECUTION PROTOCOL (MANDATORY)
8
+ 1. **SPRINT START:** Create folder structure and archive previous sprint.
9
+ 2. **SPRINT STATUS:** Monitor progress during sprint.
10
+ 3. **SPRINT CLOSE:** Generate review and retrospective templates.
11
+
12
+ ## Quick Commands
13
+
14
+ ```bash
15
+ # Start a new sprint
16
+ python tools/workflows/sprint.py start 6
17
+
18
+ # Check current sprint status
19
+ python tools/workflows/sprint.py status
20
+
21
+ # Close a sprint
22
+ python tools/workflows/sprint.py close 5
23
+ ```
24
+
25
+ ## Sprint Start
26
+
27
+ ### What It Does
28
+ 1. **Archives previous sprint** (copies to `docs/archive/sprint-[N-1]/`)
29
+ 2. **Creates new sprint folder structure:**
30
+ ```
31
+ docs/sprints/sprint-[N]/
32
+ ├── plans/ # Sprint planning docs
33
+ ├── designs/ # Technical designs
34
+ ├── logs/ # Daily logs and notes
35
+ ├── reviews/ # Code review records
36
+ └── reports/ # Sprint reports
37
+ ```
38
+ 3. **Creates sprint README.md** with goals template
39
+ 4. **Updates current sprint** in project config
40
+
41
+ ### Usage
42
+ ```bash
43
+ python tools/workflows/sprint.py start 6
44
+ ```
45
+
46
+ ### Next Steps After Start
47
+ 1. Run `@PM /planning` to create sprint plan
48
+ 2. Sync backlog with GitHub Issues
49
+ 3. Announce sprint start to team
50
+
51
+ ## Sprint Status
52
+
53
+ ### What It Shows
54
+ - Current sprint name
55
+ - Sprint directory existence
56
+ - File counts per folder
57
+ - README presence
58
+
59
+ ### Usage
60
+ ```bash
61
+ python tools/workflows/sprint.py status
62
+ ```
63
+
64
+ ## Sprint Close
65
+
66
+ ### What It Does
67
+ 1. **Generates Sprint Review template** (`reports/Sprint-Review-[N].md`)
68
+ - Accomplishments section
69
+ - Metrics placeholders
70
+ - Demo highlights
71
+ - Stakeholder feedback
72
+
73
+ 2. **Generates Retrospective template** (`reports/Retrospective-[N].md`)
74
+ - What went well
75
+ - What didn't go well
76
+ - What we learned
77
+ - Action items for next sprint
78
+
79
+ ### Usage
80
+ ```bash
81
+ python tools/workflows/sprint.py close 5
82
+ ```
83
+
84
+ ### Next Steps After Close
85
+ 1. Fill in Sprint Review with accomplishments
86
+ 2. Complete Retrospective with team
87
+ 3. Start next sprint: `python tools/workflows/sprint.py start 6`
88
+
89
+ ## Sprint Folder Structure
90
+
91
+ ```
92
+ docs/sprints/sprint-[N]/
93
+ ├── README.md # Sprint overview and goals
94
+ ├── plans/
95
+ │ ├── Project-Plan-Sprint-[N]-v*.md
96
+ │ └── Product-Backlog-Sprint-[N]-v*.md
97
+ ├── designs/
98
+ │ ├── Backend-Design-Spec-Sprint-[N]-v*.md
99
+ │ └── UIUX-Design-Spec-Sprint-[N]-v*.md
100
+ ├── logs/
101
+ │ ├── Development-Log-Sprint-[N]-v*.md
102
+ │ └── Incident-Report-*.json
103
+ ├── reviews/
104
+ │ ├── Design-Verification-Report-Sprint-[N].md
105
+ │ └── Security-Review-Report-Sprint-[N].md
106
+ └── reports/
107
+ ├── Sprint-Review-[N].md
108
+ └── Retrospective-[N].md
109
+ ```
110
+
111
+ ## Integration with Other Workflows
112
+
113
+ - **@PM** uses sprint folders for planning artifacts
114
+ - **@DEV** logs progress in `Development-Log.md`
115
+ - **/emergency** creates incident reports in `logs/`
116
+ - **/release** references sprint in changelog
117
+
118
+ #sprint #agile #lifecycle #planning #retrospective
119
+
120
+
121
+ ---
122
+
123
+ ## ENFORCEMENT REMINDER
124
+ Before executing, complete /preflight checks.
125
+