trinity-method-sdk 2.0.9 → 2.2.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.
Files changed (147) hide show
  1. package/CHANGELOG.md +702 -267
  2. package/README.md +550 -540
  3. package/dist/cli/commands/deploy/agents.js +1 -1
  4. package/dist/cli/commands/deploy/ci-cd.d.ts +4 -3
  5. package/dist/cli/commands/deploy/ci-cd.js +10 -9
  6. package/dist/cli/commands/deploy/claude-setup.js +28 -35
  7. package/dist/cli/commands/deploy/configuration.js +10 -11
  8. package/dist/cli/commands/deploy/directories.js +13 -14
  9. package/dist/cli/commands/deploy/gitignore.js +3 -5
  10. package/dist/cli/commands/deploy/index.d.ts +1 -1
  11. package/dist/cli/commands/deploy/index.js +7 -3
  12. package/dist/cli/commands/deploy/knowledge-base.js +3 -3
  13. package/dist/cli/commands/deploy/pre-flight.js +1 -1
  14. package/dist/cli/commands/deploy/root-files.js +3 -18
  15. package/dist/cli/commands/deploy/sdk-install.js +1 -1
  16. package/dist/cli/commands/deploy/summary.js +3 -3
  17. package/dist/cli/commands/deploy/templates.js +33 -20
  18. package/dist/cli/commands/update/agents.js +1 -1
  19. package/dist/cli/commands/update/backup.js +6 -12
  20. package/dist/cli/commands/update/commands.d.ts +1 -0
  21. package/dist/cli/commands/update/commands.js +18 -45
  22. package/dist/cli/commands/update/knowledge-base.js +2 -2
  23. package/dist/cli/commands/update/pre-flight.js +11 -11
  24. package/dist/cli/commands/update/summary.js +5 -5
  25. package/dist/cli/commands/update/templates.js +35 -13
  26. package/dist/cli/commands/update/verification.js +5 -5
  27. package/dist/cli/commands/update/version.js +1 -1
  28. package/dist/cli/utils/deploy-ci.d.ts +3 -2
  29. package/dist/cli/utils/deploy-ci.js +24 -24
  30. package/dist/cli/utils/deploy-linting.js +101 -6
  31. package/dist/cli/utils/error-classes.d.ts +2 -2
  32. package/dist/cli/utils/linting-tools.js +14 -6
  33. package/dist/cli/utils/template-processor.js +2 -4
  34. package/dist/templates/{claude → .claude}/EMPLOYEE-DIRECTORY.md.template +16 -22
  35. package/dist/templates/{agents → .claude/agents}/aj-team/apo-documentation-specialist.md.template +10 -10
  36. package/dist/templates/{agents → .claude/agents}/aj-team/bas-quality-gate.md.template +13 -15
  37. package/dist/templates/{agents → .claude/agents}/aj-team/bon-dependency-manager.md.template +4 -4
  38. package/dist/templates/{agents → .claude/agents}/aj-team/cap-configuration-specialist.md.template +3 -3
  39. package/dist/templates/{agents → .claude/agents}/aj-team/dra-code-reviewer.md.template +8 -10
  40. package/dist/templates/{agents → .claude/agents}/aj-team/kil-task-executor.md.template +11 -13
  41. package/dist/templates/{agents → .claude/agents}/aj-team/uro-refactoring-specialist.md.template +3 -3
  42. package/dist/templates/{agents → .claude/agents}/audit/juno-auditor.md.template +46 -42
  43. package/dist/templates/{agents → .claude/agents}/deployment/ein-cicd.md.template +59 -164
  44. package/dist/templates/{agents → .claude/agents}/deployment/ino-context.md.template +25 -22
  45. package/dist/templates/{agents → .claude/agents}/deployment/tan-structure.md.template +32 -30
  46. package/dist/templates/{agents → .claude/agents}/deployment/zen-knowledge.md.template +28 -23
  47. package/dist/templates/{agents → .claude/agents}/leadership/aj-maestro.md.template +10 -6
  48. package/dist/templates/{agents → .claude/agents}/leadership/aly-cto.md.template +22 -19
  49. package/dist/templates/{agents → .claude/agents}/planning/eus-decomposer.md.template +8 -4
  50. package/dist/templates/{agents → .claude/agents}/planning/mon-requirements.md.template +8 -4
  51. package/dist/templates/{agents → .claude/agents}/planning/ror-design.md.template +8 -4
  52. package/dist/templates/{agents → .claude/agents}/planning/tra-planner.md.template +10 -4
  53. package/dist/templates/{shared/claude-commands → .claude/commands/execution}/trinity-audit.md.template +15 -15
  54. package/dist/templates/.claude/commands/execution/trinity-breakdown.md.template +535 -0
  55. package/dist/templates/{shared/claude-commands → .claude/commands/execution}/trinity-orchestrate.md.template +48 -48
  56. package/dist/templates/{shared/claude-commands → .claude/commands/infrastructure}/trinity-init.md.template +32 -54
  57. package/dist/templates/{shared/claude-commands → .claude/commands/investigation}/trinity-create-investigation.md.template +13 -7
  58. package/dist/templates/{shared/claude-commands → .claude/commands/investigation}/trinity-investigate-templates.md.template +19 -15
  59. package/dist/templates/{shared/claude-commands → .claude/commands/investigation}/trinity-plan-investigation.md.template +12 -6
  60. package/dist/templates/{shared/claude-commands → .claude/commands/maintenance}/trinity-changelog.md.template +9 -8
  61. package/dist/templates/.claude/commands/maintenance/trinity-docs-update.md.template +279 -0
  62. package/dist/templates/.claude/commands/maintenance/trinity-docs.md.template +2828 -0
  63. package/dist/templates/{shared/claude-commands → .claude/commands/maintenance}/trinity-readme.md.template +21 -20
  64. package/dist/templates/{shared/claude-commands → .claude/commands/planning}/trinity-decompose.md.template +6 -4
  65. package/dist/templates/{shared/claude-commands → .claude/commands/planning}/trinity-design.md.template +6 -4
  66. package/dist/templates/{shared/claude-commands → .claude/commands/planning}/trinity-plan.md.template +7 -5
  67. package/dist/templates/{shared/claude-commands → .claude/commands/planning}/trinity-requirements.md.template +6 -4
  68. package/dist/templates/{shared/claude-commands → .claude/commands/session}/trinity-continue.md.template +30 -24
  69. package/dist/templates/{shared/claude-commands → .claude/commands/session}/trinity-end.md.template +403 -397
  70. package/dist/templates/{shared/claude-commands → .claude/commands/session}/trinity-start.md.template +9 -4
  71. package/dist/templates/{shared/claude-commands → .claude/commands/utility}/trinity-agents.md.template +11 -8
  72. package/dist/templates/{shared/claude-commands → .claude/commands/utility}/trinity-verify.md.template +56 -57
  73. package/dist/templates/{shared/claude-commands → .claude/commands/utility}/trinity-workorder.md.template +13 -9
  74. package/dist/templates/ci/ci.yml.template +2 -2
  75. package/dist/templates/root/CLAUDE.md.template +9 -9
  76. package/dist/templates/root/linting/nodejs/.husky-pre-commit.template +5 -0
  77. package/dist/templates/source/base-CLAUDE.md.template +310 -310
  78. package/dist/templates/source/flutter-CLAUDE.md.template +593 -593
  79. package/dist/templates/source/nodejs-CLAUDE.md.template +531 -531
  80. package/dist/templates/source/python-CLAUDE.md.template +510 -510
  81. package/dist/templates/source/react-CLAUDE.md.template +513 -513
  82. package/dist/templates/source/rust-CLAUDE.md.template +653 -653
  83. package/dist/templates/trinity/CLAUDE.md.template +14 -14
  84. package/dist/templates/{knowledge-base → trinity/knowledge-base}/AI-DEVELOPMENT-GUIDE.md.template +1 -1
  85. package/dist/templates/{knowledge-base → trinity/knowledge-base}/ARCHITECTURE.md.template +5 -5
  86. package/dist/templates/{knowledge-base → trinity/knowledge-base}/CODING-PRINCIPLES.md.template +1 -1
  87. package/dist/templates/{knowledge-base → trinity/knowledge-base}/DOCUMENTATION-CRITERIA.md.template +1 -1
  88. package/dist/templates/{knowledge-base → trinity/knowledge-base}/ISSUES.md.template +9 -9
  89. package/dist/templates/{knowledge-base → trinity/knowledge-base}/TESTING-PRINCIPLES.md.template +1 -1
  90. package/dist/templates/{knowledge-base → trinity/knowledge-base}/Technical-Debt.md.template +2 -4
  91. package/dist/templates/{knowledge-base → trinity/knowledge-base}/To-do.md.template +2 -2
  92. package/dist/templates/{knowledge-base → trinity/knowledge-base}/Trinity.md.template +6 -6
  93. package/dist/templates/trinity/templates/documentation/api-docs/README.md.template +218 -0
  94. package/dist/templates/trinity/templates/documentation/configuration/documentation-structure.md.template +71 -0
  95. package/dist/templates/trinity/templates/documentation/configuration/env-example-generator.md.template +387 -0
  96. package/dist/templates/trinity/templates/documentation/discovery/api-endpoint-scanner.md.template +343 -0
  97. package/dist/templates/trinity/templates/documentation/discovery/component-discovery.md.template +254 -0
  98. package/dist/templates/trinity/templates/documentation/discovery/env-variable-extraction.md.template +316 -0
  99. package/dist/templates/trinity/templates/documentation/discovery/framework-detection.md.template +205 -0
  100. package/dist/templates/trinity/templates/documentation/guides/api-development.md.template +375 -0
  101. package/dist/templates/trinity/templates/documentation/guides/contributing.md.template +488 -0
  102. package/dist/templates/trinity/templates/documentation/guides/deployment.md.template +565 -0
  103. package/dist/templates/trinity/templates/documentation/guides/getting-started.md.template +118 -0
  104. package/dist/templates/trinity/templates/documentation/mermaid-diagrams/api-endpoint-map.md.template +56 -0
  105. package/dist/templates/trinity/templates/documentation/mermaid-diagrams/component-hierarchy.md.template +60 -0
  106. package/dist/templates/trinity/templates/documentation/mermaid-diagrams/database-er.md.template +49 -0
  107. package/dist/templates/trinity/templates/documentation/mermaid-diagrams/mvc-flow.md.template +41 -0
  108. package/dist/templates/trinity/templates/documentation/processes/error-handling-protocol.md.template +166 -0
  109. package/dist/templates/trinity/templates/documentation/processes/fallback-mechanism.md.template +88 -0
  110. package/dist/templates/trinity/templates/documentation/reports/apo-docs-update-checklist.md.template +343 -0
  111. package/dist/templates/trinity/templates/documentation/reports/juno-docs-update-checklist.md.template +1337 -0
  112. package/dist/templates/trinity/templates/documentation/reports/juno-final-report.md.template +237 -0
  113. package/dist/templates/trinity/templates/documentation/reports/juno-internal-report.md.template +461 -0
  114. package/dist/templates/trinity/templates/documentation/validation/documentation-verification-rules.md.template +379 -0
  115. package/dist/templates/trinity/templates/documentation/validation/juno-quality-gates.md.template +282 -0
  116. package/dist/templates/{investigations → trinity/templates/investigations}/bug.md.template +14 -14
  117. package/dist/templates/{investigations → trinity/templates/investigations}/feature.md.template +14 -14
  118. package/dist/templates/{investigations → trinity/templates/investigations}/performance.md.template +14 -14
  119. package/dist/templates/{investigations → trinity/templates/investigations}/security.md.template +14 -14
  120. package/dist/templates/{investigations → trinity/templates/investigations}/technical.md.template +14 -14
  121. package/dist/templates/{work-orders → trinity/templates/work-orders}/ANALYSIS-TEMPLATE.md.template +10 -13
  122. package/dist/templates/{work-orders → trinity/templates/work-orders}/AUDIT-TEMPLATE.md.template +10 -26
  123. package/dist/templates/{work-orders → trinity/templates/work-orders}/IMPLEMENTATION-TEMPLATE.md.template +10 -26
  124. package/dist/templates/{work-orders → trinity/templates/work-orders}/INVESTIGATION-TEMPLATE.md.template +10 -25
  125. package/dist/templates/{work-orders → trinity/templates/work-orders}/PATTERN-TEMPLATE.md.template +10 -26
  126. package/dist/templates/{work-orders → trinity/templates/work-orders}/VERIFICATION-TEMPLATE.md.template +10 -26
  127. package/package.json +99 -94
  128. package/dist/templates/agents/leadership/aj-cc.md.template +0 -462
  129. package/dist/templates/ci/cd.yml.template +0 -175
  130. package/dist/templates/ci/github-actions.yml +0 -86
  131. package/dist/templates/root/TRINITY.md.template +0 -52
  132. package/dist/templates/shared/claude-commands/trinity-docs.md.template +0 -2577
  133. /package/dist/templates/{linting → root/linting}/flutter/.pre-commit-config.yaml.template +0 -0
  134. /package/dist/templates/{linting → root/linting}/flutter/analysis_options.yaml.template +0 -0
  135. /package/dist/templates/{linting → root/linting}/nodejs/.eslintrc-commonjs.json.template +0 -0
  136. /package/dist/templates/{linting → root/linting}/nodejs/.eslintrc-esm.json.template +0 -0
  137. /package/dist/templates/{linting → root/linting}/nodejs/.eslintrc-typescript.json.template +0 -0
  138. /package/dist/templates/{linting → root/linting}/nodejs/.pre-commit-config.yaml.template +0 -0
  139. /package/dist/templates/{linting → root/linting}/nodejs/.prettierrc.json.template +0 -0
  140. /package/dist/templates/{linting → root/linting}/python/.flake8.template +0 -0
  141. /package/dist/templates/{linting → root/linting}/python/.pre-commit-config.yaml.template +0 -0
  142. /package/dist/templates/{linting → root/linting}/python/pyproject.toml.template +0 -0
  143. /package/dist/templates/{linting → root/linting}/rust/.pre-commit-config.yaml.template +0 -0
  144. /package/dist/templates/{linting → root/linting}/rust/clippy.toml.template +0 -0
  145. /package/dist/templates/{linting → root/linting}/rust/rustfmt.toml.template +0 -0
  146. /package/dist/templates/{documentation → trinity/templates/documentation}/ROOT-README.md.template +0 -0
  147. /package/dist/templates/{documentation → trinity/templates/documentation}/SUBDIRECTORY-README.md.template +0 -0
@@ -1,5 +1,11 @@
1
- ---
2
- description: Guide through your first Trinity workflow
1
+ # Trinity Start
2
+
3
+ **Command:** `/session:trinity-start`
4
+ **Purpose:** Guide through your first Trinity workflow
5
+ **Architecture:** ALY workflow selection → Context setup → First task planning
6
+ **Trinity Version:** 2.1.0
7
+ **Last Updated:** 2026-01-21
8
+
3
9
  ---
4
10
 
5
11
  Guide the user through starting their first Trinity Method workflow.
@@ -59,7 +65,7 @@ For complex or long-running tasks, suggest creating a work order:
59
65
  /trinity-workorder
60
66
  ```
61
67
 
62
- This creates a structured investigation in `trinity/work-orders/` with:
68
+ This creates a structured investigation in `.claude/trinity/work-orders/` with:
63
69
  - Problem statement
64
70
  - Requirements and acceptance criteria
65
71
  - Design decisions
@@ -71,7 +77,6 @@ This creates a structured investigation in `trinity/work-orders/` with:
71
77
  **Leadership:**
72
78
  - ALY (CTO) - Strategic planning, architecture decisions
73
79
  - AJ MAESTRO - Workflow orchestration and planning
74
- - AJ CC - Code quality oversight
75
80
 
76
81
  **Deployment:**
77
82
  - TAN - Trinity structure deployment
@@ -1,5 +1,11 @@
1
- ---
2
- description: Display Trinity agent directory and information
1
+ # Trinity Agents
2
+
3
+ **Command:** `/utility:trinity-agents`
4
+ **Purpose:** Display Trinity agent directory and information
5
+ **Architecture:** Reference documentation (no execution)
6
+ **Trinity Version:** 2.1.0
7
+ **Last Updated:** 2026-01-21
8
+
3
9
  ---
4
10
 
5
11
  Display the Trinity Method Agent Directory with all 19 specialized agents.
@@ -10,11 +16,10 @@ Display the Trinity Method Agent Directory with all 19 specialized agents.
10
16
 
11
17
  Agents are organized in 5 subdirectories by role:
12
18
 
13
- ### 1. Leadership Team (3 agents)
19
+ ### 1. Leadership Team (2 agents)
14
20
  Located in: `.claude/agents/leadership/`
15
21
  - **ALY (Chief Technology Officer)** - Strategic planning and architecture decisions
16
22
  - **AJ MAESTRO (Orchestration Lead)** - Workflow planning and agent coordination
17
- - **AJ CC (Code Coordinator)** - Code quality and implementation oversight
18
23
 
19
24
  ### 2. Deployment Team (4 agents)
20
25
  Located in: `.claude/agents/deployment/`
@@ -99,7 +104,6 @@ Ask which agent you want to learn more about, and Claude will read that agent's
99
104
  |-------|------|-------------|---------------|
100
105
  | **ALY** | CTO | Strategic decisions, stop point reviews | leadership/aly-cto.md |
101
106
  | **AJ MAESTRO** | Orchestrator | Coordinate Medium/Large workflows | leadership/aj-maestro.md |
102
- | **AJ CC** | Continuity | Session recovery, investigations | leadership/aj-cc.md |
103
107
  | **TAN** | Structure | Deploy Trinity folders (init only) | deployment/tan-structure.md |
104
108
  | **ZEN** | Knowledge | Populate knowledge base (init only) | deployment/zen-knowledge.md |
105
109
  | **INO** | Context | CLAUDE.md hierarchy (init only) | deployment/ino-context.md |
@@ -128,9 +132,9 @@ What do you need?
128
132
 
129
133
  ├─ Start new work → ALY (determines scale) → AJ MAESTRO
130
134
 
131
- ├─ Resume interrupted work → AJ CC (session recovery)
135
+ ├─ Resume interrupted work → AJ MAESTRO (session recovery)
132
136
 
133
- ├─ Investigation only → AJ CC (read-only analysis)
137
+ ├─ Investigation only → ALY (read-only analysis)
134
138
 
135
139
  └─ Specific task:
136
140
 
@@ -159,7 +163,6 @@ What do you need?
159
163
  **Examples**:
160
164
  - **ALY** - Chief Technology Officer (CTO)
161
165
  - **AJ MAESTRO** - Implementation Orchestrator
162
- - **AJ CC** - Continuous Context Specialist
163
166
  - **MON** - Requirements Analyst
164
167
  - **KIL** - Task Executor
165
168
 
@@ -1,32 +1,37 @@
1
- ---
2
- description: Verify Trinity Method installation completeness
1
+ # Trinity Verify
2
+
3
+ **Command:** `/utility:trinity-verify`
4
+ **Purpose:** Verify Trinity Method installation completeness
5
+ **Architecture:** TAN structure validation → File integrity checks → Deployment verification
6
+ **Trinity Version:** 2.1.0
7
+ **Last Updated:** 2026-01-21
8
+
3
9
  ---
4
10
 
5
11
  Verify that Trinity Method is properly installed in this project.
6
12
 
7
13
  Check for:
8
14
  1. **Trinity Core Structure (14 directories):**
9
- - trinity/knowledge-base/
10
- - trinity/reports/
11
- - trinity/sessions/
12
- - trinity/investigations/
13
- - trinity/investigations/plans/
14
- - trinity/patterns/
15
- - trinity/work-orders/
16
- - trinity/templates/
17
- - trinity/templates/work-orders/
18
- - trinity/templates/investigations/
19
- - trinity/archive/work-orders/
20
- - trinity/archive/investigations/
21
- - trinity/archive/reports/
22
- - trinity/archive/sessions/
15
+ - .claude/trinity/knowledge-base/
16
+ - .claude/trinity/reports/
17
+ - .claude/trinity/sessions/
18
+ - .claude/trinity/investigations/
19
+ - .claude/trinity/investigations/plans/
20
+ - .claude/trinity/work-orders/
21
+ - .claude/trinity/templates/
22
+ - .claude/trinity/templates/work-orders/
23
+ - .claude/trinity/templates/investigations/
24
+ - .claude/trinity/archive/work-orders/
25
+ - .claude/trinity/archive/investigations/
26
+ - .claude/trinity/archive/reports/
27
+ - .claude/trinity/archive/sessions/
23
28
 
24
29
  2. **CLAUDE.md Context Files:**
25
30
  - Root CLAUDE.md (behavioral hierarchy)
26
- - trinity/CLAUDE.md (Trinity-specific context)
31
+ - .claude/trinity/CLAUDE.md (Trinity-specific context)
27
32
 
28
- 3. **Agent Organization (19 agents in 5 subdirectories):**
29
- - .claude/agents/leadership/ (3 agents: ALY, AJ MAESTRO, AJ CC)
33
+ 3. **Agent Organization (18 agents in 5 subdirectories):**
34
+ - .claude/agents/leadership/ (2 agents: ALY, AJ MAESTRO)
30
35
  - .claude/agents/deployment/ (4 agents: TAN, ZEN, INO, EIN)
31
36
  - .claude/agents/audit/ (1 agent: JUNO)
32
37
  - .claude/agents/planning/ (4 agents: MON, ROR, TRA, EUS)
@@ -42,9 +47,9 @@ Check for:
42
47
  - Utility: verify, agents, workorder
43
48
 
44
49
  5. **Templates (13 total):**
45
- - Work Orders: 6 templates in trinity/templates/work-orders/
46
- - Investigations: 5 templates in trinity/templates/investigations/
47
- - Documentation: 2 templates in trinity/templates/documentation/
50
+ - Work Orders: 6 templates in .claude/trinity/templates/work-orders/
51
+ - Investigations: 5 templates in .claude/trinity/templates/investigations/
52
+ - Documentation: 2 templates in .claude/trinity/templates/documentation/
48
53
 
49
54
  6. **Knowledge Base Files (9 files):**
50
55
  - ARCHITECTURE.md, Trinity.md, To-do.md, ISSUES.md, Technical-Debt.md
@@ -53,7 +58,6 @@ Check for:
53
58
 
54
59
  7. **CI/CD Workflows (if deployed):**
55
60
  - .github/workflows/ci.yml (BAS 6-phase quality gates)
56
- - .github/workflows/cd.yml (Deployment pipeline)
57
61
 
58
62
  Report:
59
63
  - ✅ Installed components
@@ -80,17 +84,16 @@ Report:
80
84
  - ✅ .claude/
81
85
  - ✅ .claude/agents/ (5 subdirectories)
82
86
  - ✅ .claude/commands/
83
- - ✅ trinity/knowledge-base/
84
- - ✅ trinity/work-orders/
85
- - ✅ trinity/sessions/
86
- - ✅ trinity/planning/
87
- - ✅ trinity/reports/
88
-
89
- ### 2. Agent Deployment ✅ (19/19)
90
- **Leadership** (3/3):
87
+ - ✅ .claude/trinity/knowledge-base/
88
+ - ✅ .claude/trinity/work-orders/
89
+ - ✅ .claude/trinity/sessions/
90
+ - ✅ .claude/trinity/planning/
91
+ - ✅ .claude/trinity/reports/
92
+
93
+ ### 2. Agent Deployment ✅ (18/18)
94
+ **Leadership** (2/2):
91
95
  - ✅ aly-cto.md (2.4 KB)
92
96
  - ✅ aj-maestro.md (18.2 KB)
93
- - ✅ aj-cc.md (12.1 KB)
94
97
 
95
98
  **Deployment** (4/4):
96
99
  - ✅ tan-structure.md (8.5 KB)
@@ -146,7 +149,6 @@ Report:
146
149
 
147
150
  ### 5. CI/CD Workflows ✅ (Optional)
148
151
  - ✅ .github/workflows/ci.yml (BAS 6-phase gates)
149
- - ✅ .github/workflows/cd.yml (Deployment pipeline)
150
152
 
151
153
  ## Summary
152
154
  **Status**: ✅ FULLY DEPLOYED
@@ -171,17 +173,16 @@ Report:
171
173
  - ✅ .claude/
172
174
  - ✅ .claude/agents/ (5 subdirectories)
173
175
  - ✅ .claude/commands/
174
- - ✅ trinity/knowledge-base/
175
- - ❌ trinity/work-orders/ (MISSING)
176
- - ✅ trinity/sessions/
177
- - ✅ trinity/planning/
178
- - ❌ trinity/reports/ (MISSING)
179
-
180
- ### 2. Agent Deployment ⚠️ (17/19)
181
- **Leadership** (3/3):
176
+ - ✅ .claude/trinity/knowledge-base/
177
+ - ❌ .claude/trinity/work-orders/ (MISSING)
178
+ - ✅ .claude/trinity/sessions/
179
+ - ✅ .claude/trinity/planning/
180
+ - ❌ .claude/trinity/reports/ (MISSING)
181
+
182
+ ### 2. Agent Deployment ⚠️ (16/18)
183
+ **Leadership** (2/2):
182
184
  - ✅ aly-cto.md
183
185
  - ✅ aj-maestro.md
184
- - ✅ aj-cc.md
185
186
 
186
187
  **Deployment** (2/4):
187
188
  - ✅ tan-structure.md
@@ -244,8 +245,8 @@ Report:
244
245
 
245
246
  **Symptom**:
246
247
  ```
247
- ❌ trinity/work-orders/ not found
248
- ❌ trinity/reports/ not found
248
+ .claude/trinity/work-orders/ not found
249
+ .claude/trinity/reports/ not found
249
250
  ```
250
251
 
251
252
  **Cause**: Incomplete `trinity deploy` or TAN agent failure
@@ -253,19 +254,19 @@ Report:
253
254
  **Fix**:
254
255
  ```bash
255
256
  # Manually create missing directories
256
- mkdir -p trinity/work-orders
257
- mkdir -p trinity/reports
258
- mkdir -p trinity/sessions
259
- mkdir -p trinity/planning
257
+ mkdir -p .claude/trinity/work-orders
258
+ mkdir -p .claude/trinity/reports
259
+ mkdir -p .claude/trinity/sessions
260
+ mkdir -p .claude/trinity/planning
260
261
 
261
262
  # Verify creation
262
- ls -la trinity/
263
+ ls -la .claude/trinity/
263
264
  ```
264
265
 
265
266
  **Verification**:
266
267
  ```bash
267
268
  # Should show all directories
268
- trinity/
269
+ .claude/trinity/
269
270
  ├── work-orders/
270
271
  ├── reports/
271
272
  ├── sessions/
@@ -325,20 +326,20 @@ find .claude/agents -name "*.md" -type f
325
326
 
326
327
  # OR manually populate files
327
328
  # ISSUES.md should contain:
328
- echo "# Known Issues\n\nNo issues currently tracked." > trinity/knowledge-base/ISSUES.md
329
+ echo "# Known Issues\n\nNo issues currently tracked." > .claude/trinity/knowledge-base/ISSUES.md
329
330
 
330
331
  # To-do.md should contain:
331
- echo "# Project To-Do List\n\nNo tasks currently tracked." > trinity/knowledge-base/To-do.md
332
+ echo "# Project To-Do List\n\nNo tasks currently tracked." > .claude/trinity/knowledge-base/To-do.md
332
333
  ```
333
334
 
334
335
  **Verification**:
335
336
  ```bash
336
337
  # Check file sizes (should be >0 bytes)
337
- ls -lh trinity/knowledge-base/*.md
338
+ ls -lh .claude/trinity/knowledge-base/*.md
338
339
 
339
340
  # Verify content
340
- cat trinity/knowledge-base/ISSUES.md
341
- cat trinity/knowledge-base/To-do.md
341
+ cat .claude/trinity/knowledge-base/ISSUES.md
342
+ cat .claude/trinity/knowledge-base/To-do.md
342
343
  ```
343
344
 
344
345
  ---
@@ -446,8 +447,6 @@ ls -la .github/workflows/
446
447
 
447
448
  # Expected (if CI/CD requested):
448
449
  # ci.yml
449
- # cd.yml
450
450
  ```
451
451
 
452
452
  ---
453
-
@@ -1,9 +1,13 @@
1
- ---
2
- description: Create Trinity Method work orders interactively
3
- ---
4
-
5
1
  # Trinity Work Orders
6
2
 
3
+ **Command:** `/utility:trinity-workorder`
4
+ **Purpose:** Create Trinity Method work orders interactively
5
+ **Architecture:** MON wizard → Template selection → Work order creation
6
+ **Trinity Version:** 2.1.0
7
+ **Last Updated:** 2026-01-21
8
+
9
+ ---
10
+
7
11
  ## What Are Work Orders?
8
12
 
9
13
  Work orders are structured task documents that provide clear objectives, task breakdown, progress tracking, context preservation, and quality assurance.
@@ -38,7 +42,7 @@ When `/trinity-workorder` is invoked, the agent will:
38
42
  - Deliverables and acceptance criteria
39
43
  - Priority and estimated effort
40
44
 
41
- 2. **Select appropriate template** from `trinity/templates/work-orders/`:
45
+ 2. **Select appropriate template** from `.claude/trinity/templates/work-orders/`:
42
46
  - **Investigation:** Research and analysis tasks
43
47
  - **Implementation:** Feature development tasks
44
48
  - **Analysis:** Code analysis and review tasks
@@ -46,7 +50,7 @@ When `/trinity-workorder` is invoked, the agent will:
46
50
  - **Pattern:** Pattern detection and analysis
47
51
  - **Verification:** Verification and validation tasks
48
52
 
49
- 3. **Create work order file** in `trinity/work-orders/WO-XXX-{task-name}.md`
53
+ 3. **Create work order file** in `.claude/trinity/work-orders/WO-XXX-{task-name}.md`
50
54
 
51
55
  4. **Populate template** with:
52
56
  - Clear mission objective
@@ -74,13 +78,13 @@ When `/trinity-workorder` is invoked, the agent will:
74
78
 
75
79
  ## Orchestration
76
80
 
77
- Once work order is created in `trinity/work-orders/`, execute it:
81
+ Once work order is created in `.claude/trinity/work-orders/`, execute it:
78
82
 
79
83
  ```bash
80
84
  /trinity-orchestrate @WO-001-example-task.md
81
85
  ```
82
86
 
83
- **AJ MAESTRO** picks up the work order from `trinity/work-orders/` and orchestrates the 19-agent team to complete the task following Trinity Method workflows.
87
+ **AJ MAESTRO** picks up the work order from `.claude/trinity/work-orders/` and orchestrates the 18-agent team to complete the task following Trinity Method workflows.
84
88
 
85
89
  ---
86
90
 
@@ -92,7 +96,7 @@ See WO-042 example in work order files showing full structure with objectives, i
92
96
 
93
97
  ## Available Templates
94
98
 
95
- Work order templates are located in `trinity/templates/work-orders/`:
99
+ Work order templates are located in `.claude/trinity/templates/work-orders/`:
96
100
  - **INVESTIGATION-TEMPLATE.md** - Research and analysis tasks
97
101
  - **IMPLEMENTATION-TEMPLATE.md** - Feature development tasks
98
102
  - **ANALYSIS-TEMPLATE.md** - Code analysis and review tasks
@@ -1,9 +1,9 @@
1
- # {{PROJECT_NAME}} - Trinity Method CI/CD Pipeline
1
+ # {{PROJECT_NAME}} - Trinity Method CI Pipeline
2
2
  # Trinity Method v{{TRINITY_VERSION}}
3
3
  # Framework: {{FRAMEWORK}}
4
4
  # Generated by: EIN (CI/CD Specialist)
5
5
 
6
- name: Trinity CI/CD Pipeline
6
+ name: Trinity CI Pipeline
7
7
 
8
8
  on:
9
9
  push:
@@ -20,7 +20,7 @@ This project uses the Trinity Method with layered context files:
20
20
  Project-specific overview, architecture, and living documentation references.
21
21
 
22
22
  ### 2. Trinity Method Context
23
- **File**: [trinity/CLAUDE.md](trinity/CLAUDE.md)
23
+ **File**: [.claude/trinity/CLAUDE.md](.claude/trinity/CLAUDE.md)
24
24
  Enforces Trinity Method protocols: investigation-first development, quality gates, crisis management.
25
25
 
26
26
  ### 3. Technology-Specific Context
@@ -29,7 +29,7 @@ Framework-specific debugging standards, performance optimization, testing patter
29
29
 
30
30
  ### 4. Agent Directory
31
31
  **File**: [.claude/EMPLOYEE-DIRECTORY.md](.claude/EMPLOYEE-DIRECTORY.md)
32
- Complete guide to the 19-agent Trinity team and workflow orchestration.
32
+ Complete guide to the 18-agent Trinity team and workflow orchestration.
33
33
 
34
34
  ---
35
35
 
@@ -37,29 +37,29 @@ Complete guide to the 19-agent Trinity team and workflow orchestration.
37
37
 
38
38
  ### Architecture
39
39
 
40
- See: [trinity/knowledge-base/ARCHITECTURE.md](trinity/knowledge-base/ARCHITECTURE.md)
40
+ See: [.claude/trinity/knowledge-base/ARCHITECTURE.md](.claude/trinity/knowledge-base/ARCHITECTURE.md)
41
41
 
42
42
  ### Current Tasks
43
43
 
44
- See: [trinity/knowledge-base/To-do.md](trinity/knowledge-base/To-do.md)
44
+ See: [.claude/trinity/knowledge-base/To-do.md](.claude/trinity/knowledge-base/To-do.md)
45
45
 
46
46
  ### Known Issues
47
47
 
48
- See: [trinity/knowledge-base/ISSUES.md](trinity/knowledge-base/ISSUES.md)
48
+ See: [.claude/trinity/knowledge-base/ISSUES.md](.claude/trinity/knowledge-base/ISSUES.md)
49
49
 
50
50
  ### Technical Debt
51
51
 
52
- See: [trinity/knowledge-base/Technical-Debt.md](trinity/knowledge-base/Technical-Debt.md)
52
+ See: [.claude/trinity/knowledge-base/Technical-Debt.md](.claude/trinity/knowledge-base/Technical-Debt.md)
53
53
 
54
54
  ### Testing Standards
55
55
 
56
- See: [trinity/knowledge-base/TESTING-PRINCIPLES.md](trinity/knowledge-base/TESTING-PRINCIPLES.md)
56
+ See: [.claude/trinity/knowledge-base/TESTING-PRINCIPLES.md](.claude/trinity/knowledge-base/TESTING-PRINCIPLES.md)
57
57
 
58
58
  ### Coding Principles
59
59
 
60
- See: [trinity/knowledge-base/CODING-PRINCIPLES.md](trinity/knowledge-base/CODING-PRINCIPLES.md)
60
+ See: [.claude/trinity/knowledge-base/CODING-PRINCIPLES.md](.claude/trinity/knowledge-base/CODING-PRINCIPLES.md)
61
61
 
62
62
  ---
63
63
 
64
64
  **Trinity Method:** Investigation-first development methodology
65
- **Session Location:** trinity/sessions/
65
+ **Session Location:** .claude/trinity/sessions/
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env sh
2
+ # {{PROJECT_NAME}} - Pre-commit Quality Gates
3
+ # Trinity Method v{{TRINITY_VERSION}}
4
+ # Framework: {{FRAMEWORK}}
5
+ npx lint-staged