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.
Files changed (144) hide show
  1. package/.agent/rules/agent-execution.md +55 -0
  2. package/.agent/rules/ai-enforcement.md +4 -3
  3. package/.agent/rules/artifacts.md +1 -1
  4. package/.agent/rules/auto-learning.md +78 -0
  5. package/.agent/rules/code-quality.md +40 -0
  6. package/.agent/rules/global.md +2 -2
  7. package/.agent/rules/naming-conventions.md +55 -0
  8. package/.agent/skills/role-ba.md +6 -2
  9. package/.agent/skills/role-brain.md +5 -1
  10. package/.agent/skills/role-cloud.md +38 -0
  11. package/.agent/skills/role-dev.md +22 -1
  12. package/.agent/skills/role-devops.md +4 -0
  13. package/.agent/skills/role-game.md +35 -0
  14. package/.agent/skills/role-mobile.md +55 -0
  15. package/.agent/skills/role-orchestrator.md +4 -0
  16. package/.agent/skills/role-pm.md +4 -0
  17. package/.agent/skills/role-po.md +4 -0
  18. package/.agent/skills/role-reporter.md +4 -0
  19. package/.agent/skills/role-research.md +78 -0
  20. package/.agent/skills/role-sa.md +4 -0
  21. package/.agent/skills/role-seca.md +4 -0
  22. package/.agent/skills/role-stakeholder.md +4 -0
  23. package/.agent/skills/role-tester.md +4 -0
  24. package/.agent/skills/role-uiux.md +4 -0
  25. package/.agent/templates/Specification-Template.md +38 -0
  26. package/.agent/templates/ab-comparison-report.md +175 -0
  27. package/.agent/templates/observer-report.md +131 -0
  28. package/.agent/templates/quality-score-report.md +197 -0
  29. package/.agent/templates/self-learning-digest.md +268 -0
  30. package/.agent/templates/system-health-report.md +330 -0
  31. package/.agent/workflows/ab.md +101 -0
  32. package/.agent/workflows/autogen.md +65 -0
  33. package/.agent/workflows/brain.md +48 -37
  34. package/.agent/workflows/commit.md +61 -0
  35. package/.agent/workflows/cycle.md +32 -11
  36. package/.agent/workflows/debug.md +123 -0
  37. package/.agent/workflows/deep-search.md +82 -0
  38. package/.agent/workflows/docs.md +144 -0
  39. package/.agent/workflows/emergency.md +17 -15
  40. package/.agent/workflows/explore.md +15 -9
  41. package/.agent/workflows/housekeeping.md +24 -11
  42. package/.agent/workflows/metrics.md +14 -12
  43. package/.agent/workflows/monitor.md +98 -0
  44. package/.agent/workflows/observe.md +84 -0
  45. package/.agent/workflows/onboarding.md +135 -0
  46. package/.agent/workflows/orchestrator.md +12 -5
  47. package/.agent/workflows/planning.md +126 -0
  48. package/.agent/workflows/refactor.md +132 -0
  49. package/.agent/workflows/release.md +19 -12
  50. package/.agent/workflows/review.md +99 -0
  51. package/.agent/workflows/score.md +104 -0
  52. package/.agent/workflows/sprint.md +16 -14
  53. package/.agent/workflows/validate.md +13 -11
  54. package/.agent/workflows/worktree.md +154 -0
  55. package/CHANGELOG.md +71 -0
  56. package/README.md +12 -4
  57. package/bin/cli.js +142 -16
  58. package/docs/.brain-health-history.json +42 -0
  59. package/docs/.brain-improvements.json +53 -0
  60. package/docs/.brain-learner-log.json +27 -0
  61. package/docs/.brain-scores.json +310 -0
  62. package/docs/architecture/system-flow.mermaid +81 -0
  63. package/docs/artifacts/2026-01-05-enforcement-gates-plan.md +80 -0
  64. package/docs/artifacts/2026-01-05-workflow-analysis.md +231 -0
  65. package/docs/artifacts/README.md +26 -0
  66. package/docs/guides/MCP-GUIDE.md +1 -0
  67. package/docs/reports/2026-01-05-autogen-evaluation.md +64 -0
  68. package/docs/reports/2026-01-05-brain-layer-analysis.md +109 -0
  69. package/docs/reports/2026-01-05-repository-audit.md +253 -0
  70. package/docs/reports/Metrics-Dashboard-2026-01-08.md +29 -0
  71. package/docs/reports/Metrics-Dashboard-Final.md +29 -0
  72. package/docs/reports/Validation-Report-2026-01-05.md +40 -0
  73. package/docs/reports/Validation-Report-2026-01-08.md +40 -0
  74. package/docs/reports/worktrunk-audit.md +94 -0
  75. package/docs/solutions/README.md +96 -0
  76. package/docs/walkthroughs/2026-01-05-audit-implementation.md +36 -0
  77. package/docs/walkthroughs/2026-01-05-autonomy-release.md +54 -0
  78. package/docs/walkthroughs/2026-01-05-enforcement-gates.md +33 -0
  79. package/docs/walkthroughs/2026-01-05-judge-enhancement.md +30 -0
  80. package/docs/walkthroughs/2026-01-05-landing-page-orchestrator.md +52 -0
  81. package/docs/walkthroughs/2026-01-05-validation.md +32 -0
  82. package/docs/walkthroughs/2026-01-05-workflow-audit.md +89 -0
  83. package/docs/walkthroughs/2026-01-05-workflow-refactoring.md +44 -0
  84. package/docs/walkthroughs/2026-01-06-worktrunk-integration.md +41 -0
  85. package/docs/walkthroughs/README.md +25 -0
  86. package/package.json +33 -19
  87. package/.agent/knowledge-base/AUTO-LEARNING-GUIDE.md +0 -327
  88. package/.agent/knowledge-base/HOW-IT-WORKS.md +0 -365
  89. package/.agent/knowledge-base/INDEX.md +0 -43
  90. package/.agent/knowledge-base/README.md +0 -242
  91. package/.agent/knowledge-base/architecture/.gitkeep +0 -1
  92. package/.agent/knowledge-base/architecture/KB-2026-01-01-003-neo4j-graph-database-skills.md +0 -1146
  93. package/.agent/knowledge-base/architecture/README.md +0 -98
  94. package/.agent/knowledge-base/bugs/.gitkeep +0 -1
  95. package/.agent/knowledge-base/bugs/KB-2026-01-02-yaml-special-character-escaping.md +0 -56
  96. package/.agent/knowledge-base/bugs/medium/KB-2026-01-01-001-example-auto-learned.md +0 -198
  97. package/.agent/knowledge-base/features/.gitkeep +0 -1
  98. package/.agent/knowledge-base/features/KB-2026-01-01-001-landing-page-design-trends-2026.md +0 -646
  99. package/.agent/knowledge-base/features/KB-2026-01-01-004-uiux-design-skills-2026.md +0 -945
  100. package/.agent/knowledge-base/features/KB-2026-01-01-005-modern-ai-landing-page-ui.md +0 -310
  101. package/.agent/knowledge-base/features/KB-2026-01-01-006-award-winning-landing-page-patterns.md +0 -324
  102. package/.agent/knowledge-base/features/KB-2026-01-02-001-cleanup-workflow.md +0 -242
  103. package/.agent/knowledge-base/features/KB-2026-01-02-002-landing-page-monorepo-architecture.md +0 -148
  104. package/.agent/knowledge-base/features/KB-2026-01-02-003-premium-glassmorphism-patterns.md +0 -58
  105. package/.agent/knowledge-base/features/KB-2026-01-04-ai-agent-enforcement.md +0 -46
  106. package/.agent/knowledge-base/features/README.md +0 -83
  107. package/.agent/knowledge-base/features/figma-landing-page-workflow.md +0 -311
  108. package/.agent/knowledge-base/features/figma-mcp-sa-guide.md +0 -673
  109. package/.agent/knowledge-base/features/figma-mcp-uiux-guide.md +0 -459
  110. package/.agent/knowledge-base/performance/.gitkeep +0 -1
  111. package/.agent/knowledge-base/performance/KB-2026-01-02-lazy-loading-optimization.md +0 -80
  112. package/.agent/knowledge-base/platform-specific/.gitkeep +0 -1
  113. package/.agent/knowledge-base/platform-specific/KB-2026-01-02-windows-console-encoding.md +0 -56
  114. package/.agent/knowledge-base/role-guides/DEV-KB-Guide.md +0 -527
  115. package/.agent/knowledge-base/role-guides/DEVOPS-KB-Guide.md +0 -491
  116. package/.agent/knowledge-base/role-guides/PM-KB-Guide.md +0 -299
  117. package/.agent/knowledge-base/role-guides/SECA-KB-Guide.md +0 -555
  118. package/.agent/knowledge-base/role-guides/TESTER-KB-Guide.md +0 -519
  119. package/.agent/knowledge-base/security/.gitkeep +0 -1
  120. package/.agent/knowledge-base/security/KB-2026-01-02-input-validation-sanitization.md +0 -74
  121. package/.agent/rules/AUTO-LEARNING.md +0 -418
  122. package/.agent/rules/KNOWLEDGE-BASE.md +0 -45
  123. package/.agent/workflows/compound.md +0 -51
  124. package/.agent/workflows/preflight.md +0 -35
  125. package/.agent/workflows/route.md +0 -160
  126. package/bin/kb +0 -34
  127. package/bin/kb.bat +0 -28
  128. package/bin/kb_cli.py +0 -226
  129. package/bin/lib/README.md +0 -411
  130. package/bin/lib/__init__.py +0 -7
  131. package/bin/lib/__pycache__/kb_add.cpython-313.pyc +0 -0
  132. package/bin/lib/__pycache__/kb_common.cpython-313.pyc +0 -0
  133. package/bin/lib/__pycache__/kb_compound.cpython-313.pyc +0 -0
  134. package/bin/lib/__pycache__/kb_index.cpython-313.pyc +0 -0
  135. package/bin/lib/__pycache__/kb_list.cpython-313.pyc +0 -0
  136. package/bin/lib/__pycache__/kb_search.cpython-313.pyc +0 -0
  137. package/bin/lib/__pycache__/kb_stats.cpython-313.pyc +0 -0
  138. package/bin/lib/kb_add.py +0 -203
  139. package/bin/lib/kb_common.py +0 -224
  140. package/bin/lib/kb_compound.py +0 -250
  141. package/bin/lib/kb_index.py +0 -193
  142. package/bin/lib/kb_list.py +0 -144
  143. package/bin/lib/kb_search.py +0 -121
  144. package/bin/lib/kb_stats.py +0 -153
package/CHANGELOG.md CHANGED
@@ -4,6 +4,77 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ---
8
+
9
+ ## [1.8.1] - 2026-01-10 (Sprint 6)
10
+
11
+ ### Documentation
12
+ - [Workflows] add npm publish step to release workflow
13
+
14
+ ### Maintenance
15
+ - [Tools] fix import paths and update package.json for new structure
16
+
17
+
18
+ ---
19
+
20
+ ## [1.8.0] - 2026-01-10 (Sprint 6)
21
+
22
+ ### Added
23
+ - [Telegram] implement custom login, file previews, and os polyfill fixes
24
+ - [Telegram] implement user-based MTProto authentication with GramJS, dual login UI, and demo file previews
25
+ - [Workflows] add missing intelligence workflows (observe, ab, score, monitor, planning)
26
+ - [Workflows] reach 100 health score
27
+ - [Workflows] restore metrics dashboard functionality and reach 100 health score
28
+ - [Core] complete project restructure, fix import errors and update documentation
29
+ - Initialize the FFmpeg editor project with Tauri, React, and core UI components.
30
+ - [Autogen] integrate Microsoft AutoGen for multi-agent task execution
31
+ - [Landing Page] add /worktree workflow to landing page
32
+ - [Worktree] add Worktrunk CLI integration for parallel AI agent workflows
33
+ - Replace `kb` scripts with new `brain` and Neo4j-related commands.
34
+ - introduce Layer 2 Intelligence with core agentic capabilities and initial Multi-Agent Control Plane.
35
+
36
+ ### Fixed
37
+ - [Workflows] resolve sys.path and import errors in all workflow scripts
38
+ - [Workflows] repair housekeeping workflow and crash issues - fix: update housekeeping.py to use knowledge_graph instead of legacy modules - fix: patch brain_parallel.py with explicit utf-8 encoding for windows compatibility - fix: add missing --kb-path argument to sync_skills_to_neo4j.py - feat: enhance housekeeping cleanup to remove *_output.txt and debug_*.txt - fix: prevent self_improver from flagging __pycache__ as errors
39
+
40
+ ### Documentation
41
+ - update workflow count to 23 and add /planning to workflow list
42
+ - [Report] update validation report timestamp and health score confirmation
43
+ - update workflow count to 18 and add AutoGen feature
44
+ - add release walkthrough
45
+
46
+ ### Maintenance
47
+ - [Workflows] enforce specification workflow in rules and docs
48
+ - finalize project restructure and reach 100 health score
49
+ - [Workflows] fix broken tool paths after restructure
50
+ - [Scripts] add landing-page project scripts to root package.json
51
+ - [Landing-Page] update obsolete KB references to neo4j brain
52
+ - [Arch] remediate architecture audit findings
53
+ - [Knowledge Base] remove file-based knowledge base and associated tools
54
+
55
+
56
+ ---
57
+
58
+ ## [1.7.0] - 2026-01-05
59
+
60
+ ### Added
61
+ - add push capability to /commit workflow
62
+ - implement /commit workflow and helper tool
63
+ - remove interactive prompts and add non-interactive modes for automation
64
+ - Implement agent brain protocol and enforcement gates with a new judge tool.
65
+ - introduce agentic SDLC CLI, implement various agent workflows, and establish a comprehensive documentation structure.
66
+ - introduce agentic SDLC workflow definitions for various operational tasks.
67
+
68
+ ### Fixed
69
+ - mermaid syntax error in system-flow diagram
70
+
71
+ ### Documentation
72
+ - update documentation and landing page with /commit workflow and agent autonomy features
73
+ - update knowledge base index
74
+ - add audit walkthrough and validation reports
75
+ - add Next Steps section to all workflows and skills
76
+
77
+
7
78
  ---
8
79
 
9
80
  ## [1.6.0] - 2026-01-04 (Sprint 6)
package/README.md CHANGED
@@ -7,8 +7,9 @@
7
7
  **Agentic SDLC** is an AI-powered development framework that simulates a complete software development team within your IDE. It provides:
8
8
 
9
9
  - **14 Specialized AI Roles** - PM, BA, SA, UI/UX, QA, Security, Dev, DevOps, Tester, Reporter, and more
10
- - **12 Automated Workflows** - From planning to deployment with `/slash` commands
10
+ - **18 Automated Workflows** - From planning to deployment with `/slash` commands
11
11
  - **Intelligent Brain System** - 3-Layer architecture with state management and self-learning
12
+ - **Multi-Agent Teams** - AutoGen-powered autonomous agent collaboration
12
13
  - **Cross-IDE Compatibility** - Works with Cursor, Windsurf, Cline, Aider, Gemini, and any AI-powered IDE
13
14
  - **Monorepo Architecture** - Shared brain system across multiple projects
14
15
 
@@ -78,7 +79,7 @@ Delivery → @REPORTER, @STAKEHOLDER
78
79
  Meta → @BRAIN, @ORCHESTRATOR
79
80
  ```
80
81
 
81
- ### 2. Slash Commands (12 Workflows)
82
+ ### 2. Slash Commands (18 Workflows)
82
83
 
83
84
  Execute complete workflows with simple commands:
84
85
 
@@ -92,9 +93,15 @@ Execute complete workflows with simple commands:
92
93
  /metrics # View metrics dashboard
93
94
  /release # Release management
94
95
  /emergency # Critical incident response
95
- /route # Intelligent workflow routing
96
- /compound # Knowledge capture
97
96
  /housekeeping # Cleanup & maintenance
97
+ /review # Code review workflow (NEW)
98
+ /debug # Systematic debugging (NEW)
99
+ /refactor # Safe refactoring (NEW)
100
+ /onboarding # Agent ramp-up (NEW)
101
+ /docs # Documentation creation (NEW)
102
+ /commit # Smart git commit (NEW)
103
+ /worktree # Parallel AI agent workflows (NEW)
104
+ /autogen # Multi-agent task execution (NEW)
98
105
  ```
99
106
 
100
107
  ### 3. Monorepo Architecture
@@ -203,6 +210,7 @@ python tools/neo4j/brain_parallel.py --sync # Sync brain
203
210
  | Inconsistent code quality | Enforced by @QA, @SECA |
204
211
  | Lost knowledge | Compound learning brain |
205
212
  | Repetitive tasks | Automated with @AUTO |
213
+ | Single-agent limits | Multi-agent teams with AutoGen |
206
214
  | Solo problem-solving | 13+ AI experts available |
207
215
 
208
216
  ## 🔗 Links
package/bin/cli.js CHANGED
@@ -7,32 +7,121 @@ import fs from 'fs';
7
7
  const __dirname = dirname(fileURLToPath(import.meta.url));
8
8
  const rootDir = resolve(__dirname, '..');
9
9
 
10
+ // Command mappings: command -> python script path
10
11
  const commands = {
12
+ // Brain & Core
13
+ 'brain': 'tools/brain/brain_cli.py',
14
+ 'learn': 'tools/neo4j/learning_engine.py',
15
+ 'research': 'tools/research/research_agent.py',
16
+
17
+ // Layer 2: Intelligence
18
+ 'score': 'tools/layer2/scorer/input_scorer.py',
19
+ 'score-input': 'tools/layer2/scorer/input_scorer.py',
20
+ 'score-output': 'tools/layer2/scorer/output_scorer.py',
21
+ 'route': 'tools/layer2/router/workflow_router.py',
22
+ 'route-workflow': 'tools/layer2/router/workflow_router.py',
23
+ 'route-agent': 'tools/layer2/router/agent_router.py',
24
+ 'rules': 'tools/layer2/router/rules_engine.py',
25
+ 'monitor': 'tools/layer2/monitor/observer.py',
26
+ 'observe': 'tools/layer2/monitor/observer.py',
27
+ 'check-rules': 'tools/layer2/monitor/rule_checker.py',
28
+ 'audit': 'tools/layer2/monitor/audit_logger.py',
29
+
30
+ // Layer 3: Infrastructure
11
31
  'release': 'tools/release/release.py',
12
- 'kb': 'bin/kb_cli.py',
32
+
13
33
  'agent': 'tools/run.py',
14
34
  'validate': 'tools/validation/validate.py',
15
35
  'health': 'tools/validation/health-check.py',
16
36
  'setup': 'tools/setup/init.py',
17
- 'brain': 'tools/brain/brain_cli.py',
18
- 'research': 'tools/research/research_agent.py'
37
+
38
+
39
+ // MCP
40
+ 'mcp': 'mcp/protocol.py',
41
+
42
+ // AutoGen Multi-Agent
43
+ 'autogen': 'tools/autogen/runner.py',
44
+
45
+ // Run arbitrary scripts
46
+ 'run': null // Special: run <path>
47
+ };
48
+
49
+ // Command aliases
50
+ const aliases = {
51
+ 'l2': 'layer2',
52
+ 'wf': 'workflow',
53
+ 's': 'score',
54
+ 'r': 'route',
55
+ 'm': 'monitor',
56
+ 'b': 'brain'
19
57
  };
20
58
 
21
59
  const args = process.argv.slice(2);
22
- const command = args[0];
60
+ let command = args[0];
61
+
62
+ // Resolve alias
63
+ if (aliases[command]) {
64
+ command = aliases[command];
65
+ }
23
66
 
24
67
  function printUsage() {
25
- console.log("Usage: agentic-sdlc <command> [args]");
26
- console.log("Commands:");
27
- console.log(" release Manage releases (args: release, preview, changelog, version)");
28
- console.log(" workflow Run workflows (args: cycle, housekeeping, etc.)");
29
- console.log(" kb Knowledge Base tools");
30
- console.log(" agent Run default agent");
31
- console.log(" validate Validate system");
32
- console.log(" health Check health");
33
- console.log(" setup Initialize project");
34
- console.log(" brain Brain system management");
35
- console.log(" research Research agent");
68
+ console.log(`
69
+ ╔═══════════════════════════════════════════════════════════════╗
70
+ ║ AGENTIC SDLC CLI ║
71
+ ║ 3-Layer Brain Architecture Control ║
72
+ ╚═══════════════════════════════════════════════════════════════╝
73
+
74
+ Usage: agentic-sdlc <command> [args]
75
+
76
+ ╭─────────────────────────────────────────────────────────────────╮
77
+ LAYER 1: CORE │
78
+ ├─────────────────────────────────────────────────────────────────┤
79
+ │ brain Brain system management & state control │
80
+ │ learn Self-learning engine (Neo4j integration) │
81
+ │ research Research agent for deep investigation │
82
+ ╰─────────────────────────────────────────────────────────────────╯
83
+
84
+ ╭─────────────────────────────────────────────────────────────────╮
85
+ │ LAYER 2: INTELLIGENCE │
86
+ ├─────────────────────────────────────────────────────────────────┤
87
+ │ score Score input/output quality │
88
+ │ score-input Score input request quality │
89
+ │ score-output Score output/response quality │
90
+ │ route Route to appropriate workflow │
91
+ │ route-agent Route to appropriate AI agent/role │
92
+ │ rules Evaluate routing rules │
93
+ │ monitor Monitor system & detect violations │
94
+ │ observe Alias for monitor │
95
+ │ check-rules Validate rule compliance │
96
+ │ audit View audit logs │
97
+ ╰─────────────────────────────────────────────────────────────────╯
98
+
99
+ ╭─────────────────────────────────────────────────────────────────╮
100
+ │ LAYER 3: INFRASTRUCTURE │
101
+ ├─────────────────────────────────────────────────────────────────┤
102
+ │ release Manage releases & version bumping │
103
+ │ workflow Run workflows (cycle, orchestrator, debug, etc.) │
104
+
105
+ │ validate Validate system configuration │
106
+ │ health Check system health │
107
+ │ setup Initialize project │
108
+
109
+ │ mcp MCP (Model Context Protocol) management │
110
+ │ autogen Multi-agent task execution (AutoGen) │
111
+ │ run Run arbitrary Python script │
112
+ ╰─────────────────────────────────────────────────────────────────╯
113
+
114
+ Examples:
115
+ agentic-sdlc brain status # Check brain status
116
+ agentic-sdlc score --score "Add login" # Score input quality
117
+ agentic-sdlc route --route "fix bug" # Get workflow recommendation
118
+ agentic-sdlc monitor --status # Check monitor status
119
+ agentic-sdlc release --preview # Preview release changes
120
+ agentic-sdlc workflow cycle # Run cycle workflow
121
+ agentic-sdlc run tools/brain/judge.py # Run any Python script
122
+
123
+ Aliases: l2=layer2, wf=workflow, s=score, r=route, m=monitor, b=brain
124
+ `);
36
125
  }
37
126
 
38
127
  if (!command || command === '--help' || command === '-h') {
@@ -43,6 +132,31 @@ if (!command || command === '--help' || command === '-h') {
43
132
  let scriptPath = commands[command];
44
133
  let scriptArgs = args.slice(1);
45
134
 
135
+ // Special handling for layer2 namespace
136
+ if (command === 'layer2') {
137
+ const sub = args[1];
138
+ if (!sub) {
139
+ console.log(`
140
+ Layer 2 (Intelligence) Commands:
141
+ scorer Input/output quality scoring
142
+ ab_test A/B testing engine
143
+ self_learning Pattern recognition & improvement
144
+ artifact_gen Artifact generation
145
+ router Workflow & agent routing
146
+ proxy Model cost optimization
147
+ task_manager Kanban-style task management
148
+ monitor Compliance monitoring
149
+ performance Flow optimization
150
+
151
+ Usage: agentic-sdlc layer2 <component> [args]
152
+ Example: agentic-sdlc layer2 scorer --score "your text"
153
+ `);
154
+ process.exit(0);
155
+ }
156
+ scriptPath = `tools/layer2/${sub}/__init__.py`;
157
+ scriptArgs = args.slice(2);
158
+ }
159
+
46
160
  // Special handling for workflows
47
161
  if (command === 'workflow') {
48
162
  const sub = args[1];
@@ -51,13 +165,24 @@ if (command === 'workflow') {
51
165
  scriptArgs = args.slice(2);
52
166
  } else {
53
167
  console.error("Please specify a workflow (e.g., cycle, housekeeping)");
168
+ console.log("Available: cycle, orchestrator, debug, refactor, review, release, emergency, housekeeping");
54
169
  process.exit(1);
55
170
  }
56
171
  }
57
172
 
173
+ // Special handling for 'run' command
174
+ if (command === 'run') {
175
+ if (args.length < 2) {
176
+ console.error("Usage: agentic-sdlc run <script_path> [args]");
177
+ process.exit(1);
178
+ }
179
+ scriptPath = args[1];
180
+ scriptArgs = args.slice(2);
181
+ }
182
+
58
183
  if (!scriptPath) {
59
184
  console.error(`Unknown command: ${command}`);
60
- printUsage();
185
+ console.log("Run 'agentic-sdlc --help' for usage information.");
61
186
  process.exit(1);
62
187
  }
63
188
 
@@ -65,6 +190,7 @@ const fullPath = join(rootDir, scriptPath);
65
190
 
66
191
  if (!fs.existsSync(fullPath)) {
67
192
  console.error(`Script not found: ${scriptPath}`);
193
+ console.log(`Full path: ${fullPath}`);
68
194
  process.exit(1);
69
195
  }
70
196
 
@@ -0,0 +1,42 @@
1
+ [
2
+ {
3
+ "status": "healthy",
4
+ "score": 100.0,
5
+ "issues": [],
6
+ "metrics": {
7
+ "walkthrough_count": 10,
8
+ "plan_count": 7
9
+ },
10
+ "timestamp": "2026-01-08T06:55:27.350396"
11
+ },
12
+ {
13
+ "status": "healthy",
14
+ "score": 100.0,
15
+ "issues": [],
16
+ "metrics": {
17
+ "walkthrough_count": 10,
18
+ "plan_count": 7
19
+ },
20
+ "timestamp": "2026-01-08T07:15:47.509650"
21
+ },
22
+ {
23
+ "status": "healthy",
24
+ "score": 100.0,
25
+ "issues": [],
26
+ "metrics": {
27
+ "walkthrough_count": 10,
28
+ "plan_count": 7
29
+ },
30
+ "timestamp": "2026-01-08T20:35:08.123731"
31
+ },
32
+ {
33
+ "status": "healthy",
34
+ "score": 100.0,
35
+ "issues": [],
36
+ "metrics": {
37
+ "walkthrough_count": 10,
38
+ "plan_count": 7
39
+ },
40
+ "timestamp": "2026-01-08T20:58:54.707900"
41
+ }
42
+ ]
@@ -0,0 +1,53 @@
1
+ {
2
+ "plans": [
3
+ {
4
+ "id": "PLAN-20260105-0931",
5
+ "createdAt": "2026-01-05T09:31:37.457263",
6
+ "status": "CREATED",
7
+ "insights": [
8
+ {
9
+ "source": "Judge",
10
+ "finding": "Average score is low (3.4/10)",
11
+ "suggestion": "Improve report quality - add more detail, follow templates"
12
+ },
13
+ {
14
+ "source": "Judge",
15
+ "finding": "Reports consistently fail in 'completeness'",
16
+ "suggestion": "Focus on improving completeness in reports"
17
+ }
18
+ ],
19
+ "actions": [
20
+ {
21
+ "id": "ACTION-1",
22
+ "source": "Judge",
23
+ "action": "Improve report quality - add more detail, follow templates",
24
+ "priority": "medium",
25
+ "status": "PENDING"
26
+ },
27
+ {
28
+ "id": "ACTION-2",
29
+ "source": "Judge",
30
+ "action": "Focus on improving completeness in reports",
31
+ "priority": "high",
32
+ "status": "PENDING"
33
+ }
34
+ ],
35
+ "summary": "2 improvement actions identified"
36
+ }
37
+ ],
38
+ "insights": [
39
+ {
40
+ "source": "Judge",
41
+ "finding": "Average score is low (3.4/10)",
42
+ "suggestion": "Improve report quality - add more detail, follow templates"
43
+ },
44
+ {
45
+ "source": "Judge",
46
+ "finding": "Reports consistently fail in 'completeness'",
47
+ "suggestion": "Focus on improving completeness in reports"
48
+ }
49
+ ],
50
+ "appliedImprovements": 0,
51
+ "createdAt": "2026-01-05T09:31:37.457374",
52
+ "lastUpdated": "2026-01-05T09:31:37.457582"
53
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "learnings": [
3
+ {
4
+ "description": "Updated landing page with 15 workflows, brain protocol, solutions feature",
5
+ "timestamp": "2026-01-05T09:01:02.577360",
6
+ "success": true,
7
+ "steps": [
8
+ {
9
+ "step": "KB Index Update",
10
+ "status": "success"
11
+ },
12
+ {
13
+ "step": "Neo4j Sync",
14
+ "status": "success"
15
+ },
16
+ {
17
+ "step": "Learning Engine",
18
+ "status": "success"
19
+ }
20
+ ]
21
+ }
22
+ ],
23
+ "totalLearnings": 1,
24
+ "autoLearnEnabled": true,
25
+ "createdAt": "2026-01-05T09:00:11.930196",
26
+ "lastUpdated": "2026-01-05T09:01:02.581164"
27
+ }