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