trinity-method-sdk 2.2.0 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -0
- package/README.md +550 -550
- package/dist/cli/commands/deploy/gitignore.js +2 -7
- package/dist/cli/commands/update/index.js +15 -1
- package/dist/cli/commands/update/migration.d.ts +31 -0
- package/dist/cli/commands/update/migration.js +132 -0
- package/dist/cli/commands/update/pre-flight.d.ts +7 -2
- package/dist/cli/commands/update/pre-flight.js +20 -19
- package/dist/cli/commands/update/summary.js +6 -0
- package/dist/cli/commands/update/types.d.ts +2 -0
- package/dist/cli/commands/update/version.js +6 -4
- package/dist/templates/.claude/commands/session/trinity-end.md.template +36 -7
- package/dist/templates/.claude/commands/utility/trinity-workorder.md.template +17 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,54 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.2.2] - 2026-02-25
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **Simplified gitignore patterns** - Deploy and update commands now add `.claude/` and
|
|
15
|
+
`*CLAUDE.md` to `.gitignore` instead of granular `.claude/trinity/archive/` and
|
|
16
|
+
`.claude/trinity/templates/` patterns. Migration handles cleanup of old patterns. (Issue #18)
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- **Work order numbering scans archive directory** - Added explicit WO numbering instructions to
|
|
21
|
+
`/utility:trinity-workorder` template. Numbers now derived only from `work-orders/` and
|
|
22
|
+
`sessions/` directories, ignoring archives. New sessions start fresh at WO-001. (Issue #19)
|
|
23
|
+
- **trinity-end command not archiving all session files** - Updated STRICT ARCHIVING PROTOCOL
|
|
24
|
+
in `/session:trinity-end` template to archive from all `.claude/trinity/` subdirectories
|
|
25
|
+
(Issue #17)
|
|
26
|
+
- Added archiving of completed work orders from `work-orders/` directory
|
|
27
|
+
- Added archiving of completed investigations and plans from `investigations/` directory
|
|
28
|
+
- Added archiving of Claude Code plan mode files from `plans/` directory
|
|
29
|
+
- Added loose archive file organization into YYYY-MM-DD date folders
|
|
30
|
+
- Expanded clean slate verification to cover `plans/` directory
|
|
31
|
+
|
|
32
|
+
## [2.2.1] - 2026-02-24
|
|
33
|
+
|
|
34
|
+
### Added
|
|
35
|
+
|
|
36
|
+
- **Legacy deployment migration in update command** - `trinity update` now detects pre-2.2.0
|
|
37
|
+
`trinity/` deployments at project root and automatically migrates them to `.claude/trinity/`
|
|
38
|
+
(Issue #14)
|
|
39
|
+
- New `migration.ts` module with `detectLegacyDeployment()`, `migrateLegacyDeployment()`,
|
|
40
|
+
and `updateGitignoreForMigration()`
|
|
41
|
+
- Pre-flight checks updated to recognize legacy layouts instead of failing
|
|
42
|
+
- Version detection falls back to `trinity/VERSION` for legacy deployments
|
|
43
|
+
- User knowledge base files preserved during migration
|
|
44
|
+
- **Gitignore migration in update command** - `trinity update` now updates `.gitignore`
|
|
45
|
+
patterns on every run, replacing old `trinity/` entries with current `.claude/trinity/`
|
|
46
|
+
patterns (Issue #14)
|
|
47
|
+
|
|
48
|
+
### Fixed
|
|
49
|
+
|
|
50
|
+
- **Restored `*CLAUDE.md` to deploy gitignore patterns** - `trinity deploy` now adds
|
|
51
|
+
`*CLAUDE.md` back to `.gitignore`, preventing project-specific CLAUDE.md files from being
|
|
52
|
+
committed to version control (Issue #14)
|
|
53
|
+
- **depcheck false positive for `markdownlint-cli`** - Added `markdownlint-cli` to depcheck
|
|
54
|
+
ignores in CI workflow since it is used by npm scripts, not imported in code
|
|
55
|
+
- **Integration test timeout on Windows CI** - Bumped integration test timeout from 60s to
|
|
56
|
+
120s in `jest.config.js` for slow Windows runners
|
|
57
|
+
|
|
10
58
|
## [2.2.0] - 2026-02-24
|
|
11
59
|
|
|
12
60
|
### Added
|