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
@@ -399,7 +399,7 @@ describe('Regression: {{title}}', () => {
399
399
 
400
400
  ### Investigation Report Format
401
401
  **Filename:** `INV-{{investigationId}}-findings-[TIMESTAMP].md`
402
- **Location:** `trinity/reports/`
402
+ **Location:** `.claude/trinity/reports/`
403
403
 
404
404
  ### Required Sections
405
405
  1. **Investigation Summary** - Brief overview of what was investigated
@@ -422,22 +422,22 @@ describe('Regression: {{title}}', () => {
422
422
 
423
423
  When investigation is complete:
424
424
  1. **Create Investigation Report:**
425
- - [ ] Save findings report to `trinity/reports/INV-{{investigationId}}-findings-[TIMESTAMP].md`
425
+ - [ ] Save findings report to `.claude/trinity/reports/INV-{{investigationId}}-findings-[TIMESTAMP].md`
426
426
  - [ ] Include all required sections listed above
427
427
  - [ ] Attach all evidence and supporting documentation
428
428
 
429
429
  2. **Move Investigation File:**
430
- - [ ] Move this investigation file (INV-{{investigationId}}.md) to `trinity/sessions/`
431
- - [ ] Keep report in `trinity/reports/` until end of session
430
+ - [ ] Move this investigation file (INV-{{investigationId}}.md) to `.claude/trinity/sessions/`
431
+ - [ ] Keep report in `.claude/trinity/reports/` until end of session
432
432
 
433
433
  3. **Session Cleanup:**
434
434
  - [ ] Run `/trinity-end` to archive both investigation and report
435
- - [ ] Investigation will be archived to `trinity/archive/investigations/YYYY-MM-DD/`
436
- - [ ] Report will be archived to `trinity/archive/reports/YYYY-MM-DD/`
435
+ - [ ] Investigation will be archived to `.claude/trinity/archive/investigations/YYYY-MM-DD/`
436
+ - [ ] Report will be archived to `.claude/trinity/archive/reports/YYYY-MM-DD/`
437
437
 
438
438
  4. **Clean Slate:**
439
- - [ ] Verify `trinity/sessions/` is empty (ready for next session)
440
- - [ ] Verify `trinity/reports/` is empty (ready for next session)
439
+ - [ ] Verify `.claude/trinity/sessions/` is empty (ready for next session)
440
+ - [ ] Verify `.claude/trinity/reports/` is empty (ready for next session)
441
441
 
442
442
  ---
443
443
 
@@ -445,15 +445,15 @@ When investigation is complete:
445
445
 
446
446
  **Trinity Method Core:**
447
447
  - [Trinity Method Protocols](../../CLAUDE.md) - Root Trinity guidance
448
- - [Investigation Requirements](../../trinity/CLAUDE.md#investigation-protocols) - Investigation-first methodology
448
+ - [Investigation Requirements](../../.claude/trinity/CLAUDE.md#investigation-protocols) - Investigation-first methodology
449
449
  - [Agent Directory](../../.claude/EMPLOYEE-DIRECTORY.md) - 19-agent Trinity team
450
450
 
451
451
  **Knowledge Base:**
452
- - [Architecture](../../trinity/knowledge-base/ARCHITECTURE.md) - System architecture and patterns
453
- - [Known Issues](../../trinity/knowledge-base/ISSUES.md) - Issue patterns database
454
- - [Technical Debt](../../trinity/knowledge-base/Technical-Debt.md) - Debt tracking
455
- - [Testing Standards](../../trinity/knowledge-base/TESTING-PRINCIPLES.md) - Test requirements
456
- - [Coding Standards](../../trinity/knowledge-base/CODING-PRINCIPLES.md) - Code quality
452
+ - [Architecture](../../.claude/trinity/knowledge-base/ARCHITECTURE.md) - System architecture and patterns
453
+ - [Known Issues](../../.claude/trinity/knowledge-base/ISSUES.md) - Issue patterns database
454
+ - [Technical Debt](../../.claude/trinity/knowledge-base/Technical-Debt.md) - Debt tracking
455
+ - [Testing Standards](../../.claude/trinity/knowledge-base/TESTING-PRINCIPLES.md) - Test requirements
456
+ - [Coding Standards](../../.claude/trinity/knowledge-base/CODING-PRINCIPLES.md) - Code quality
457
457
 
458
458
  **Investigation Protocols:**
459
459
  - READ-ONLY: No file modifications during investigation
@@ -473,15 +473,15 @@ describe('Feature E2E', () => {
473
473
 
474
474
  **Trinity Method Core:**
475
475
  - [Trinity Method Protocols](../../CLAUDE.md) - Root Trinity guidance
476
- - [Investigation Requirements](../../trinity/CLAUDE.md#investigation-protocols) - Investigation-first methodology
476
+ - [Investigation Requirements](../../.claude/trinity/CLAUDE.md#investigation-protocols) - Investigation-first methodology
477
477
  - [Agent Directory](../../.claude/EMPLOYEE-DIRECTORY.md) - 19-agent Trinity team
478
478
 
479
479
  **Knowledge Base:**
480
- - [Architecture](../../trinity/knowledge-base/ARCHITECTURE.md) - System architecture and patterns
481
- - [Known Issues](../../trinity/knowledge-base/ISSUES.md) - Issue patterns database
482
- - [Technical Debt](../../trinity/knowledge-base/Technical-Debt.md) - Debt tracking
483
- - [Testing Standards](../../trinity/knowledge-base/TESTING-PRINCIPLES.md) - Test requirements
484
- - [Coding Standards](../../trinity/knowledge-base/CODING-PRINCIPLES.md) - Code quality
480
+ - [Architecture](../../.claude/trinity/knowledge-base/ARCHITECTURE.md) - System architecture and patterns
481
+ - [Known Issues](../../.claude/trinity/knowledge-base/ISSUES.md) - Issue patterns database
482
+ - [Technical Debt](../../.claude/trinity/knowledge-base/Technical-Debt.md) - Debt tracking
483
+ - [Testing Standards](../../.claude/trinity/knowledge-base/TESTING-PRINCIPLES.md) - Test requirements
484
+ - [Coding Standards](../../.claude/trinity/knowledge-base/CODING-PRINCIPLES.md) - Code quality
485
485
 
486
486
  **Investigation Protocols:**
487
487
  - READ-ONLY: No file modifications during investigation
@@ -495,7 +495,7 @@ describe('Feature E2E', () => {
495
495
 
496
496
  ### Investigation Report Format
497
497
  **Filename:** `INV-{{investigationId}}-findings-[TIMESTAMP].md`
498
- **Location:** `trinity/reports/`
498
+ **Location:** `.claude/trinity/reports/`
499
499
 
500
500
  ### Required Sections
501
501
  1. **Investigation Summary** - Feature analysis overview and business value
@@ -519,22 +519,22 @@ describe('Feature E2E', () => {
519
519
 
520
520
  When investigation is complete:
521
521
  1. **Create Investigation Report:**
522
- - [ ] Save findings report to `trinity/reports/INV-{{investigationId}}-findings-[TIMESTAMP].md`
522
+ - [ ] Save findings report to `.claude/trinity/reports/INV-{{investigationId}}-findings-[TIMESTAMP].md`
523
523
  - [ ] Include all required sections listed above
524
524
  - [ ] Attach all evidence and supporting documentation
525
525
 
526
526
  2. **Move Investigation File:**
527
- - [ ] Move this investigation file (INV-{{investigationId}}.md) to `trinity/sessions/`
528
- - [ ] Keep report in `trinity/reports/` until end of session
527
+ - [ ] Move this investigation file (INV-{{investigationId}}.md) to `.claude/trinity/sessions/`
528
+ - [ ] Keep report in `.claude/trinity/reports/` until end of session
529
529
 
530
530
  3. **Session Cleanup:**
531
531
  - [ ] Run `/trinity-end` to archive both investigation and report
532
- - [ ] Investigation will be archived to `trinity/archive/investigations/YYYY-MM-DD/`
533
- - [ ] Report will be archived to `trinity/archive/reports/YYYY-MM-DD/`
532
+ - [ ] Investigation will be archived to `.claude/trinity/archive/investigations/YYYY-MM-DD/`
533
+ - [ ] Report will be archived to `.claude/trinity/archive/reports/YYYY-MM-DD/`
534
534
 
535
535
  4. **Clean Slate:**
536
- - [ ] Verify `trinity/sessions/` is empty (ready for next session)
537
- - [ ] Verify `trinity/reports/` is empty (ready for next session)
536
+ - [ ] Verify `.claude/trinity/sessions/` is empty (ready for next session)
537
+ - [ ] Verify `.claude/trinity/reports/` is empty (ready for next session)
538
538
 
539
539
  ---
540
540
 
@@ -537,7 +537,7 @@ describe('Performance: getUserOrders', () => {
537
537
 
538
538
  ### Investigation Report Format
539
539
  **Filename:** `INV-{{investigationId}}-findings-[TIMESTAMP].md`
540
- **Location:** `trinity/reports/`
540
+ **Location:** `.claude/trinity/reports/`
541
541
 
542
542
  ### Required Sections
543
543
  1. **Investigation Summary** - Performance issue overview and user impact
@@ -561,22 +561,22 @@ describe('Performance: getUserOrders', () => {
561
561
 
562
562
  When investigation is complete:
563
563
  1. **Create Investigation Report:**
564
- - [ ] Save findings report to `trinity/reports/INV-{{investigationId}}-findings-[TIMESTAMP].md`
564
+ - [ ] Save findings report to `.claude/trinity/reports/INV-{{investigationId}}-findings-[TIMESTAMP].md`
565
565
  - [ ] Include all required sections listed above
566
566
  - [ ] Attach all evidence and supporting documentation
567
567
 
568
568
  2. **Move Investigation File:**
569
- - [ ] Move this investigation file (INV-{{investigationId}}.md) to `trinity/sessions/`
570
- - [ ] Keep report in `trinity/reports/` until end of session
569
+ - [ ] Move this investigation file (INV-{{investigationId}}.md) to `.claude/trinity/sessions/`
570
+ - [ ] Keep report in `.claude/trinity/reports/` until end of session
571
571
 
572
572
  3. **Session Cleanup:**
573
573
  - [ ] Run `/trinity-end` to archive both investigation and report
574
- - [ ] Investigation will be archived to `trinity/archive/investigations/YYYY-MM-DD/`
575
- - [ ] Report will be archived to `trinity/archive/reports/YYYY-MM-DD/`
574
+ - [ ] Investigation will be archived to `.claude/trinity/archive/investigations/YYYY-MM-DD/`
575
+ - [ ] Report will be archived to `.claude/trinity/archive/reports/YYYY-MM-DD/`
576
576
 
577
577
  4. **Clean Slate:**
578
- - [ ] Verify `trinity/sessions/` is empty (ready for next session)
579
- - [ ] Verify `trinity/reports/` is empty (ready for next session)
578
+ - [ ] Verify `.claude/trinity/sessions/` is empty (ready for next session)
579
+ - [ ] Verify `.claude/trinity/reports/` is empty (ready for next session)
580
580
 
581
581
  ---
582
582
 
@@ -584,15 +584,15 @@ When investigation is complete:
584
584
 
585
585
  **Trinity Method Core:**
586
586
  - [Trinity Method Protocols](../../CLAUDE.md) - Root Trinity guidance
587
- - [Investigation Requirements](../../trinity/CLAUDE.md#investigation-protocols) - Investigation-first methodology
587
+ - [Investigation Requirements](../../.claude/trinity/CLAUDE.md#investigation-protocols) - Investigation-first methodology
588
588
  - [Agent Directory](../../.claude/EMPLOYEE-DIRECTORY.md) - 19-agent Trinity team
589
589
 
590
590
  **Knowledge Base:**
591
- - [Architecture](../../trinity/knowledge-base/ARCHITECTURE.md) - System architecture and patterns
592
- - [Known Issues](../../trinity/knowledge-base/ISSUES.md) - Issue patterns database
593
- - [Technical Debt](../../trinity/knowledge-base/Technical-Debt.md) - Debt tracking
594
- - [Testing Standards](../../trinity/knowledge-base/TESTING-PRINCIPLES.md) - Test requirements
595
- - [Coding Standards](../../trinity/knowledge-base/CODING-PRINCIPLES.md) - Code quality
591
+ - [Architecture](../../.claude/trinity/knowledge-base/ARCHITECTURE.md) - System architecture and patterns
592
+ - [Known Issues](../../.claude/trinity/knowledge-base/ISSUES.md) - Issue patterns database
593
+ - [Technical Debt](../../.claude/trinity/knowledge-base/Technical-Debt.md) - Debt tracking
594
+ - [Testing Standards](../../.claude/trinity/knowledge-base/TESTING-PRINCIPLES.md) - Test requirements
595
+ - [Coding Standards](../../.claude/trinity/knowledge-base/CODING-PRINCIPLES.md) - Code quality
596
596
 
597
597
  **Investigation Protocols:**
598
598
  - READ-ONLY: No file modifications during investigation
@@ -632,7 +632,7 @@ security:
632
632
 
633
633
  ### Investigation Report Format
634
634
  **Filename:** `INV-{{investigationId}}-findings-[TIMESTAMP].md`
635
- **Location:** `trinity/reports/`
635
+ **Location:** `.claude/trinity/reports/`
636
636
 
637
637
  ### Required Sections
638
638
  1. **Investigation Summary** - Vulnerability overview, type, and severity (CVSS score)
@@ -656,23 +656,23 @@ security:
656
656
 
657
657
  When investigation is complete:
658
658
  1. **Create Investigation Report:**
659
- - [ ] Save findings report to `trinity/reports/INV-{{investigationId}}-findings-[TIMESTAMP].md`
659
+ - [ ] Save findings report to `.claude/trinity/reports/INV-{{investigationId}}-findings-[TIMESTAMP].md`
660
660
  - [ ] Include all required sections listed above
661
661
  - [ ] Attach all evidence and supporting documentation
662
662
  - [ ] **CRITICAL:** Ensure report does NOT contain sensitive exploit details that could enable attacks
663
663
 
664
664
  2. **Move Investigation File:**
665
- - [ ] Move this investigation file (INV-{{investigationId}}.md) to `trinity/sessions/`
666
- - [ ] Keep report in `trinity/reports/` until end of session
665
+ - [ ] Move this investigation file (INV-{{investigationId}}.md) to `.claude/trinity/sessions/`
666
+ - [ ] Keep report in `.claude/trinity/reports/` until end of session
667
667
 
668
668
  3. **Session Cleanup:**
669
669
  - [ ] Run `/trinity-end` to archive both investigation and report
670
- - [ ] Investigation will be archived to `trinity/archive/investigations/YYYY-MM-DD/`
671
- - [ ] Report will be archived to `trinity/archive/reports/YYYY-MM-DD/`
670
+ - [ ] Investigation will be archived to `.claude/trinity/archive/investigations/YYYY-MM-DD/`
671
+ - [ ] Report will be archived to `.claude/trinity/archive/reports/YYYY-MM-DD/`
672
672
 
673
673
  4. **Clean Slate:**
674
- - [ ] Verify `trinity/sessions/` is empty (ready for next session)
675
- - [ ] Verify `trinity/reports/` is empty (ready for next session)
674
+ - [ ] Verify `.claude/trinity/sessions/` is empty (ready for next session)
675
+ - [ ] Verify `.claude/trinity/reports/` is empty (ready for next session)
676
676
 
677
677
  5. **Security-Specific Actions:**
678
678
  - [ ] Notify security team of findings
@@ -685,15 +685,15 @@ When investigation is complete:
685
685
 
686
686
  **Trinity Method Core:**
687
687
  - [Trinity Method Protocols](../../CLAUDE.md) - Root Trinity guidance
688
- - [Investigation Requirements](../../trinity/CLAUDE.md#investigation-protocols) - Investigation-first methodology
688
+ - [Investigation Requirements](../../.claude/trinity/CLAUDE.md#investigation-protocols) - Investigation-first methodology
689
689
  - [Agent Directory](../../.claude/EMPLOYEE-DIRECTORY.md) - 19-agent Trinity team
690
690
 
691
691
  **Knowledge Base:**
692
- - [Architecture](../../trinity/knowledge-base/ARCHITECTURE.md) - System architecture and patterns
693
- - [Known Issues](../../trinity/knowledge-base/ISSUES.md) - Issue patterns database
694
- - [Technical Debt](../../trinity/knowledge-base/Technical-Debt.md) - Debt tracking
695
- - [Testing Standards](../../trinity/knowledge-base/TESTING-PRINCIPLES.md) - Test requirements
696
- - [Coding Standards](../../trinity/knowledge-base/CODING-PRINCIPLES.md) - Code quality
692
+ - [Architecture](../../.claude/trinity/knowledge-base/ARCHITECTURE.md) - System architecture and patterns
693
+ - [Known Issues](../../.claude/trinity/knowledge-base/ISSUES.md) - Issue patterns database
694
+ - [Technical Debt](../../.claude/trinity/knowledge-base/Technical-Debt.md) - Debt tracking
695
+ - [Testing Standards](../../.claude/trinity/knowledge-base/TESTING-PRINCIPLES.md) - Test requirements
696
+ - [Coding Standards](../../.claude/trinity/knowledge-base/CODING-PRINCIPLES.md) - Code quality
697
697
 
698
698
  **Investigation Protocols:**
699
699
  - READ-ONLY: No file modifications during investigation
@@ -315,7 +315,7 @@ describe('Technical Implementation', () => {
315
315
 
316
316
  ### Investigation Report Format
317
317
  **Filename:** `INV-{{investigationId}}-findings-[TIMESTAMP].md`
318
- **Location:** `trinity/reports/`
318
+ **Location:** `.claude/trinity/reports/`
319
319
 
320
320
  ### Required Sections
321
321
  1. **Investigation Summary** - Technical challenge overview and context
@@ -339,22 +339,22 @@ describe('Technical Implementation', () => {
339
339
 
340
340
  When investigation is complete:
341
341
  1. **Create Investigation Report:**
342
- - [ ] Save findings report to `trinity/reports/INV-{{investigationId}}-findings-[TIMESTAMP].md`
342
+ - [ ] Save findings report to `.claude/trinity/reports/INV-{{investigationId}}-findings-[TIMESTAMP].md`
343
343
  - [ ] Include all required sections listed above
344
344
  - [ ] Attach all evidence and supporting documentation
345
345
 
346
346
  2. **Move Investigation File:**
347
- - [ ] Move this investigation file (INV-{{investigationId}}.md) to `trinity/sessions/`
348
- - [ ] Keep report in `trinity/reports/` until end of session
347
+ - [ ] Move this investigation file (INV-{{investigationId}}.md) to `.claude/trinity/sessions/`
348
+ - [ ] Keep report in `.claude/trinity/reports/` until end of session
349
349
 
350
350
  3. **Session Cleanup:**
351
351
  - [ ] Run `/trinity-end` to archive both investigation and report
352
- - [ ] Investigation will be archived to `trinity/archive/investigations/YYYY-MM-DD/`
353
- - [ ] Report will be archived to `trinity/archive/reports/YYYY-MM-DD/`
352
+ - [ ] Investigation will be archived to `.claude/trinity/archive/investigations/YYYY-MM-DD/`
353
+ - [ ] Report will be archived to `.claude/trinity/archive/reports/YYYY-MM-DD/`
354
354
 
355
355
  4. **Clean Slate:**
356
- - [ ] Verify `trinity/sessions/` is empty (ready for next session)
357
- - [ ] Verify `trinity/reports/` is empty (ready for next session)
356
+ - [ ] Verify `.claude/trinity/sessions/` is empty (ready for next session)
357
+ - [ ] Verify `.claude/trinity/reports/` is empty (ready for next session)
358
358
 
359
359
  ---
360
360
 
@@ -362,15 +362,15 @@ When investigation is complete:
362
362
 
363
363
  **Trinity Method Core:**
364
364
  - [Trinity Method Protocols](../../CLAUDE.md) - Root Trinity guidance
365
- - [Investigation Requirements](../../trinity/CLAUDE.md#investigation-protocols) - Investigation-first methodology
365
+ - [Investigation Requirements](../../.claude/trinity/CLAUDE.md#investigation-protocols) - Investigation-first methodology
366
366
  - [Agent Directory](../../.claude/EMPLOYEE-DIRECTORY.md) - 19-agent Trinity team
367
367
 
368
368
  **Knowledge Base:**
369
- - [Architecture](../../trinity/knowledge-base/ARCHITECTURE.md) - System architecture and patterns
370
- - [Known Issues](../../trinity/knowledge-base/ISSUES.md) - Issue patterns database
371
- - [Technical Debt](../../trinity/knowledge-base/Technical-Debt.md) - Debt tracking
372
- - [Testing Standards](../../trinity/knowledge-base/TESTING-PRINCIPLES.md) - Test requirements
373
- - [Coding Standards](../../trinity/knowledge-base/CODING-PRINCIPLES.md) - Code quality
369
+ - [Architecture](../../.claude/trinity/knowledge-base/ARCHITECTURE.md) - System architecture and patterns
370
+ - [Known Issues](../../.claude/trinity/knowledge-base/ISSUES.md) - Issue patterns database
371
+ - [Technical Debt](../../.claude/trinity/knowledge-base/Technical-Debt.md) - Debt tracking
372
+ - [Testing Standards](../../.claude/trinity/knowledge-base/TESTING-PRINCIPLES.md) - Test requirements
373
+ - [Coding Standards](../../.claude/trinity/knowledge-base/CODING-PRINCIPLES.md) - Code quality
374
374
 
375
375
  **Investigation Protocols:**
376
376
  - READ-ONLY: No file modifications during investigation
@@ -130,31 +130,31 @@ STATUS: APPROVED FOR EXECUTION
130
130
  - [ ] All deliverables include required sections listed above
131
131
 
132
132
  **Step 2: 🚨 MOVE THIS WORK ORDER FILE 🚨** ✅
133
- - [ ] **IMMEDIATELY** move this file from `trinity/work-orders/` to `trinity/sessions/`
134
- - [ ] **THIS STEP IS MANDATORY** - Work orders left in trinity/work-orders/ are considered incomplete
133
+ - [ ] **IMMEDIATELY** move this file from `.claude/trinity/work-orders/` to `.claude/trinity/sessions/`
134
+ - [ ] **THIS STEP IS MANDATORY** - Work orders left in .claude/trinity/work-orders/ are considered incomplete
135
135
 
136
136
  **Execute this exact command:**
137
137
  ```bash
138
- mv trinity/work-orders/{{workOrderFilename}} trinity/sessions/
138
+ mv .claude/trinity/work-orders/{{workOrderFilename}} .claude/trinity/sessions/
139
139
  ```
140
140
 
141
141
  **Step 3: Verify File Locations** ✅
142
- - [ ] This work order file NOW EXISTS in: `trinity/sessions/{{workOrderFilename}}`
142
+ - [ ] This work order file NOW EXISTS in: `.claude/trinity/sessions/{{workOrderFilename}}`
143
143
  - [ ] Completion report exists in: `${PROJECT_REPORTS}/[COMPONENT]-ANALYSIS-[TIMESTAMP].md`
144
- - [ ] This work order NO LONGER EXISTS in: `trinity/work-orders/`
144
+ - [ ] This work order NO LONGER EXISTS in: `.claude/trinity/work-orders/`
145
145
 
146
146
  **If any verification fails, the work order is NOT complete. Fix immediately.**
147
147
 
148
148
  **Step 4: Session Cleanup (when entire session complete):**
149
149
  - [ ] When session is complete, run `/trinity-end`
150
- - [ ] trinity-end will archive ALL files from `trinity/sessions/` and `${PROJECT_REPORTS}/`
150
+ - [ ] trinity-end will archive ALL files from `.claude/trinity/sessions/` and `${PROJECT_REPORTS}/`
151
151
  - [ ] Next session starts with empty sessions/ and reports/ folders
152
152
 
153
153
  **Archive Destination (via trinity-end):**
154
- - Work order → `trinity/archive/work-orders/YYYY-MM-DD/`
155
- - Completion report → `trinity/archive/reports/YYYY-MM-DD/`
156
- - JUNO audit report → `trinity/archive/reports/YYYY-MM-DD/` (if applicable)
157
- - Session summary → `trinity/archive/sessions/YYYY-MM-DD/`
154
+ - Work order → `.claude/trinity/archive/work-orders/YYYY-MM-DD/`
155
+ - Completion report → `.claude/trinity/archive/reports/YYYY-MM-DD/`
156
+ - JUNO audit report → `.claude/trinity/archive/reports/YYYY-MM-DD/` (if applicable)
157
+ - Session summary → `.claude/trinity/archive/sessions/YYYY-MM-DD/`
158
158
 
159
159
  ---
160
160
 
@@ -271,6 +271,3 @@ Quality and completeness are the ONLY metrics that matter.
271
271
  ---
272
272
 
273
273
  **Remember:** Analysis should be objective, evidence-based, and actionable. Present findings clearly with appropriate confidence levels. When uncertain, state limitations explicitly. Analyses are read-only - no file modifications or git operations.
274
-
275
- *Trinity Method v2.0 - Analysis Work Order Template*
276
- *Project-Isolated Architecture with Dynamic Paths*
@@ -4,19 +4,6 @@
4
4
 
5
5
  ---
6
6
 
7
- ## AUTHORIZATION
8
-
9
- ```
10
- TRINITY COUNCIL APPROVAL:
11
- ☑ LUKA: APPROVED - [Strategic need for audit]
12
- ☑ TRINITY: APPROVED - [Technical audit scope]
13
- ☑ CC: PENDING - Awaiting your acknowledgment
14
-
15
- STATUS: APPROVED FOR EXECUTION
16
- ```
17
-
18
- ---
19
-
20
7
  ## MISSION OBJECTIVE
21
8
 
22
9
  [Clear statement of what needs to be audited and against what standards]
@@ -142,31 +129,31 @@ Passing_Score: 70
142
129
  - [ ] All deliverables include required sections listed above
143
130
 
144
131
  **Step 2: 🚨 MOVE THIS WORK ORDER FILE 🚨** ✅
145
- - [ ] **IMMEDIATELY** move this file from `trinity/work-orders/` to `trinity/sessions/`
146
- - [ ] **THIS STEP IS MANDATORY** - Work orders left in trinity/work-orders/ are considered incomplete
132
+ - [ ] **IMMEDIATELY** move this file from `.claude/trinity/work-orders/` to `.claude/trinity/sessions/`
133
+ - [ ] **THIS STEP IS MANDATORY** - Work orders left in .claude/trinity/work-orders/ are considered incomplete
147
134
 
148
135
  **Execute this exact command:**
149
136
  ```bash
150
- mv trinity/work-orders/{{workOrderFilename}} trinity/sessions/
137
+ mv .claude/trinity/work-orders/{{workOrderFilename}} .claude/trinity/sessions/
151
138
  ```
152
139
 
153
140
  **Step 3: Verify File Locations** ✅
154
- - [ ] This work order file NOW EXISTS in: `trinity/sessions/{{workOrderFilename}}`
141
+ - [ ] This work order file NOW EXISTS in: `.claude/trinity/sessions/{{workOrderFilename}}`
155
142
  - [ ] Completion report exists in: `${PROJECT_REPORTS}/AUDIT-[COMPONENT]-[TIMESTAMP].md`
156
- - [ ] This work order NO LONGER EXISTS in: `trinity/work-orders/`
143
+ - [ ] This work order NO LONGER EXISTS in: `.claude/trinity/work-orders/`
157
144
 
158
145
  **If any verification fails, the work order is NOT complete. Fix immediately.**
159
146
 
160
147
  **Step 4: Session Cleanup (when entire session complete):**
161
148
  - [ ] When session is complete, run `/trinity-end`
162
- - [ ] trinity-end will archive ALL files from `trinity/sessions/` and `${PROJECT_REPORTS}/`
149
+ - [ ] trinity-end will archive ALL files from `.claude/trinity/sessions/` and `${PROJECT_REPORTS}/`
163
150
  - [ ] Next session starts with empty sessions/ and reports/ folders
164
151
 
165
152
  **Archive Destination (via trinity-end):**
166
- - Work order → `trinity/archive/work-orders/YYYY-MM-DD/`
167
- - Completion report → `trinity/archive/reports/YYYY-MM-DD/`
168
- - JUNO audit report → `trinity/archive/reports/YYYY-MM-DD/` (if applicable)
169
- - Session summary → `trinity/archive/sessions/YYYY-MM-DD/`
153
+ - Work order → `.claude/trinity/archive/work-orders/YYYY-MM-DD/`
154
+ - Completion report → `.claude/trinity/archive/reports/YYYY-MM-DD/`
155
+ - JUNO audit report → `.claude/trinity/archive/reports/YYYY-MM-DD/` (if applicable)
156
+ - Session summary → `.claude/trinity/archive/sessions/YYYY-MM-DD/`
170
157
 
171
158
  ---
172
159
 
@@ -257,6 +244,3 @@ For each issue found:
257
244
  ---
258
245
 
259
246
  **Remember:** Be thorough but fair. The goal is to improve quality, not to find fault. Focus on actionable findings with clear remediation paths. Audits are read-only - no file modifications or git operations.
260
-
261
- *Trinity Method v2.0 - Audit Work Order Template*
262
- *Project-Isolated Architecture with Dynamic Paths*
@@ -4,19 +4,6 @@
4
4
 
5
5
  ---
6
6
 
7
- ## AUTHORIZATION
8
-
9
- ```
10
- TRINITY COUNCIL APPROVAL:
11
- ☑ LUKA: APPROVED - [Strategic approval]
12
- ☑ TRINITY: APPROVED - [Technical validation]
13
- ☑ CC: PENDING - Awaiting your acknowledgment
14
-
15
- STATUS: APPROVED FOR EXECUTION
16
- ```
17
-
18
- ---
19
-
20
7
  ## MISSION OBJECTIVE
21
8
 
22
9
  [Clear statement of what needs to be implemented and the expected outcome]
@@ -113,31 +100,31 @@ Supporting_Files:
113
100
  - [ ] All deliverables include required sections listed above
114
101
 
115
102
  **Step 2: 🚨 MOVE THIS WORK ORDER FILE 🚨** ✅
116
- - [ ] **IMMEDIATELY** move this file from `trinity/work-orders/` to `trinity/sessions/`
117
- - [ ] **THIS STEP IS MANDATORY** - Work orders left in trinity/work-orders/ are considered incomplete
103
+ - [ ] **IMMEDIATELY** move this file from `.claude/trinity/work-orders/` to `.claude/trinity/sessions/`
104
+ - [ ] **THIS STEP IS MANDATORY** - Work orders left in .claude/trinity/work-orders/ are considered incomplete
118
105
 
119
106
  **Execute this exact command:**
120
107
  ```bash
121
- mv trinity/work-orders/{{workOrderFilename}} trinity/sessions/
108
+ mv .claude/trinity/work-orders/{{workOrderFilename}} .claude/trinity/sessions/
122
109
  ```
123
110
 
124
111
  **Step 3: Verify File Locations** ✅
125
- - [ ] This work order file NOW EXISTS in: `trinity/sessions/{{workOrderFilename}}`
112
+ - [ ] This work order file NOW EXISTS in: `.claude/trinity/sessions/{{workOrderFilename}}`
126
113
  - [ ] Completion report exists in: `${PROJECT_REPORTS}/[COMPONENT]-IMPLEMENTATION-COMPLETE-[TIMESTAMP].md`
127
- - [ ] This work order NO LONGER EXISTS in: `trinity/work-orders/`
114
+ - [ ] This work order NO LONGER EXISTS in: `.claude/trinity/work-orders/`
128
115
 
129
116
  **If any verification fails, the work order is NOT complete. Fix immediately.**
130
117
 
131
118
  **Step 4: Session Cleanup (when entire session complete):**
132
119
  - [ ] When session is complete, run `/trinity-end`
133
- - [ ] trinity-end will archive ALL files from `trinity/sessions/` and `${PROJECT_REPORTS}/`
120
+ - [ ] trinity-end will archive ALL files from `.claude/trinity/sessions/` and `${PROJECT_REPORTS}/`
134
121
  - [ ] Next session starts with empty sessions/ and reports/ folders
135
122
 
136
123
  **Archive Destination (via trinity-end):**
137
- - Work order → `trinity/archive/work-orders/YYYY-MM-DD/`
138
- - Completion report → `trinity/archive/reports/YYYY-MM-DD/`
139
- - JUNO audit report → `trinity/archive/reports/YYYY-MM-DD/` (if applicable)
140
- - Session summary → `trinity/archive/sessions/YYYY-MM-DD/`
124
+ - Work order → `.claude/trinity/archive/work-orders/YYYY-MM-DD/`
125
+ - Completion report → `.claude/trinity/archive/reports/YYYY-MM-DD/`
126
+ - JUNO audit report → `.claude/trinity/archive/reports/YYYY-MM-DD/` (if applicable)
127
+ - Session summary → `.claude/trinity/archive/sessions/YYYY-MM-DD/`
141
128
 
142
129
  ---
143
130
 
@@ -255,6 +242,3 @@ Quality and completeness are the ONLY metrics that matter.
255
242
  ---
256
243
 
257
244
  **Remember:** Make changes systematically, test frequently, and maintain code quality throughout the implementation. Report all changes to LUKA for git operations.
258
-
259
- *Trinity Method v2.0 - Implementation Work Order Template*
260
- *Project-Isolated Architecture with Dynamic Paths*
@@ -4,19 +4,6 @@
4
4
 
5
5
  ---
6
6
 
7
- ## AUTHORIZATION
8
-
9
- ```
10
- TRINITY COUNCIL APPROVAL:
11
- ☑ LUKA: APPROVED - [Approval reason]
12
- ☑ TRINITY: APPROVED - [Technical justification]
13
- ☑ CC: PENDING - Awaiting your acknowledgment
14
-
15
- STATUS: APPROVED FOR EXECUTION
16
- ```
17
-
18
- ---
19
-
20
7
  ## MISSION OBJECTIVE
21
8
 
22
9
  [Clear, single paragraph describing what needs to be investigated and why]
@@ -111,31 +98,31 @@ STATUS: APPROVED FOR EXECUTION
111
98
  - [ ] All deliverables include required sections listed above
112
99
 
113
100
  **Step 2: 🚨 MOVE THIS WORK ORDER FILE 🚨** ✅
114
- - [ ] **IMMEDIATELY** move this file from `trinity/work-orders/` to `trinity/sessions/`
115
- - [ ] **THIS STEP IS MANDATORY** - Work orders left in trinity/work-orders/ are considered incomplete
101
+ - [ ] **IMMEDIATELY** move this file from `.claude/trinity/work-orders/` to `.claude/trinity/sessions/`
102
+ - [ ] **THIS STEP IS MANDATORY** - Work orders left in .claude/trinity/work-orders/ are considered incomplete
116
103
 
117
104
  **Execute this exact command:**
118
105
  ```bash
119
- mv trinity/work-orders/{{workOrderFilename}} trinity/sessions/
106
+ mv .claude/trinity/work-orders/{{workOrderFilename}} .claude/trinity/sessions/
120
107
  ```
121
108
 
122
109
  **Step 3: Verify File Locations** ✅
123
- - [ ] This work order file NOW EXISTS in: `trinity/sessions/{{workOrderFilename}}`
110
+ - [ ] This work order file NOW EXISTS in: `.claude/trinity/sessions/{{workOrderFilename}}`
124
111
  - [ ] Completion report exists in: `${PROJECT_REPORTS}/[TYPE]-INVESTIGATION-[TIMESTAMP].md`
125
- - [ ] This work order NO LONGER EXISTS in: `trinity/work-orders/`
112
+ - [ ] This work order NO LONGER EXISTS in: `.claude/trinity/work-orders/`
126
113
 
127
114
  **If any verification fails, the work order is NOT complete. Fix immediately.**
128
115
 
129
116
  **Step 4: Session Cleanup (when entire session complete):**
130
117
  - [ ] When session is complete, run `/trinity-end`
131
- - [ ] trinity-end will archive ALL files from `trinity/sessions/` and `${PROJECT_REPORTS}/`
118
+ - [ ] trinity-end will archive ALL files from `.claude/trinity/sessions/` and `${PROJECT_REPORTS}/`
132
119
  - [ ] Next session starts with empty sessions/ and reports/ folders
133
120
 
134
121
  **Archive Destination (via trinity-end):**
135
- - Work order → `trinity/archive/work-orders/YYYY-MM-DD/`
136
- - Completion report → `trinity/archive/reports/YYYY-MM-DD/`
137
- - JUNO audit report → `trinity/archive/reports/YYYY-MM-DD/` (if applicable)
138
- - Session summary → `trinity/archive/sessions/YYYY-MM-DD/`
122
+ - Work order → `.claude/trinity/archive/work-orders/YYYY-MM-DD/`
123
+ - Completion report → `.claude/trinity/archive/reports/YYYY-MM-DD/`
124
+ - JUNO audit report → `.claude/trinity/archive/reports/YYYY-MM-DD/` (if applicable)
125
+ - Session summary → `.claude/trinity/archive/sessions/YYYY-MM-DD/`
139
126
 
140
127
  ---
141
128
 
@@ -202,5 +189,3 @@ ALL team members (CC, TRINITY, specialists) are PERMANENTLY FORBIDDEN from perfo
202
189
 
203
190
  **Remember:** Focus on discovering patterns and root causes, not just symptoms. Your investigation will guide our next strategic decisions. Investigations are read-only - no file modifications or git operations.
204
191
 
205
- *Trinity Method v2.0 - Investigation Work Order Template*
206
- *Project-Isolated Architecture with Dynamic Paths*
@@ -4,19 +4,6 @@
4
4
 
5
5
  ---
6
6
 
7
- ## AUTHORIZATION
8
-
9
- ```
10
- TRINITY COUNCIL APPROVAL:
11
- ☑ LUKA: APPROVED - [Pattern work justification]
12
- ☑ TRINITY: APPROVED - [Pattern approach validation]
13
- ☑ CC: PENDING - Awaiting your acknowledgment
14
-
15
- STATUS: APPROVED FOR EXECUTION
16
- ```
17
-
18
- ---
19
-
20
7
  ## MISSION OBJECTIVE
21
8
 
22
9
  [Clear statement about pattern work - either extracting patterns from issues or implementing pattern-based fixes]
@@ -171,31 +158,31 @@ Probable_Matches:
171
158
  - [ ] All deliverables include required sections listed above
172
159
 
173
160
  **Step 2: 🚨 MOVE THIS WORK ORDER FILE 🚨** ✅
174
- - [ ] **IMMEDIATELY** move this file from `trinity/work-orders/` to `trinity/sessions/`
175
- - [ ] **THIS STEP IS MANDATORY** - Work orders left in trinity/work-orders/ are considered incomplete
161
+ - [ ] **IMMEDIATELY** move this file from `.claude/trinity/work-orders/` to `.claude/trinity/sessions/`
162
+ - [ ] **THIS STEP IS MANDATORY** - Work orders left in .claude/trinity/work-orders/ are considered incomplete
176
163
 
177
164
  **Execute this exact command:**
178
165
  ```bash
179
- mv trinity/work-orders/{{workOrderFilename}} trinity/sessions/
166
+ mv .claude/trinity/work-orders/{{workOrderFilename}} .claude/trinity/sessions/
180
167
  ```
181
168
 
182
169
  **Step 3: Verify File Locations** ✅
183
- - [ ] This work order file NOW EXISTS in: `trinity/sessions/{{workOrderFilename}}`
170
+ - [ ] This work order file NOW EXISTS in: `.claude/trinity/sessions/{{workOrderFilename}}`
184
171
  - [ ] Completion report exists in: `${PROJECT_REPORTS}/PATTERN-[NAME]-[TIMESTAMP].md`
185
- - [ ] This work order NO LONGER EXISTS in: `trinity/work-orders/`
172
+ - [ ] This work order NO LONGER EXISTS in: `.claude/trinity/work-orders/`
186
173
 
187
174
  **If any verification fails, the work order is NOT complete. Fix immediately.**
188
175
 
189
176
  **Step 4: Session Cleanup (when entire session complete):**
190
177
  - [ ] When session is complete, run `/trinity-end`
191
- - [ ] trinity-end will archive ALL files from `trinity/sessions/` and `${PROJECT_REPORTS}/`
178
+ - [ ] trinity-end will archive ALL files from `.claude/trinity/sessions/` and `${PROJECT_REPORTS}/`
192
179
  - [ ] Next session starts with empty sessions/ and reports/ folders
193
180
 
194
181
  **Archive Destination (via trinity-end):**
195
- - Work order → `trinity/archive/work-orders/YYYY-MM-DD/`
196
- - Completion report → `trinity/archive/reports/YYYY-MM-DD/`
197
- - JUNO audit report → `trinity/archive/reports/YYYY-MM-DD/` (if applicable)
198
- - Session summary → `trinity/archive/sessions/YYYY-MM-DD/`
182
+ - Work order → `.claude/trinity/archive/work-orders/YYYY-MM-DD/`
183
+ - Completion report → `.claude/trinity/archive/reports/YYYY-MM-DD/`
184
+ - JUNO audit report → `.claude/trinity/archive/reports/YYYY-MM-DD/` (if applicable)
185
+ - Session summary → `.claude/trinity/archive/sessions/YYYY-MM-DD/`
199
186
 
200
187
  ---
201
188
 
@@ -315,6 +302,3 @@ Note what must remain manual:
315
302
  ---
316
303
 
317
304
  **Remember:** Pattern work is about maximizing impact through systematic fixes. One pattern fix can resolve dozens of issues. Document patterns thoroughly for future reuse. Report all changes to LUKA for git operations.
318
-
319
- *Trinity Method v2.0 - Pattern Work Order Template*
320
- *Project-Isolated Architecture with Dynamic Paths*