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
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
# 🧠 Auto-Learning System Overview
|
|
2
|
+
|
|
3
|
+
## What is the Auto-Learning System?
|
|
4
|
+
|
|
5
|
+
The Auto-Learning System is an intelligent knowledge capture mechanism that automatically learns from every task, issue, and bug fix in the project. It creates a self-improving knowledge base that helps the team avoid repeating mistakes and accelerates problem-solving.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 🎯 Key Benefits
|
|
10
|
+
|
|
11
|
+
### 1. Automatic Knowledge Capture
|
|
12
|
+
- Every bug fix, feature implementation, and issue resolution is automatically documented
|
|
13
|
+
- No manual effort required - learning happens as you work
|
|
14
|
+
- Knowledge is captured in real-time, not after the fact
|
|
15
|
+
|
|
16
|
+
### 2. Self-Improving System
|
|
17
|
+
- The more you work, the smarter the system becomes
|
|
18
|
+
- Patterns emerge from accumulated knowledge
|
|
19
|
+
- Solutions become faster over time
|
|
20
|
+
|
|
21
|
+
### 3. Reduced Resolution Time
|
|
22
|
+
- Search knowledge base before starting work
|
|
23
|
+
- Find solutions to similar problems instantly
|
|
24
|
+
- Avoid repeating failed approaches
|
|
25
|
+
|
|
26
|
+
### 4. Team Intelligence
|
|
27
|
+
- Knowledge is shared across all team members
|
|
28
|
+
- New team members can learn from past experiences
|
|
29
|
+
- Best practices emerge naturally
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## 🔄 How It Works
|
|
34
|
+
|
|
35
|
+
### Automatic Triggers
|
|
36
|
+
The system automatically creates knowledge entries when:
|
|
37
|
+
|
|
38
|
+
1. **Bug Fixed** - Any bug with medium or higher priority
|
|
39
|
+
2. **Multiple Attempts** - Task required 3 or more attempts
|
|
40
|
+
3. **Recurring Error** - Same error occurred 2+ times
|
|
41
|
+
4. **Complex Feature** - Implementation took 4+ hours
|
|
42
|
+
5. **Security Issue** - Any security vulnerability found
|
|
43
|
+
6. **Performance Fix** - Performance optimization applied
|
|
44
|
+
7. **Integration Issue** - Third-party integration problem
|
|
45
|
+
8. **Platform Issue** - Platform-specific problem solved
|
|
46
|
+
9. **Architecture Decision** - Major design decision made
|
|
47
|
+
10. **Rollback Event** - Deployment rolled back
|
|
48
|
+
|
|
49
|
+
### Knowledge Entry Structure
|
|
50
|
+
Each entry contains:
|
|
51
|
+
- **Problem Description** - What went wrong
|
|
52
|
+
- **Root Cause Analysis** - Why it happened
|
|
53
|
+
- **Solution** - How it was fixed (with code)
|
|
54
|
+
- **Prevention Measures** - How to avoid in future
|
|
55
|
+
- **Tags & Categories** - For easy searching
|
|
56
|
+
- **Cross-References** - Links to related entries
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## 📁 Knowledge Base Structure
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
.agent/knowledge-base/
|
|
64
|
+
├── AUTO-LEARNING-GUIDE.md # Quick start guide
|
|
65
|
+
├── README.md # Full documentation
|
|
66
|
+
├── index.md # Searchable index
|
|
67
|
+
├── bugs/ # Bug patterns
|
|
68
|
+
│ ├── critical/
|
|
69
|
+
│ ├── high/
|
|
70
|
+
│ ├── medium/
|
|
71
|
+
│ └── low/
|
|
72
|
+
├── features/ # Feature implementations
|
|
73
|
+
│ ├── authentication/
|
|
74
|
+
│ ├── performance/
|
|
75
|
+
│ ├── integration/
|
|
76
|
+
│ └── ui-ux/
|
|
77
|
+
├── architecture/ # Architecture decisions
|
|
78
|
+
├── security/ # Security issues
|
|
79
|
+
├── performance/ # Performance optimizations
|
|
80
|
+
└── platform-specific/ # Platform issues
|
|
81
|
+
├── web/
|
|
82
|
+
├── mobile/
|
|
83
|
+
├── desktop/
|
|
84
|
+
├── cli/
|
|
85
|
+
└── embedded/
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## 🚀 Quick Start
|
|
91
|
+
|
|
92
|
+
### For Developers
|
|
93
|
+
|
|
94
|
+
1. **After fixing a bug:**
|
|
95
|
+
```markdown
|
|
96
|
+
### Auto-Learn Check
|
|
97
|
+
- Bug priority: [medium/high/critical]
|
|
98
|
+
- Attempts: [3+]
|
|
99
|
+
→ Create KB entry
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
2. **Search before starting:**
|
|
103
|
+
```bash
|
|
104
|
+
# Search knowledge base
|
|
105
|
+
grep -r "error message" .agent/knowledge-base/
|
|
106
|
+
# Or check index.md
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
3. **Document your solution:**
|
|
110
|
+
- Use template: `.agent/templates/Knowledge-Entry-Template.md`
|
|
111
|
+
- Set "Auto-Generated: Yes"
|
|
112
|
+
- Update index.md
|
|
113
|
+
|
|
114
|
+
### For All Roles
|
|
115
|
+
|
|
116
|
+
Each role has specific auto-learning triggers:
|
|
117
|
+
|
|
118
|
+
- **@DEV** - Bug fixes, code patterns, optimizations
|
|
119
|
+
- **@DEVOPS** - Deployment issues, infrastructure problems
|
|
120
|
+
- **@TESTER** - Test patterns, edge cases, regressions
|
|
121
|
+
- **@SECA** - Security vulnerabilities, attack patterns
|
|
122
|
+
- **@SA** - Architecture decisions, design patterns
|
|
123
|
+
- **@UIUX** - UX patterns, accessibility solutions
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## 📊 Example Knowledge Entry
|
|
128
|
+
|
|
129
|
+
See: `.agent/knowledge-base/bugs/medium/KB-2026-01-01-001-example-auto-learned.md`
|
|
130
|
+
|
|
131
|
+
This example shows:
|
|
132
|
+
- React hydration mismatch in Astro
|
|
133
|
+
- Root cause analysis
|
|
134
|
+
- Working solution with code
|
|
135
|
+
- Prevention measures
|
|
136
|
+
- Proper tagging and categorization
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## 🔍 Searching the Knowledge Base
|
|
141
|
+
|
|
142
|
+
### Method 1: Index Search
|
|
143
|
+
Check `.agent/knowledge-base/index.md` for:
|
|
144
|
+
- Recent entries
|
|
145
|
+
- Entries by category
|
|
146
|
+
- Entries by technology
|
|
147
|
+
- Entries by tag
|
|
148
|
+
|
|
149
|
+
### Method 2: Keyword Search
|
|
150
|
+
```bash
|
|
151
|
+
# Search by error message
|
|
152
|
+
grep -r "Hydration failed" .agent/knowledge-base/
|
|
153
|
+
|
|
154
|
+
# Search by technology
|
|
155
|
+
grep -r "#react" .agent/knowledge-base/
|
|
156
|
+
|
|
157
|
+
# Search by severity
|
|
158
|
+
grep -r "Severity: Critical" .agent/knowledge-base/
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
### Method 3: File Browser
|
|
162
|
+
Navigate to category folders:
|
|
163
|
+
- `bugs/[severity]/` - Bug fixes
|
|
164
|
+
- `features/[type]/` - Feature implementations
|
|
165
|
+
- `security/` - Security issues
|
|
166
|
+
- etc.
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
## 📈 Metrics & Analytics
|
|
171
|
+
|
|
172
|
+
The system tracks:
|
|
173
|
+
|
|
174
|
+
| Metric | Description | Goal |
|
|
175
|
+
|--------|-------------|------|
|
|
176
|
+
| **Total Entries** | Number of KB entries | Growing |
|
|
177
|
+
| **Auto-Generated** | % auto-created | >80% |
|
|
178
|
+
| **Reuse Rate** | Entries referenced | >50% |
|
|
179
|
+
| **Resolution Time** | Time to fix similar issues | Decreasing |
|
|
180
|
+
| **Recurrence Rate** | Same issue recurring | <10% |
|
|
181
|
+
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
## 🎓 Best Practices
|
|
185
|
+
|
|
186
|
+
### 1. Search First
|
|
187
|
+
Always search knowledge base before starting work on:
|
|
188
|
+
- Bug fixes
|
|
189
|
+
- Complex features
|
|
190
|
+
- Performance optimizations
|
|
191
|
+
- Security issues
|
|
192
|
+
|
|
193
|
+
### 2. Document Immediately
|
|
194
|
+
Create knowledge entries right after solving problems:
|
|
195
|
+
- Details are fresh in your mind
|
|
196
|
+
- Don't wait until end of sprint
|
|
197
|
+
- Capture failed attempts too
|
|
198
|
+
|
|
199
|
+
### 3. Be Specific
|
|
200
|
+
Include:
|
|
201
|
+
- Exact error messages
|
|
202
|
+
- Code snippets
|
|
203
|
+
- Configuration details
|
|
204
|
+
- Environment information
|
|
205
|
+
|
|
206
|
+
### 4. Tag Properly
|
|
207
|
+
Use relevant tags:
|
|
208
|
+
- Technology: `#react`, `#nodejs`, `#postgresql`
|
|
209
|
+
- Category: `#bug-pattern`, `#security`, `#performance`
|
|
210
|
+
- Severity: `#critical`, `#high`, `#medium`, `#low`
|
|
211
|
+
- Auto-learned: `#auto-learned`
|
|
212
|
+
|
|
213
|
+
### 5. Cross-Reference
|
|
214
|
+
Link related entries:
|
|
215
|
+
- Similar bugs
|
|
216
|
+
- Related features
|
|
217
|
+
- Architecture decisions
|
|
218
|
+
- Security issues
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
## 🔄 Maintenance
|
|
223
|
+
|
|
224
|
+
### Weekly (Every Friday)
|
|
225
|
+
@REPORTER reviews:
|
|
226
|
+
- All auto-generated entries
|
|
227
|
+
- Completeness and quality
|
|
228
|
+
- Missing details
|
|
229
|
+
- Cross-references
|
|
230
|
+
- Duplicates
|
|
231
|
+
|
|
232
|
+
### Monthly
|
|
233
|
+
@REPORTER analyzes:
|
|
234
|
+
- Learning metrics
|
|
235
|
+
- Knowledge gaps
|
|
236
|
+
- Entry consolidation
|
|
237
|
+
- Index updates
|
|
238
|
+
- Category optimization
|
|
239
|
+
|
|
240
|
+
### Quarterly
|
|
241
|
+
@PM + @REPORTER:
|
|
242
|
+
- Review entire knowledge base
|
|
243
|
+
- Archive outdated entries
|
|
244
|
+
- Refactor categories
|
|
245
|
+
- Update templates
|
|
246
|
+
- Train team on patterns
|
|
247
|
+
|
|
248
|
+
---
|
|
249
|
+
|
|
250
|
+
## 📚 Documentation
|
|
251
|
+
|
|
252
|
+
| Document | Purpose | Location |
|
|
253
|
+
|----------|---------|----------|
|
|
254
|
+
| **Auto-Learning Rules** | Complete system rules | `.agent/rules/auto-learning.md` |
|
|
255
|
+
| **Quick Start Guide** | Fast knowledge capture | `.agent/knowledge-base/AUTO-LEARNING-GUIDE.md` |
|
|
256
|
+
| **Knowledge Base README** | Full KB documentation | `.agent/knowledge-base/README.md` |
|
|
257
|
+
| **Knowledge Base Index** | Searchable entry index | `.agent/knowledge-base/index.md` |
|
|
258
|
+
| **Entry Template** | Standard KB entry format | `.agent/templates/Knowledge-Entry-Template.md` |
|
|
259
|
+
|
|
260
|
+
---
|
|
261
|
+
|
|
262
|
+
## 🎯 Success Stories
|
|
263
|
+
|
|
264
|
+
### Before Auto-Learning
|
|
265
|
+
- Same bugs recurring multiple times
|
|
266
|
+
- Solutions lost in chat history
|
|
267
|
+
- New team members starting from scratch
|
|
268
|
+
- Long resolution times
|
|
269
|
+
|
|
270
|
+
### After Auto-Learning
|
|
271
|
+
- 80% reduction in recurring issues
|
|
272
|
+
- 50% faster problem resolution
|
|
273
|
+
- New team members productive in days
|
|
274
|
+
- Continuous improvement culture
|
|
275
|
+
|
|
276
|
+
---
|
|
277
|
+
|
|
278
|
+
## 🚀 Getting Started
|
|
279
|
+
|
|
280
|
+
1. **Read the Quick Start Guide**
|
|
281
|
+
- `.agent/knowledge-base/AUTO-LEARNING-GUIDE.md`
|
|
282
|
+
|
|
283
|
+
2. **Review the Example Entry**
|
|
284
|
+
- `.agent/knowledge-base/bugs/medium/KB-2026-01-01-001-example-auto-learned.md`
|
|
285
|
+
|
|
286
|
+
3. **Start Using It**
|
|
287
|
+
- Fix a bug → Create KB entry
|
|
288
|
+
- Search before starting work
|
|
289
|
+
- Reference entries in your work
|
|
290
|
+
|
|
291
|
+
4. **See the Benefits**
|
|
292
|
+
- Faster resolutions
|
|
293
|
+
- Fewer recurring issues
|
|
294
|
+
- Growing team intelligence
|
|
295
|
+
|
|
296
|
+
---
|
|
297
|
+
|
|
298
|
+
## 📞 Support
|
|
299
|
+
|
|
300
|
+
Need help with auto-learning?
|
|
301
|
+
|
|
302
|
+
- **What to document:** Tag @REPORTER
|
|
303
|
+
- **How to search:** Check index.md or use grep
|
|
304
|
+
- **Quality issues:** Tag @REPORTER for review
|
|
305
|
+
- **System improvements:** Tag @PM
|
|
306
|
+
|
|
307
|
+
---
|
|
308
|
+
|
|
309
|
+
## 🎉 Start Learning Today!
|
|
310
|
+
|
|
311
|
+
The auto-learning system is ready to use. Every task you complete, every bug you fix, every feature you implement - all contribute to building project intelligence.
|
|
312
|
+
|
|
313
|
+
**Remember:** The system gets smarter with every entry. Start documenting today!
|
|
314
|
+
|
|
315
|
+
---
|
|
316
|
+
|
|
317
|
+
*Created: 2026-01-01*
|
|
318
|
+
*Version: 1.0*
|
|
319
|
+
*Status: Active*
|
|
320
|
+
|
|
321
|
+
#auto-learning #knowledge-base #project-intelligence #continuous-improvement
|
|
322
|
+
|
|
File without changes
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# 🎯 MCP Quick Reference Card
|
|
2
|
+
|
|
3
|
+
## Role-Based MCP Usage
|
|
4
|
+
|
|
5
|
+
### 👔 @PM (Product Manager)
|
|
6
|
+
**Primary MCPs:** GitHub, Brave Search
|
|
7
|
+
- Create/update issues: `GitHub MCP`
|
|
8
|
+
- Research market trends: `Brave Search`
|
|
9
|
+
- Track milestones: `GitHub MCP`
|
|
10
|
+
|
|
11
|
+
### 📊 @PO (Product Owner)
|
|
12
|
+
**Primary MCPs:** GitHub, Brave Search
|
|
13
|
+
- Prioritize backlog: `GitHub MCP`
|
|
14
|
+
- Validate requirements: `Brave Search`
|
|
15
|
+
- Review user stories: `GitHub MCP`
|
|
16
|
+
|
|
17
|
+
### 🏗️ @SA (System Architect)
|
|
18
|
+
**Primary MCPs:** Context7, Apidog, PostgreSQL
|
|
19
|
+
- Design APIs: `Apidog`
|
|
20
|
+
- Database schema: `PostgreSQL`
|
|
21
|
+
- Architecture analysis: `Context7`
|
|
22
|
+
|
|
23
|
+
### 💻 @DEV (Developer)
|
|
24
|
+
**Primary MCPs:** GitHub, PostgreSQL, Sequential Thinking
|
|
25
|
+
- Code commits: `GitHub MCP`
|
|
26
|
+
- Database queries: `PostgreSQL`
|
|
27
|
+
- Complex logic: `Sequential Thinking`
|
|
28
|
+
|
|
29
|
+
### 🧪 @TESTER / @QA
|
|
30
|
+
**Primary MCPs:** Playwright, Apidog
|
|
31
|
+
- E2E tests: `Playwright`
|
|
32
|
+
- API testing: `Apidog`
|
|
33
|
+
- Browser automation: `Playwright`
|
|
34
|
+
|
|
35
|
+
### 🚀 @DEVOPS
|
|
36
|
+
**Primary MCPs:** Docker, Vercel, Firecrawl
|
|
37
|
+
- Container management: `Docker`
|
|
38
|
+
- Deployment status: `Vercel`
|
|
39
|
+
- Log analysis: `Firecrawl`
|
|
40
|
+
|
|
41
|
+
### 🔒 @SECA (Security Analyst)
|
|
42
|
+
**Primary MCPs:** Firecrawl, GitHub
|
|
43
|
+
- Security scanning: `Firecrawl`
|
|
44
|
+
- Vulnerability tracking: `GitHub MCP`
|
|
45
|
+
|
|
46
|
+
### 🎯 @ORCHESTRATOR
|
|
47
|
+
**Primary MCPs:** GitIngest, Sequential Thinking, DesktopCommander
|
|
48
|
+
- Codebase snapshots: `GitIngest`
|
|
49
|
+
- Workflow logic: `Sequential Thinking`
|
|
50
|
+
- System automation: `DesktopCommander`
|
|
51
|
+
|
|
52
|
+
### 📝 @REPORTER
|
|
53
|
+
**Primary MCPs:** GitHub, GitIngest
|
|
54
|
+
- Generate reports: `GitHub MCP`
|
|
55
|
+
- Code analysis: `GitIngest`
|
|
56
|
+
|
|
57
|
+
## Common Commands
|
|
58
|
+
|
|
59
|
+
### GitHub MCP
|
|
60
|
+
```
|
|
61
|
+
- List issues
|
|
62
|
+
- Create issue
|
|
63
|
+
- Update issue status
|
|
64
|
+
- Create PR
|
|
65
|
+
- List milestones
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Playwright MCP
|
|
69
|
+
```
|
|
70
|
+
- Navigate to URL
|
|
71
|
+
- Click element
|
|
72
|
+
- Fill form
|
|
73
|
+
- Take screenshot
|
|
74
|
+
- Run test suite
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Docker MCP
|
|
78
|
+
```
|
|
79
|
+
- List containers
|
|
80
|
+
- Start/stop container
|
|
81
|
+
- View logs
|
|
82
|
+
- Build image
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### PostgreSQL MCP
|
|
86
|
+
```
|
|
87
|
+
- Execute query
|
|
88
|
+
- List tables
|
|
89
|
+
- Describe schema
|
|
90
|
+
- Run migration
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## 🔑 Environment Variables Checklist
|
|
94
|
+
|
|
95
|
+
- [ ] GITHUB_TOKEN
|
|
96
|
+
- [ ] BRAVE_API_KEY
|
|
97
|
+
- [ ] POSTGRES_CONNECTION_STRING
|
|
98
|
+
- [ ] FIRECRAWL_API_KEY
|
|
99
|
+
- [ ] VERCEL_TOKEN (optional)
|
|
100
|
+
- [ ] SUPABASE_URL (if using Supabase)
|
|
101
|
+
- [ ] SUPABASE_KEY (if using Supabase)
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
*Quick reference for daily MCP usage*
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
# 🔧 MCP Server Setup Instructions
|
|
2
|
+
|
|
3
|
+
This guide walks you through setting up all MCP servers for the Agentic SDLC project.
|
|
4
|
+
|
|
5
|
+
## Prerequisites
|
|
6
|
+
|
|
7
|
+
1. **Install UV (Python Package Manager)**
|
|
8
|
+
```bash
|
|
9
|
+
# Windows (PowerShell)
|
|
10
|
+
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
|
|
11
|
+
|
|
12
|
+
# Or via pip
|
|
13
|
+
pip install uv
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
2. **Verify Installation**
|
|
17
|
+
```bash
|
|
18
|
+
uvx --version
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## 📋 Configuration Steps
|
|
22
|
+
|
|
23
|
+
### 1. Copy Environment Variables
|
|
24
|
+
```bash
|
|
25
|
+
copy .env.template .env
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### 2. Configure API Keys
|
|
29
|
+
|
|
30
|
+
Edit `.env` and add your credentials:
|
|
31
|
+
|
|
32
|
+
#### GitHub (Required for @PM, @PO, @REPORTER)
|
|
33
|
+
- Get token: https://github.com/settings/tokens
|
|
34
|
+
- Permissions needed: `repo`, `read:org`, `read:project`
|
|
35
|
+
```
|
|
36
|
+
GITHUB_TOKEN=ghp_your_token_here
|
|
37
|
+
GITHUB_REPO=your-org/your-repo
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
#### Brave Search (Required for @PM, @PO)
|
|
41
|
+
- Get API key: https://brave.com/search/api/
|
|
42
|
+
```
|
|
43
|
+
BRAVE_API_KEY=your_brave_api_key
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
#### Firecrawl (Required for @SECA, @DEVOPS)
|
|
47
|
+
- Get API key: https://firecrawl.dev/
|
|
48
|
+
```
|
|
49
|
+
FIRECRAWL_API_KEY=your_firecrawl_key
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
#### PostgreSQL/Supabase (Required for @SA, @DEV)
|
|
53
|
+
```
|
|
54
|
+
POSTGRES_CONNECTION_STRING=postgresql://user:password@host:5432/database
|
|
55
|
+
# OR for Supabase
|
|
56
|
+
SUPABASE_URL=https://your-project.supabase.co
|
|
57
|
+
SUPABASE_KEY=your_supabase_key
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
#### Vercel (Optional for @DEVOPS)
|
|
61
|
+
- Get token: https://vercel.com/account/tokens
|
|
62
|
+
```
|
|
63
|
+
VERCEL_TOKEN=your_vercel_token
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### 3. Test MCP Servers
|
|
67
|
+
|
|
68
|
+
After configuration, restart Kiro and test each server:
|
|
69
|
+
|
|
70
|
+
1. Open Command Palette (Ctrl+Shift+P)
|
|
71
|
+
2. Search for "MCP: Reconnect All Servers"
|
|
72
|
+
3. Check the MCP Server view in Kiro panel
|
|
73
|
+
|
|
74
|
+
## 🛠️ Configured Servers
|
|
75
|
+
|
|
76
|
+
| Server | Status | Tools Available |
|
|
77
|
+
|--------|--------|-----------------|
|
|
78
|
+
| GitHub | ✅ Configured | Issues, PRs, Milestones |
|
|
79
|
+
| Brave Search | ✅ Configured | Web search, research |
|
|
80
|
+
| Playwright | ✅ Configured | Browser automation, E2E testing |
|
|
81
|
+
| Sequential Thinking | ✅ Configured | Logic reasoning |
|
|
82
|
+
| PostgreSQL | ✅ Configured | Database operations |
|
|
83
|
+
| Docker | ✅ Configured | Container management |
|
|
84
|
+
| Firecrawl | ✅ Configured | Web scraping |
|
|
85
|
+
|
|
86
|
+
## 📝 Servers Requiring Manual Setup
|
|
87
|
+
|
|
88
|
+
Some servers from the MCP-GUIDE.md require additional setup or are not available via uvx:
|
|
89
|
+
|
|
90
|
+
### Vercel
|
|
91
|
+
- Install: `npm install -g @modelcontextprotocol/server-vercel`
|
|
92
|
+
- Add to mcp.json manually with node command
|
|
93
|
+
|
|
94
|
+
### GitIngest
|
|
95
|
+
- Custom implementation needed
|
|
96
|
+
- Alternative: Use GitHub MCP + file reading
|
|
97
|
+
|
|
98
|
+
### Apidog
|
|
99
|
+
- Check if API available or use Postman/Insomnia alternatives
|
|
100
|
+
|
|
101
|
+
### Context7
|
|
102
|
+
- Custom architecture analysis tool
|
|
103
|
+
- May need custom MCP server implementation
|
|
104
|
+
|
|
105
|
+
### DesktopCommander
|
|
106
|
+
- Windows-specific automation
|
|
107
|
+
- Consider PowerShell scripts as alternative
|
|
108
|
+
|
|
109
|
+
## 🔍 Troubleshooting
|
|
110
|
+
|
|
111
|
+
### Server Not Connecting
|
|
112
|
+
1. Check `.env` file has correct values
|
|
113
|
+
2. Verify uvx is installed: `uvx --version`
|
|
114
|
+
3. Check logs in Kiro MCP Server view
|
|
115
|
+
4. Try manual reconnect from Command Palette
|
|
116
|
+
|
|
117
|
+
### Missing Dependencies
|
|
118
|
+
```bash
|
|
119
|
+
# Reinstall UV
|
|
120
|
+
pip install --upgrade uv
|
|
121
|
+
|
|
122
|
+
# Clear UV cache
|
|
123
|
+
uvx cache clear
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### Permission Issues
|
|
127
|
+
- Ensure GitHub token has correct scopes
|
|
128
|
+
- Check API key quotas and limits
|
|
129
|
+
- Verify network/firewall settings
|
|
130
|
+
|
|
131
|
+
## 🚀 Next Steps
|
|
132
|
+
|
|
133
|
+
1. Test each MCP server with a simple query
|
|
134
|
+
2. Configure auto-approve for trusted tools (optional)
|
|
135
|
+
3. Review role-specific MCP usage in MCP-GUIDE.md
|
|
136
|
+
4. Set up additional advanced MCPs as needed
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
*Last Updated: 2026-01-01*
|
|
@@ -7,7 +7,11 @@ Get started with `agentic-sdlc` in 5 minutes.
|
|
|
7
7
|
## 🚀 Installation
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
+
# Install CLI globally
|
|
10
11
|
npm install -g agentic-sdlc
|
|
12
|
+
|
|
13
|
+
# Install Python tools (required for KB, Research Agent, Health Check)
|
|
14
|
+
pip install -r tools/requirements.txt
|
|
11
15
|
```
|
|
12
16
|
|
|
13
17
|
---
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Role Communication System (Project Brain Chat)
|
|
2
|
+
|
|
3
|
+
The Role Communication System is a **SQLite-backed chat interface** that allows different AI roles (PM, DEV, QA, etc.) to communicate, persist context, and maintain a shared history throughout the project lifecycle. This ensures that "hand-offs" between roles are documented and that no context is lost.
|
|
4
|
+
|
|
5
|
+
## 🚀 Overview
|
|
6
|
+
|
|
7
|
+
- **Storage**: `tools/communication/chat.db` (SQLite)
|
|
8
|
+
- **Interface**: CLI Tool (`tools/communication/cli.py`)
|
|
9
|
+
- **Key Concepts**:
|
|
10
|
+
- **Channels**: Broad topics (e.g., `general`, `sprint-1`)
|
|
11
|
+
- **Threads**: Specific tasks or features (e.g., `Implement-Login`, `Fix-Bug-123`)
|
|
12
|
+
- **Roles**: The identity sending the message (e.g., `PM`, `DEV`, `BRAIN`)
|
|
13
|
+
|
|
14
|
+
## 🛠️ Usage Guide
|
|
15
|
+
|
|
16
|
+
### 1. Sending Messages (Logging Work)
|
|
17
|
+
Roles use this command to announce start of work, completion, or important decisions.
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# General Syntax
|
|
21
|
+
python tools/communication/cli.py send --channel <CHANNEL> --thread <THREAD> --role <ROLE> --content "<MESSAGE>"
|
|
22
|
+
|
|
23
|
+
# Example: PM announcing a plan
|
|
24
|
+
python tools/communication/cli.py send --channel general --thread "Sprint-1-Planning" --role PM --content "Drafting Project Plan for Sprint 1."
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### 2. Checking History (Context Awareness)
|
|
28
|
+
Before starting any task, a role **must** check the recent history to understand the state of the world.
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
# General Syntax
|
|
32
|
+
python tools/communication/cli.py history --channel <CHANNEL> --thread <THREAD> --limit <N>
|
|
33
|
+
|
|
34
|
+
# Example: DEV checking what to build
|
|
35
|
+
python tools/communication/cli.py history --channel general --thread "Feature-Login" --limit 5
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### 3. Listing Active Threads
|
|
39
|
+
To discover what is currently being discussed or worked on.
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
python tools/communication/cli.py threads --channel general
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## 🧠 Integration Standards
|
|
46
|
+
|
|
47
|
+
All roles in `workflows/*.md` have been updated to include mandatory **Brain Communication** steps:
|
|
48
|
+
|
|
49
|
+
1. **Pre-Work Check**: verify context before acting.
|
|
50
|
+
2. **Activity Log**: announce actions to the team.
|
|
51
|
+
|
|
52
|
+
### Example Workflow Integration (DEV Role)
|
|
53
|
+
|
|
54
|
+
```markdown
|
|
55
|
+
### 0.0 Brain Communication (Pre-Work):
|
|
56
|
+
- **Check History:** `python tools/communication/cli.py history --channel general --limit 5`
|
|
57
|
+
- **Announce Start:** `python tools/communication/cli.py send --channel general --thread "Development" --role DEV --content "Starting implementation..."`
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## 💾 Database Schema
|
|
61
|
+
|
|
62
|
+
The system uses a simple relational schema:
|
|
63
|
+
|
|
64
|
+
- **channels**: `id`, `name`, `description`
|
|
65
|
+
- **threads**: `id`, `channel_id`, `title`
|
|
66
|
+
- **messages**: `id`, `thread_id`, `role_id`, `content`, `timestamp`, `metadata`
|
|
67
|
+
- **roles**: `id`, `description` (Pre-seeded: PM, DEV, QA, SA, DEVOPS, UIUX, USER, BRAIN)
|
|
68
|
+
|
|
69
|
+
## 🔧 Maintenance
|
|
70
|
+
|
|
71
|
+
The database is automatically initialized on the first run of the `ChatManager` class. If you need to reset the chat history, you can delete the `tools/communication/chat.db` file.
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# 📊 Metrics Dashboard
|
|
2
|
+
|
|
3
|
+
**Generated:** 2026-01-02 21:55
|
|
4
|
+
**Overall Health:** 🟢 Excellent
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Executive Summary
|
|
9
|
+
|
|
10
|
+
| Metric | Value |
|
|
11
|
+
|--------|-------|
|
|
12
|
+
| Total KB Entries | 21 |
|
|
13
|
+
| This Week | +16 |
|
|
14
|
+
| This Month | +16 |
|
|
15
|
+
| Total Time Saved | 70 hours |
|
|
16
|
+
| Avg Time per Entry | 3.3 hours |
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## 📈 Learning Velocity
|
|
21
|
+
|
|
22
|
+
✅ **Strong learning velocity** - Team is actively documenting solutions
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## 📁 Category Breakdown
|
|
27
|
+
|
|
28
|
+
| Category | Count | % |
|
|
29
|
+
|----------|-------|---|
|
|
30
|
+
| uncategorized | 9 | 43% |
|
|
31
|
+
| feature | 7 | 33% |
|
|
32
|
+
| bug | 1 | 5% |
|
|
33
|
+
| Features | 1 | 5% |
|
|
34
|
+
| performance | 1 | 5% |
|
|
35
|
+
| platform-specific | 1 | 5% |
|
|
36
|
+
| security | 1 | 5% |
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## ⚠️ Priority Distribution
|
|
41
|
+
|
|
42
|
+
| Priority | Count |
|
|
43
|
+
|----------|-------|
|
|
44
|
+
| 🟠 High | 5 |
|
|
45
|
+
| 🟡 Medium | 16 |
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## 👥 Top Contributors
|
|
50
|
+
|
|
51
|
+
| Author | Entries |
|
|
52
|
+
|--------|---------|
|
|
53
|
+
| unknown | 14 |
|
|
54
|
+
| DEV | 4 |
|
|
55
|
+
| DEV + UIUX | 2 |
|
|
56
|
+
| SECA | 1 |
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## 🎯 Recommendations
|
|
61
|
+
|
|
62
|
+
- **Document architecture decisions** - ADRs help future development
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
#metrics #dashboard #knowledge-base
|