agentic-sdlc 1.5.1 → 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 (149) 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 +79 -77
  4. package/.agent/rules/auto-learning.md +78 -0
  5. package/.agent/rules/code-quality.md +40 -0
  6. package/.agent/rules/git-workflow.md +44 -24
  7. package/.agent/rules/global.md +10 -6
  8. package/.agent/rules/naming-conventions.md +55 -0
  9. package/.agent/skills/role-ba.md +6 -2
  10. package/.agent/skills/role-brain.md +5 -1
  11. package/.agent/skills/role-cloud.md +38 -0
  12. package/.agent/skills/role-dev.md +31 -5
  13. package/.agent/skills/role-devops.md +9 -0
  14. package/.agent/skills/role-game.md +35 -0
  15. package/.agent/skills/role-mobile.md +55 -0
  16. package/.agent/skills/role-orchestrator.md +4 -0
  17. package/.agent/skills/role-pm.md +4 -0
  18. package/.agent/skills/role-po.md +4 -0
  19. package/.agent/skills/role-reporter.md +4 -0
  20. package/.agent/skills/role-research.md +78 -0
  21. package/.agent/skills/role-sa.md +4 -0
  22. package/.agent/skills/role-seca.md +4 -0
  23. package/.agent/skills/role-stakeholder.md +4 -0
  24. package/.agent/skills/role-tester.md +15 -3
  25. package/.agent/skills/role-uiux.md +4 -0
  26. package/.agent/templates/CHANGELOG-Template.md +2 -2
  27. package/.agent/templates/Design-Verification-Report-Template.md +4 -4
  28. package/.agent/templates/DevOps-Plan-Template.md +7 -0
  29. package/.agent/templates/Specification-Template.md +38 -0
  30. package/.agent/templates/ab-comparison-report.md +175 -0
  31. package/.agent/templates/observer-report.md +131 -0
  32. package/.agent/templates/quality-score-report.md +197 -0
  33. package/.agent/templates/self-learning-digest.md +268 -0
  34. package/.agent/templates/system-health-report.md +330 -0
  35. package/.agent/workflows/ab.md +101 -0
  36. package/.agent/workflows/autogen.md +65 -0
  37. package/.agent/workflows/brain.md +52 -42
  38. package/.agent/workflows/commit.md +61 -0
  39. package/.agent/workflows/cycle.md +36 -15
  40. package/.agent/workflows/debug.md +123 -0
  41. package/.agent/workflows/deep-search.md +82 -0
  42. package/.agent/workflows/docs.md +144 -0
  43. package/.agent/workflows/emergency.md +17 -15
  44. package/.agent/workflows/explore.md +15 -9
  45. package/.agent/workflows/housekeeping.md +24 -11
  46. package/.agent/workflows/metrics.md +14 -12
  47. package/.agent/workflows/monitor.md +98 -0
  48. package/.agent/workflows/observe.md +84 -0
  49. package/.agent/workflows/onboarding.md +135 -0
  50. package/.agent/workflows/orchestrator.md +21 -14
  51. package/.agent/workflows/planning.md +126 -0
  52. package/.agent/workflows/refactor.md +132 -0
  53. package/.agent/workflows/release.md +19 -12
  54. package/.agent/workflows/review.md +99 -0
  55. package/.agent/workflows/score.md +104 -0
  56. package/.agent/workflows/sprint.md +16 -14
  57. package/.agent/workflows/validate.md +13 -11
  58. package/.agent/workflows/worktree.md +154 -0
  59. package/CHANGELOG.md +88 -0
  60. package/README.md +12 -4
  61. package/bin/cli.js +143 -13
  62. package/docs/.brain-health-history.json +42 -0
  63. package/docs/.brain-improvements.json +53 -0
  64. package/docs/.brain-learner-log.json +27 -0
  65. package/docs/.brain-scores.json +310 -0
  66. package/docs/architecture/system-flow.mermaid +81 -0
  67. package/docs/artifacts/2026-01-05-enforcement-gates-plan.md +80 -0
  68. package/docs/artifacts/2026-01-05-workflow-analysis.md +231 -0
  69. package/docs/artifacts/README.md +26 -0
  70. package/docs/guides/MCP-GUIDE.md +1 -0
  71. package/docs/reports/2026-01-05-autogen-evaluation.md +64 -0
  72. package/docs/reports/2026-01-05-brain-layer-analysis.md +109 -0
  73. package/docs/reports/2026-01-05-repository-audit.md +253 -0
  74. package/docs/reports/Metrics-Dashboard-2026-01-08.md +29 -0
  75. package/docs/reports/Metrics-Dashboard-Final.md +29 -0
  76. package/docs/reports/Validation-Report-2026-01-05.md +40 -0
  77. package/docs/reports/Validation-Report-2026-01-08.md +40 -0
  78. package/docs/reports/worktrunk-audit.md +94 -0
  79. package/docs/solutions/README.md +96 -0
  80. package/docs/walkthroughs/2026-01-05-audit-implementation.md +36 -0
  81. package/docs/walkthroughs/2026-01-05-autonomy-release.md +54 -0
  82. package/docs/walkthroughs/2026-01-05-enforcement-gates.md +33 -0
  83. package/docs/walkthroughs/2026-01-05-judge-enhancement.md +30 -0
  84. package/docs/walkthroughs/2026-01-05-landing-page-orchestrator.md +52 -0
  85. package/docs/walkthroughs/2026-01-05-validation.md +32 -0
  86. package/docs/walkthroughs/2026-01-05-workflow-audit.md +89 -0
  87. package/docs/walkthroughs/2026-01-05-workflow-refactoring.md +44 -0
  88. package/docs/walkthroughs/2026-01-06-worktrunk-integration.md +41 -0
  89. package/docs/walkthroughs/README.md +25 -0
  90. package/package.json +33 -19
  91. package/.agent/knowledge-base/AUTO-LEARNING-GUIDE.md +0 -327
  92. package/.agent/knowledge-base/HOW-IT-WORKS.md +0 -365
  93. package/.agent/knowledge-base/INDEX.md +0 -43
  94. package/.agent/knowledge-base/README.md +0 -242
  95. package/.agent/knowledge-base/architecture/.gitkeep +0 -1
  96. package/.agent/knowledge-base/architecture/KB-2026-01-01-003-neo4j-graph-database-skills.md +0 -1146
  97. package/.agent/knowledge-base/architecture/README.md +0 -98
  98. package/.agent/knowledge-base/bugs/.gitkeep +0 -1
  99. package/.agent/knowledge-base/bugs/KB-2026-01-02-yaml-special-character-escaping.md +0 -56
  100. package/.agent/knowledge-base/bugs/medium/KB-2026-01-01-001-example-auto-learned.md +0 -198
  101. package/.agent/knowledge-base/features/.gitkeep +0 -1
  102. package/.agent/knowledge-base/features/KB-2026-01-01-001-landing-page-design-trends-2026.md +0 -646
  103. package/.agent/knowledge-base/features/KB-2026-01-01-004-uiux-design-skills-2026.md +0 -945
  104. package/.agent/knowledge-base/features/KB-2026-01-01-005-modern-ai-landing-page-ui.md +0 -310
  105. package/.agent/knowledge-base/features/KB-2026-01-01-006-award-winning-landing-page-patterns.md +0 -324
  106. package/.agent/knowledge-base/features/KB-2026-01-02-001-cleanup-workflow.md +0 -242
  107. package/.agent/knowledge-base/features/KB-2026-01-02-002-landing-page-monorepo-architecture.md +0 -148
  108. package/.agent/knowledge-base/features/KB-2026-01-02-003-premium-glassmorphism-patterns.md +0 -58
  109. package/.agent/knowledge-base/features/KB-2026-01-04-ai-agent-enforcement.md +0 -46
  110. package/.agent/knowledge-base/features/README.md +0 -83
  111. package/.agent/knowledge-base/features/figma-landing-page-workflow.md +0 -311
  112. package/.agent/knowledge-base/features/figma-mcp-sa-guide.md +0 -673
  113. package/.agent/knowledge-base/features/figma-mcp-uiux-guide.md +0 -459
  114. package/.agent/knowledge-base/performance/.gitkeep +0 -1
  115. package/.agent/knowledge-base/performance/KB-2026-01-02-lazy-loading-optimization.md +0 -80
  116. package/.agent/knowledge-base/platform-specific/.gitkeep +0 -1
  117. package/.agent/knowledge-base/platform-specific/KB-2026-01-02-windows-console-encoding.md +0 -56
  118. package/.agent/knowledge-base/role-guides/DEV-KB-Guide.md +0 -527
  119. package/.agent/knowledge-base/role-guides/DEVOPS-KB-Guide.md +0 -491
  120. package/.agent/knowledge-base/role-guides/PM-KB-Guide.md +0 -299
  121. package/.agent/knowledge-base/role-guides/SECA-KB-Guide.md +0 -555
  122. package/.agent/knowledge-base/role-guides/TESTER-KB-Guide.md +0 -519
  123. package/.agent/knowledge-base/security/.gitkeep +0 -1
  124. package/.agent/knowledge-base/security/KB-2026-01-02-input-validation-sanitization.md +0 -74
  125. package/.agent/rules/AUTO-LEARNING.md +0 -418
  126. package/.agent/rules/KNOWLEDGE-BASE.md +0 -45
  127. package/.agent/skills/role-qa.md +0 -81
  128. package/.agent/workflows/compound.md +0 -51
  129. package/.agent/workflows/preflight.md +0 -35
  130. package/.agent/workflows/route.md +0 -160
  131. package/bin/kb +0 -34
  132. package/bin/kb.bat +0 -28
  133. package/bin/kb_cli.py +0 -226
  134. package/bin/lib/README.md +0 -411
  135. package/bin/lib/__init__.py +0 -7
  136. package/bin/lib/__pycache__/kb_add.cpython-313.pyc +0 -0
  137. package/bin/lib/__pycache__/kb_common.cpython-313.pyc +0 -0
  138. package/bin/lib/__pycache__/kb_compound.cpython-313.pyc +0 -0
  139. package/bin/lib/__pycache__/kb_index.cpython-313.pyc +0 -0
  140. package/bin/lib/__pycache__/kb_list.cpython-313.pyc +0 -0
  141. package/bin/lib/__pycache__/kb_search.cpython-313.pyc +0 -0
  142. package/bin/lib/__pycache__/kb_stats.cpython-313.pyc +0 -0
  143. package/bin/lib/kb_add.py +0 -203
  144. package/bin/lib/kb_common.py +0 -224
  145. package/bin/lib/kb_compound.py +0 -250
  146. package/bin/lib/kb_index.py +0 -193
  147. package/bin/lib/kb_list.py +0 -144
  148. package/bin/lib/kb_search.py +0 -121
  149. package/bin/lib/kb_stats.py +0 -153
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: [Support] Release Management Workflow
2
+ description: Support - Release Management Workflow
3
3
  ---
4
4
 
5
5
  # /release - Changelog and Version Management
@@ -13,16 +13,16 @@ description: [Support] Release Management Workflow
13
13
 
14
14
  ```bash
15
15
  # Preview changes (dry run)
16
- python tools/release/release.py preview
16
+ python tools/infrastructure/release/release.py preview
17
17
 
18
18
  # Generate changelog only
19
- python tools/release/release.py changelog --sprint 6
19
+ python tools/infrastructure/release/release.py changelog --sprint 6
20
20
 
21
21
  # Bump version only
22
- python tools/release/release.py version --auto
22
+ python tools/infrastructure/release/release.py version --auto
23
23
 
24
24
  # Full release cycle
25
- python tools/release/release.py release --commit --tag --push --publish
25
+ python tools/infrastructure/release/release.py release --commit --tag --push --publish
26
26
  ```
27
27
 
28
28
  ## Conventional Commit Format
@@ -65,7 +65,7 @@ refactor(core): extract utility functions
65
65
 
66
66
  ### 1. Preview Changes
67
67
  ```bash
68
- python tools/release/release.py preview --sprint 6
68
+ python tools/infrastructure/release/release.py preview --sprint 6
69
69
  ```
70
70
  Shows:
71
71
  - Last git tag
@@ -76,7 +76,7 @@ Shows:
76
76
 
77
77
  ### 2. Generate Changelog
78
78
  ```bash
79
- python tools/release/release.py changelog --sprint 6 --dry-run
79
+ python tools/infrastructure/release/release.py changelog --sprint 6 --dry-run
80
80
  ```
81
81
  - Parses commits since last tag
82
82
  - Categorizes by type
@@ -86,16 +86,16 @@ python tools/release/release.py changelog --sprint 6 --dry-run
86
86
  ### 3. Bump Version
87
87
  ```bash
88
88
  # Auto-detect based on commits
89
- python tools/release/release.py version --auto
89
+ python tools/infrastructure/release/release.py version --auto
90
90
 
91
91
  # Explicit bump type
92
- python tools/release/release.py version --bump minor
92
+ python tools/infrastructure/release/release.py version --bump minor
93
93
  ```
94
94
  Updates `package.json` version.
95
95
 
96
96
  ### 4. Full Release
97
97
  ```bash
98
- python tools/release/release.py release --sprint 6 --commit --tag --push --publish
98
+ python tools/infrastructure/release/release.py release --sprint 6 --commit --tag --push --publish
99
99
  ```
100
100
  Executes:
101
101
  1. Parse commits
@@ -143,11 +143,18 @@ git push && git push --tags
143
143
 
144
144
  - **CI/CD:** Can be triggered in GitHub Actions
145
145
 
146
+ - **Publish to NPM:** To publish to NPM, ensure you are logged in using `npm login` then run the release command with the --publish flag.
147
+ ```bash
148
+ python tools/infrastructure/release/release.py release --publish
149
+ ```
150
+
146
151
  #release #versioning #changelog #semver #git-tags
147
152
 
153
+ ## ⏭️ Next Steps
154
+ - **If Release Successful:** Trigger `/housekeeping`
155
+ - **If Changelog Updated:** Notify stakeholders via `@REPORTER`
148
156
 
149
157
  ---
150
158
 
151
159
  ## ENFORCEMENT REMINDER
152
- Before executing, complete /preflight checks.
153
-
160
+ Ensure all tests pass before releasing.
@@ -0,0 +1,99 @@
1
+ ---
2
+ description: Process - Code Review Workflow for PRs
3
+ ---
4
+
5
+ # /review - Code Review Workflow
6
+
7
+ ## ⚠️ PURPOSE
8
+ Systematic code review process for Pull Requests. Ensures code quality, security, and consistency.
9
+
10
+ // turbo-all
11
+
12
+ ## Quick Commands
13
+
14
+ ```bash
15
+ # Review a specific PR
16
+ agentic-sdlc review --pr 123
17
+
18
+ # Review current branch changes
19
+ git diff main...HEAD --stat
20
+ ```
21
+
22
+ ## Workflow Steps
23
+
24
+ ### 1. Context Gathering
25
+ ```bash
26
+ # Search KB for similar implementations
27
+ agentic-sdlc kb search "[feature/module]"
28
+
29
+ # View PR diff
30
+ git diff main...HEAD
31
+ ```
32
+
33
+ ### 2. Code Quality Checklist
34
+ - [ ] **Readability:** Clear naming, comments where needed
35
+ - [ ] **Structure:** Follows project patterns
36
+ - [ ] **DRY:** No unnecessary duplication
37
+ - [ ] **SOLID:** Single responsibility, clean interfaces
38
+
39
+ ### 3. Security Review (@SECA)
40
+ - [ ] No hardcoded secrets
41
+ - [ ] Input validation present
42
+ - [ ] No SQL injection vulnerabilities
43
+ - [ ] Proper error handling (no sensitive data in errors)
44
+
45
+ ### 4. Test Coverage (@TESTER)
46
+ - [ ] Unit tests added for new code
47
+ - [ ] Edge cases covered
48
+ - [ ] Integration tests if needed
49
+ - [ ] All tests passing
50
+
51
+ ### 5. Documentation
52
+ - [ ] Code comments for complex logic
53
+ - [ ] API docs updated if applicable
54
+ - [ ] README updated if needed
55
+
56
+ ### 6. Provide Feedback
57
+ ```bash
58
+ # Comment on PR (via GitHub CLI)
59
+ gh pr comment 123 --body "LGTM with suggestions: ..."
60
+
61
+ # Request changes
62
+ gh pr review 123 --request-changes --body "Please fix: ..."
63
+
64
+ # Approve
65
+ gh pr review 123 --approve
66
+ ```
67
+
68
+ ### 7. Self-Learning
69
+ ```bash
70
+ # Record review patterns for future reference
71
+ agentic-sdlc kb compound sync
72
+ ```
73
+
74
+ ## Review Severity Levels
75
+
76
+ | Level | Action | Examples |
77
+ |-------|--------|----------|
78
+ | 🔴 Blocker | Must fix before merge | Security issue, breaks build |
79
+ | 🟠 Major | Should fix | Performance issue, wrong pattern |
80
+ | 🟡 Minor | Nice to fix | Naming, style inconsistency |
81
+ | 🟢 Nitpick | Optional | Personal preference |
82
+
83
+ ## Integration
84
+
85
+ - **@TESTER** - Test coverage review
86
+ - **@SECA** - Security review
87
+ - **@DEV** - Code implementation review
88
+ - **/cycle** - Part of standard task lifecycle
89
+
90
+ #review #pr #code-quality #security
91
+
92
+ ## ⏭️ Next Steps
93
+ - **If Approved:** Trigger `/release` (if ready) or Merger
94
+ - **If Changes Requested:** Return to `@DEV` for fixes
95
+
96
+ ---
97
+
98
+ ## ENFORCEMENT REMINDER
99
+ Search KB for similar patterns before commenting.
@@ -0,0 +1,104 @@
1
+ ---
2
+ description: Intelligence - Score - Quality Scoring with Judge
3
+ ---
4
+
5
+ # /score - Quality Scoring Workflow
6
+
7
+ ## ⚠️ PURPOSE
8
+ Score code, reports, or artifacts using the Judge agent to assess quality and get improvement suggestions.
9
+
10
+ // turbo-all
11
+
12
+ ## Quick Commands
13
+
14
+ ```bash
15
+ # Score a code file
16
+ python tools/intelligence/judge/scorer.py --code src/app.py
17
+
18
+ # Score a report or document
19
+ python tools/intelligence/judge/scorer.py --report docs/walkthroughs/latest.md
20
+
21
+ # Score via Brain CLI
22
+ python tools/core/brain/brain_cli.py score "path/to/file.py"
23
+
24
+ # Score A/B test alternatives
25
+ python tools/intelligence/judge/scorer.py --ab-test docs/reports/ab_tests/YYYY-MM-DD-auth.md
26
+ ```
27
+
28
+ ## When to Use
29
+
30
+ - After completing implementation
31
+ - Before submitting PR
32
+ - During code review
33
+ - To validate documentation quality
34
+
35
+ ## Workflow Steps
36
+
37
+ ### 1. Identify Target
38
+ Determine what you want to score:
39
+ - Code file
40
+ - Documentation
41
+ - Report
42
+ - A/B test result
43
+
44
+ ### 2. Run Scoring
45
+ ```bash
46
+ python tools/intelligence/judge/scorer.py --code [file_path]
47
+ ```
48
+
49
+ ### 3. Review Score
50
+
51
+ **Code Scoring (0-100):**
52
+ | Dimension | Description |
53
+ |-----------|-------------|
54
+ | Complexity | Cyclomatic complexity, nesting depth |
55
+ | Readability | Naming, comments, structure |
56
+ | Security | Vulnerabilities, best practices |
57
+ | Performance | Efficiency, optimization |
58
+ | Maintainability | Modularity, DRY, SOLID |
59
+
60
+ **Report Scoring (0-100):**
61
+ | Dimension | Description |
62
+ |-----------|-------------|
63
+ | Completeness | All sections present |
64
+ | Clarity | Well-written, understandable |
65
+ | Accuracy | Correct information |
66
+ | Actionability | Clear next steps |
67
+
68
+ ### 4. Address Issues
69
+ If score < 80:
70
+ - Review improvement suggestions
71
+ - Make necessary changes
72
+ - Re-score to verify
73
+
74
+ ### 5. Document Result
75
+ ```bash
76
+ python tools/core/brain/brain_cli.py learn "Improved [file] quality from X to Y"
77
+ ```
78
+
79
+ ## Score Thresholds
80
+
81
+ | Score | Status | Action |
82
+ |-------|--------|--------|
83
+ | 90-100 | ✅ Excellent | Ship it |
84
+ | 70-89 | 🟡 Good | Minor improvements optional |
85
+ | 50-69 | 🟠 Needs Work | Address issues before PR |
86
+ | 0-49 | 🔴 Critical | Major refactoring needed |
87
+
88
+ ## Integration
89
+
90
+ - **@TESTER** - Quality assurance
91
+ - **/cycle** - Pre-PR scoring
92
+ - **/review** - Code review support
93
+ - **/commit** - Score before commit
94
+
95
+ #score #quality #judge #metrics
96
+
97
+ ## ⏭️ Next Steps
98
+ - **If Score ≥ 80:** Proceed with `/commit` or `/review`
99
+ - **If Score < 80:** Fix issues and re-score
100
+
101
+ ---
102
+
103
+ ## ENFORCEMENT REMINDER
104
+ Target score of 80+ before committing code.
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: [Process] Sprint Management Workflow
2
+ description: Process - Sprint Management Workflow
3
3
  ---
4
4
 
5
5
  # /sprint - Sprint Lifecycle Management
@@ -13,13 +13,13 @@ description: [Process] Sprint Management Workflow
13
13
 
14
14
  ```bash
15
15
  # Start a new sprint
16
- python tools/workflows/sprint.py start 6
16
+ python tools/infrastructure/workflows/sprint.py start 6
17
17
 
18
18
  # Check current sprint status
19
- python tools/workflows/sprint.py status
19
+ python tools/infrastructure/workflows/sprint.py status
20
20
 
21
21
  # Close a sprint
22
- python tools/workflows/sprint.py close 5
22
+ python tools/infrastructure/workflows/sprint.py close 5
23
23
  ```
24
24
 
25
25
  ## Sprint Start
@@ -40,7 +40,7 @@ python tools/workflows/sprint.py close 5
40
40
 
41
41
  ### Usage
42
42
  ```bash
43
- python tools/workflows/sprint.py start 6
43
+ python tools/infrastructure/workflows/sprint.py start 6
44
44
  ```
45
45
 
46
46
  ### Next Steps After Start
@@ -58,7 +58,7 @@ python tools/workflows/sprint.py start 6
58
58
 
59
59
  ### Usage
60
60
  ```bash
61
- python tools/workflows/sprint.py status
61
+ python tools/infrastructure/workflows/sprint.py status
62
62
  ```
63
63
 
64
64
  ## Sprint Close
@@ -78,13 +78,13 @@ python tools/workflows/sprint.py status
78
78
 
79
79
  ### Usage
80
80
  ```bash
81
- python tools/workflows/sprint.py close 5
81
+ python tools/infrastructure/workflows/sprint.py close 5
82
82
  ```
83
83
 
84
84
  ### Next Steps After Close
85
85
  1. Fill in Sprint Review with accomplishments
86
86
  2. Complete Retrospective with team
87
- 3. Start next sprint: `python tools/workflows/sprint.py start 6`
87
+ 3. Start next sprint: `python tools/infrastructure/workflows/sprint.py start 6`
88
88
 
89
89
  ## Sprint Folder Structure
90
90
 
@@ -116,10 +116,12 @@ docs/sprints/sprint-[N]/
116
116
  - **/release** references sprint in changelog
117
117
 
118
118
  #sprint #agile #lifecycle #planning #retrospective
119
-
120
-
121
- ---
122
-
123
- ## ENFORCEMENT REMINDER
124
- Before executing, complete /preflight checks.
125
119
 
120
+ ## ⏭️ Next Steps
121
+ - **If Sprint Started:** Trigger `@PM` for planning details
122
+ - **If Sprint Closed:** Trigger `/housekeeping` for cleanup
123
+
124
+ ---
125
+
126
+ ## ENFORCEMENT REMINDER
127
+ Run /onboarding if new to project.
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: [Utility] Validate - Workflow Compliance Checker
2
+ description: Utility - Validate - Workflow Compliance Checker
3
3
  ---
4
4
 
5
5
  # /validate - Tool Reference Validator
@@ -11,13 +11,13 @@ Scans all workflow files for `python tools/...` commands and file path reference
11
11
 
12
12
  ```bash
13
13
  # Full validation
14
- python tools/validation/validate.py
14
+ python tools/infrastructure/validation/validate.py
15
15
 
16
16
  # With fix suggestions
17
- python tools/validation/validate.py --fix
17
+ python tools/infrastructure/validation/validate.py --fix
18
18
 
19
19
  # Generate report file
20
- python tools/validation/validate.py --report
20
+ python tools/infrastructure/validation/validate.py --report
21
21
  ```
22
22
 
23
23
  ## What It Checks
@@ -110,7 +110,7 @@ Generates `docs/reports/Validation-Report-YYYY-MM-DD.md`:
110
110
  ## Fix Suggestions (--fix)
111
111
 
112
112
  ```bash
113
- python tools/validation/validate.py --fix
113
+ python tools/infrastructure/validation/validate.py --fix
114
114
  ```
115
115
 
116
116
  Outputs:
@@ -137,10 +137,12 @@ Works with:
137
137
  - CI/CD pipelines
138
138
 
139
139
  #validate #health-check #workflow-audit #compliance
140
-
141
-
142
- ---
143
-
144
- ## ENFORCEMENT REMINDER
145
- Before executing, complete /preflight checks.
146
140
 
141
+ ## ⏭️ Next Steps
142
+ - **If Valid:** Continue current workflow
143
+ - **If Invalid:** Fix references and re-run `/validate`
144
+
145
+ ---
146
+
147
+ ## ENFORCEMENT REMINDER
148
+ Ensure all workflow references are valid before committing.
@@ -0,0 +1,154 @@
1
+ ---
2
+ description: Support - Parallel AI Agent Worktree Management
3
+ ---
4
+
5
+ # /worktree - Git Worktree Management with Worktrunk
6
+
7
+ ## ⚠️ STRICT EXECUTION PROTOCOL (MANDATORY)
8
+ 1. **PREREQUISITES:** Ensure Worktrunk is installed before using.
9
+ 2. **ONE BRANCH PER WORKTREE:** Each worktree = one branch.
10
+ 3. **CLEANUP:** Always remove worktrees after merging.
11
+
12
+ ## Prerequisites
13
+
14
+ ### Installation
15
+ ```bash
16
+ # Via Cargo (Rust)
17
+ cargo install worktrunk && wt config shell install
18
+
19
+ # Via Homebrew (macOS/Linux)
20
+ brew install max-sixty/worktrunk/wt && wt config shell install
21
+ ```
22
+
23
+ ### Verify Installation
24
+ ```bash
25
+ wt --help
26
+ wt list
27
+ ```
28
+
29
+ ## Core Commands
30
+
31
+ | Command | Description |
32
+ |---------|-------------|
33
+ | `wt switch <branch>` | Switch to existing worktree (creates if needed) |
34
+ | `wt switch -c <branch>` | Create new worktree with new branch |
35
+ | `wt list` | List all worktrees |
36
+ | `wt remove` | Remove current worktree and its branch |
37
+ | `wt merge` | Squash/merge current branch and cleanup |
38
+ | `wt select` | Interactive worktree selector (fzf-like) |
39
+
40
+ ## Workflow Steps
41
+
42
+ ### 1. Start New Task in Worktree
43
+ ```bash
44
+ # Create worktree for feature
45
+ wt switch -c feat/task-123
46
+
47
+ # Your terminal is now in the new worktree directory
48
+ # e.g., ../repo.feat/task-123
49
+ ```
50
+
51
+ ### 2. Work in Parallel
52
+ ```bash
53
+ # List all active worktrees
54
+ wt list
55
+
56
+ # Switch between worktrees
57
+ wt switch feat/task-123
58
+ wt switch fix/bug-456
59
+ ```
60
+
61
+ ### 3. Merge and Cleanup
62
+ ```bash
63
+ # From the worktree you want to merge
64
+ wt merge
65
+
66
+ # This will:
67
+ # 1. Squash commits
68
+ # 2. Merge to main
69
+ # 3. Remove the worktree
70
+ # 4. Delete the branch
71
+ ```
72
+
73
+ ### 4. Manual Cleanup
74
+ ```bash
75
+ # Remove current worktree without merging
76
+ wt remove
77
+
78
+ # Remove specific worktree
79
+ wt remove feat/old-branch
80
+ ```
81
+
82
+ ## Hooks (Advanced)
83
+
84
+ Create `.worktrunk/hooks/` in your repo root:
85
+
86
+ ```bash
87
+ # .worktrunk/hooks/on-create.sh
88
+ #!/bin/bash
89
+ # Run after creating a new worktree
90
+ bun install # or npm install
91
+ ```
92
+
93
+ ```bash
94
+ # .worktrunk/hooks/pre-merge.sh
95
+ #!/bin/bash
96
+ # Run before merging
97
+ bun test
98
+ ```
99
+
100
+ ## Multi-Agent Workflow
101
+
102
+ ### Run Multiple AI Agents in Parallel
103
+ ```bash
104
+ # Terminal 1: Agent working on feature
105
+ wt switch -c feat/auth-system
106
+ # Start Claude Code or other agent here
107
+
108
+ # Terminal 2: Agent working on bug fix
109
+ wt switch -c fix/login-issue
110
+ # Start another agent here
111
+
112
+ # Terminal 3: Agent working on docs
113
+ wt switch -c docs/api-reference
114
+ # Start another agent here
115
+ ```
116
+
117
+ ### Monitor All Agents
118
+ ```bash
119
+ wt list
120
+ # Shows all worktrees with their branches
121
+ ```
122
+
123
+ ## Integration
124
+
125
+ - **@DEV** uses for parallel feature development
126
+ - **@TESTER** can test in isolated worktrees
127
+ - **/cycle** can leverage worktrees for complex tasks
128
+
129
+ ## Best Practices
130
+
131
+ 1. **Name branches descriptively**: `feat/`, `fix/`, `docs/`, `refactor/`
132
+ 2. **One task per worktree**: Keep scope focused
133
+ 3. **Merge frequently**: Don't let worktrees pile up
134
+ 4. **Use hooks**: Automate environment setup
135
+
136
+ ## Troubleshooting
137
+
138
+ ### Windows-Specific
139
+ - Use Git Bash for best compatibility
140
+ - PowerShell works for basic commands
141
+ - Restart shell after `wt config shell install`
142
+
143
+ ### Common Issues
144
+ | Issue | Solution |
145
+ |-------|----------|
146
+ | `wt` command not found | Run `wt config shell install` and restart shell |
147
+ | Permission denied | Run shell as administrator (Windows) |
148
+ | Path issues | Use Git Bash instead of PowerShell |
149
+
150
+ ## References
151
+ - [Worktrunk Documentation](https://worktrunk.dev)
152
+ - [GitHub: max-sixty/worktrunk](https://github.com/max-sixty/worktrunk)
153
+
154
+ #worktree #parallel #agents #git #support
package/CHANGELOG.md CHANGED
@@ -4,6 +4,94 @@ 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
+
78
+ ---
79
+
80
+ ## [1.6.0] - 2026-01-04 (Sprint 6)
81
+
82
+ ### Added
83
+ - add release management tool for automated changelog generation and version bumping based on conventional commits
84
+
85
+ ### Documentation
86
+ - [Workflows] standardize on agentic-sdlc cli and unified roles
87
+ - [Templates] update templates for unified roles and automation
88
+ - [Skills] consolidate roles and update for release/automation
89
+ - [Rules] update release workflow and tooling standards
90
+
91
+ ### Testing
92
+ - add release manager tests and fix breaking change detection
93
+
94
+
7
95
  ---
8
96
 
9
97
  ## [1.5.1] - 2026-01-04 (Sprint 6)