agentic-sdlc 1.6.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent/rules/agent-execution.md +55 -0
- package/.agent/rules/ai-enforcement.md +4 -3
- package/.agent/rules/artifacts.md +1 -1
- package/.agent/rules/auto-learning.md +78 -0
- package/.agent/rules/code-quality.md +40 -0
- package/.agent/rules/global.md +2 -2
- package/.agent/rules/naming-conventions.md +55 -0
- package/.agent/skills/role-ba.md +6 -2
- package/.agent/skills/role-brain.md +5 -1
- package/.agent/skills/role-cloud.md +38 -0
- package/.agent/skills/role-dev.md +22 -1
- package/.agent/skills/role-devops.md +4 -0
- package/.agent/skills/role-game.md +35 -0
- package/.agent/skills/role-mobile.md +55 -0
- package/.agent/skills/role-orchestrator.md +4 -0
- package/.agent/skills/role-pm.md +4 -0
- package/.agent/skills/role-po.md +4 -0
- package/.agent/skills/role-reporter.md +4 -0
- package/.agent/skills/role-research.md +78 -0
- package/.agent/skills/role-sa.md +4 -0
- package/.agent/skills/role-seca.md +4 -0
- package/.agent/skills/role-stakeholder.md +4 -0
- package/.agent/skills/role-tester.md +4 -0
- package/.agent/skills/role-uiux.md +4 -0
- package/.agent/templates/Specification-Template.md +38 -0
- package/.agent/templates/ab-comparison-report.md +175 -0
- package/.agent/templates/observer-report.md +131 -0
- package/.agent/templates/quality-score-report.md +197 -0
- package/.agent/templates/self-learning-digest.md +268 -0
- package/.agent/templates/system-health-report.md +330 -0
- package/.agent/workflows/ab.md +101 -0
- package/.agent/workflows/autogen.md +65 -0
- package/.agent/workflows/brain.md +48 -37
- package/.agent/workflows/commit.md +61 -0
- package/.agent/workflows/cycle.md +32 -11
- package/.agent/workflows/debug.md +123 -0
- package/.agent/workflows/deep-search.md +82 -0
- package/.agent/workflows/docs.md +144 -0
- package/.agent/workflows/emergency.md +17 -15
- package/.agent/workflows/explore.md +15 -9
- package/.agent/workflows/housekeeping.md +24 -11
- package/.agent/workflows/metrics.md +14 -12
- package/.agent/workflows/monitor.md +98 -0
- package/.agent/workflows/observe.md +84 -0
- package/.agent/workflows/onboarding.md +135 -0
- package/.agent/workflows/orchestrator.md +12 -5
- package/.agent/workflows/planning.md +126 -0
- package/.agent/workflows/refactor.md +132 -0
- package/.agent/workflows/release.md +19 -12
- package/.agent/workflows/review.md +99 -0
- package/.agent/workflows/score.md +104 -0
- package/.agent/workflows/sprint.md +16 -14
- package/.agent/workflows/validate.md +13 -11
- package/.agent/workflows/worktree.md +154 -0
- package/CHANGELOG.md +71 -0
- package/README.md +12 -4
- package/bin/cli.js +142 -16
- package/docs/.brain-health-history.json +42 -0
- package/docs/.brain-improvements.json +53 -0
- package/docs/.brain-learner-log.json +27 -0
- package/docs/.brain-scores.json +310 -0
- package/docs/architecture/system-flow.mermaid +81 -0
- package/docs/artifacts/2026-01-05-enforcement-gates-plan.md +80 -0
- package/docs/artifacts/2026-01-05-workflow-analysis.md +231 -0
- package/docs/artifacts/README.md +26 -0
- package/docs/guides/MCP-GUIDE.md +1 -0
- package/docs/reports/2026-01-05-autogen-evaluation.md +64 -0
- package/docs/reports/2026-01-05-brain-layer-analysis.md +109 -0
- package/docs/reports/2026-01-05-repository-audit.md +253 -0
- package/docs/reports/Metrics-Dashboard-2026-01-08.md +29 -0
- package/docs/reports/Metrics-Dashboard-Final.md +29 -0
- package/docs/reports/Validation-Report-2026-01-05.md +40 -0
- package/docs/reports/Validation-Report-2026-01-08.md +40 -0
- package/docs/reports/worktrunk-audit.md +94 -0
- package/docs/solutions/README.md +96 -0
- package/docs/walkthroughs/2026-01-05-audit-implementation.md +36 -0
- package/docs/walkthroughs/2026-01-05-autonomy-release.md +54 -0
- package/docs/walkthroughs/2026-01-05-enforcement-gates.md +33 -0
- package/docs/walkthroughs/2026-01-05-judge-enhancement.md +30 -0
- package/docs/walkthroughs/2026-01-05-landing-page-orchestrator.md +52 -0
- package/docs/walkthroughs/2026-01-05-validation.md +32 -0
- package/docs/walkthroughs/2026-01-05-workflow-audit.md +89 -0
- package/docs/walkthroughs/2026-01-05-workflow-refactoring.md +44 -0
- package/docs/walkthroughs/2026-01-06-worktrunk-integration.md +41 -0
- package/docs/walkthroughs/README.md +25 -0
- package/package.json +33 -19
- package/.agent/knowledge-base/AUTO-LEARNING-GUIDE.md +0 -327
- package/.agent/knowledge-base/HOW-IT-WORKS.md +0 -365
- package/.agent/knowledge-base/INDEX.md +0 -43
- package/.agent/knowledge-base/README.md +0 -242
- package/.agent/knowledge-base/architecture/.gitkeep +0 -1
- package/.agent/knowledge-base/architecture/KB-2026-01-01-003-neo4j-graph-database-skills.md +0 -1146
- package/.agent/knowledge-base/architecture/README.md +0 -98
- package/.agent/knowledge-base/bugs/.gitkeep +0 -1
- package/.agent/knowledge-base/bugs/KB-2026-01-02-yaml-special-character-escaping.md +0 -56
- package/.agent/knowledge-base/bugs/medium/KB-2026-01-01-001-example-auto-learned.md +0 -198
- package/.agent/knowledge-base/features/.gitkeep +0 -1
- package/.agent/knowledge-base/features/KB-2026-01-01-001-landing-page-design-trends-2026.md +0 -646
- package/.agent/knowledge-base/features/KB-2026-01-01-004-uiux-design-skills-2026.md +0 -945
- package/.agent/knowledge-base/features/KB-2026-01-01-005-modern-ai-landing-page-ui.md +0 -310
- package/.agent/knowledge-base/features/KB-2026-01-01-006-award-winning-landing-page-patterns.md +0 -324
- package/.agent/knowledge-base/features/KB-2026-01-02-001-cleanup-workflow.md +0 -242
- package/.agent/knowledge-base/features/KB-2026-01-02-002-landing-page-monorepo-architecture.md +0 -148
- package/.agent/knowledge-base/features/KB-2026-01-02-003-premium-glassmorphism-patterns.md +0 -58
- package/.agent/knowledge-base/features/KB-2026-01-04-ai-agent-enforcement.md +0 -46
- package/.agent/knowledge-base/features/README.md +0 -83
- package/.agent/knowledge-base/features/figma-landing-page-workflow.md +0 -311
- package/.agent/knowledge-base/features/figma-mcp-sa-guide.md +0 -673
- package/.agent/knowledge-base/features/figma-mcp-uiux-guide.md +0 -459
- package/.agent/knowledge-base/performance/.gitkeep +0 -1
- package/.agent/knowledge-base/performance/KB-2026-01-02-lazy-loading-optimization.md +0 -80
- package/.agent/knowledge-base/platform-specific/.gitkeep +0 -1
- package/.agent/knowledge-base/platform-specific/KB-2026-01-02-windows-console-encoding.md +0 -56
- package/.agent/knowledge-base/role-guides/DEV-KB-Guide.md +0 -527
- package/.agent/knowledge-base/role-guides/DEVOPS-KB-Guide.md +0 -491
- package/.agent/knowledge-base/role-guides/PM-KB-Guide.md +0 -299
- package/.agent/knowledge-base/role-guides/SECA-KB-Guide.md +0 -555
- package/.agent/knowledge-base/role-guides/TESTER-KB-Guide.md +0 -519
- package/.agent/knowledge-base/security/.gitkeep +0 -1
- package/.agent/knowledge-base/security/KB-2026-01-02-input-validation-sanitization.md +0 -74
- package/.agent/rules/AUTO-LEARNING.md +0 -418
- package/.agent/rules/KNOWLEDGE-BASE.md +0 -45
- package/.agent/workflows/compound.md +0 -51
- package/.agent/workflows/preflight.md +0 -35
- package/.agent/workflows/route.md +0 -160
- package/bin/kb +0 -34
- package/bin/kb.bat +0 -28
- package/bin/kb_cli.py +0 -226
- package/bin/lib/README.md +0 -411
- package/bin/lib/__init__.py +0 -7
- package/bin/lib/__pycache__/kb_add.cpython-313.pyc +0 -0
- package/bin/lib/__pycache__/kb_common.cpython-313.pyc +0 -0
- package/bin/lib/__pycache__/kb_compound.cpython-313.pyc +0 -0
- package/bin/lib/__pycache__/kb_index.cpython-313.pyc +0 -0
- package/bin/lib/__pycache__/kb_list.cpython-313.pyc +0 -0
- package/bin/lib/__pycache__/kb_search.cpython-313.pyc +0 -0
- package/bin/lib/__pycache__/kb_stats.cpython-313.pyc +0 -0
- package/bin/lib/kb_add.py +0 -203
- package/bin/lib/kb_common.py +0 -224
- package/bin/lib/kb_compound.py +0 -250
- package/bin/lib/kb_index.py +0 -193
- package/bin/lib/kb_list.py +0 -144
- package/bin/lib/kb_search.py +0 -121
- package/bin/lib/kb_stats.py +0 -153
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
{
|
|
2
|
+
"scores": [
|
|
3
|
+
{
|
|
4
|
+
"file": "projects\\landing-page\\src\\components\\Features.astro",
|
|
5
|
+
"scores": {
|
|
6
|
+
"completeness": 0,
|
|
7
|
+
"quality": 8.5,
|
|
8
|
+
"compliance": 2
|
|
9
|
+
},
|
|
10
|
+
"finalScore": 3.4,
|
|
11
|
+
"passed": false,
|
|
12
|
+
"threshold": 6,
|
|
13
|
+
"timestamp": "2026-01-05T09:28:25.776905"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"file": "docs\\walkthroughs\\2026-01-05-landing-page-orchestrator.md",
|
|
17
|
+
"scores": {
|
|
18
|
+
"completeness": 0,
|
|
19
|
+
"quality": 8.5,
|
|
20
|
+
"compliance": 0
|
|
21
|
+
},
|
|
22
|
+
"finalScore": 2.5,
|
|
23
|
+
"passed": false,
|
|
24
|
+
"threshold": 6,
|
|
25
|
+
"timestamp": "2026-01-05T09:32:11.806806"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"file": "docs\\walkthroughs\\2026-01-05-landing-page-orchestrator.md",
|
|
29
|
+
"scores": {
|
|
30
|
+
"completeness": 10.0,
|
|
31
|
+
"quality": 8.5,
|
|
32
|
+
"compliance": 4
|
|
33
|
+
},
|
|
34
|
+
"finalScore": 7.1,
|
|
35
|
+
"passed": true,
|
|
36
|
+
"threshold": 6,
|
|
37
|
+
"timestamp": "2026-01-05T09:33:57.519120"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"file": "projects\\landing-page\\src\\components\\Features.astro",
|
|
41
|
+
"type": "code",
|
|
42
|
+
"scores": {
|
|
43
|
+
"structure": 10.0,
|
|
44
|
+
"quality": 9,
|
|
45
|
+
"completeness": 9
|
|
46
|
+
},
|
|
47
|
+
"finalScore": 9.3,
|
|
48
|
+
"passed": true,
|
|
49
|
+
"threshold": 6,
|
|
50
|
+
"timestamp": "2026-01-05T09:45:00.343382"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"file": "docs\\walkthroughs\\2026-01-05-landing-page-orchestrator.md",
|
|
54
|
+
"scores": {
|
|
55
|
+
"completeness": 10.0,
|
|
56
|
+
"quality": 8.5,
|
|
57
|
+
"compliance": 4
|
|
58
|
+
},
|
|
59
|
+
"finalScore": 7.1,
|
|
60
|
+
"passed": true,
|
|
61
|
+
"threshold": 6,
|
|
62
|
+
"timestamp": "2026-01-05T09:45:04.197872"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"file": "docs\\walkthroughs\\2026-01-05-judge-enhancement.md",
|
|
66
|
+
"scores": {
|
|
67
|
+
"completeness": 10.0,
|
|
68
|
+
"quality": 8.5,
|
|
69
|
+
"compliance": 4
|
|
70
|
+
},
|
|
71
|
+
"finalScore": 7.1,
|
|
72
|
+
"passed": true,
|
|
73
|
+
"threshold": 6,
|
|
74
|
+
"timestamp": "2026-01-05T09:46:24.661632"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"file": "docs\\walkthroughs\\2026-01-05-landing-page-orchestrator.md",
|
|
78
|
+
"type": "report",
|
|
79
|
+
"scores": {
|
|
80
|
+
"completeness": 10.0,
|
|
81
|
+
"quality": 8.5,
|
|
82
|
+
"compliance": 7
|
|
83
|
+
},
|
|
84
|
+
"improvements": [
|
|
85
|
+
"Add code blocks with ``` → +1.5 quality",
|
|
86
|
+
"Add links to related .md files → +3 compliance"
|
|
87
|
+
],
|
|
88
|
+
"finalScore": 8.3,
|
|
89
|
+
"passed": true,
|
|
90
|
+
"threshold": 6,
|
|
91
|
+
"timestamp": "2026-01-05T09:53:27.263595"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"file": "docs\\walkthroughs\\2026-01-05-landing-page-orchestrator.md",
|
|
95
|
+
"type": "report",
|
|
96
|
+
"scores": {
|
|
97
|
+
"completeness": 10.0,
|
|
98
|
+
"quality": 10.0,
|
|
99
|
+
"compliance": 10
|
|
100
|
+
},
|
|
101
|
+
"improvements": [],
|
|
102
|
+
"finalScore": 10.0,
|
|
103
|
+
"passed": true,
|
|
104
|
+
"threshold": 6,
|
|
105
|
+
"timestamp": "2026-01-05T10:22:55.679975"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"file": "docs\\reports\\Validation-Report-2026-01-05.md",
|
|
109
|
+
"type": "report",
|
|
110
|
+
"scores": {
|
|
111
|
+
"completeness": 0,
|
|
112
|
+
"quality": 6.5,
|
|
113
|
+
"compliance": 5
|
|
114
|
+
},
|
|
115
|
+
"improvements": [
|
|
116
|
+
"Add '## Problem' or '## Challenge' section → +2.5 completeness",
|
|
117
|
+
"Add '## Solution' or '## Implementation' section → +2.5 completeness",
|
|
118
|
+
"Add '## Artifacts' or '## Output' section → +2.5 completeness",
|
|
119
|
+
"Add '## Next Steps' or '## Actions' section → +2.5 completeness",
|
|
120
|
+
"Add more content (>500 chars) → +2 quality",
|
|
121
|
+
"Add code blocks with ``` → +1.5 quality",
|
|
122
|
+
"Add YAML frontmatter (---) at top → +2 compliance",
|
|
123
|
+
"Add links to related .md files → +3 compliance"
|
|
124
|
+
],
|
|
125
|
+
"finalScore": 4.0,
|
|
126
|
+
"passed": false,
|
|
127
|
+
"threshold": 6,
|
|
128
|
+
"timestamp": "2026-01-05T10:36:59.243527"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"file": "docs\\reports\\Validation-Report-2026-01-05.md",
|
|
132
|
+
"type": "report",
|
|
133
|
+
"scores": {
|
|
134
|
+
"completeness": 10.0,
|
|
135
|
+
"quality": 10.0,
|
|
136
|
+
"compliance": 7
|
|
137
|
+
},
|
|
138
|
+
"improvements": [
|
|
139
|
+
"Add links to related .md files → +3 compliance"
|
|
140
|
+
],
|
|
141
|
+
"finalScore": 8.8,
|
|
142
|
+
"passed": true,
|
|
143
|
+
"threshold": 6,
|
|
144
|
+
"timestamp": "2026-01-05T10:38:47.659767"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"file": "docs\\reports\\Validation-Report-2026-01-05.md",
|
|
148
|
+
"type": "report",
|
|
149
|
+
"scores": {
|
|
150
|
+
"completeness": 10.0,
|
|
151
|
+
"quality": 10.0,
|
|
152
|
+
"compliance": 10
|
|
153
|
+
},
|
|
154
|
+
"improvements": [],
|
|
155
|
+
"finalScore": 10.0,
|
|
156
|
+
"passed": true,
|
|
157
|
+
"threshold": 6,
|
|
158
|
+
"timestamp": "2026-01-05T10:39:15.430011"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"file": "docs\\walkthroughs\\2026-01-05-validation.md",
|
|
162
|
+
"type": "report",
|
|
163
|
+
"scores": {
|
|
164
|
+
"completeness": 10.0,
|
|
165
|
+
"quality": 8.5,
|
|
166
|
+
"compliance": 10
|
|
167
|
+
},
|
|
168
|
+
"improvements": [
|
|
169
|
+
"Add code blocks with ``` → +1.5 quality"
|
|
170
|
+
],
|
|
171
|
+
"finalScore": 9.5,
|
|
172
|
+
"passed": true,
|
|
173
|
+
"threshold": 6,
|
|
174
|
+
"timestamp": "2026-01-05T10:39:42.013040"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"file": "docs\\walkthroughs\\2026-01-05-validation.md",
|
|
178
|
+
"type": "report",
|
|
179
|
+
"scores": {
|
|
180
|
+
"completeness": 10.0,
|
|
181
|
+
"quality": 8.5,
|
|
182
|
+
"compliance": 10
|
|
183
|
+
},
|
|
184
|
+
"improvements": [
|
|
185
|
+
"Add code blocks with ``` → +1.5 quality"
|
|
186
|
+
],
|
|
187
|
+
"finalScore": 9.5,
|
|
188
|
+
"passed": true,
|
|
189
|
+
"threshold": 6,
|
|
190
|
+
"timestamp": "2026-01-05T10:41:11.057977"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"file": "docs\\walkthroughs\\2026-01-05-workflow-audit.md",
|
|
194
|
+
"type": "report",
|
|
195
|
+
"scores": {
|
|
196
|
+
"completeness": 10.0,
|
|
197
|
+
"quality": 10.0,
|
|
198
|
+
"compliance": 5
|
|
199
|
+
},
|
|
200
|
+
"improvements": [
|
|
201
|
+
"Add hashtag tags like #walkthrough → +2 compliance",
|
|
202
|
+
"Add links to related .md files → +3 compliance"
|
|
203
|
+
],
|
|
204
|
+
"finalScore": 8.0,
|
|
205
|
+
"passed": true,
|
|
206
|
+
"threshold": 6,
|
|
207
|
+
"timestamp": "2026-01-05T11:37:48.912264"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"file": "C:\\Users\\HOANG LAM\\.gemini\\antigravity\\brain\\f0371fce-9649-421a-97e7-9aea427efcbb\\walkthrough.md",
|
|
211
|
+
"type": "report",
|
|
212
|
+
"scores": {
|
|
213
|
+
"completeness": 0,
|
|
214
|
+
"quality": 8.5,
|
|
215
|
+
"compliance": 0
|
|
216
|
+
},
|
|
217
|
+
"finalScore": 2.5,
|
|
218
|
+
"passed": false,
|
|
219
|
+
"threshold": 6,
|
|
220
|
+
"improvements": [
|
|
221
|
+
"Add Problem section → +2.5",
|
|
222
|
+
"Add Solution section → +2.5",
|
|
223
|
+
"Add Artifacts section → +2.5",
|
|
224
|
+
"Add Next Steps section → +2.5",
|
|
225
|
+
"Add code blocks → +1.5",
|
|
226
|
+
"Add YAML frontmatter → +2",
|
|
227
|
+
"Add hashtags → +2",
|
|
228
|
+
"Move to docs/ subfolder → +3",
|
|
229
|
+
"Add links → +3"
|
|
230
|
+
],
|
|
231
|
+
"timestamp": "2026-01-06T07:24:05.203744"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"file": "C:\\Users\\HOANG LAM\\.gemini\\antigravity\\brain\\f0371fce-9649-421a-97e7-9aea427efcbb\\test_execution_report.md",
|
|
235
|
+
"type": "report",
|
|
236
|
+
"scores": {
|
|
237
|
+
"completeness": 0,
|
|
238
|
+
"quality": 10.0,
|
|
239
|
+
"compliance": 2
|
|
240
|
+
},
|
|
241
|
+
"finalScore": 3.8,
|
|
242
|
+
"passed": false,
|
|
243
|
+
"threshold": 6,
|
|
244
|
+
"improvements": [
|
|
245
|
+
"Add Problem section → +2.5",
|
|
246
|
+
"Add Solution section → +2.5",
|
|
247
|
+
"Add Artifacts section → +2.5",
|
|
248
|
+
"Add Next Steps section → +2.5",
|
|
249
|
+
"Add YAML frontmatter → +2",
|
|
250
|
+
"Move to docs/ subfolder → +3",
|
|
251
|
+
"Add links → +3"
|
|
252
|
+
],
|
|
253
|
+
"timestamp": "2026-01-06T07:43:32.050567"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"file": "GEMINI.md",
|
|
257
|
+
"type": "report",
|
|
258
|
+
"scores": {
|
|
259
|
+
"completeness": 5.0,
|
|
260
|
+
"quality": 10.0,
|
|
261
|
+
"compliance": 10
|
|
262
|
+
},
|
|
263
|
+
"finalScore": 8.5,
|
|
264
|
+
"passed": true,
|
|
265
|
+
"threshold": 6,
|
|
266
|
+
"improvements": [
|
|
267
|
+
"Add Problem/Goal section → +2.5",
|
|
268
|
+
"Add Solution/Approach section → +2.5"
|
|
269
|
+
],
|
|
270
|
+
"timestamp": "2026-01-08T10:43:43.198673"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"file": "tools\\intelligence\\monitor\\resources.py",
|
|
274
|
+
"type": "code",
|
|
275
|
+
"scores": {
|
|
276
|
+
"structure": 10.0,
|
|
277
|
+
"quality": 10,
|
|
278
|
+
"completeness": 8
|
|
279
|
+
},
|
|
280
|
+
"finalScore": 9.4,
|
|
281
|
+
"passed": true,
|
|
282
|
+
"threshold": 6,
|
|
283
|
+
"improvements": [
|
|
284
|
+
"Add logic implementation → +2 completeness"
|
|
285
|
+
],
|
|
286
|
+
"timestamp": "2026-01-08T21:00:12.480515"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"file": "tools\\intelligence\\monitor\\resources.py",
|
|
290
|
+
"type": "code",
|
|
291
|
+
"scores": {
|
|
292
|
+
"structure": 10.0,
|
|
293
|
+
"quality": 10,
|
|
294
|
+
"completeness": 8
|
|
295
|
+
},
|
|
296
|
+
"finalScore": 9.4,
|
|
297
|
+
"passed": true,
|
|
298
|
+
"threshold": 6,
|
|
299
|
+
"improvements": [
|
|
300
|
+
"Add logic implementation → +2 completeness"
|
|
301
|
+
],
|
|
302
|
+
"timestamp": "2026-01-08T21:00:42.834044"
|
|
303
|
+
}
|
|
304
|
+
],
|
|
305
|
+
"averageScore": 7.27,
|
|
306
|
+
"totalReviews": 19,
|
|
307
|
+
"passThreshold": 6,
|
|
308
|
+
"createdAt": "2026-01-05T09:28:25.776862",
|
|
309
|
+
"lastUpdated": "2026-01-08T21:00:42.834535"
|
|
310
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
graph TD
|
|
2
|
+
%% Actors
|
|
3
|
+
User([User])
|
|
4
|
+
|
|
5
|
+
%% Brain Layer
|
|
6
|
+
Brain[Brain Meta-Controller]
|
|
7
|
+
Judge[Judge]
|
|
8
|
+
Learner[Learner]
|
|
9
|
+
|
|
10
|
+
%% Workflows
|
|
11
|
+
Cycle["/cycle"]
|
|
12
|
+
Explore["/explore"]
|
|
13
|
+
Emergency["/emergency"]
|
|
14
|
+
Sprint["/sprint"]
|
|
15
|
+
Metrics["/metrics"]
|
|
16
|
+
|
|
17
|
+
%% Roles
|
|
18
|
+
PM[Project Manager]
|
|
19
|
+
BA[Business Analyst]
|
|
20
|
+
SA[System Analyst]
|
|
21
|
+
UIUX[UI/UX Designer]
|
|
22
|
+
PO[Product Owner]
|
|
23
|
+
QA[Tester]
|
|
24
|
+
SecA[Security Analyst]
|
|
25
|
+
Dev[Developer]
|
|
26
|
+
DevOps[DevOps]
|
|
27
|
+
Reporter[Reporter]
|
|
28
|
+
Stakeholder[Stakeholder]
|
|
29
|
+
|
|
30
|
+
%% Main Flow
|
|
31
|
+
User -->|Directives| Brain
|
|
32
|
+
Brain -->|Route| Cycle
|
|
33
|
+
Brain -->|Route| Explore
|
|
34
|
+
Brain -->|Route| Emergency
|
|
35
|
+
Brain -->|Route| Sprint
|
|
36
|
+
|
|
37
|
+
%% Sprint Flow
|
|
38
|
+
Sprint -->|Start| PM
|
|
39
|
+
PM -->|Plan| BA
|
|
40
|
+
BA -->|Reqs| SA
|
|
41
|
+
BA -->|Reqs| UIUX
|
|
42
|
+
BA -->|Reqs| PO
|
|
43
|
+
|
|
44
|
+
PO -->|Backlog| SA
|
|
45
|
+
PO -->|Backlog| UIUX
|
|
46
|
+
|
|
47
|
+
SA -->|Design| QA
|
|
48
|
+
UIUX -->|Design| QA
|
|
49
|
+
|
|
50
|
+
QA -->|Verify| SecA
|
|
51
|
+
SecA -->|Verify| Dev
|
|
52
|
+
|
|
53
|
+
Dev -->|Code| DevOps
|
|
54
|
+
DevOps -->|Deploy| Tester["Tester/QA"]
|
|
55
|
+
|
|
56
|
+
Tester -->|Pass| Reporter
|
|
57
|
+
Tester -->|Fail| Dev
|
|
58
|
+
|
|
59
|
+
Reporter -->|Report| Stakeholder
|
|
60
|
+
Stakeholder -->|Approve| Brain
|
|
61
|
+
Stakeholder -->|Reject| PM
|
|
62
|
+
|
|
63
|
+
%% Sub-flows
|
|
64
|
+
Cycle -->|Task| Dev
|
|
65
|
+
Explore -->|Analysis| PM
|
|
66
|
+
Emergency -->|Hotfix| Dev
|
|
67
|
+
|
|
68
|
+
%% Feedback Loops
|
|
69
|
+
Brain -->|Score| Judge
|
|
70
|
+
Judge -->|Feedback| Brain
|
|
71
|
+
Brain -->|Learn| Learner
|
|
72
|
+
Learner -->|Update| Brain
|
|
73
|
+
|
|
74
|
+
%% Next Steps (Explicit)
|
|
75
|
+
PM -.->|Next| SA
|
|
76
|
+
SA -.->|Next| QA
|
|
77
|
+
QA -.->|Next| Dev
|
|
78
|
+
Dev -.->|Next| Tester
|
|
79
|
+
Tester -.->|Next| Reporter
|
|
80
|
+
Reporter -.->|Next| Stakeholder
|
|
81
|
+
Stakeholder -.->|Next| Brain
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# Implementation Plan: Strengthen Brain Protocol Enforcement
|
|
2
|
+
|
|
3
|
+
**Date:** 2026-01-05
|
|
4
|
+
**Issue:** Brain tools exist but not being called during agent sessions
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 🔴 User Identified Gaps
|
|
9
|
+
|
|
10
|
+
| # | Gap | Current State | Required State |
|
|
11
|
+
|---|-----|---------------|----------------|
|
|
12
|
+
| 1 | **Observer** | Not halting on errors | MUST halt, fix, resume |
|
|
13
|
+
| 2 | **A/B Testing** | Not used | Use for small tasks |
|
|
14
|
+
| 3 | **Planning** | Jump to implementation | MUST plan first |
|
|
15
|
+
| 4 | **Self-Improve** | Not running | Run after each session |
|
|
16
|
+
| 5 | **Reports** | No artifacts | MUST create walkthrough |
|
|
17
|
+
| 6 | **Housekeeping** | Not triggered | Run after task completion |
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Proposed Changes
|
|
22
|
+
|
|
23
|
+
### [MODIFY] [GEMINI.md](file:///d:/dev/agentic-sdlc/GEMINI.md)
|
|
24
|
+
|
|
25
|
+
Add **CRITICAL ENFORCEMENT GATES** section with mandatory checkpoints:
|
|
26
|
+
|
|
27
|
+
```markdown
|
|
28
|
+
## 🚨 CRITICAL ENFORCEMENT GATES
|
|
29
|
+
|
|
30
|
+
### Gate 1: Pre-Task (BEFORE ANYTHING)
|
|
31
|
+
```bash
|
|
32
|
+
python tools/brain/observer.py --status
|
|
33
|
+
python tools/brain/model_optimizer.py --recommend "[task]"
|
|
34
|
+
```
|
|
35
|
+
Decision: If task is small, consider A/B testing.
|
|
36
|
+
|
|
37
|
+
### Gate 2: Planning (BEFORE CODE)
|
|
38
|
+
- Create implementation_plan.md
|
|
39
|
+
- Get user approval before execution
|
|
40
|
+
|
|
41
|
+
### Gate 3: Error Handling
|
|
42
|
+
If ANY script fails:
|
|
43
|
+
1. STOP immediately
|
|
44
|
+
2. Call: `python tools/brain/observer.py --halt "[error]"`
|
|
45
|
+
3. Fix the issue
|
|
46
|
+
4. Call: `python tools/brain/observer.py --resume`
|
|
47
|
+
|
|
48
|
+
### Gate 4: Post-Task (AFTER COMPLETION)
|
|
49
|
+
```bash
|
|
50
|
+
python tools/brain/learner.py --learn "[task]"
|
|
51
|
+
python tools/brain/judge.py --score "[artifact]"
|
|
52
|
+
python tools/brain/self_improver.py --analyze
|
|
53
|
+
python bin/kb_cli.py compound sync
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Gate 5: Reporting
|
|
57
|
+
- Create walkthrough.md
|
|
58
|
+
- Save to docs/walkthroughs/
|
|
59
|
+
|
|
60
|
+
### Gate 6: Cleanup
|
|
61
|
+
```bash
|
|
62
|
+
python tools/workflows/housekeeping.py
|
|
63
|
+
```
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Verification Plan
|
|
69
|
+
|
|
70
|
+
After implementation:
|
|
71
|
+
1. Test a small task with A/B testing
|
|
72
|
+
2. Intentionally cause an error to test halt
|
|
73
|
+
3. Verify planning step is enforced
|
|
74
|
+
4. Check report generation
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## ❓ Awaiting Approval
|
|
79
|
+
|
|
80
|
+
Proceed with strengthening GEMINI.md enforcement?
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
# 🔬 Workflow Analysis Report: Add/Remove Recommendations
|
|
2
|
+
|
|
3
|
+
**Date:** 2026-01-05
|
|
4
|
+
**Purpose:** Deep analysis of `.agent/workflows/` to recommend additions and removals
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 📊 Current Workflow Inventory (13 workflows)
|
|
9
|
+
|
|
10
|
+
| Workflow | Type | Size | Purpose |
|
|
11
|
+
|----------|------|------|---------|
|
|
12
|
+
| `brain.md` | Support | 2.6KB | Meta-level controller, sync, learning |
|
|
13
|
+
| `compound.md` | Support | 1.0KB | Knowledge capture after tasks |
|
|
14
|
+
| `cycle.md` | Process | 2.0KB | Task lifecycle (plan→work→review) |
|
|
15
|
+
| `emergency.md` | Process | 3.3KB | Hotfix/incident response |
|
|
16
|
+
| `explore.md` | Process | 3.5KB | Deep investigation |
|
|
17
|
+
| `housekeeping.md` | Support | 2.9KB | Cleanup and maintenance |
|
|
18
|
+
| `metrics.md` | Utility | 3.9KB | Project statistics |
|
|
19
|
+
| `orchestrator.md` | Process | 2.2KB | Full SDLC automation |
|
|
20
|
+
| `preflight.md` | Support | 1.0KB | Pre-task checks |
|
|
21
|
+
| `release.md` | Support | 3.5KB | Changelog & versioning |
|
|
22
|
+
| `route.md` | Support | 3.5KB | Workflow selection helper |
|
|
23
|
+
| `sprint.md` | Process | 3.3KB | Sprint lifecycle |
|
|
24
|
+
| `validate.md` | Utility | 3.7KB | Workflow compliance check |
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## 🔴 RECOMMEND REMOVAL (3 workflows)
|
|
29
|
+
|
|
30
|
+
### 1. ❌ REMOVE: `preflight.md`
|
|
31
|
+
|
|
32
|
+
**Reason:**
|
|
33
|
+
- **Redundancy:** This workflow duplicates the "Enforcement Reminder" that already exists at the bottom of EVERY workflow file
|
|
34
|
+
- **Not automated:** Contains manual steps that AI agents already follow naturally
|
|
35
|
+
- **Low value:** The GEMINI.md already enforces pre-flight checks via the "Pre-Flight Checklist" section
|
|
36
|
+
- **Confusion:** Having both `preflight.md` AND enforcement reminders in each workflow creates duplication
|
|
37
|
+
|
|
38
|
+
**Evidence:**
|
|
39
|
+
```markdown
|
|
40
|
+
# Every workflow ends with:
|
|
41
|
+
## ENFORCEMENT REMINDER
|
|
42
|
+
Before executing, complete /preflight checks.
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
**Alternative:** The enforcement is already embedded. Remove this standalone workflow.
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
### 2. ❌ REMOVE: `route.md`
|
|
50
|
+
|
|
51
|
+
**Reason:**
|
|
52
|
+
- **Redundancy with GEMINI.md:** The routing logic is already documented in `GEMINI.md` under "Role Activation Matrix" and "Slash Command Interpretation"
|
|
53
|
+
- **Static content:** Contains no executable commands - it's purely reference documentation
|
|
54
|
+
- **Better placement:** This should be reference documentation in `.agent/rules/` or `GEMINI.md`, not a workflow
|
|
55
|
+
- **No /route command exists:** The routing happens automatically via `/orchestrator` and brain
|
|
56
|
+
|
|
57
|
+
**Evidence:**
|
|
58
|
+
- GEMINI.md already has:
|
|
59
|
+
```markdown
|
|
60
|
+
### Role Activation Matrix
|
|
61
|
+
| Task Type | Required Roles | Workflow |
|
|
62
|
+
|-----------|---------------|----------|
|
|
63
|
+
| New Feature/Project | @PM → @SA → @UIUX → @DEV → @TESTER | /orchestrator |
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
**Alternative:** Merge key content into `GEMINI.md` or `.agent/rules/global.md`
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
### 3. ❌ CONSIDER REMOVING: `compound.md`
|
|
71
|
+
|
|
72
|
+
**Reason:**
|
|
73
|
+
- **Already embedded in other workflows:** Both `/cycle` and `/emergency` already include compound learning steps (Step 7 in cycle, Step 7 in emergency)
|
|
74
|
+
- **Very short (1KB):** Not enough value as standalone workflow
|
|
75
|
+
- **Rarely invoked directly:** Users should use `/cycle` or `/emergency` which include compound learning
|
|
76
|
+
|
|
77
|
+
**Evidence from cycle.md:**
|
|
78
|
+
```markdown
|
|
79
|
+
### 7. Self-Learning (MANDATORY)
|
|
80
|
+
agentic-sdlc kb compound sync
|
|
81
|
+
agentic-sdlc learn --record-success "TASK-ID" --task-type "feature"
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
**Alternative:** Keep as reference but mark as "called automatically by other workflows"
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## 🟢 RECOMMEND ADDING (5 new workflows)
|
|
89
|
+
|
|
90
|
+
### 1. ✅ ADD: `/review.md` - Code Review Workflow
|
|
91
|
+
|
|
92
|
+
**Rationale:**
|
|
93
|
+
- **Gap identified:** No dedicated workflow for PR reviews
|
|
94
|
+
- **Current state:** `@TESTER` does design verification but no code review workflow
|
|
95
|
+
- **High frequency task:** Code reviews happen daily
|
|
96
|
+
|
|
97
|
+
**Proposed content:**
|
|
98
|
+
- Quick PR review checklist
|
|
99
|
+
- Integration with GitHub PR comments
|
|
100
|
+
- Calling `@TESTER` and `@SECA` for specialized reviews
|
|
101
|
+
- Link to KB for similar code patterns
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
### 2. ✅ ADD: `/debug.md` - Debugging Workflow
|
|
106
|
+
|
|
107
|
+
**Rationale:**
|
|
108
|
+
- **Gap identified:** No workflow for systematic debugging
|
|
109
|
+
- **Different from /emergency:** Emergency is for production issues; debug is for local development
|
|
110
|
+
- **High complexity task:** Debugging often takes 3+ hours, needs structure
|
|
111
|
+
|
|
112
|
+
**Proposed content:**
|
|
113
|
+
- Systematic debug steps (reproduce → isolate → identify → fix → verify)
|
|
114
|
+
- Log analysis commands
|
|
115
|
+
- Common debugging tools
|
|
116
|
+
- KB search for similar bugs
|
|
117
|
+
- Integration with `/compound` for learning
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
### 3. ✅ ADD: `/refactor.md` - Refactoring Workflow
|
|
122
|
+
|
|
123
|
+
**Rationale:**
|
|
124
|
+
- **Gap identified:** No workflow for safe refactoring
|
|
125
|
+
- **High-risk activity:** Refactoring can break existing functionality
|
|
126
|
+
- **Quality focus:** Needs verification steps
|
|
127
|
+
|
|
128
|
+
**Proposed content:**
|
|
129
|
+
- Scope definition (what's being refactored)
|
|
130
|
+
- Test verification before/after
|
|
131
|
+
- Atomic commits
|
|
132
|
+
- Code review integration
|
|
133
|
+
- **Key:** Run tests before AND after refactoring
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
### 4. ✅ ADD: `/onboarding.md` - New Agent Onboarding
|
|
138
|
+
|
|
139
|
+
**Rationale:**
|
|
140
|
+
- **Gap identified:** No workflow for new AI agents joining project
|
|
141
|
+
- **Context needed:** New agents need to understand project structure
|
|
142
|
+
- **Accelerate productivity:** Quick ramp-up for new sessions
|
|
143
|
+
|
|
144
|
+
**Proposed content:**
|
|
145
|
+
- Project structure overview
|
|
146
|
+
- Key files to read first (`GEMINI.md`, `README.md`)
|
|
147
|
+
- Current sprint status
|
|
148
|
+
- KB search for relevant context
|
|
149
|
+
- Active issues/tasks
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
### 5. ✅ ADD: `/docs.md` - Documentation Workflow
|
|
154
|
+
|
|
155
|
+
**Rationale:**
|
|
156
|
+
- **Gap identified:** No dedicated documentation workflow
|
|
157
|
+
- **Current state:** `/cycle` mentions docs but no structure
|
|
158
|
+
- **Quality:** Documentation often neglected
|
|
159
|
+
|
|
160
|
+
**Proposed content:**
|
|
161
|
+
- Types of docs (API, user guide, KB entry)
|
|
162
|
+
- Template selection
|
|
163
|
+
- Review process
|
|
164
|
+
- Integration with `/release` for changelog
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## 🟡 RECOMMEND IMPROVEMENTS (Existing workflows)
|
|
169
|
+
|
|
170
|
+
### 1. 🔧 IMPROVE: `orchestrator.md`
|
|
171
|
+
|
|
172
|
+
**Current issues:**
|
|
173
|
+
- Very lightweight (2.2KB) for "Full SDLC Automation"
|
|
174
|
+
- Missing detailed phase transitions
|
|
175
|
+
- No artifact checklists per phase
|
|
176
|
+
|
|
177
|
+
**Recommendation:**
|
|
178
|
+
- Expand with detailed steps per phase
|
|
179
|
+
- Add artifact requirements per phase
|
|
180
|
+
- Add time estimates
|
|
181
|
+
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
### 2. 🔧 IMPROVE: `brain.md`
|
|
185
|
+
|
|
186
|
+
**Current issues:**
|
|
187
|
+
- References non-existent tools: `tools/brain/observer.py`, `tools/brain/judge.py`, etc.
|
|
188
|
+
- Only `tools/brain/brain_cli.py` exists
|
|
189
|
+
|
|
190
|
+
**Recommendation:**
|
|
191
|
+
- Update to match actual tool inventory
|
|
192
|
+
- Either create missing tools or remove references
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
### 3. 🔧 IMPROVE: `cycle.md`
|
|
197
|
+
|
|
198
|
+
**Current issues:**
|
|
199
|
+
- Team Communication step references tool that may not exist: `tools/communication/cli.py`
|
|
200
|
+
- Missing explicit test requirements
|
|
201
|
+
|
|
202
|
+
**Recommendation:**
|
|
203
|
+
- Verify tool existence
|
|
204
|
+
- Add explicit "run tests" step
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
## 📋 Summary
|
|
209
|
+
|
|
210
|
+
| Action | Count | Workflows |
|
|
211
|
+
|--------|-------|-----------|
|
|
212
|
+
| **Remove** | 2-3 | `preflight.md`, `route.md`, (optionally `compound.md`) |
|
|
213
|
+
| **Add** | 5 | `review.md`, `debug.md`, `refactor.md`, `onboarding.md`, `docs.md` |
|
|
214
|
+
| **Improve** | 3 | `orchestrator.md`, `brain.md`, `cycle.md` |
|
|
215
|
+
|
|
216
|
+
---
|
|
217
|
+
|
|
218
|
+
## 🎯 Priority Order
|
|
219
|
+
|
|
220
|
+
1. **P0 - Critical:** Add `/review.md` and `/debug.md` (most common use cases)
|
|
221
|
+
2. **P1 - Important:** Remove `preflight.md` and `route.md` (reduce confusion)
|
|
222
|
+
3. **P2 - Nice to have:** Add `/refactor.md`, `/onboarding.md`, `/docs.md`
|
|
223
|
+
4. **P3 - Backlog:** Improve `orchestrator.md`, fix tool references
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
## ❓ Open Questions for User
|
|
228
|
+
|
|
229
|
+
1. **Compound workflow:** Keep as standalone or merge into cycle/emergency?
|
|
230
|
+
2. **Tool references:** Should we create missing brain tools or remove references?
|
|
231
|
+
3. **Priority:** Which new workflows should we implement first?
|