trinity-method-sdk 2.0.7 → 2.0.9

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 (53) hide show
  1. package/CHANGELOG.md +267 -218
  2. package/README.md +540 -540
  3. package/dist/cli/commands/deploy/index.js +1 -1
  4. package/dist/cli/commands/deploy/root-files.js +1 -1
  5. package/dist/cli/commands/deploy/sdk-install.js +1 -1
  6. package/dist/cli/commands/update/index.js +4 -1
  7. package/dist/cli/index.js +1 -0
  8. package/dist/cli/types.d.ts +1 -0
  9. package/dist/cli/utils/detect-stack.js +6 -0
  10. package/dist/cli/utils/template-processor.js +1 -1
  11. package/dist/templates/agents/aj-team/apo-documentation-specialist.md.template +2 -2
  12. package/dist/templates/agents/aj-team/bas-quality-gate.md.template +3 -3
  13. package/dist/templates/agents/aj-team/bon-dependency-manager.md.template +636 -636
  14. package/dist/templates/agents/aj-team/cap-configuration-specialist.md.template +2 -2
  15. package/dist/templates/agents/aj-team/dra-code-reviewer.md.template +2 -2
  16. package/dist/templates/agents/aj-team/kil-task-executor.md.template +2 -2
  17. package/dist/templates/agents/aj-team/uro-refactoring-specialist.md.template +2 -2
  18. package/dist/templates/agents/audit/juno-auditor.md.template +1 -1
  19. package/dist/templates/agents/deployment/ein-cicd.md.template +3 -2
  20. package/dist/templates/agents/deployment/ino-context.md.template +3 -3
  21. package/dist/templates/agents/deployment/tan-structure.md.template +1 -1
  22. package/dist/templates/agents/deployment/zen-knowledge.md.template +5 -5
  23. package/dist/templates/agents/leadership/aj-cc.md.template +2 -2
  24. package/dist/templates/claude/EMPLOYEE-DIRECTORY.md.template +1 -1
  25. package/dist/templates/documentation/SUBDIRECTORY-README.md.template +1 -1
  26. package/dist/templates/investigations/bug.md.template +2 -2
  27. package/dist/templates/investigations/feature.md.template +2 -2
  28. package/dist/templates/investigations/performance.md.template +2 -2
  29. package/dist/templates/investigations/security.md.template +2 -2
  30. package/dist/templates/investigations/technical.md.template +2 -2
  31. package/dist/templates/knowledge-base/AI-DEVELOPMENT-GUIDE.md.template +1 -1
  32. package/dist/templates/knowledge-base/ARCHITECTURE.md.template +2 -2
  33. package/dist/templates/knowledge-base/CODING-PRINCIPLES.md.template +1 -1
  34. package/dist/templates/knowledge-base/DOCUMENTATION-CRITERIA.md.template +1 -1
  35. package/dist/templates/knowledge-base/ISSUES.md.template +2 -2
  36. package/dist/templates/knowledge-base/TESTING-PRINCIPLES.md.template +1 -1
  37. package/dist/templates/knowledge-base/Technical-Debt.md.template +2 -2
  38. package/dist/templates/knowledge-base/To-do.md.template +2 -2
  39. package/dist/templates/knowledge-base/Trinity.md.template +4 -3
  40. package/dist/templates/root/TRINITY.md.template +1 -1
  41. package/dist/templates/shared/claude-commands/trinity-changelog.md.template +2 -2
  42. package/dist/templates/shared/claude-commands/trinity-continue.md.template +1 -1
  43. package/dist/templates/shared/claude-commands/trinity-docs.md.template +376 -7
  44. package/dist/templates/shared/claude-commands/trinity-end.md.template +397 -397
  45. package/dist/templates/shared/claude-commands/trinity-readme.md.template +141 -33
  46. package/dist/templates/shared/claude-commands/trinity-verify.md.template +1 -1
  47. package/dist/templates/source/base-CLAUDE.md.template +310 -310
  48. package/dist/templates/source/flutter-CLAUDE.md.template +593 -593
  49. package/dist/templates/source/nodejs-CLAUDE.md.template +531 -531
  50. package/dist/templates/source/python-CLAUDE.md.template +510 -510
  51. package/dist/templates/source/react-CLAUDE.md.template +513 -513
  52. package/dist/templates/source/rust-CLAUDE.md.template +653 -653
  53. package/package.json +94 -94
package/CHANGELOG.md CHANGED
@@ -1,218 +1,267 @@
1
- # Changelog
2
-
3
- All notable changes to Trinity Method SDK will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
- ## [Unreleased]
9
-
10
- ### Added
11
-
12
- ### Changed
13
-
14
- ### Deprecated
15
-
16
- ### Removed
17
-
18
- ### Fixed
19
-
20
- ### Security
21
-
22
- ## [2.0.7] - 2026-01-06
23
-
24
- ### Fixed
25
-
26
- - **CRITICAL: Agent file extension handling** - Fixed agent updates to strip `.template` extension
27
- - Agents were being copied with `.md.template` extension, creating duplicates alongside old `.md` files
28
- - Now correctly strips `.template` extension during deployment to `.claude/agents/` subdirectories
29
- - Each agent file copied individually with proper extension handling
30
-
31
- - **CRITICAL: Template directory structure** - Fixed template updates to use correct directory structure
32
- - Work order templates were being deployed to wrong directory (`trinity/templates/` instead of `trinity/templates/work-orders/`)
33
- - Documentation templates (`trinity/templates/documentation/`) were not being updated at all
34
- - Investigation templates (`trinity/templates/investigations/`) were not being updated at all
35
- - Now correctly deploys all 3 template types to their proper subdirectories with `.template` extension stripped
36
- - Total templates updated: 13 files (6 work-orders + 2 documentation + 5 investigations)
37
-
38
- ## [2.0.6] - 2026-01-06
39
-
40
- ### Fixed
41
-
42
- - **CRITICAL: Command categorization logic** - Fixed `trinity update` to correctly categorize slash commands
43
- - Execution commands (`audit`, `changelog`, `docs`, `readme`) were falling through to utility category
44
- - Investigation commands containing `investigate` were not being matched properly
45
- - Commands now deploy to correct category directories (session, planning, execution, investigation, infrastructure, infrastructure, utility)
46
- - Prevents duplicate commands in wrong directories during updates
47
-
48
- ## [2.0.5] - 2026-01-06
49
-
50
- ### Fixed
51
-
52
- - **CRITICAL: Slash command file updates** - Fixed `trinity update` command file extension handling
53
- - Update commands module was looking for `.md` files but templates use `.md.template` extension
54
- - Now correctly processes `.md.template` files and strips extension for deployed files
55
- - Slash commands now update properly (20 command files) when running `trinity update`
56
- - Matches the pattern used by knowledge-base update module
57
-
58
- ## [2.0.4] - 2026-01-06
59
-
60
- ### Fixed
61
-
62
- - **CRITICAL: Update command path resolution** - Fixed `trinity update` to use centralized SDK path resolution
63
- - Update command was using hardcoded `@trinity-method/sdk` path instead of `trinity-method-sdk`
64
- - Commands, agents, templates, and knowledge base files now update correctly with global installations
65
- - Fixed "Commands template path not found, skipping" warning
66
-
67
- ## [2.0.3] - 2026-01-06
68
-
69
- ### Fixed
70
-
71
- - **CRITICAL: Global install support** - Fixed SDK path resolution to work with global installations
72
- - Changed package name from incorrect `@trinity-method/sdk` to `trinity-method-sdk` in path resolution
73
- - Added `import.meta.url` support for resolving SDK location in global installs
74
- - `trinity update` command now works correctly when SDK is installed globally
75
- - Fixed "ENOENT: no such file or directory" error when running update command
76
-
77
- ## [2.0.2] - 2026-01-02
78
-
79
- ### Added
80
-
81
- - **DOCUMENTATION RULES** section to all APO documentation commands (`/trinity-docs`, `/trinity-readme`, `/trinity-changelog`)
82
- - Rule 1: No Self-Serving Trinity Documentation - Prevents APO from including Trinity Method information in user project documentation
83
- - Provides clear ✅/❌ examples and rationale for focusing exclusively on user's codebase
84
- - Explicit **Write tool execution commands** throughout `/trinity-docs` Phase 2
85
- - Added 🚨 CRITICAL EXECUTION REQUIREMENT section at Phase 2 start
86
- - Added **EXECUTION REQUIRED** code blocks for each seeding step
87
- - Added **Phase 2 Execution Summary** with mandatory file creation checklist
88
- - Ensures APO creates actual documentation files instead of just showing templates
89
-
90
- ### Changed
91
-
92
- - **`/trinity-docs` command:** Enhanced Phase 2 with explicit Write tool requirements
93
- - Step 2 (Guides): Added execution requirements for getting-started.md and framework-specific guides
94
- - Step 3 (API): Added execution requirements for api/README.md
95
- - Step 4 (Architecture): Added execution requirements for architecture/overview.md
96
- - Step 5 (Reference): Added execution requirements for reference/README.md
97
- - Phase now requires minimum 4 files to be created: getting-started.md, api/README.md, architecture/overview.md, reference/README.md
98
-
99
- ### Fixed
100
-
101
- - **APO file creation issue:** `/trinity-docs` now explicitly commands APO to use Write tool, preventing scenario where directory structure is created but documentation files are not written
102
-
103
- ## [2.0.1] - 2025-12-29
104
-
105
- ### Added
106
-
107
- - Installation instructions in README.md with npx and global install options
108
- - Automatic npm deployment on every push to main branch via GitHub Actions CD workflow
109
-
110
- ### Changed
111
-
112
- - **CD Workflow:** Modified to deploy to npm on all main branch pushes (not just version tags)
113
- - **CD Workflow:** GitHub releases now only created for version tags, not regular commits
114
- - Updated all package references from `@trinity-method/cli` to `trinity-method-sdk`
115
-
116
- ### Fixed
117
-
118
- - Removed redundant `node_modules/` from Trinity's .gitignore additions
119
-
120
- ## [2.0.0] - 2025-12-21
121
-
122
- ### Added
123
-
124
- - **Agent System Expansion:** Grew from 7 to 19 specialized agents
125
- - **Planning Layer (4 agents):** MON (Requirements Analyst), ROR (Design Architect), TRA (Work Planner), EUS (Task Decomposer)
126
- - **Execution Layer (3 agents):** KIL (Task Executor), BAS (Quality Gate), DRA (Code Reviewer)
127
- - **Support Layer (4 agents):** APO (Documentation Specialist), BON (Dependency Manager), CAP (Configuration Specialist), URO (Refactoring Specialist)
128
- - **Leadership & Audit (2 agents):** ALY (Chief Technology Officer), JUNO (Quality Auditor)
129
- - **Infrastructure (5 agents):** TAN, ZEN, INO, EIN, AJ MAESTRO (legacy)
130
- - Increased deployment from 49 to 64 production-ready components
131
- - Expanded slash commands from 8 to 20 commands across 6 categories
132
- - Session Management: `/trinity-start`, `/trinity-continue`, `/trinity-end`
133
- - Planning: `/trinity-requirements`, `/trinity-design`, `/trinity-decompose`, `/trinity-plan`
134
- - Execution: `/trinity-orchestrate`, `/trinity-audit`, `/trinity-readme`, `/trinity-docs`, `/trinity-changelog`
135
- - Investigation: `/trinity-create-investigation`, `/trinity-plan-investigation`, `/trinity-investigate-templates`
136
- - Infrastructure: `/trinity-init`
137
- - Utility: `/trinity-verify`, `/trinity-agents`, `/trinity-workorder`
138
- - Enhanced `/trinity-readme` command template to v2.0.0 with comprehensive validation phases
139
- - Phase 2h: Command/Script/CLI Validation - Verifies all documented commands exist in codebase
140
- - Phase 2i: Code Example Validation - Checks code examples match current API signatures
141
- - Phase 2j: API/Function Reference Validation - Verifies documented functions/classes exist
142
- - Phase 2k: Dependency Claims Validation - Cross-references README with package manifests
143
- - Phase 2l: Stale Content Detection - Finds TODO markers, outdated dates, placeholder text
144
-
145
- ### Changed
146
-
147
- - **BREAKING:** Updated Trinity Method to v2.0.0 architecture
148
- - **Agent System:** Complete agent architecture redesign with specialized layers
149
- - **Documentation System:** Enhanced APO capabilities with comprehensive audit phases
150
- - Refactored 7 functions to reduce cyclomatic complexity (all ≤15)
151
- - Improved code maintainability and readability across codebase
152
- - Enhanced test coverage and reliability (405 tests, 100% passing)
153
-
154
- ### Deprecated
155
-
156
- - AJ MAESTRO orchestrator (v1.0) replaced by ALY in v2.0
157
-
158
- ### Fixed
159
-
160
- - Template path resolution in integration tests
161
- - Linting deployment tests now correctly locate template files
162
- - **Documentation Accuracy:** Fixed 6 critical inaccuracies in README.md
163
- - Removed 24+ non-existent CLI commands (`npx trinity investigate`, `crisis`, `analytics`, etc.)
164
- - Fixed 13 broken documentation links (docs/methodology/, docs/adr/, docs/workflows/)
165
- - Corrected agent count inconsistencies throughout documentation (unified to 19 agents)
166
- - Updated deployment examples to reflect actual CLI (`npx @trinity-method/cli deploy/update`)
167
- - Fixed broken ADR links in src/README.md (replaced with design principles summary)
168
- - Fixed broken ADR links in docs/README.md (removed non-existent file references)
169
-
170
- ---
171
-
172
- ## [1.0.1] - 2025-10-02 (Legacy - @trinity-method/cli)
173
-
174
- ### Fixed
175
-
176
- - **Critical:** Missing template files in npm package (only 9 of 36 were included)
177
- - Fixed file paths to use bundled templates instead of workspace structure
178
- - All `.md.template` files now properly included in published package
179
- - Updated `deploy.js` and `update.js` to reference correct template locations
180
- - Bundled agents and hooks directly into CLI package for standalone operation
181
-
182
- ### Changed
183
-
184
- - Reorganized package structure to be self-contained when published to npm
185
- - Templates, agents, and hooks now bundled in `packages/cli/templates/`
186
-
187
- **Note:** This version was published as `@trinity-method/cli`. Starting with v2.0.0, the package was renamed to `trinity-method-sdk`.
188
-
189
- ---
190
-
191
- ## [1.0.0] - 2025-10-01 (Legacy - @trinity-method/cli)
192
-
193
- ### Added
194
-
195
- - Initial release of Trinity Method SDK for Claude Code
196
- - 7 specialized Trinity agents (Aly, AJ, TAN, ZEN, INO, Ein, JUNO)
197
- - Claude Code-exclusive deployment
198
- - Interactive deployment with linting and CI/CD configuration
199
- - Linting configuration (ESLint, Prettier, etc.)
200
- - CI/CD automation (GitHub Actions, GitLab CI)
201
- - Matrix testing support
202
- - Coverage integration (Codecov, Coveralls)
203
- - Employee Directory with agent documentation
204
- - Trinity structure (knowledge-base, templates)
205
- - CLAUDE.md context file deployment
206
- - README injection for Trinity Method section
207
- - 8 slash commands (/trinity-init, /trinity-verify, /trinity-docs, /trinity-start, /trinity-continue, /trinity-end, /trinity-workorder, /trinity-agents)
208
- - Session management with archival system
209
- - Comprehensive CLI documentation
210
-
211
- ### Strategic Decision
212
-
213
- - Focused exclusively on Claude Code for exceptional user experience
214
- - Community contributions welcome for other coding agents
215
-
216
- **Note:** This version was published as `@trinity-method/cli`. Starting with v2.0.0, the package was renamed to `trinity-method-sdk`.
217
-
218
- [1.0.0]: https://github.com/lukadfagundes/trinity-method-sdk/releases/tag/v1.0.0
1
+ # Changelog
2
+
3
+ All notable changes to Trinity Method SDK will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ### Added
11
+
12
+ ### Changed
13
+
14
+ ### Deprecated
15
+
16
+ ### Removed
17
+
18
+ ### Fixed
19
+
20
+ ### Security
21
+
22
+ ## [2.0.9] - 2026-01-12
23
+
24
+ ### Changed
25
+
26
+ - **Trinity-docs command specification** - Added evidence-based documentation verification
27
+ - Added Rule 2: Evidence-Based Documentation Only - prevents documenting uninstalled tools
28
+ - Added Phase 1 Step 6: Tool & Feature Verification for all project types
29
+ - Added tool verification report to Phase 5 output
30
+ - Prevents aspirational/best-practice content that doesn't exist in codebase
31
+ - Addresses incident where Lighthouse was documented without being installed
32
+
33
+ - **Trinity-readme command specification** - Removed Trinity self-documentation conflicts
34
+ - Deleted Type C Template that documented Trinity infrastructure (violated Rule 1)
35
+ - Added Rule 1 Enforcement Checklist with verification commands
36
+ - Added Phase 1 Step 4.5: Filter Gitignored and Trinity Directories
37
+ - Added Trinity Detection Warning to explicitly skip trinity/ and .claude/
38
+ - Removed trinity/ from glob patterns and project structure examples
39
+ - Addresses incident where trinity/ was included in README file tree despite being gitignored
40
+
41
+ - **Trinity-readme command specification** - Added LICENSE file verification for badges
42
+ - Added Phase 1 Step 7: License Verification - reads actual LICENSE file
43
+ - LICENSE file is now source of truth (priority over package.json)
44
+ - Detects license type from file header (MIT, ISC, Apache, GPL, BSD, etc.)
45
+ - Warns when package.json license field doesn't match LICENSE file
46
+ - Falls back to package.json only if LICENSE file doesn't exist
47
+ - Addresses incident where ISC badge was generated despite MIT LICENSE file
48
+
49
+ - **Trinity-docs command specification** - Added Trinity reference sanitization enforcement
50
+ - Added Rule 1 Forbidden Patterns - explicit list of patterns that must not appear in docs/
51
+ - Added Phase 4.5: Trinity Reference Sanitization - scans and removes Trinity references
52
+ - Added Rule 1 Compliance verification to Phase 5 report with pass/fail status
53
+ - Removed Trinity report link from docs/README.md template footer
54
+ - Prevents Trinity Method, agent names, commands, and infrastructure references in user docs
55
+ - Addresses incident where 7 documentation files contained Trinity Method references
56
+
57
+ ## [2.0.8] - 2026-01-08
58
+
59
+ ### Added
60
+
61
+ - **Bot directory support** - Added `bot/` as a recognized source directory
62
+ - `bot/` directory now detected during deployment
63
+ - Framework-specific CLAUDE.md automatically deployed to `bot/` directory
64
+ - Supports nested patterns: `bot/src`, `bot/lib`, `bot/app`, `src/bot`
65
+
66
+ - **Force update flag** - Added `--force` flag to `trinity update` command
67
+ - Allows forcing re-update even when already at latest version
68
+ - Useful for repairing corrupted deployments or applying template fixes
69
+ - Usage: `trinity update --force`
70
+
71
+ ## [2.0.7] - 2026-01-06
72
+
73
+ ### Fixed
74
+
75
+ - **CRITICAL: Agent file extension handling** - Fixed agent updates to strip `.template` extension
76
+ - Agents were being copied with `.md.template` extension, creating duplicates alongside old `.md` files
77
+ - Now correctly strips `.template` extension during deployment to `.claude/agents/` subdirectories
78
+ - Each agent file copied individually with proper extension handling
79
+
80
+ - **CRITICAL: Template directory structure** - Fixed template updates to use correct directory structure
81
+ - Work order templates were being deployed to wrong directory (`trinity/templates/` instead of `trinity/templates/work-orders/`)
82
+ - Documentation templates (`trinity/templates/documentation/`) were not being updated at all
83
+ - Investigation templates (`trinity/templates/investigations/`) were not being updated at all
84
+ - Now correctly deploys all 3 template types to their proper subdirectories with `.template` extension stripped
85
+ - Total templates updated: 13 files (6 work-orders + 2 documentation + 5 investigations)
86
+
87
+ ## [2.0.6] - 2026-01-06
88
+
89
+ ### Fixed
90
+
91
+ - **CRITICAL: Command categorization logic** - Fixed `trinity update` to correctly categorize slash commands
92
+ - Execution commands (`audit`, `changelog`, `docs`, `readme`) were falling through to utility category
93
+ - Investigation commands containing `investigate` were not being matched properly
94
+ - Commands now deploy to correct category directories (session, planning, execution, investigation, infrastructure, infrastructure, utility)
95
+ - Prevents duplicate commands in wrong directories during updates
96
+
97
+ ## [2.0.5] - 2026-01-06
98
+
99
+ ### Fixed
100
+
101
+ - **CRITICAL: Slash command file updates** - Fixed `trinity update` command file extension handling
102
+ - Update commands module was looking for `.md` files but templates use `.md.template` extension
103
+ - Now correctly processes `.md.template` files and strips extension for deployed files
104
+ - Slash commands now update properly (20 command files) when running `trinity update`
105
+ - Matches the pattern used by knowledge-base update module
106
+
107
+ ## [2.0.4] - 2026-01-06
108
+
109
+ ### Fixed
110
+
111
+ - **CRITICAL: Update command path resolution** - Fixed `trinity update` to use centralized SDK path resolution
112
+ - Update command was using hardcoded `@trinity-method/sdk` path instead of `trinity-method-sdk`
113
+ - Commands, agents, templates, and knowledge base files now update correctly with global installations
114
+ - Fixed "Commands template path not found, skipping" warning
115
+
116
+ ## [2.0.3] - 2026-01-06
117
+
118
+ ### Fixed
119
+
120
+ - **CRITICAL: Global install support** - Fixed SDK path resolution to work with global installations
121
+ - Changed package name from incorrect `@trinity-method/sdk` to `trinity-method-sdk` in path resolution
122
+ - Added `import.meta.url` support for resolving SDK location in global installs
123
+ - `trinity update` command now works correctly when SDK is installed globally
124
+ - Fixed "ENOENT: no such file or directory" error when running update command
125
+
126
+ ## [2.0.2] - 2026-01-02
127
+
128
+ ### Added
129
+
130
+ - **DOCUMENTATION RULES** section to all APO documentation commands (`/trinity-docs`, `/trinity-readme`, `/trinity-changelog`)
131
+ - Rule 1: No Self-Serving Trinity Documentation - Prevents APO from including Trinity Method information in user project documentation
132
+ - Provides clear ✅/❌ examples and rationale for focusing exclusively on user's codebase
133
+ - Explicit **Write tool execution commands** throughout `/trinity-docs` Phase 2
134
+ - Added 🚨 CRITICAL EXECUTION REQUIREMENT section at Phase 2 start
135
+ - Added **EXECUTION REQUIRED** code blocks for each seeding step
136
+ - Added **Phase 2 Execution Summary** with mandatory file creation checklist
137
+ - Ensures APO creates actual documentation files instead of just showing templates
138
+
139
+ ### Changed
140
+
141
+ - **`/trinity-docs` command:** Enhanced Phase 2 with explicit Write tool requirements
142
+ - Step 2 (Guides): Added execution requirements for getting-started.md and framework-specific guides
143
+ - Step 3 (API): Added execution requirements for api/README.md
144
+ - Step 4 (Architecture): Added execution requirements for architecture/overview.md
145
+ - Step 5 (Reference): Added execution requirements for reference/README.md
146
+ - Phase now requires minimum 4 files to be created: getting-started.md, api/README.md, architecture/overview.md, reference/README.md
147
+
148
+ ### Fixed
149
+
150
+ - **APO file creation issue:** `/trinity-docs` now explicitly commands APO to use Write tool, preventing scenario where directory structure is created but documentation files are not written
151
+
152
+ ## [2.0.1] - 2025-12-29
153
+
154
+ ### Added
155
+
156
+ - Installation instructions in README.md with npx and global install options
157
+ - Automatic npm deployment on every push to main branch via GitHub Actions CD workflow
158
+
159
+ ### Changed
160
+
161
+ - **CD Workflow:** Modified to deploy to npm on all main branch pushes (not just version tags)
162
+ - **CD Workflow:** GitHub releases now only created for version tags, not regular commits
163
+ - Updated all package references from `@trinity-method/cli` to `trinity-method-sdk`
164
+
165
+ ### Fixed
166
+
167
+ - Removed redundant `node_modules/` from Trinity's .gitignore additions
168
+
169
+ ## [2.0.0] - 2025-12-21
170
+
171
+ ### Added
172
+
173
+ - **Agent System Expansion:** Grew from 7 to 19 specialized agents
174
+ - **Planning Layer (4 agents):** MON (Requirements Analyst), ROR (Design Architect), TRA (Work Planner), EUS (Task Decomposer)
175
+ - **Execution Layer (3 agents):** KIL (Task Executor), BAS (Quality Gate), DRA (Code Reviewer)
176
+ - **Support Layer (4 agents):** APO (Documentation Specialist), BON (Dependency Manager), CAP (Configuration Specialist), URO (Refactoring Specialist)
177
+ - **Leadership & Audit (2 agents):** ALY (Chief Technology Officer), JUNO (Quality Auditor)
178
+ - **Infrastructure (5 agents):** TAN, ZEN, INO, EIN, AJ MAESTRO (legacy)
179
+ - Increased deployment from 49 to 64 production-ready components
180
+ - Expanded slash commands from 8 to 20 commands across 6 categories
181
+ - Session Management: `/trinity-start`, `/trinity-continue`, `/trinity-end`
182
+ - Planning: `/trinity-requirements`, `/trinity-design`, `/trinity-decompose`, `/trinity-plan`
183
+ - Execution: `/trinity-orchestrate`, `/trinity-audit`, `/trinity-readme`, `/trinity-docs`, `/trinity-changelog`
184
+ - Investigation: `/trinity-create-investigation`, `/trinity-plan-investigation`, `/trinity-investigate-templates`
185
+ - Infrastructure: `/trinity-init`
186
+ - Utility: `/trinity-verify`, `/trinity-agents`, `/trinity-workorder`
187
+ - Enhanced `/trinity-readme` command template to v2.0.0 with comprehensive validation phases
188
+ - Phase 2h: Command/Script/CLI Validation - Verifies all documented commands exist in codebase
189
+ - Phase 2i: Code Example Validation - Checks code examples match current API signatures
190
+ - Phase 2j: API/Function Reference Validation - Verifies documented functions/classes exist
191
+ - Phase 2k: Dependency Claims Validation - Cross-references README with package manifests
192
+ - Phase 2l: Stale Content Detection - Finds TODO markers, outdated dates, placeholder text
193
+
194
+ ### Changed
195
+
196
+ - **BREAKING:** Updated Trinity Method to v2.0.0 architecture
197
+ - **Agent System:** Complete agent architecture redesign with specialized layers
198
+ - **Documentation System:** Enhanced APO capabilities with comprehensive audit phases
199
+ - Refactored 7 functions to reduce cyclomatic complexity (all ≤15)
200
+ - Improved code maintainability and readability across codebase
201
+ - Enhanced test coverage and reliability (405 tests, 100% passing)
202
+
203
+ ### Deprecated
204
+
205
+ - AJ MAESTRO orchestrator (v1.0) replaced by ALY in v2.0
206
+
207
+ ### Fixed
208
+
209
+ - Template path resolution in integration tests
210
+ - Linting deployment tests now correctly locate template files
211
+ - **Documentation Accuracy:** Fixed 6 critical inaccuracies in README.md
212
+ - Removed 24+ non-existent CLI commands (`npx trinity investigate`, `crisis`, `analytics`, etc.)
213
+ - Fixed 13 broken documentation links (docs/methodology/, docs/adr/, docs/workflows/)
214
+ - Corrected agent count inconsistencies throughout documentation (unified to 19 agents)
215
+ - Updated deployment examples to reflect actual CLI (`npx @trinity-method/cli deploy/update`)
216
+ - Fixed broken ADR links in src/README.md (replaced with design principles summary)
217
+ - Fixed broken ADR links in docs/README.md (removed non-existent file references)
218
+
219
+ ---
220
+
221
+ ## [1.0.1] - 2025-10-02 (Legacy - @trinity-method/cli)
222
+
223
+ ### Fixed
224
+
225
+ - **Critical:** Missing template files in npm package (only 9 of 36 were included)
226
+ - Fixed file paths to use bundled templates instead of workspace structure
227
+ - All `.md.template` files now properly included in published package
228
+ - Updated `deploy.js` and `update.js` to reference correct template locations
229
+ - Bundled agents and hooks directly into CLI package for standalone operation
230
+
231
+ ### Changed
232
+
233
+ - Reorganized package structure to be self-contained when published to npm
234
+ - Templates, agents, and hooks now bundled in `packages/cli/templates/`
235
+
236
+ **Note:** This version was published as `@trinity-method/cli`. Starting with v2.0.0, the package was renamed to `trinity-method-sdk`.
237
+
238
+ ---
239
+
240
+ ## [1.0.0] - 2025-10-01 (Legacy - @trinity-method/cli)
241
+
242
+ ### Added
243
+
244
+ - Initial release of Trinity Method SDK for Claude Code
245
+ - 7 specialized Trinity agents (Aly, AJ, TAN, ZEN, INO, Ein, JUNO)
246
+ - Claude Code-exclusive deployment
247
+ - Interactive deployment with linting and CI/CD configuration
248
+ - Linting configuration (ESLint, Prettier, etc.)
249
+ - CI/CD automation (GitHub Actions, GitLab CI)
250
+ - Matrix testing support
251
+ - Coverage integration (Codecov, Coveralls)
252
+ - Employee Directory with agent documentation
253
+ - Trinity structure (knowledge-base, templates)
254
+ - CLAUDE.md context file deployment
255
+ - README injection for Trinity Method section
256
+ - 8 slash commands (/trinity-init, /trinity-verify, /trinity-docs, /trinity-start, /trinity-continue, /trinity-end, /trinity-workorder, /trinity-agents)
257
+ - Session management with archival system
258
+ - Comprehensive CLI documentation
259
+
260
+ ### Strategic Decision
261
+
262
+ - Focused exclusively on Claude Code for exceptional user experience
263
+ - Community contributions welcome for other coding agents
264
+
265
+ **Note:** This version was published as `@trinity-method/cli`. Starting with v2.0.0, the package was renamed to `trinity-method-sdk`.
266
+
267
+ [1.0.0]: https://github.com/lukadfagundes/trinity-method-sdk/releases/tag/v1.0.0