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.
- package/CHANGELOG.md +702 -267
- package/README.md +550 -540
- package/dist/cli/commands/deploy/agents.js +1 -1
- package/dist/cli/commands/deploy/ci-cd.d.ts +4 -3
- package/dist/cli/commands/deploy/ci-cd.js +10 -9
- package/dist/cli/commands/deploy/claude-setup.js +28 -35
- package/dist/cli/commands/deploy/configuration.js +10 -11
- package/dist/cli/commands/deploy/directories.js +13 -14
- package/dist/cli/commands/deploy/gitignore.js +3 -5
- package/dist/cli/commands/deploy/index.d.ts +1 -1
- package/dist/cli/commands/deploy/index.js +7 -3
- package/dist/cli/commands/deploy/knowledge-base.js +3 -3
- package/dist/cli/commands/deploy/pre-flight.js +1 -1
- package/dist/cli/commands/deploy/root-files.js +3 -18
- package/dist/cli/commands/deploy/sdk-install.js +1 -1
- package/dist/cli/commands/deploy/summary.js +3 -3
- package/dist/cli/commands/deploy/templates.js +33 -20
- package/dist/cli/commands/update/agents.js +1 -1
- package/dist/cli/commands/update/backup.js +6 -12
- package/dist/cli/commands/update/commands.d.ts +1 -0
- package/dist/cli/commands/update/commands.js +18 -45
- package/dist/cli/commands/update/knowledge-base.js +2 -2
- package/dist/cli/commands/update/pre-flight.js +11 -11
- package/dist/cli/commands/update/summary.js +5 -5
- package/dist/cli/commands/update/templates.js +35 -13
- package/dist/cli/commands/update/verification.js +5 -5
- package/dist/cli/commands/update/version.js +1 -1
- package/dist/cli/utils/deploy-ci.d.ts +3 -2
- package/dist/cli/utils/deploy-ci.js +24 -24
- package/dist/cli/utils/deploy-linting.js +101 -6
- package/dist/cli/utils/error-classes.d.ts +2 -2
- package/dist/cli/utils/linting-tools.js +14 -6
- package/dist/cli/utils/template-processor.js +2 -4
- package/dist/templates/{claude → .claude}/EMPLOYEE-DIRECTORY.md.template +16 -22
- package/dist/templates/{agents → .claude/agents}/aj-team/apo-documentation-specialist.md.template +10 -10
- package/dist/templates/{agents → .claude/agents}/aj-team/bas-quality-gate.md.template +13 -15
- package/dist/templates/{agents → .claude/agents}/aj-team/bon-dependency-manager.md.template +4 -4
- package/dist/templates/{agents → .claude/agents}/aj-team/cap-configuration-specialist.md.template +3 -3
- package/dist/templates/{agents → .claude/agents}/aj-team/dra-code-reviewer.md.template +8 -10
- package/dist/templates/{agents → .claude/agents}/aj-team/kil-task-executor.md.template +11 -13
- package/dist/templates/{agents → .claude/agents}/aj-team/uro-refactoring-specialist.md.template +3 -3
- package/dist/templates/{agents → .claude/agents}/audit/juno-auditor.md.template +46 -42
- package/dist/templates/{agents → .claude/agents}/deployment/ein-cicd.md.template +59 -164
- package/dist/templates/{agents → .claude/agents}/deployment/ino-context.md.template +25 -22
- package/dist/templates/{agents → .claude/agents}/deployment/tan-structure.md.template +32 -30
- package/dist/templates/{agents → .claude/agents}/deployment/zen-knowledge.md.template +28 -23
- package/dist/templates/{agents → .claude/agents}/leadership/aj-maestro.md.template +10 -6
- package/dist/templates/{agents → .claude/agents}/leadership/aly-cto.md.template +22 -19
- package/dist/templates/{agents → .claude/agents}/planning/eus-decomposer.md.template +8 -4
- package/dist/templates/{agents → .claude/agents}/planning/mon-requirements.md.template +8 -4
- package/dist/templates/{agents → .claude/agents}/planning/ror-design.md.template +8 -4
- package/dist/templates/{agents → .claude/agents}/planning/tra-planner.md.template +10 -4
- package/dist/templates/{shared/claude-commands → .claude/commands/execution}/trinity-audit.md.template +15 -15
- package/dist/templates/.claude/commands/execution/trinity-breakdown.md.template +535 -0
- package/dist/templates/{shared/claude-commands → .claude/commands/execution}/trinity-orchestrate.md.template +48 -48
- package/dist/templates/{shared/claude-commands → .claude/commands/infrastructure}/trinity-init.md.template +32 -54
- package/dist/templates/{shared/claude-commands → .claude/commands/investigation}/trinity-create-investigation.md.template +13 -7
- package/dist/templates/{shared/claude-commands → .claude/commands/investigation}/trinity-investigate-templates.md.template +19 -15
- package/dist/templates/{shared/claude-commands → .claude/commands/investigation}/trinity-plan-investigation.md.template +12 -6
- package/dist/templates/{shared/claude-commands → .claude/commands/maintenance}/trinity-changelog.md.template +9 -8
- package/dist/templates/.claude/commands/maintenance/trinity-docs-update.md.template +279 -0
- package/dist/templates/.claude/commands/maintenance/trinity-docs.md.template +2828 -0
- package/dist/templates/{shared/claude-commands → .claude/commands/maintenance}/trinity-readme.md.template +21 -20
- package/dist/templates/{shared/claude-commands → .claude/commands/planning}/trinity-decompose.md.template +6 -4
- package/dist/templates/{shared/claude-commands → .claude/commands/planning}/trinity-design.md.template +6 -4
- package/dist/templates/{shared/claude-commands → .claude/commands/planning}/trinity-plan.md.template +7 -5
- package/dist/templates/{shared/claude-commands → .claude/commands/planning}/trinity-requirements.md.template +6 -4
- package/dist/templates/{shared/claude-commands → .claude/commands/session}/trinity-continue.md.template +30 -24
- package/dist/templates/{shared/claude-commands → .claude/commands/session}/trinity-end.md.template +403 -397
- package/dist/templates/{shared/claude-commands → .claude/commands/session}/trinity-start.md.template +9 -4
- package/dist/templates/{shared/claude-commands → .claude/commands/utility}/trinity-agents.md.template +11 -8
- package/dist/templates/{shared/claude-commands → .claude/commands/utility}/trinity-verify.md.template +56 -57
- package/dist/templates/{shared/claude-commands → .claude/commands/utility}/trinity-workorder.md.template +13 -9
- package/dist/templates/ci/ci.yml.template +2 -2
- package/dist/templates/root/CLAUDE.md.template +9 -9
- package/dist/templates/root/linting/nodejs/.husky-pre-commit.template +5 -0
- 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/dist/templates/trinity/CLAUDE.md.template +14 -14
- package/dist/templates/{knowledge-base → trinity/knowledge-base}/AI-DEVELOPMENT-GUIDE.md.template +1 -1
- package/dist/templates/{knowledge-base → trinity/knowledge-base}/ARCHITECTURE.md.template +5 -5
- package/dist/templates/{knowledge-base → trinity/knowledge-base}/CODING-PRINCIPLES.md.template +1 -1
- package/dist/templates/{knowledge-base → trinity/knowledge-base}/DOCUMENTATION-CRITERIA.md.template +1 -1
- package/dist/templates/{knowledge-base → trinity/knowledge-base}/ISSUES.md.template +9 -9
- package/dist/templates/{knowledge-base → trinity/knowledge-base}/TESTING-PRINCIPLES.md.template +1 -1
- package/dist/templates/{knowledge-base → trinity/knowledge-base}/Technical-Debt.md.template +2 -4
- package/dist/templates/{knowledge-base → trinity/knowledge-base}/To-do.md.template +2 -2
- package/dist/templates/{knowledge-base → trinity/knowledge-base}/Trinity.md.template +6 -6
- package/dist/templates/trinity/templates/documentation/api-docs/README.md.template +218 -0
- package/dist/templates/trinity/templates/documentation/configuration/documentation-structure.md.template +71 -0
- package/dist/templates/trinity/templates/documentation/configuration/env-example-generator.md.template +387 -0
- package/dist/templates/trinity/templates/documentation/discovery/api-endpoint-scanner.md.template +343 -0
- package/dist/templates/trinity/templates/documentation/discovery/component-discovery.md.template +254 -0
- package/dist/templates/trinity/templates/documentation/discovery/env-variable-extraction.md.template +316 -0
- package/dist/templates/trinity/templates/documentation/discovery/framework-detection.md.template +205 -0
- package/dist/templates/trinity/templates/documentation/guides/api-development.md.template +375 -0
- package/dist/templates/trinity/templates/documentation/guides/contributing.md.template +488 -0
- package/dist/templates/trinity/templates/documentation/guides/deployment.md.template +565 -0
- package/dist/templates/trinity/templates/documentation/guides/getting-started.md.template +118 -0
- package/dist/templates/trinity/templates/documentation/mermaid-diagrams/api-endpoint-map.md.template +56 -0
- package/dist/templates/trinity/templates/documentation/mermaid-diagrams/component-hierarchy.md.template +60 -0
- package/dist/templates/trinity/templates/documentation/mermaid-diagrams/database-er.md.template +49 -0
- package/dist/templates/trinity/templates/documentation/mermaid-diagrams/mvc-flow.md.template +41 -0
- package/dist/templates/trinity/templates/documentation/processes/error-handling-protocol.md.template +166 -0
- package/dist/templates/trinity/templates/documentation/processes/fallback-mechanism.md.template +88 -0
- package/dist/templates/trinity/templates/documentation/reports/apo-docs-update-checklist.md.template +343 -0
- package/dist/templates/trinity/templates/documentation/reports/juno-docs-update-checklist.md.template +1337 -0
- package/dist/templates/trinity/templates/documentation/reports/juno-final-report.md.template +237 -0
- package/dist/templates/trinity/templates/documentation/reports/juno-internal-report.md.template +461 -0
- package/dist/templates/trinity/templates/documentation/validation/documentation-verification-rules.md.template +379 -0
- package/dist/templates/trinity/templates/documentation/validation/juno-quality-gates.md.template +282 -0
- package/dist/templates/{investigations → trinity/templates/investigations}/bug.md.template +14 -14
- package/dist/templates/{investigations → trinity/templates/investigations}/feature.md.template +14 -14
- package/dist/templates/{investigations → trinity/templates/investigations}/performance.md.template +14 -14
- package/dist/templates/{investigations → trinity/templates/investigations}/security.md.template +14 -14
- package/dist/templates/{investigations → trinity/templates/investigations}/technical.md.template +14 -14
- package/dist/templates/{work-orders → trinity/templates/work-orders}/ANALYSIS-TEMPLATE.md.template +10 -13
- package/dist/templates/{work-orders → trinity/templates/work-orders}/AUDIT-TEMPLATE.md.template +10 -26
- package/dist/templates/{work-orders → trinity/templates/work-orders}/IMPLEMENTATION-TEMPLATE.md.template +10 -26
- package/dist/templates/{work-orders → trinity/templates/work-orders}/INVESTIGATION-TEMPLATE.md.template +10 -25
- package/dist/templates/{work-orders → trinity/templates/work-orders}/PATTERN-TEMPLATE.md.template +10 -26
- package/dist/templates/{work-orders → trinity/templates/work-orders}/VERIFICATION-TEMPLATE.md.template +10 -26
- package/package.json +99 -94
- package/dist/templates/agents/leadership/aj-cc.md.template +0 -462
- package/dist/templates/ci/cd.yml.template +0 -175
- package/dist/templates/ci/github-actions.yml +0 -86
- package/dist/templates/root/TRINITY.md.template +0 -52
- package/dist/templates/shared/claude-commands/trinity-docs.md.template +0 -2577
- /package/dist/templates/{linting → root/linting}/flutter/.pre-commit-config.yaml.template +0 -0
- /package/dist/templates/{linting → root/linting}/flutter/analysis_options.yaml.template +0 -0
- /package/dist/templates/{linting → root/linting}/nodejs/.eslintrc-commonjs.json.template +0 -0
- /package/dist/templates/{linting → root/linting}/nodejs/.eslintrc-esm.json.template +0 -0
- /package/dist/templates/{linting → root/linting}/nodejs/.eslintrc-typescript.json.template +0 -0
- /package/dist/templates/{linting → root/linting}/nodejs/.pre-commit-config.yaml.template +0 -0
- /package/dist/templates/{linting → root/linting}/nodejs/.prettierrc.json.template +0 -0
- /package/dist/templates/{linting → root/linting}/python/.flake8.template +0 -0
- /package/dist/templates/{linting → root/linting}/python/.pre-commit-config.yaml.template +0 -0
- /package/dist/templates/{linting → root/linting}/python/pyproject.toml.template +0 -0
- /package/dist/templates/{linting → root/linting}/rust/.pre-commit-config.yaml.template +0 -0
- /package/dist/templates/{linting → root/linting}/rust/clippy.toml.template +0 -0
- /package/dist/templates/{linting → root/linting}/rust/rustfmt.toml.template +0 -0
- /package/dist/templates/{documentation → trinity/templates/documentation}/ROOT-README.md.template +0 -0
- /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:**
|
|
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
|
|
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
|
|
431
|
-
- [ ] Keep report in
|
|
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
|
|
436
|
-
- [ ] Report will be archived to
|
|
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
|
|
440
|
-
- [ ] Verify
|
|
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](
|
|
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](
|
|
453
|
-
- [Known Issues](
|
|
454
|
-
- [Technical Debt](
|
|
455
|
-
- [Testing Standards](
|
|
456
|
-
- [Coding Standards](
|
|
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
|
package/dist/templates/{investigations → trinity/templates/investigations}/feature.md.template
RENAMED
|
@@ -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](
|
|
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](
|
|
481
|
-
- [Known Issues](
|
|
482
|
-
- [Technical Debt](
|
|
483
|
-
- [Testing Standards](
|
|
484
|
-
- [Coding Standards](
|
|
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:**
|
|
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
|
|
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
|
|
528
|
-
- [ ] Keep report in
|
|
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
|
|
533
|
-
- [ ] Report will be archived to
|
|
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
|
|
537
|
-
- [ ] Verify
|
|
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
|
|
package/dist/templates/{investigations → trinity/templates/investigations}/performance.md.template
RENAMED
|
@@ -537,7 +537,7 @@ describe('Performance: getUserOrders', () => {
|
|
|
537
537
|
|
|
538
538
|
### Investigation Report Format
|
|
539
539
|
**Filename:** `INV-{{investigationId}}-findings-[TIMESTAMP].md`
|
|
540
|
-
**Location:**
|
|
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
|
|
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
|
|
570
|
-
- [ ] Keep report in
|
|
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
|
|
575
|
-
- [ ] Report will be archived to
|
|
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
|
|
579
|
-
- [ ] Verify
|
|
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](
|
|
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](
|
|
592
|
-
- [Known Issues](
|
|
593
|
-
- [Technical Debt](
|
|
594
|
-
- [Testing Standards](
|
|
595
|
-
- [Coding Standards](
|
|
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
|
package/dist/templates/{investigations → trinity/templates/investigations}/security.md.template
RENAMED
|
@@ -632,7 +632,7 @@ security:
|
|
|
632
632
|
|
|
633
633
|
### Investigation Report Format
|
|
634
634
|
**Filename:** `INV-{{investigationId}}-findings-[TIMESTAMP].md`
|
|
635
|
-
**Location:**
|
|
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
|
|
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
|
|
666
|
-
- [ ] Keep report in
|
|
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
|
|
671
|
-
- [ ] Report will be archived to
|
|
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
|
|
675
|
-
- [ ] Verify
|
|
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](
|
|
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](
|
|
693
|
-
- [Known Issues](
|
|
694
|
-
- [Technical Debt](
|
|
695
|
-
- [Testing Standards](
|
|
696
|
-
- [Coding Standards](
|
|
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
|
package/dist/templates/{investigations → trinity/templates/investigations}/technical.md.template
RENAMED
|
@@ -315,7 +315,7 @@ describe('Technical Implementation', () => {
|
|
|
315
315
|
|
|
316
316
|
### Investigation Report Format
|
|
317
317
|
**Filename:** `INV-{{investigationId}}-findings-[TIMESTAMP].md`
|
|
318
|
-
**Location:**
|
|
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
|
|
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
|
|
348
|
-
- [ ] Keep report in
|
|
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
|
|
353
|
-
- [ ] Report will be archived to
|
|
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
|
|
357
|
-
- [ ] Verify
|
|
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](
|
|
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](
|
|
370
|
-
- [Known Issues](
|
|
371
|
-
- [Technical Debt](
|
|
372
|
-
- [Testing Standards](
|
|
373
|
-
- [Coding Standards](
|
|
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
|
package/dist/templates/{work-orders → trinity/templates/work-orders}/ANALYSIS-TEMPLATE.md.template
RENAMED
|
@@ -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
|
|
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:
|
|
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:
|
|
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
|
|
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 →
|
|
155
|
-
- Completion report →
|
|
156
|
-
- JUNO audit report →
|
|
157
|
-
- Session summary →
|
|
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*
|
package/dist/templates/{work-orders → trinity/templates/work-orders}/AUDIT-TEMPLATE.md.template
RENAMED
|
@@ -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
|
|
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:
|
|
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:
|
|
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
|
|
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 →
|
|
167
|
-
- Completion report →
|
|
168
|
-
- JUNO audit report →
|
|
169
|
-
- Session summary →
|
|
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
|
|
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:
|
|
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:
|
|
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
|
|
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 →
|
|
138
|
-
- Completion report →
|
|
139
|
-
- JUNO audit report →
|
|
140
|
-
- Session summary →
|
|
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
|
|
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:
|
|
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:
|
|
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
|
|
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 →
|
|
136
|
-
- Completion report →
|
|
137
|
-
- JUNO audit report →
|
|
138
|
-
- Session summary →
|
|
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*
|
package/dist/templates/{work-orders → trinity/templates/work-orders}/PATTERN-TEMPLATE.md.template
RENAMED
|
@@ -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
|
|
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:
|
|
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:
|
|
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
|
|
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 →
|
|
196
|
-
- Completion report →
|
|
197
|
-
- JUNO audit report →
|
|
198
|
-
- Session summary →
|
|
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*
|