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.
- package/CHANGELOG.md +267 -218
- package/README.md +540 -540
- package/dist/cli/commands/deploy/index.js +1 -1
- package/dist/cli/commands/deploy/root-files.js +1 -1
- package/dist/cli/commands/deploy/sdk-install.js +1 -1
- package/dist/cli/commands/update/index.js +4 -1
- package/dist/cli/index.js +1 -0
- package/dist/cli/types.d.ts +1 -0
- package/dist/cli/utils/detect-stack.js +6 -0
- package/dist/cli/utils/template-processor.js +1 -1
- package/dist/templates/agents/aj-team/apo-documentation-specialist.md.template +2 -2
- package/dist/templates/agents/aj-team/bas-quality-gate.md.template +3 -3
- package/dist/templates/agents/aj-team/bon-dependency-manager.md.template +636 -636
- package/dist/templates/agents/aj-team/cap-configuration-specialist.md.template +2 -2
- package/dist/templates/agents/aj-team/dra-code-reviewer.md.template +2 -2
- package/dist/templates/agents/aj-team/kil-task-executor.md.template +2 -2
- package/dist/templates/agents/aj-team/uro-refactoring-specialist.md.template +2 -2
- package/dist/templates/agents/audit/juno-auditor.md.template +1 -1
- package/dist/templates/agents/deployment/ein-cicd.md.template +3 -2
- package/dist/templates/agents/deployment/ino-context.md.template +3 -3
- package/dist/templates/agents/deployment/tan-structure.md.template +1 -1
- package/dist/templates/agents/deployment/zen-knowledge.md.template +5 -5
- package/dist/templates/agents/leadership/aj-cc.md.template +2 -2
- package/dist/templates/claude/EMPLOYEE-DIRECTORY.md.template +1 -1
- package/dist/templates/documentation/SUBDIRECTORY-README.md.template +1 -1
- package/dist/templates/investigations/bug.md.template +2 -2
- package/dist/templates/investigations/feature.md.template +2 -2
- package/dist/templates/investigations/performance.md.template +2 -2
- package/dist/templates/investigations/security.md.template +2 -2
- package/dist/templates/investigations/technical.md.template +2 -2
- package/dist/templates/knowledge-base/AI-DEVELOPMENT-GUIDE.md.template +1 -1
- package/dist/templates/knowledge-base/ARCHITECTURE.md.template +2 -2
- package/dist/templates/knowledge-base/CODING-PRINCIPLES.md.template +1 -1
- package/dist/templates/knowledge-base/DOCUMENTATION-CRITERIA.md.template +1 -1
- package/dist/templates/knowledge-base/ISSUES.md.template +2 -2
- package/dist/templates/knowledge-base/TESTING-PRINCIPLES.md.template +1 -1
- package/dist/templates/knowledge-base/Technical-Debt.md.template +2 -2
- package/dist/templates/knowledge-base/To-do.md.template +2 -2
- package/dist/templates/knowledge-base/Trinity.md.template +4 -3
- package/dist/templates/root/TRINITY.md.template +1 -1
- package/dist/templates/shared/claude-commands/trinity-changelog.md.template +2 -2
- package/dist/templates/shared/claude-commands/trinity-continue.md.template +1 -1
- package/dist/templates/shared/claude-commands/trinity-docs.md.template +376 -7
- package/dist/templates/shared/claude-commands/trinity-end.md.template +397 -397
- package/dist/templates/shared/claude-commands/trinity-readme.md.template +141 -33
- package/dist/templates/shared/claude-commands/trinity-verify.md.template +1 -1
- package/dist/templates/source/base-CLAUDE.md.template +310 -310
- package/dist/templates/source/flutter-CLAUDE.md.template +593 -593
- package/dist/templates/source/nodejs-CLAUDE.md.template +531 -531
- package/dist/templates/source/python-CLAUDE.md.template +510 -510
- package/dist/templates/source/react-CLAUDE.md.template +513 -513
- package/dist/templates/source/rust-CLAUDE.md.template +653 -653
- package/package.json +94 -94
|
@@ -665,6 +665,6 @@ Before handing back to KIL:
|
|
|
665
665
|
---
|
|
666
666
|
|
|
667
667
|
**Agent Maintained By**: Trinity Method SDK Team
|
|
668
|
-
**Version
|
|
669
|
-
**Last Updated
|
|
668
|
+
**Trinity Version:** 2.0.9
|
|
669
|
+
**Last Updated:** 2026-01-12
|
|
670
670
|
**Coordinates With**: KIL (invoked as-needed)
|
|
@@ -656,8 +656,8 @@ Before approving phase completion:
|
|
|
656
656
|
---
|
|
657
657
|
|
|
658
658
|
**Agent Maintained By**: Trinity Method SDK Team
|
|
659
|
-
**Version
|
|
660
|
-
**Last Updated
|
|
659
|
+
**Trinity Version:** 2.0.9
|
|
660
|
+
**Last Updated:** 2026-01-12
|
|
661
661
|
**Coordinates With**: BAS, KIL, AJ MAESTRO
|
|
662
662
|
|
|
663
663
|
---
|
|
@@ -694,8 +694,8 @@ Acceptance Criteria:
|
|
|
694
694
|
---
|
|
695
695
|
|
|
696
696
|
**Agent Maintained By**: Trinity Method SDK Team
|
|
697
|
-
**Version
|
|
698
|
-
**Last Updated
|
|
697
|
+
**Trinity Version:** 2.0.9
|
|
698
|
+
**Last Updated:** 2026-01-12
|
|
699
699
|
**Coordinates With**: EUS, BAS, DRA, APO, BON, CAP, URO
|
|
700
700
|
|
|
701
701
|
---
|
|
@@ -754,6 +754,6 @@ Before handing back to KIL:
|
|
|
754
754
|
---
|
|
755
755
|
|
|
756
756
|
**Agent Maintained By**: Trinity Method SDK Team
|
|
757
|
-
**Version
|
|
758
|
-
**Last Updated
|
|
757
|
+
**Trinity Version:** 2.0.9
|
|
758
|
+
**Last Updated:** 2026-01-12
|
|
759
759
|
**Coordinates With**: KIL (invoked during REFACTOR phase)
|
|
@@ -9,7 +9,7 @@ tools: Read, Bash, Glob, Grep
|
|
|
9
9
|
**Role:** Comprehensive Trinity v2.0 deployment audit and quality assurance
|
|
10
10
|
**Team:** Audit Team
|
|
11
11
|
**Specialization:** Deployment verification, compliance checking, quality metrics reporting, codebase audits
|
|
12
|
-
**Trinity Version:**
|
|
12
|
+
**Trinity Version:** 2.0.9
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
@@ -9,7 +9,7 @@ tools: Read, Write, Edit, Bash
|
|
|
9
9
|
**Role:** Continuous Integration/Continuous Deployment automation with BAS quality gate integration
|
|
10
10
|
**Team:** Deployment Team
|
|
11
11
|
**Specialization:** GitHub Actions, pre-commit hooks, coverage reporting, BAS 6-phase gate integration
|
|
12
|
-
**Trinity Version:**
|
|
12
|
+
**Trinity Version:** 2.0.9
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
@@ -689,6 +689,7 @@ Ein's work is complete when:
|
|
|
689
689
|
|
|
690
690
|
---
|
|
691
691
|
|
|
692
|
-
**Trinity
|
|
692
|
+
**Trinity Version:** 2.0.9
|
|
693
|
+
**Last Updated:** 2026-01-12
|
|
693
694
|
**Specialist:** Ein (CI/CD)
|
|
694
695
|
**v2.0 Integration:** BAS quality gates, 80% coverage enforcement, pre-commit hooks
|
|
@@ -9,7 +9,7 @@ tools: Read, Write, Edit, Bash
|
|
|
9
9
|
**Role:** CLAUDE.md hierarchy management and ISSUES.md database creation
|
|
10
10
|
**Team:** Deployment Team
|
|
11
11
|
**Specialization:** Project context establishment, behavioral hierarchy, issue tracking structure
|
|
12
|
-
**Trinity Version:**
|
|
12
|
+
**Trinity Version:** 2.0.9
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
@@ -272,7 +272,7 @@ When working on this project, follow Trinity Method v2.0:
|
|
|
272
272
|
|
|
273
273
|
---
|
|
274
274
|
|
|
275
|
-
**Last Updated
|
|
275
|
+
**Last Updated**: {{DEPLOYMENT_TIMESTAMP}}
|
|
276
276
|
**Updated By:** INO (Context Specialist)
|
|
277
277
|
**Trinity Version:** {{TRINITY_VERSION}}
|
|
278
278
|
```
|
|
@@ -311,7 +311,7 @@ INO must UPDATE trinity/knowledge-base/ISSUES.md with this structure:
|
|
|
311
311
|
|
|
312
312
|
**Project:** {{PROJECT_NAME}}
|
|
313
313
|
**Maintained By:** Trinity Method v2.0
|
|
314
|
-
|
|
314
|
+
****Last Updated**: {{DEPLOYMENT_TIMESTAMP}}
|
|
315
315
|
|
|
316
316
|
---
|
|
317
317
|
|
|
@@ -9,7 +9,7 @@ tools: Bash, Read, Edit, Glob, Grep
|
|
|
9
9
|
**Role:** Trinity Method v2.0 folder structure verification and validation
|
|
10
10
|
**Team:** Deployment Team
|
|
11
11
|
**Specialization:** Directory structure, agent deployment verification, technical debt baseline establishment
|
|
12
|
-
**Trinity Version:**
|
|
12
|
+
**Trinity Version:** 2.0.9
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
@@ -58,8 +58,8 @@ Location: `trinity/knowledge-base/ARCHITECTURE.md`
|
|
|
58
58
|
**Framework:** {{FRAMEWORK}}
|
|
59
59
|
**Tech Stack:** {{TECH_STACK}}
|
|
60
60
|
**Source Directory:** {{SOURCE_DIR}}
|
|
61
|
-
**Trinity Version:** {{TRINITY_VERSION}}
|
|
62
|
-
**Last Updated
|
|
61
|
+
**Trinity Version:** {{TRINITY_VERSION}}
|
|
62
|
+
**Last Updated**: {{DEPLOYMENT_TIMESTAMP}}
|
|
63
63
|
|
|
64
64
|
## System Overview
|
|
65
65
|
|
|
@@ -305,7 +305,7 @@ Location: `trinity/knowledge-base/To-do.md`
|
|
|
305
305
|
```markdown
|
|
306
306
|
# {{PROJECT_NAME}} - Tasks
|
|
307
307
|
|
|
308
|
-
**Last Updated
|
|
308
|
+
**Last Updated**: {{DEPLOYMENT_TIMESTAMP}}
|
|
309
309
|
**Framework:** {{FRAMEWORK}}
|
|
310
310
|
**Trinity Version:** {{TRINITY_VERSION}} (v2.0)
|
|
311
311
|
|
|
@@ -445,7 +445,7 @@ When finished, confirm:
|
|
|
445
445
|
|
|
446
446
|
---
|
|
447
447
|
|
|
448
|
-
**Trinity Method Version:** {{TRINITY_VERSION}}
|
|
448
|
+
**Trinity Method Version:** {{TRINITY_VERSION}}
|
|
449
449
|
**Deployed:** {{DEPLOYMENT_TIMESTAMP}}
|
|
450
450
|
**Specialist:** ZEN (Knowledge Base)
|
|
451
|
-
**v2.0 Integration:** Complete
|
|
451
|
+
**v2.0.9 Integration:** Complete
|
|
@@ -323,7 +323,7 @@ Recommendation: Option 1 (Continue with AJ MAESTRO for quality assurance)
|
|
|
323
323
|
|
|
324
324
|
**AJ CC Handoff to ALY**:
|
|
325
325
|
```
|
|
326
|
-
ALY, user session interrupted mid-implementation. WO-042 needs completion with
|
|
326
|
+
ALY, user session interrupted mid-implementation. WO-042 needs completion with
|
|
327
327
|
AJ MAESTRO coordination. Recommend resuming at Task 4 with BAS quality gates.
|
|
328
328
|
```
|
|
329
329
|
|
|
@@ -456,7 +456,7 @@ As AJ (Implementation Lead), you are:
|
|
|
456
456
|
|
|
457
457
|
---
|
|
458
458
|
|
|
459
|
-
**Trinity
|
|
459
|
+
**Trinity Version:** 2.0.9
|
|
460
460
|
**Deployed:** {{DEPLOYMENT_TIMESTAMP}}
|
|
461
461
|
**Project:** {{PROJECT_NAME}}
|
|
462
462
|
**Framework:** {{FRAMEWORK}}
|
|
@@ -479,6 +479,6 @@ When investigation is complete:
|
|
|
479
479
|
**Investigation Status:** {{status}}
|
|
480
480
|
**Priority:** {{priority}}
|
|
481
481
|
**Created:** {{createdAt}}
|
|
482
|
-
**Last Updated
|
|
482
|
+
**Last Updated**: {{lastUpdated}}
|
|
483
483
|
**Next Review:** {{nextReview}}
|
|
484
|
-
**Investigator:** {{investigator}}
|
|
484
|
+
**Investigator:** {{investigator}}
|
|
@@ -556,9 +556,9 @@ When investigation is complete:
|
|
|
556
556
|
**Investigation Status:** {{status}}
|
|
557
557
|
**Priority:** {{priority}}
|
|
558
558
|
**Created:** {{createdAt}}
|
|
559
|
-
**Last Updated
|
|
559
|
+
**Last Updated**: {{lastUpdated}}
|
|
560
560
|
**Next Review:** {{nextReview}}
|
|
561
561
|
**Investigator:** {{investigator}}
|
|
562
562
|
|
|
563
563
|
**Feature Status:** [Not Started / In Development / In Testing / Launched]
|
|
564
|
-
**Launch Date:** [Target date]
|
|
564
|
+
**Launch Date:** [Target date]
|
|
@@ -618,8 +618,8 @@ When investigation is complete:
|
|
|
618
618
|
**Investigation Status:** {{status}}
|
|
619
619
|
**Priority:** {{priority}}
|
|
620
620
|
**Created:** {{createdAt}}
|
|
621
|
-
**Last Updated
|
|
621
|
+
**Last Updated**: {{lastUpdated}}
|
|
622
622
|
**Next Review:** {{nextReview}}
|
|
623
623
|
**Investigator:** {{investigator}}
|
|
624
624
|
|
|
625
|
-
**Performance Improvement:** [X% faster]
|
|
625
|
+
**Performance Improvement:** [X% faster]
|
|
@@ -706,9 +706,9 @@ When investigation is complete:
|
|
|
706
706
|
**Investigation Status:** {{status}}
|
|
707
707
|
**Priority:** {{priority}}
|
|
708
708
|
**Created:** {{createdAt}}
|
|
709
|
-
**Last Updated
|
|
709
|
+
**Last Updated**: {{lastUpdated}}
|
|
710
710
|
**Next Review:** {{nextReview}}
|
|
711
711
|
**Investigator:** {{investigator}}
|
|
712
712
|
|
|
713
713
|
**Severity:** {{severity}}
|
|
714
|
-
**Remediation Status:** [Not Started / In Progress / Completed]
|
|
714
|
+
**Remediation Status:** [Not Started / In Progress / Completed]
|
|
@@ -422,7 +422,7 @@ Updates_Required:
|
|
|
422
422
|
2. **Update Content**: Make specific changes (don't just update timestamp)
|
|
423
423
|
3. **Verify Placeholders**: Ensure no `{{VARIABLE}}` syntax introduced
|
|
424
424
|
4. **Check Cross-References**: Update related documents if needed
|
|
425
|
-
5. **Update Timestamp**: Set
|
|
425
|
+
5. **Update Timestamp**: Set `**Last Updated**: {{CURRENT_DATE}}` to actual date
|
|
426
426
|
6. **Git Commit**: Commit with message like "docs: update ARCHITECTURE.md - added UserAuth component"
|
|
427
427
|
|
|
428
428
|
**Quality Checklist:**
|
|
@@ -449,4 +449,4 @@ Updates_Required:
|
|
|
449
449
|
**Update Frequency**: As needed (session-based)
|
|
450
450
|
**Maintained By**: Development team using Trinity Method
|
|
451
451
|
**Referenced By**: `/trinity-end` command for session updates
|
|
452
|
-
**Last Updated**: {{CURRENT_DATE}}
|
|
452
|
+
**Last Updated**: {{CURRENT_DATE}}
|
|
@@ -482,7 +482,7 @@ Updates_Required:
|
|
|
482
482
|
5. **Update Metrics**: Increment counts, update averages
|
|
483
483
|
6. **Cross-Reference**: Update related documents (To-do, Technical-Debt, etc.)
|
|
484
484
|
7. **Pattern Library**: Create trinity/patterns/ file if reusable solution
|
|
485
|
-
8. **Update Timestamp**: Set
|
|
485
|
+
8. **Update Timestamp**: Set `**Last Updated**: {{CURRENT_DATE}}` to actual date
|
|
486
486
|
|
|
487
487
|
**Quality Checklist:**
|
|
488
488
|
- [ ] Issue has complete symptoms, root cause, and solution
|
|
@@ -536,4 +536,4 @@ Updates_Required:
|
|
|
536
536
|
---
|
|
537
537
|
|
|
538
538
|
*Issue tracking powered by Trinity Method v2.0*
|
|
539
|
-
*Continuous pattern recognition and prevention system*
|
|
539
|
+
*Continuous pattern recognition and prevention system*
|
|
@@ -549,7 +549,7 @@ Updates_Required:
|
|
|
549
549
|
4. **Calculate Trends**: Determine if debt is improving/degrading/stable
|
|
550
550
|
5. **Update Cross-Refs**: Link related debt items to issues/todos
|
|
551
551
|
6. **Prioritize**: Update debt reduction plan based on new ROI analysis
|
|
552
|
-
7. **Update Timestamp**: Set
|
|
552
|
+
7. **Update Timestamp**: Set `**Last Updated**: {{CURRENT_DATE}}` to actual date
|
|
553
553
|
|
|
554
554
|
**Metric Calculation Commands** (for reference):
|
|
555
555
|
```bash
|
|
@@ -637,4 +637,4 @@ npm run test:coverage -- --json | jq '.total.lines.pct'
|
|
|
637
637
|
---
|
|
638
638
|
|
|
639
639
|
*Technical Debt tracking powered by Trinity Method v2.0*
|
|
640
|
-
*Continuous monitoring and reduction system*
|
|
640
|
+
*Continuous monitoring and reduction system*
|
|
@@ -354,7 +354,7 @@ Updates_Required:
|
|
|
354
354
|
2. **Update Section**: Modify appropriate priority section or backlog
|
|
355
355
|
3. **Cross-Reference**: Check if ISSUES/Technical-Debt need updates
|
|
356
356
|
4. **Recalculate Metrics**: Update velocity, sprint status if needed
|
|
357
|
-
5. **Update Timestamp**: Set
|
|
357
|
+
5. **Update Timestamp**: Set `**Last Updated**: {{CURRENT_DATE}}`
|
|
358
358
|
|
|
359
359
|
**Quality Checklist:**
|
|
360
360
|
- [ ] All tasks have clear descriptions (what needs to be done)
|
|
@@ -404,4 +404,4 @@ Updates_Required:
|
|
|
404
404
|
---
|
|
405
405
|
|
|
406
406
|
*Task management powered by Trinity Method v2.0*
|
|
407
|
-
*Investigation-first development approach*
|
|
407
|
+
*Investigation-first development approach*
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# Trinity Method Implementation - {{PROJECT_NAME}}
|
|
2
|
-
**Version
|
|
2
|
+
** Trinity Version:** 2.0.9
|
|
3
|
+
**Last Updated**: {{date}}
|
|
3
4
|
**Technology Stack**: {{TECHNOLOGY_STACK}}
|
|
4
5
|
**Framework**: {{PRIMARY_FRAMEWORK}}
|
|
5
6
|
**Last Updated**: {{CURRENT_DATE}}
|
|
@@ -431,7 +432,7 @@ Updates_Required:
|
|
|
431
432
|
2. **Update Section**: Modify protocols, baselines, or workflows
|
|
432
433
|
3. **Document Rationale**: Why was this change made?
|
|
433
434
|
4. **Update Metrics**: Adjust success criteria if needed
|
|
434
|
-
5. **Update Timestamp**: Set
|
|
435
|
+
5. **Update Timestamp**: Set `**Last Updated**: {{CURRENT_DATE}}`
|
|
435
436
|
|
|
436
437
|
**Quality Checklist:**
|
|
437
438
|
- [ ] Change improves methodology (not just one-off adjustment)
|
|
@@ -461,4 +462,4 @@ Updates_Required:
|
|
|
461
462
|
---
|
|
462
463
|
|
|
463
464
|
*Trinity Method implementation specific to {{PROJECT_NAME}}*
|
|
464
|
-
*Continuously evolved based on project learnings*
|
|
465
|
+
*Continuously evolved based on project learnings*
|