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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Process - Emergency/Hotfix Response Workflow
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
# /emergency - Critical Incident Response
|
|
@@ -12,7 +12,7 @@ description: [Process] Emergency/Hotfix Response Workflow
|
|
|
12
12
|
|
|
13
13
|
### 0.0 **Declare Incident:**
|
|
14
14
|
```bash
|
|
15
|
-
python tools/workflows/emergency.py --severity P0 --issue "[issue description]"
|
|
15
|
+
python tools/infrastructure/workflows/emergency.py --severity P0 --issue "[issue description]"
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Severity Levels
|
|
@@ -34,7 +34,7 @@ python tools/workflows/emergency.py --severity P0 --issue "[issue description]"
|
|
|
34
34
|
### 2. Rapid Assessment (5 min max)
|
|
35
35
|
```bash
|
|
36
36
|
# Search KB for similar incidents
|
|
37
|
-
python tools/research/research_agent.py --task "[issue]" --type bug
|
|
37
|
+
python tools/intelligence/research/research_agent.py --task "[issue]" --type bug
|
|
38
38
|
```
|
|
39
39
|
**Quick Checks:**
|
|
40
40
|
- [ ] Check monitoring/logs
|
|
@@ -77,11 +77,11 @@ git commit -m "hotfix: description (#INCIDENT-ID)"
|
|
|
77
77
|
### 7. Compound Learning (MANDATORY)
|
|
78
78
|
```bash
|
|
79
79
|
# Create KB entry automatically
|
|
80
|
-
python tools/workflows/emergency.py --severity P0 --issue "[issue]"
|
|
80
|
+
python tools/infrastructure/workflows/emergency.py --severity P0 --issue "[issue]"
|
|
81
81
|
|
|
82
82
|
# Or manually update Neo4j
|
|
83
|
-
python tools/
|
|
84
|
-
python tools/
|
|
83
|
+
python tools/intelligence/knowledge_graph/sync_skills_to_neo4j.py
|
|
84
|
+
python tools/intelligence/knowledge_graph/learning_engine.py --record-error "ErrorType" "description" --resolution "fix"
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
### 8. Post-Incident
|
|
@@ -94,21 +94,23 @@ python tools/neo4j/learning_engine.py --record-error "ErrorType" "description" -
|
|
|
94
94
|
|
|
95
95
|
```bash
|
|
96
96
|
# Interactive workflow
|
|
97
|
-
python tools/workflows/emergency.py -s P0 -i "Payment gateway 500 errors"
|
|
97
|
+
python tools/infrastructure/workflows/emergency.py -s P0 -i "Payment gateway 500 errors"
|
|
98
98
|
|
|
99
99
|
# Non-interactive (for automation)
|
|
100
|
-
python tools/workflows/emergency.py -s P1 -i "API timeout" --non-interactive
|
|
100
|
+
python tools/infrastructure/workflows/emergency.py -s P1 -i "API timeout" --non-interactive
|
|
101
101
|
```
|
|
102
102
|
|
|
103
103
|
## Output Artifacts
|
|
104
104
|
- `docs/sprints/sprint-[N]/logs/Incident-Report-[ID].json`
|
|
105
|
-
- KB entry in `.agent/knowledge-base/bugs/`
|
|
106
105
|
|
|
107
106
|
#emergency #hotfix #incident #production #p0
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
---
|
|
111
|
-
|
|
112
|
-
## ENFORCEMENT REMINDER
|
|
113
|
-
Before executing, complete /preflight checks.
|
|
114
107
|
|
|
108
|
+
## ⏭️ Next Steps
|
|
109
|
+
- **If Fixed:** Trigger `/compound` to document incident
|
|
110
|
+
- **If Failed:** Escalate to User immediately
|
|
111
|
+
- **If Recurring:** Trigger `/explore` for root cause analysis
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## ENFORCEMENT REMINDER
|
|
116
|
+
Act immediately for P0/P1 incidents.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Process - Deep Investigation Workflow
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
# /explore - Multi-Order Analysis
|
|
@@ -23,8 +23,11 @@ description: [Process] Deep Investigation Workflow
|
|
|
23
23
|
**Question:** What does the user want?
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
|
-
# Basic research
|
|
27
|
-
python tools/research/research_agent.py --task "[feature]" --type general
|
|
26
|
+
# Basic research with research agent
|
|
27
|
+
python tools/intelligence/research/research_agent.py --task "[feature]" --type general
|
|
28
|
+
|
|
29
|
+
# Deep Search MCP (aggregated: DuckDuckGo + GitHub + StackOverflow)
|
|
30
|
+
python mcp/connectors/deep_search.py --search "[feature]"
|
|
28
31
|
```
|
|
29
32
|
|
|
30
33
|
- [ ] Understand explicit requirements
|
|
@@ -138,10 +141,13 @@ Fourth-Order: Token revocation, multi-device sessions, privacy compliance
|
|
|
138
141
|
```
|
|
139
142
|
|
|
140
143
|
#explore #analysis #research #architecture #risk-assessment
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
---
|
|
144
|
-
|
|
145
|
-
## ENFORCEMENT REMINDER
|
|
146
|
-
Before executing, complete /preflight checks.
|
|
147
144
|
|
|
145
|
+
## ⏭️ Next Steps
|
|
146
|
+
- **If Recommendation Approved:** Trigger `/cycle` or `/sprint` to implement
|
|
147
|
+
- **If Rejected:** Refine analysis or explore alternatives
|
|
148
|
+
- **If Unclear:** Request stakeholder feedback
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## ENFORCEMENT REMINDER
|
|
153
|
+
Search KB for related entries before deep investigation.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Support - Housekeeping - Cleanup and Maintenance
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
# /housekeeping - System Maintenance Workflow
|
|
@@ -12,7 +12,7 @@ description: [Support] Housekeeping - Cleanup and Maintenance
|
|
|
12
12
|
## Quick Command
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
python tools/workflows/housekeeping.py
|
|
15
|
+
python tools/infrastructure/workflows/housekeeping.py
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Workflow Steps
|
|
@@ -29,10 +29,9 @@ python tools/workflows/housekeeping.py
|
|
|
29
29
|
|
|
30
30
|
### Step 3: Update Indexes
|
|
31
31
|
```bash
|
|
32
|
-
# Updates KB
|
|
33
|
-
python
|
|
32
|
+
# Updates indexes (KB, Documents, vectors)
|
|
33
|
+
python tools/intelligence/knowledge_graph/brain_parallel.py --sync
|
|
34
34
|
```
|
|
35
|
-
- Regenerates `.agent/knowledge-base/INDEX.md`
|
|
36
35
|
- Ensures all entries are indexed
|
|
37
36
|
- Updates statistics
|
|
38
37
|
|
|
@@ -43,6 +42,18 @@ Reports:
|
|
|
43
42
|
- Current sprint status
|
|
44
43
|
- System health status
|
|
45
44
|
|
|
45
|
+
### Step 5: Brain Self-Analysis (NEW)
|
|
46
|
+
```bash
|
|
47
|
+
# Analyze patterns from A/B tests, Judge scores, Learner data
|
|
48
|
+
python tools/intelligence/self_learning/self_improver.py --analyze
|
|
49
|
+
|
|
50
|
+
# Create improvement plan based on patterns
|
|
51
|
+
python tools/intelligence/self_learning/self_improver.py --plan
|
|
52
|
+
|
|
53
|
+
# Sync all brain data
|
|
54
|
+
python tools/intelligence/knowledge_graph/brain_parallel.py --full
|
|
55
|
+
```
|
|
56
|
+
|
|
46
57
|
## Expected Output
|
|
47
58
|
|
|
48
59
|
```
|
|
@@ -96,10 +107,12 @@ Step 4: Verify System Health
|
|
|
96
107
|
- **/sprint close** - Triggers housekeeping automatically
|
|
97
108
|
|
|
98
109
|
#housekeeping #maintenance #cleanup #health-check
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
---
|
|
102
|
-
|
|
103
|
-
## ENFORCEMENT REMINDER
|
|
104
|
-
Before executing, complete /preflight checks.
|
|
105
110
|
|
|
111
|
+
## ⏭️ Next Steps
|
|
112
|
+
- **If Issues Found:** Trigger `/cycle` to fix
|
|
113
|
+
- **If Clean:** End session or Trigger `/metrics` for analysis
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## ENFORCEMENT REMINDER
|
|
118
|
+
Run at least once per sprint.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Utility - Metrics - Project Statistics
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
# /metrics - Metrics Dashboard Generator
|
|
@@ -11,16 +11,16 @@ Analyzes KB entries, workflow usage, and project health to generate a metrics da
|
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
13
|
# Generate dashboard
|
|
14
|
-
python tools/
|
|
14
|
+
python tools/infrastructure/workflows/metrics.py
|
|
15
15
|
|
|
16
16
|
# Weekly report focus
|
|
17
|
-
python tools/
|
|
17
|
+
python tools/infrastructure/workflows/metrics.py --weekly
|
|
18
18
|
|
|
19
19
|
# Sprint-specific metrics
|
|
20
|
-
python tools/
|
|
20
|
+
python tools/infrastructure/workflows/metrics.py --sprint sprint-2
|
|
21
21
|
|
|
22
22
|
# Custom output path
|
|
23
|
-
python tools/
|
|
23
|
+
python tools/infrastructure/workflows/metrics.py --output ./my-report.md
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
## What It Measures
|
|
@@ -169,11 +169,13 @@ Auto-generates recommendations based on:
|
|
|
169
169
|
- **/housekeeping** - References health status
|
|
170
170
|
- **/sprint close** - Include metrics in retrospective
|
|
171
171
|
|
|
172
|
-
#metrics #dashboard #analytics #health
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
---
|
|
176
|
-
|
|
177
|
-
## ENFORCEMENT REMINDER
|
|
178
|
-
Before executing, complete /preflight checks.
|
|
172
|
+
#metrics #dashboard #analytics #health
|
|
179
173
|
|
|
174
|
+
## ⏭️ Next Steps
|
|
175
|
+
- **If Trends Negative:** Trigger `/sprint` retrospective
|
|
176
|
+
- **If Goals Met:** Celebrate and plan next sprint
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## ENFORCEMENT REMINDER
|
|
181
|
+
Run periodically to track project health.
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Intelligence - Monitor - System Health Check
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /monitor - System Health Monitoring
|
|
6
|
+
|
|
7
|
+
## ⚠️ PURPOSE
|
|
8
|
+
Check overall system health, identify missing documentation, detect obsolete code, and get improvement suggestions.
|
|
9
|
+
|
|
10
|
+
// turbo-all
|
|
11
|
+
|
|
12
|
+
## Quick Commands
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
# Full health check
|
|
16
|
+
python tools/intelligence/monitor/health_monitor.py --check
|
|
17
|
+
|
|
18
|
+
# Get improvement suggestions
|
|
19
|
+
python tools/intelligence/monitor/health_monitor.py --suggest
|
|
20
|
+
|
|
21
|
+
# Check via Brain CLI
|
|
22
|
+
python tools/core/brain/brain_cli.py health
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## When to Use
|
|
26
|
+
|
|
27
|
+
- Start of each work session
|
|
28
|
+
- Before major releases
|
|
29
|
+
- During housekeeping
|
|
30
|
+
- After major changes
|
|
31
|
+
|
|
32
|
+
## Workflow Steps
|
|
33
|
+
|
|
34
|
+
### 1. Run Health Check
|
|
35
|
+
```bash
|
|
36
|
+
python tools/intelligence/monitor/health_monitor.py --check
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### 2. Review Health Status
|
|
40
|
+
|
|
41
|
+
**Health Indicators:**
|
|
42
|
+
| Status | Score | Description |
|
|
43
|
+
|--------|-------|-------------|
|
|
44
|
+
| 🟢 Healthy | 80-100 | System in good shape |
|
|
45
|
+
| 🟡 Warning | 50-79 | Some issues to address |
|
|
46
|
+
| 🔴 Critical | 0-49 | Immediate attention needed |
|
|
47
|
+
|
|
48
|
+
### 3. Review Metrics
|
|
49
|
+
|
|
50
|
+
The monitor checks:
|
|
51
|
+
- **Documentation Coverage** - Are all features documented?
|
|
52
|
+
- **Test Coverage Gaps** - Missing tests
|
|
53
|
+
- **Obsolete Code** - Unused files, deprecated functions
|
|
54
|
+
- **Compliance Trends** - Observer violation rate over time
|
|
55
|
+
- **Performance Issues** - Slow functions, memory leaks
|
|
56
|
+
|
|
57
|
+
### 4. Get Suggestions
|
|
58
|
+
```bash
|
|
59
|
+
python tools/intelligence/monitor/health_monitor.py --suggest
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### 5. Address Issues
|
|
63
|
+
Based on suggestions:
|
|
64
|
+
- Add missing documentation
|
|
65
|
+
- Create tests for uncovered code
|
|
66
|
+
- Remove obsolete files
|
|
67
|
+
- Fix compliance issues
|
|
68
|
+
|
|
69
|
+
### 6. Verify Fix
|
|
70
|
+
Re-run health check to confirm improvements.
|
|
71
|
+
|
|
72
|
+
## Health Check Areas
|
|
73
|
+
|
|
74
|
+
| Area | What's Checked |
|
|
75
|
+
|------|----------------|
|
|
76
|
+
| Documentation | `docs/` directory, walkthroughs, plans |
|
|
77
|
+
| Brain State | `.agent/` directory integrity |
|
|
78
|
+
| Tools | `tools/` directory structure |
|
|
79
|
+
| KB Health | Entry count, category distribution |
|
|
80
|
+
|
|
81
|
+
## Integration
|
|
82
|
+
|
|
83
|
+
- **@BRAIN** - System oversight
|
|
84
|
+
- **/housekeeping** - Maintenance routine
|
|
85
|
+
- **/validate** - Tool reference validation
|
|
86
|
+
- **/metrics** - Detailed statistics
|
|
87
|
+
|
|
88
|
+
#monitor #health #system #metrics
|
|
89
|
+
|
|
90
|
+
## ⏭️ Next Steps
|
|
91
|
+
- **If Healthy:** Continue normal work
|
|
92
|
+
- **If Warning:** Schedule `/housekeeping`
|
|
93
|
+
- **If Critical:** Address issues immediately
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## ENFORCEMENT REMINDER
|
|
98
|
+
Run health check at the start of each session.
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Intelligence - Observer - Rule Compliance Check
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /observe - Rule Compliance Monitor
|
|
6
|
+
|
|
7
|
+
## ⚠️ PURPOSE
|
|
8
|
+
Trigger the Observer agent to check rule compliance for actions, code, or the entire system.
|
|
9
|
+
|
|
10
|
+
// turbo-all
|
|
11
|
+
|
|
12
|
+
## Quick Commands
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
# Check overall compliance status
|
|
16
|
+
python tools/intelligence/observer/observer.py --report
|
|
17
|
+
|
|
18
|
+
# Check a specific action
|
|
19
|
+
python tools/intelligence/observer/observer.py --check-action "create file foo.py"
|
|
20
|
+
|
|
21
|
+
# Start continuous observation
|
|
22
|
+
python tools/intelligence/observer/observer.py --start
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## When to Use
|
|
26
|
+
|
|
27
|
+
- Before committing code
|
|
28
|
+
- After making changes to workflows or rules
|
|
29
|
+
- During code review
|
|
30
|
+
- When debugging compliance issues
|
|
31
|
+
|
|
32
|
+
## Workflow Steps
|
|
33
|
+
|
|
34
|
+
### 1. Check Current Compliance
|
|
35
|
+
```bash
|
|
36
|
+
python tools/intelligence/observer/observer.py --report
|
|
37
|
+
```
|
|
38
|
+
Review the compliance score and any violations.
|
|
39
|
+
|
|
40
|
+
### 2. Check Specific Action
|
|
41
|
+
```bash
|
|
42
|
+
python tools/intelligence/observer/observer.py --check-action "[action description]"
|
|
43
|
+
```
|
|
44
|
+
Validates a specific action against the rules.
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### 3. Review Violations
|
|
48
|
+
If violations are found:
|
|
49
|
+
- Review the violation report in `docs/reports/observer/`
|
|
50
|
+
- Fix the issues
|
|
51
|
+
- Re-run the check
|
|
52
|
+
|
|
53
|
+
### 4. Self-Learning
|
|
54
|
+
```bash
|
|
55
|
+
# Record the violation pattern for future reference
|
|
56
|
+
python tools/core/brain/brain_cli.py learn "Fixed compliance issue: [description]"
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Integration
|
|
60
|
+
|
|
61
|
+
- **@BRAIN** - Uses Observer for monitoring
|
|
62
|
+
- **/cycle** - Compliance check before PR
|
|
63
|
+
- **/commit** - Pre-commit validation
|
|
64
|
+
- **/housekeeping** - Part of maintenance
|
|
65
|
+
|
|
66
|
+
## Observer Checks
|
|
67
|
+
|
|
68
|
+
| Check | Description |
|
|
69
|
+
|-------|-------------|
|
|
70
|
+
| Code Quality | Naming conventions, style |
|
|
71
|
+
| Template Compliance | Correct template usage |
|
|
72
|
+
| Workflow Steps | Mandatory steps followed |
|
|
73
|
+
| Documentation | Required docs present |
|
|
74
|
+
|
|
75
|
+
#observe #compliance #monitoring #rules
|
|
76
|
+
|
|
77
|
+
## ⏭️ Next Steps
|
|
78
|
+
- **If Compliant:** Continue with current workflow
|
|
79
|
+
- **If Violations Found:** Fix issues and re-run `/observe`
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## ENFORCEMENT REMINDER
|
|
84
|
+
Run Observer before major commits.
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Support - New Agent Onboarding Workflow
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /onboarding - Agent Onboarding
|
|
6
|
+
|
|
7
|
+
## ⚠️ PURPOSE
|
|
8
|
+
Quick ramp-up workflow for new AI agent sessions joining the project. Accelerates context building.
|
|
9
|
+
|
|
10
|
+
// turbo-all
|
|
11
|
+
|
|
12
|
+
## When to Use
|
|
13
|
+
|
|
14
|
+
- Starting a new AI agent session
|
|
15
|
+
- Switching context to this project
|
|
16
|
+
- After long absence from project
|
|
17
|
+
|
|
18
|
+
## Quick Commands
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
# Check project status
|
|
22
|
+
agentic-sdlc brain status
|
|
23
|
+
|
|
24
|
+
# View recent activity
|
|
25
|
+
git log --oneline -20
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Workflow Steps
|
|
29
|
+
|
|
30
|
+
### 1. Read Core Documents
|
|
31
|
+
**MANDATORY reading in order:**
|
|
32
|
+
|
|
33
|
+
1. **GEMINI.md** - Agent instructions and rules
|
|
34
|
+
```bash
|
|
35
|
+
cat GEMINI.md
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
2. **README.md** - Project overview
|
|
39
|
+
```bash
|
|
40
|
+
cat README.md
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
3. **CHANGELOG.md** - Recent changes
|
|
44
|
+
```bash
|
|
45
|
+
head -100 CHANGELOG.md
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### 2. Understand Project Structure
|
|
49
|
+
```bash
|
|
50
|
+
# View top-level structure
|
|
51
|
+
ls -la
|
|
52
|
+
|
|
53
|
+
# View .agent structure
|
|
54
|
+
ls -la .agent/
|
|
55
|
+
|
|
56
|
+
# View tools
|
|
57
|
+
ls -la tools/
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### 3. Check Current State
|
|
61
|
+
```bash
|
|
62
|
+
# Brain status
|
|
63
|
+
agentic-sdlc brain status
|
|
64
|
+
|
|
65
|
+
# Current sprint
|
|
66
|
+
ls docs/sprints/
|
|
67
|
+
|
|
68
|
+
# Active issues
|
|
69
|
+
gh issue list --limit 10
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### 4. Search Knowledge Base
|
|
73
|
+
```bash
|
|
74
|
+
# Get overview of KB
|
|
75
|
+
agentic-sdlc kb list
|
|
76
|
+
|
|
77
|
+
# Search for recent entries
|
|
78
|
+
agentic-sdlc kb search "recent"
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### 5. Review Active Work
|
|
82
|
+
```bash
|
|
83
|
+
# Check branches
|
|
84
|
+
git branch -a
|
|
85
|
+
|
|
86
|
+
# Check open PRs
|
|
87
|
+
gh pr list
|
|
88
|
+
|
|
89
|
+
# Check open issues
|
|
90
|
+
gh issue list
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### 6. Context Checklist
|
|
94
|
+
By end of onboarding, you should know:
|
|
95
|
+
|
|
96
|
+
- [ ] Project purpose and goals
|
|
97
|
+
- [ ] Current sprint and priorities
|
|
98
|
+
- [ ] Active issues/PRs
|
|
99
|
+
- [ ] Key technologies used
|
|
100
|
+
- [ ] Available tools and workflows
|
|
101
|
+
- [ ] Team communication patterns
|
|
102
|
+
|
|
103
|
+
## Quick Reference Card
|
|
104
|
+
|
|
105
|
+
| What | Where |
|
|
106
|
+
|------|-------|
|
|
107
|
+
| Agent rules | `GEMINI.md` |
|
|
108
|
+
| Project overview | `README.md` |
|
|
109
|
+
| Workflows | `.agent/workflows/` |
|
|
110
|
+
| Roles | `.agent/skills/` |
|
|
111
|
+
| Templates | `.agent/templates/` |
|
|
112
|
+
| Tools | `tools/` |
|
|
113
|
+
| Sprint docs | `docs/sprints/sprint-[N]/` |
|
|
114
|
+
|
|
115
|
+
## Shortcuts for Common Tasks
|
|
116
|
+
|
|
117
|
+
| Task | Command/Workflow |
|
|
118
|
+
|------|------------------|
|
|
119
|
+
| New feature | `/orchestrator` |
|
|
120
|
+
| Quick fix | `/cycle` |
|
|
121
|
+
| Investigation | `/explore` |
|
|
122
|
+
| Production issue | `/emergency` |
|
|
123
|
+
| Code review | `/review` |
|
|
124
|
+
| Debugging | `/debug` |
|
|
125
|
+
|
|
126
|
+
#onboarding #context #ramp-up #new-session
|
|
127
|
+
|
|
128
|
+
## ⏭️ Next Steps
|
|
129
|
+
- **If Setup Complete:** Trigger `/sprint` to check tasks
|
|
130
|
+
- **If Task Assigned:** Trigger `/cycle` to start work
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## ENFORCEMENT REMINDER
|
|
135
|
+
Always read GEMINI.md before starting work.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Process - Orchestrator - Full Automation Workflow
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
# Orchestrator Workflow
|
|
@@ -59,10 +59,17 @@ agentic-sdlc brain init <SPRINT_NUMBER>
|
|
|
59
59
|
- Run: `agentic-sdlc learn --record-success`
|
|
60
60
|
|
|
61
61
|
#orchestrator #automation #sdlc
|
|
62
|
+
|
|
63
|
+
## ⏭️ Next Steps
|
|
64
|
+
- **If Setup Complete:** Trigger @PM for Phase 1 (Planning)
|
|
65
|
+
- **If Planning Complete:** Trigger @SA + @UIUX for Phase 3 (Design)
|
|
66
|
+
- **If Design Complete:** Trigger @TESTER + @SECA for Phase 4 (Verification)
|
|
67
|
+
- **If Dev Complete:** Trigger @TESTER for Phase 6 (Testing)
|
|
68
|
+
- **If Deployment Complete:** Trigger @REPORTER for Phase 9 (Reporting)
|
|
69
|
+
|
|
62
70
|
---
|
|
63
71
|
## ⚠️ ENFORCEMENT REMINDER
|
|
64
72
|
Before executing this workflow, agent MUST:
|
|
65
|
-
1.
|
|
66
|
-
2.
|
|
67
|
-
3.
|
|
68
|
-
Failure to complete pre-flight = workflow violation.
|
|
73
|
+
1. Search knowledge base for similar tasks
|
|
74
|
+
2. Check current brain state
|
|
75
|
+
3. Run /onboarding if new to project
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Process - Planning Phase Workflow
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /planning - Task Planning Workflow
|
|
6
|
+
|
|
7
|
+
## ⚠️ PURPOSE
|
|
8
|
+
Standardize the planning phase for tasks and sprints. Ensures proper requirements gathering, design, and user approval before implementation.
|
|
9
|
+
|
|
10
|
+
// turbo-all
|
|
11
|
+
|
|
12
|
+
## Quick Commands
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
# Generate project plan from template
|
|
16
|
+
python tools/intelligence/artifact_gen/generator.py --template project-plan --context "[project name]"
|
|
17
|
+
|
|
18
|
+
# Check brain state
|
|
19
|
+
python tools/core/brain/brain_cli.py status
|
|
20
|
+
|
|
21
|
+
# Transition to planning state
|
|
22
|
+
python tools/core/brain/brain_cli.py transition PLANNING --reason "Starting new task"
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## When to Use
|
|
26
|
+
|
|
27
|
+
- Starting a new feature or project
|
|
28
|
+
- Beginning a new sprint
|
|
29
|
+
- Before any significant implementation
|
|
30
|
+
- After receiving new requirements
|
|
31
|
+
|
|
32
|
+
## Workflow Steps
|
|
33
|
+
|
|
34
|
+
### 1. Initialize Planning State
|
|
35
|
+
```bash
|
|
36
|
+
python tools/core/brain/brain_cli.py transition PLANNING --reason "New task: [description]"
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### 2. Gather Requirements
|
|
40
|
+
- Review user request
|
|
41
|
+
- Search KB for similar implementations
|
|
42
|
+
- Identify stakeholders
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
# Research with agent
|
|
46
|
+
python tools/intelligence/research/research_agent.py --task "[feature]" --type general
|
|
47
|
+
|
|
48
|
+
# Deep Search (DuckDuckGo + GitHub + StackOverflow)
|
|
49
|
+
python mcp/connectors/deep_search.py --search "[feature]"
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### 3. Create Specification (New Requirement)
|
|
53
|
+
For new features or complex changes, create a specification first:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
# Generate specification from template
|
|
57
|
+
python tools/intelligence/artifact_gen/generator.py --template specification --context "[feature description]"
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
**Spec Review:**
|
|
61
|
+
- Verify user stories cover the problem
|
|
62
|
+
- Confirm functional requirements are complete
|
|
63
|
+
- Clarify open questions with user
|
|
64
|
+
|
|
65
|
+
### 4. Create Implementation Plan
|
|
66
|
+
|
|
67
|
+
Create `implementation_plan.md` based on the approved spec:
|
|
68
|
+
- **Goal Description** - Link to functionality in spec
|
|
69
|
+
- **Proposed Changes** - File-by-file breakdown
|
|
70
|
+
- **Verification Plan** - How to test against requirements
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
python tools/intelligence/artifact_gen/generator.py --template project-plan --context "[description]"
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### 5. Request User Approval
|
|
77
|
+
Present the Spec and Plan to the user for review.
|
|
78
|
+
|
|
79
|
+
**Approval Checklist:**
|
|
80
|
+
- [ ] Requirements understood
|
|
81
|
+
- [ ] Scope is clear
|
|
82
|
+
- [ ] Risks identified
|
|
83
|
+
- [ ] User approved
|
|
84
|
+
|
|
85
|
+
### 5. Transition to Execution
|
|
86
|
+
Once approved:
|
|
87
|
+
```bash
|
|
88
|
+
python tools/core/brain/brain_cli.py transition EXECUTION --reason "Plan approved"
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Planning Checklist
|
|
92
|
+
|
|
93
|
+
| Item | Required |
|
|
94
|
+
|------|----------|
|
|
95
|
+
| Requirements documented | ✅ |
|
|
96
|
+
| KB searched | ✅ |
|
|
97
|
+
| Specification created | ✅ |
|
|
98
|
+
| Implementation plan created | ✅ |
|
|
99
|
+
| User approval obtained | ✅ |
|
|
100
|
+
| Risks identified | ✅ |
|
|
101
|
+
|
|
102
|
+
## Artifacts
|
|
103
|
+
|
|
104
|
+
- `implementation_plan.md` - Detailed plan
|
|
105
|
+
- `task.md` - Task checklist
|
|
106
|
+
- Sprint folder structure (if new sprint)
|
|
107
|
+
|
|
108
|
+
## Integration
|
|
109
|
+
|
|
110
|
+
- **@PM** - Primary owner
|
|
111
|
+
- **@BA** - Requirements
|
|
112
|
+
- **@SA** - Technical design
|
|
113
|
+
- **/orchestrator** - Full SDLC flow
|
|
114
|
+
- **/cycle** - Task lifecycle
|
|
115
|
+
|
|
116
|
+
#planning #requirements #design #approval
|
|
117
|
+
|
|
118
|
+
## ⏭️ Next Steps
|
|
119
|
+
- **If Approved:** Trigger `/cycle` for implementation
|
|
120
|
+
- **If Rejected:** Revise plan based on feedback
|
|
121
|
+
- **If Complex:** Trigger `/explore` for deeper analysis
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## ENFORCEMENT REMINDER
|
|
126
|
+
Never start coding without an approved plan.
|