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
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Primary command for executing tasks with AJ MAESTRO orchestration
|
|
3
|
-
---
|
|
4
|
-
|
|
5
1
|
# Trinity Orchestration
|
|
6
2
|
|
|
7
|
-
**
|
|
3
|
+
**Command:** `/execution:trinity-orchestrate`
|
|
4
|
+
**Purpose:** Primary command for executing tasks during development sessions with AJ MAESTRO orchestration
|
|
5
|
+
**Architecture:** ALY (CTO) → MON → ROR → TRA → EUS → KIL cycles → BAS gates → JUNO verification
|
|
6
|
+
**Trinity Version:** 2.1.0
|
|
7
|
+
**Last Updated:** 2026-01-21
|
|
8
8
|
|
|
9
9
|
**Use throughout your session:** This command is used repeatedly as you work through tasks.
|
|
10
10
|
|
|
@@ -44,18 +44,18 @@ description: Primary command for executing tasks with AJ MAESTRO orchestration
|
|
|
44
44
|
|
|
45
45
|
**Workflow:**
|
|
46
46
|
1. Create work order: `/trinity-workorder`
|
|
47
|
-
2. Work order saved to:
|
|
47
|
+
2. Work order saved to: `.claude/trinity/work-orders/WO-XXX-{task-name}.md`
|
|
48
48
|
3. Execute: `/trinity-orchestrate @WO-042-jwt-refresh.md`
|
|
49
49
|
4. **AJ MAESTRO** selects agents and orchestrates execution
|
|
50
50
|
5. **TWO DELIVERABLES CREATED:**
|
|
51
51
|
a. **Implementation Report** (from work order template):
|
|
52
|
-
|
|
52
|
+
`.claude/trinity/reports/[COMPONENT]-IMPLEMENTATION-COMPLETE-{timestamp}.md`
|
|
53
53
|
b. **JUNO Audit Report** (automatic verification):
|
|
54
|
-
|
|
55
|
-
6. 🚨 **CRITICAL: MOVE completed work order** from
|
|
56
|
-
- **MANDATORY STEP** - Execute: `mv trinity/work-orders/WO-XXX-*.md trinity/sessions/`
|
|
57
|
-
- **Verify work order NO LONGER exists in trinity/work-orders/**
|
|
58
|
-
7. **Reports remain** in
|
|
54
|
+
`.claude/trinity/reports/AUDIT-WO-042-{date}.md`
|
|
55
|
+
6. 🚨 **CRITICAL: MOVE completed work order** from `.claude/trinity/work-orders/` to `.claude/trinity/sessions/`
|
|
56
|
+
- **MANDATORY STEP** - Execute: `mv .claude/trinity/work-orders/WO-XXX-*.md .claude/trinity/sessions/`
|
|
57
|
+
- **Verify work order NO LONGER exists in .claude/trinity/work-orders/**
|
|
58
|
+
7. **Reports remain** in `.claude/trinity/reports/` until session end
|
|
59
59
|
8. **Run `/trinity-end`** when session complete to archive all session files
|
|
60
60
|
|
|
61
61
|
**Example:**
|
|
@@ -80,17 +80,17 @@ description: Primary command for executing tasks with AJ MAESTRO orchestration
|
|
|
80
80
|
|
|
81
81
|
**Workflow:**
|
|
82
82
|
1. Create investigation: `/trinity-create-investigation`
|
|
83
|
-
2. Investigation saved to:
|
|
83
|
+
2. Investigation saved to: `.claude/trinity/investigations/INV-XXX-{title}.md`
|
|
84
84
|
3. Execute: `/trinity-orchestrate @INV-015-performance-analysis.md`
|
|
85
85
|
4. **AJ MAESTRO** coordinates READ-ONLY investigation
|
|
86
86
|
5. Findings documented (no code changes)
|
|
87
87
|
6. **Investigation Report Created:**
|
|
88
|
-
|
|
88
|
+
`.claude/trinity/reports/INV-015-findings-{date}.md`
|
|
89
89
|
(See investigation template for required sections)
|
|
90
|
-
7. 🚨 **CRITICAL: MOVE completed investigation** from
|
|
91
|
-
- **MANDATORY STEP** - Execute: `mv trinity/investigations/INV-XXX-*.md trinity/sessions/`
|
|
92
|
-
- **Verify investigation NO LONGER exists in trinity/investigations/**
|
|
93
|
-
8. **Report remains** in
|
|
90
|
+
7. 🚨 **CRITICAL: MOVE completed investigation** from `.claude/trinity/investigations/` to `.claude/trinity/sessions/`
|
|
91
|
+
- **MANDATORY STEP** - Execute: `mv .claude/trinity/investigations/INV-XXX-*.md .claude/trinity/sessions/`
|
|
92
|
+
- **Verify investigation NO LONGER exists in .claude/trinity/investigations/**
|
|
93
|
+
8. **Report remains** in `.claude/trinity/reports/` until session end
|
|
94
94
|
9. **Run `/trinity-end`** when session complete to archive all session files
|
|
95
95
|
|
|
96
96
|
⚠️ **CRITICAL:** Investigations are READ-ONLY operations. No code changes during investigation phase. Implementation happens separately after investigation is complete.
|
|
@@ -244,7 +244,7 @@ When you invoke `/trinity-orchestrate`, here's what happens:
|
|
|
244
244
|
- Complexity within limits
|
|
245
245
|
|
|
246
246
|
**JUNO's Audit Report:**
|
|
247
|
-
- Saved to:
|
|
247
|
+
- Saved to: `.claude/trinity/reports/AUDIT-{task-id}-{date}.md`
|
|
248
248
|
- Pass/Fail status for each criterion
|
|
249
249
|
- Overall assessment (APPROVED / REQUIRES FIXES)
|
|
250
250
|
- Recommendations for improvements
|
|
@@ -337,23 +337,23 @@ Please address WO-043 before marking WO-042 complete.
|
|
|
337
337
|
**Step 1: Verify Deliverables Created** ✅
|
|
338
338
|
|
|
339
339
|
**Work Orders:**
|
|
340
|
-
- [ ] Implementation report in
|
|
341
|
-
- [ ] JUNO audit report in
|
|
340
|
+
- [ ] Implementation report in `.claude/trinity/reports/[COMPONENT]-IMPLEMENTATION-COMPLETE-{timestamp}.md`
|
|
341
|
+
- [ ] JUNO audit report in `.claude/trinity/reports/AUDIT-WO-XXX-{date}.md` (if applicable)
|
|
342
342
|
|
|
343
343
|
**Investigations:**
|
|
344
|
-
- [ ] Findings report in
|
|
344
|
+
- [ ] Findings report in `.claude/trinity/reports/INV-XXX-findings-{date}.md`
|
|
345
345
|
- [ ] All required sections completed (summary, findings, root cause, recommendations, evidence)
|
|
346
346
|
|
|
347
347
|
**Step 2: 🚨 MOVE THE COMPLETED FILE TO SESSIONS/ 🚨** ✅
|
|
348
348
|
|
|
349
|
-
**THIS STEP IS MANDATORY - Work orders left in trinity/work-orders/ are considered INCOMPLETE.**
|
|
349
|
+
**THIS STEP IS MANDATORY - Work orders left in .claude/trinity/work-orders/ are considered INCOMPLETE.**
|
|
350
350
|
|
|
351
351
|
```bash
|
|
352
352
|
# Work Order Example - EXECUTE THIS IMMEDIATELY AFTER CREATING DELIVERABLE
|
|
353
|
-
mv trinity/work-orders/WO-042-jwt-refresh.md trinity/sessions/
|
|
353
|
+
mv .claude/trinity/work-orders/WO-042-jwt-refresh.md .claude/trinity/sessions/
|
|
354
354
|
|
|
355
355
|
# Investigation Example - EXECUTE THIS IMMEDIATELY AFTER CREATING FINDINGS REPORT
|
|
356
|
-
mv trinity/investigations/INV-015-performance-analysis.md trinity/sessions/
|
|
356
|
+
mv .claude/trinity/investigations/INV-015-performance-analysis.md .claude/trinity/sessions/
|
|
357
357
|
```
|
|
358
358
|
|
|
359
359
|
**Step 3: Verify File Locations** ✅
|
|
@@ -361,22 +361,22 @@ mv trinity/investigations/INV-015-performance-analysis.md trinity/sessions/
|
|
|
361
361
|
**CRITICAL VERIFICATION - If this fails, the task is NOT complete:**
|
|
362
362
|
|
|
363
363
|
**For Work Orders:**
|
|
364
|
-
- [ ] Work order file NOW EXISTS in:
|
|
365
|
-
- [ ] Deliverable report exists in:
|
|
366
|
-
- [ ] Work order file NO LONGER EXISTS in:
|
|
364
|
+
- [ ] Work order file NOW EXISTS in: `.claude/trinity/sessions/WO-XXX-*.md`
|
|
365
|
+
- [ ] Deliverable report exists in: `.claude/trinity/reports/[COMPONENT]-IMPLEMENTATION-COMPLETE-*.md`
|
|
366
|
+
- [ ] Work order file NO LONGER EXISTS in: `.claude/trinity/work-orders/`
|
|
367
367
|
|
|
368
368
|
**For Investigations:**
|
|
369
|
-
- [ ] Investigation file NOW EXISTS in:
|
|
370
|
-
- [ ] Findings report exists in:
|
|
371
|
-
- [ ] Investigation file NO LONGER EXISTS in:
|
|
369
|
+
- [ ] Investigation file NOW EXISTS in: `.claude/trinity/sessions/INV-XXX-*.md`
|
|
370
|
+
- [ ] Findings report exists in: `.claude/trinity/reports/INV-XXX-findings-*.md`
|
|
371
|
+
- [ ] Investigation file NO LONGER EXISTS in: `.claude/trinity/investigations/`
|
|
372
372
|
|
|
373
373
|
**If any verification fails, STOP and fix immediately before proceeding.**
|
|
374
374
|
|
|
375
375
|
**Step 4: Continue Working or End Session**
|
|
376
376
|
|
|
377
377
|
**If continuing work in same session:**
|
|
378
|
-
- Reports remain in
|
|
379
|
-
- Completed WOs/INVs in
|
|
378
|
+
- Reports remain in `.claude/trinity/reports/` (available for reference)
|
|
379
|
+
- Completed WOs/INVs in `.claude/trinity/sessions/` (out of active work queue)
|
|
380
380
|
- Proceed with next task
|
|
381
381
|
|
|
382
382
|
**If session is complete:**
|
|
@@ -385,12 +385,12 @@ mv trinity/investigations/INV-015-performance-analysis.md trinity/sessions/
|
|
|
385
385
|
```
|
|
386
386
|
|
|
387
387
|
This will:
|
|
388
|
-
- Archive ALL files from
|
|
389
|
-
- Archive ALL files from
|
|
390
|
-
- Archive completed work orders →
|
|
391
|
-
- Archive completed investigations →
|
|
392
|
-
- Create session summary in
|
|
393
|
-
- **Result:** Clean
|
|
388
|
+
- Archive ALL files from `.claude/trinity/sessions/` → `.claude/trinity/archive/sessions/YYYY-MM-DD/`
|
|
389
|
+
- Archive ALL files from `.claude/trinity/reports/` → `.claude/trinity/archive/reports/YYYY-MM-DD/`
|
|
390
|
+
- Archive completed work orders → `.claude/trinity/archive/work-orders/YYYY-MM-DD/`
|
|
391
|
+
- Archive completed investigations → `.claude/trinity/archive/investigations/YYYY-MM-DD/`
|
|
392
|
+
- Create session summary in `.claude/trinity/archive/sessions/YYYY-MM-DD/`
|
|
393
|
+
- **Result:** Clean `.claude/trinity/sessions/` and `.claude/trinity/reports/` folders for next session
|
|
394
394
|
|
|
395
395
|
---
|
|
396
396
|
|
|
@@ -398,7 +398,7 @@ This will:
|
|
|
398
398
|
|
|
399
399
|
**Active Session:**
|
|
400
400
|
```
|
|
401
|
-
trinity/
|
|
401
|
+
.claude/trinity/
|
|
402
402
|
├── work-orders/ # Active work orders (not yet completed)
|
|
403
403
|
├── investigations/ # Active investigations (not yet completed)
|
|
404
404
|
├── sessions/ # Completed WOs/INVs (awaiting archival)
|
|
@@ -407,7 +407,7 @@ trinity/
|
|
|
407
407
|
|
|
408
408
|
**After /trinity-end:**
|
|
409
409
|
```
|
|
410
|
-
trinity/
|
|
410
|
+
.claude/trinity/
|
|
411
411
|
├── work-orders/ # EMPTY (all active work complete or in-progress only)
|
|
412
412
|
├── investigations/ # EMPTY (all active investigations complete or in-progress only)
|
|
413
413
|
├── sessions/ # EMPTY (all archived)
|
|
@@ -433,14 +433,14 @@ trinity/
|
|
|
433
433
|
**How Trinity Handles Context Loss:**
|
|
434
434
|
|
|
435
435
|
1. **Documentation Persists:**
|
|
436
|
-
- Work orders:
|
|
437
|
-
- Investigations:
|
|
438
|
-
- JUNO reports:
|
|
439
|
-
- Knowledge base:
|
|
436
|
+
- Work orders: `.claude/trinity/work-orders/WO-XXX.md`
|
|
437
|
+
- Investigations: `.claude/trinity/investigations/INV-XXX.md`
|
|
438
|
+
- JUNO reports: `.claude/trinity/reports/AUDIT-*.md`
|
|
439
|
+
- Knowledge base: `.claude/trinity/knowledge-base/*.md`
|
|
440
440
|
|
|
441
441
|
2. **When Context Window Is Exceeded:**
|
|
442
442
|
- Current work is automatically documented
|
|
443
|
-
- Session state saved to
|
|
443
|
+
- Session state saved to `.claude/trinity/sessions/SESSION-{timestamp}.md`
|
|
444
444
|
- Use `/trinity-continue` to resume
|
|
445
445
|
- AJ MAESTRO reads files to understand current state
|
|
446
446
|
- JUNO reports show what's been completed
|
|
@@ -678,7 +678,7 @@ JUNO: Performing comprehensive audit...
|
|
|
678
678
|
**Overall Assessment: APPROVED ✅**
|
|
679
679
|
|
|
680
680
|
Audit report saved to:
|
|
681
|
-
|
|
681
|
+
`.claude/trinity/reports/AUDIT-WO-042-2025-12-19.md`
|
|
682
682
|
|
|
683
683
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
684
684
|
|
|
@@ -837,7 +837,7 @@ JUNO: Auditing investigation completeness...
|
|
|
837
837
|
✅ Recommendations: 3 actionable items with effort estimates
|
|
838
838
|
|
|
839
839
|
**Findings Report:**
|
|
840
|
-
|
|
840
|
+
`.claude/trinity/reports/INV-015-findings-2025-12-19.md`
|
|
841
841
|
|
|
842
842
|
**Follow-Up Work Orders Created:**
|
|
843
843
|
- WO-043-database-index-optimization (HIGH priority, 2 hours)
|
|
@@ -1,28 +1,29 @@
|
|
|
1
|
+
# Trinity Initialization
|
|
2
|
+
|
|
3
|
+
**Command:** `/infrastructure:trinity-init`
|
|
4
|
+
**Purpose:** Complete Trinity Method integration with comprehensive setup and quality validation
|
|
5
|
+
**Architecture:** TAN structure validation → ZEN knowledge base → INO context → EIN CI/CD → JUNO audit
|
|
6
|
+
**Trinity Version:** 2.1.0
|
|
7
|
+
**Last Updated:** 2026-01-21
|
|
8
|
+
|
|
1
9
|
---
|
|
2
|
-
|
|
3
|
-
---
|
|
10
|
+
|
|
4
11
|
# Quick Start - TL;DR
|
|
5
12
|
|
|
6
13
|
**Install Trinity in 3 steps**:
|
|
7
14
|
|
|
8
|
-
1. **Run Init**: `/trinity-init`
|
|
9
|
-
2. **Wait**: ~30 seconds (deploys
|
|
10
|
-
3. **Verify**: `/trinity-verify` (confirm 100% deployment)
|
|
15
|
+
1. **Run Init**: `/infrastructure:trinity-init`
|
|
16
|
+
2. **Wait**: ~30 seconds (deploys 18 agents + knowledge base)
|
|
17
|
+
3. **Verify**: `/utility:trinity-verify` (confirm 100% deployment)
|
|
11
18
|
|
|
12
19
|
**What You Get**:
|
|
13
|
-
-
|
|
20
|
+
- 18 specialized agents in `.claude/agents/`
|
|
14
21
|
- 20 slash commands in `.claude/commands/` (6 categories)
|
|
15
|
-
- Knowledge base in
|
|
16
|
-
- Work order system in
|
|
17
|
-
- Documentation templates in
|
|
18
|
-
|
|
19
|
-
**Next Steps**: Run `/trinity-start` to begin your first workflow
|
|
22
|
+
- Knowledge base in `.claude/trinity/knowledge-base/`
|
|
23
|
+
- Work order system in `.claude/trinity/work-orders/`
|
|
24
|
+
- Documentation templates in `.claude/trinity/templates/documentation/`
|
|
20
25
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
# Trinity Initialization
|
|
24
|
-
|
|
25
|
-
**Purpose:** Complete Trinity Method integration with comprehensive setup and quality validation.
|
|
26
|
+
**Next Steps**: Run `/session:trinity-start` to begin your first workflow
|
|
26
27
|
|
|
27
28
|
## Overview
|
|
28
29
|
|
|
@@ -35,7 +36,7 @@ Trinity initialization populates the Trinity Method infrastructure with:
|
|
|
35
36
|
|
|
36
37
|
**Context:** User has run `trinity deploy` and basic Trinity structure exists. Deployment team will now populate and verify all Trinity documents.
|
|
37
38
|
|
|
38
|
-
**IMPORTANT:** All folders and basic files already exist from deployment. DO NOT attempt to create folders that already exist (trinity/, .claude/, etc.). Focus on POPULATING and VERIFYING content.
|
|
39
|
+
**IMPORTANT:** All folders and basic files already exist from deployment. DO NOT attempt to create folders that already exist (.claude/trinity/, .claude/, etc.). Focus on POPULATING and VERIFYING content.
|
|
39
40
|
|
|
40
41
|
## Trinity Method Capabilities
|
|
41
42
|
|
|
@@ -267,7 +268,7 @@ Trinity creates additional CLAUDE.md files when it detects:
|
|
|
267
268
|
|
|
268
269
|
### Configuration Override
|
|
269
270
|
|
|
270
|
-
You can manually specify CLAUDE.md locations in
|
|
271
|
+
You can manually specify CLAUDE.md locations in `.claude/trinity/config.json`:
|
|
271
272
|
|
|
272
273
|
```json
|
|
273
274
|
{
|
|
@@ -372,16 +373,16 @@ Suggestions:
|
|
|
372
373
|
|
|
373
374
|
### Phase 2: ZEN (Knowledge Base Specialist) - Populate Trinity documentation
|
|
374
375
|
- Analyze existing codebase
|
|
375
|
-
- POPULATE trinity/knowledge-base/ARCHITECTURE.md with detailed architecture analysis
|
|
376
|
-
- POPULATE trinity/knowledge-base/ISSUES.md with discovered issues
|
|
377
|
-
- POPULATE trinity/knowledge-base/To-do.md with identified tasks
|
|
378
|
-
- POPULATE trinity/knowledge-base/Technical-Debt.md with technical debt assessment
|
|
376
|
+
- POPULATE .claude/trinity/knowledge-base/ARCHITECTURE.md with detailed architecture analysis
|
|
377
|
+
- POPULATE .claude/trinity/knowledge-base/ISSUES.md with discovered issues
|
|
378
|
+
- POPULATE .claude/trinity/knowledge-base/To-do.md with identified tasks
|
|
379
|
+
- POPULATE .claude/trinity/knowledge-base/Technical-Debt.md with technical debt assessment
|
|
379
380
|
- Update existing Trinity.md if needed
|
|
380
381
|
|
|
381
382
|
### Phase 3: INO (Context Specialist) - Establish context hierarchy
|
|
382
383
|
- Analyze codebase context and complexity
|
|
383
384
|
- UPDATE existing CLAUDE.md files with project-specific instructions
|
|
384
|
-
- POPULATE trinity/knowledge-base/ISSUES.md database structure
|
|
385
|
+
- POPULATE .claude/trinity/knowledge-base/ISSUES.md database structure
|
|
385
386
|
- Verify CLAUDE.md hierarchy is complete
|
|
386
387
|
|
|
387
388
|
### Phase 4: JUNO (Quality Auditor) - Perform comprehensive audit
|
|
@@ -389,7 +390,7 @@ Suggestions:
|
|
|
389
390
|
- Verify all documentation files are populated (not empty)
|
|
390
391
|
- Validate CLAUDE.md hierarchy completeness
|
|
391
392
|
- Check that knowledge base documents have real content
|
|
392
|
-
- Generate audit report in trinity/reports/
|
|
393
|
+
- Generate audit report in .claude/trinity/reports/
|
|
393
394
|
- Report findings to user with compliance score
|
|
394
395
|
|
|
395
396
|
### Phase 5: EIN (CI/CD Specialist) - Review CI/CD and Pre-commit Configuration
|
|
@@ -401,7 +402,6 @@ Suggestions:
|
|
|
401
402
|
1. **Check for GitHub Actions workflows:**
|
|
402
403
|
```bash
|
|
403
404
|
ls .github/workflows/ci.yml 2>/dev/null && echo "CI FOUND" || echo "CI NOT_FOUND"
|
|
404
|
-
ls .github/workflows/cd.yml 2>/dev/null && echo "CD FOUND" || echo "CD NOT_FOUND"
|
|
405
405
|
```
|
|
406
406
|
|
|
407
407
|
2. **Check for pre-commit configuration:**
|
|
@@ -411,7 +411,7 @@ Suggestions:
|
|
|
411
411
|
|
|
412
412
|
**Decision Tree:**
|
|
413
413
|
|
|
414
|
-
- **IF any CI/CD files exist (ci.yml
|
|
414
|
+
- **IF any CI/CD files exist (ci.yml OR pre-commit config):**
|
|
415
415
|
- ✅ **Invoke EIN** - Adopt EIN (CI/CD Specialist) persona
|
|
416
416
|
- Continue with "EIN's Responsibilities" below
|
|
417
417
|
- Include EIN's work in JUNO's audit report
|
|
@@ -443,15 +443,7 @@ Suggestions:
|
|
|
443
443
|
- **Validate** triggers are correct (push to main/dev, pull requests)
|
|
444
444
|
- **Confirm** coverage threshold enforcement is configured
|
|
445
445
|
|
|
446
|
-
**2.
|
|
447
|
-
- **Read** the deployed cd.yml file
|
|
448
|
-
- **Verify** deployment stages (CI gate → build → staging → production)
|
|
449
|
-
- **Validate** CI workflow is called as prerequisite
|
|
450
|
-
- **Customize** deployment commands for project type
|
|
451
|
-
- **Confirm** environment protection is documented
|
|
452
|
-
- **Validate** artifact management (upload/download between jobs)
|
|
453
|
-
|
|
454
|
-
**3. Pre-commit Hooks** (if `.pre-commit-config.yaml` exists):
|
|
446
|
+
**2. Pre-commit Hooks** (if `.pre-commit-config.yaml` exists):
|
|
455
447
|
- **Read** the deployed .pre-commit-config.yaml file
|
|
456
448
|
- **Verify** all hooks are configured:
|
|
457
449
|
- Standard hooks (trailing whitespace, YAML/JSON validation, etc.)
|
|
@@ -475,12 +467,6 @@ After reviewing and customizing CI/CD files, EIN should report:
|
|
|
475
467
|
- Runtime: {{DETECTED_RUNTIME}}
|
|
476
468
|
- Coverage: ≥80% enforced
|
|
477
469
|
|
|
478
|
-
- .github/workflows/cd.yml ✅
|
|
479
|
-
- Status: Ready (deployment commands customized)
|
|
480
|
-
- Staging: Auto-deploy on main branch
|
|
481
|
-
- Production: Deploy via version tags (v*)
|
|
482
|
-
- Environments: Require setup (see instructions below)
|
|
483
|
-
|
|
484
470
|
- .pre-commit-config.yaml ✅ (if deployed)
|
|
485
471
|
- Status: Ready (customized for {{FRAMEWORK}})
|
|
486
472
|
- Hooks: Linting, type checking, tests
|
|
@@ -495,23 +481,15 @@ After reviewing and customizing CI/CD files, EIN should report:
|
|
|
495
481
|
|
|
496
482
|
**Activation Instructions:**
|
|
497
483
|
|
|
498
|
-
📋 **Step 1: Activate GitHub Actions
|
|
484
|
+
📋 **Step 1: Activate GitHub Actions Workflow**
|
|
499
485
|
```bash
|
|
500
|
-
#
|
|
501
|
-
git add .github/workflows/ci.yml
|
|
502
|
-
git commit -m "Activate Trinity CI
|
|
486
|
+
# Workflow is already in place, just commit and push
|
|
487
|
+
git add .github/workflows/ci.yml
|
|
488
|
+
git commit -m "Activate Trinity CI pipeline"
|
|
503
489
|
git push
|
|
504
490
|
```
|
|
505
491
|
|
|
506
|
-
📋 **Step 2:
|
|
507
|
-
1. Go to: Repository Settings → Environments
|
|
508
|
-
2. Create "staging" environment:
|
|
509
|
-
- No protection rules needed
|
|
510
|
-
3. Create "production" environment:
|
|
511
|
-
- ✅ Enable "Required reviewers" (add team members)
|
|
512
|
-
- ⏱️ Optional: "Wait timer" (e.g., 5 minutes before deploy)
|
|
513
|
-
|
|
514
|
-
📋 **Step 3: Activate Pre-commit Hooks** (Optional but Recommended)
|
|
492
|
+
📋 **Step 2: Activate Pre-commit Hooks** (Optional but Recommended)
|
|
515
493
|
```bash
|
|
516
494
|
# Install pre-commit framework
|
|
517
495
|
pip install pre-commit
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# Trinity Create Investigation
|
|
2
|
+
|
|
3
|
+
**Command:** `/investigation:trinity-create-investigation`
|
|
4
|
+
**Purpose:** Launch the Investigation Wizard to create structured investigations
|
|
5
|
+
**Architecture:** INO wizard → Template selection → File creation
|
|
6
|
+
**Trinity Version:** 2.1.0
|
|
7
|
+
**Last Updated:** 2026-01-21
|
|
8
|
+
|
|
3
9
|
---
|
|
4
10
|
|
|
5
11
|
Launch the Trinity Method Investigation Wizard to create a structured investigation interactively.
|
|
@@ -45,7 +51,7 @@ Define completion criteria:
|
|
|
45
51
|
|
|
46
52
|
**Step 6: Template Selection**
|
|
47
53
|
Offer templates based on investigation type:
|
|
48
|
-
- Standard templates (from trinity/templates/investigations/)
|
|
54
|
+
- Standard templates (from .claude/trinity/templates/investigations/)
|
|
49
55
|
- Custom templates (from user's template library)
|
|
50
56
|
- Generate new template
|
|
51
57
|
|
|
@@ -54,7 +60,7 @@ Show investigation summary and confirm creation.
|
|
|
54
60
|
|
|
55
61
|
**Output:**
|
|
56
62
|
Create investigation file at:
|
|
57
|
-
|
|
63
|
+
`.claude/trinity/investigations/INV-XXX-{title}.md`
|
|
58
64
|
|
|
59
65
|
**Post-Creation:**
|
|
60
66
|
Ask if user wants to:
|
|
@@ -63,13 +69,13 @@ Ask if user wants to:
|
|
|
63
69
|
- Schedule for later
|
|
64
70
|
|
|
65
71
|
**Orchestration:**
|
|
66
|
-
Once investigation is created in
|
|
72
|
+
Once investigation is created in `.claude/trinity/investigations/`, execute it:
|
|
67
73
|
|
|
68
74
|
```bash
|
|
69
75
|
/trinity-orchestrate @INV-001-example-investigation.md
|
|
70
76
|
```
|
|
71
77
|
|
|
72
|
-
**AJ MAESTRO** picks up the investigation from
|
|
78
|
+
**AJ MAESTRO** picks up the investigation from `.claude/trinity/investigations/` and orchestrates the investigation, leaving findings in `.claude/trinity/reports/`.
|
|
73
79
|
|
|
74
80
|
**CRITICAL: Investigation Protocol**
|
|
75
81
|
⚠️ **INVESTIGATIONS ARE READ-ONLY OPERATIONS**
|
|
@@ -106,7 +112,7 @@ INV-012-authentication-flow-review.md
|
|
|
106
112
|
INV-025-database-query-optimization.md
|
|
107
113
|
```
|
|
108
114
|
|
|
109
|
-
**Auto-Numbering**: System scans
|
|
115
|
+
**Auto-Numbering**: System scans `.claude/trinity/investigations/` and assigns next number
|
|
110
116
|
|
|
111
117
|
---
|
|
112
118
|
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Guide to Trinity investigation templates for structured problem-solving
|
|
3
|
-
---
|
|
4
|
-
|
|
5
1
|
# Trinity Investigation Templates
|
|
6
2
|
|
|
7
|
-
**
|
|
3
|
+
**Command:** `/investigation:trinity-investigate-templates`
|
|
4
|
+
**Purpose:** Guide to Trinity investigation templates for structured problem-solving
|
|
5
|
+
**Architecture:** Documentation reference (no execution)
|
|
6
|
+
**Trinity Version:** 2.1.0
|
|
7
|
+
**Last Updated:** 2026-01-21
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
Guide users through selecting and using investigation templates for structured, comprehensive problem-solving.
|
|
8
12
|
|
|
9
13
|
## Overview
|
|
10
14
|
|
|
@@ -446,11 +450,11 @@ Is it new functionality?
|
|
|
446
450
|
|
|
447
451
|
```bash
|
|
448
452
|
# Copy template to investigations folder
|
|
449
|
-
cp trinity/templates/investigations/[type].md \
|
|
450
|
-
trinity/investigations/INV-XXX-[title].md
|
|
453
|
+
cp .claude/trinity/templates/investigations/[type].md \
|
|
454
|
+
.claude/trinity/investigations/INV-XXX-[title].md
|
|
451
455
|
|
|
452
456
|
# Fill out investigation
|
|
453
|
-
# Edit: trinity/investigations/INV-XXX-[title].md
|
|
457
|
+
# Edit: .claude/trinity/investigations/INV-XXX-[title].md
|
|
454
458
|
```
|
|
455
459
|
|
|
456
460
|
### 2. Link to Design Doc
|
|
@@ -458,7 +462,7 @@ cp trinity/templates/investigations/[type].md \
|
|
|
458
462
|
Every investigation should reference the Design Doc:
|
|
459
463
|
|
|
460
464
|
```markdown
|
|
461
|
-
**Design Doc:** [Link to trinity/design-docs/[name].md]
|
|
465
|
+
**Design Doc:** [Link to .claude/trinity/design-docs/[name].md]
|
|
462
466
|
```
|
|
463
467
|
|
|
464
468
|
### 3. Complete Investigation Thoroughly
|
|
@@ -479,10 +483,10 @@ Every investigation should reference the Design Doc:
|
|
|
479
483
|
```
|
|
480
484
|
|
|
481
485
|
This command will:
|
|
482
|
-
- Archive all completed investigations to
|
|
483
|
-
- Archive work orders to
|
|
484
|
-
- Archive reports to
|
|
485
|
-
- Archive session logs to
|
|
486
|
+
- Archive all completed investigations to `.claude/trinity/archive/investigations/`
|
|
487
|
+
- Archive work orders to `.claude/trinity/archive/work-orders/`
|
|
488
|
+
- Archive reports to `.claude/trinity/archive/reports/`
|
|
489
|
+
- Archive session logs to `.claude/trinity/archive/sessions/`
|
|
486
490
|
- Organize archives by date (YYYY-MM format)
|
|
487
491
|
|
|
488
492
|
## Integration with Workflow Orchestration
|
|
@@ -569,7 +573,7 @@ Templates work seamlessly with `/trinity-orchestrate`:
|
|
|
569
573
|
|
|
570
574
|
After deployment, templates are located in:
|
|
571
575
|
```
|
|
572
|
-
trinity/templates/investigations/
|
|
576
|
+
.claude/trinity/templates/investigations/
|
|
573
577
|
├── bug.md
|
|
574
578
|
├── performance.md
|
|
575
579
|
├── security.md
|
|
@@ -683,7 +687,7 @@ After investigating templates, verify your findings:
|
|
|
683
687
|
```bash
|
|
684
688
|
# Count template files
|
|
685
689
|
find src/templates -name "*.template" | wc -l
|
|
686
|
-
# Expected:
|
|
690
|
+
# Expected: 18 agent templates + knowledge base templates
|
|
687
691
|
|
|
688
692
|
# Verify organization
|
|
689
693
|
ls -la src/templates/agents/leadership/
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# Trinity Plan Investigation
|
|
2
|
+
|
|
3
|
+
**Command:** `/investigation:trinity-plan-investigation`
|
|
4
|
+
**Purpose:** Generate AI-powered investigation plans with visualizations
|
|
5
|
+
**Architecture:** INO analysis → Plan generation → Mermaid visualization
|
|
6
|
+
**Trinity Version:** 2.1.0
|
|
7
|
+
**Last Updated:** 2026-01-21
|
|
8
|
+
|
|
3
9
|
---
|
|
4
10
|
|
|
5
11
|
Generate a comprehensive AI-powered investigation plan using the Trinity Method.
|
|
@@ -70,7 +76,7 @@ graph TD
|
|
|
70
76
|
|
|
71
77
|
**Output:**
|
|
72
78
|
Save investigation plan to:
|
|
73
|
-
|
|
79
|
+
`.claude/trinity/investigations/plans/PLAN-{investigation-title}.md`
|
|
74
80
|
|
|
75
81
|
**Plan Includes:**
|
|
76
82
|
- Executive summary
|
|
@@ -119,15 +125,15 @@ Save investigation plan to:
|
|
|
119
125
|
```
|
|
120
126
|
1. /trinity-create-investigation
|
|
121
127
|
→ Creates INV-XXX-problem.md
|
|
122
|
-
|
|
128
|
+
|
|
123
129
|
2. /trinity-plan-investigation
|
|
124
130
|
→ Reads INV-XXX-problem.md
|
|
125
131
|
→ Creates investigation-plan-XXX.md
|
|
126
|
-
|
|
132
|
+
|
|
127
133
|
3. Execute investigation
|
|
128
134
|
→ Follow plan
|
|
129
135
|
→ Document findings
|
|
130
|
-
|
|
136
|
+
|
|
131
137
|
4. Archive results
|
|
132
138
|
→ Update INV-XXX with conclusions
|
|
133
139
|
```
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
# Trinity CHANGELOG Management
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**Command:** `/execution:trinity-changelog`
|
|
4
|
+
**Purpose:** Launch APO (Documentation Specialist) to maintain CHANGELOG.md in Keep-a-Changelog format
|
|
5
|
+
**Architecture:** APO 3-phase process (Discovery → Update → Report)
|
|
6
|
+
**Trinity Version:** 2.1.0
|
|
7
|
+
**Last Updated:** 2026-01-21
|
|
4
8
|
|
|
5
9
|
**Use Case:** Ensure CHANGELOG.md exists, follows Keep-a-Changelog format, and documents project changes.
|
|
6
10
|
|
|
7
|
-
**Deliverable:** CHANGELOG audit report in
|
|
11
|
+
**Deliverable:** CHANGELOG audit report in `.claude/trinity/reports/CHANGELOG-AUDIT-{date}.md`
|
|
8
12
|
|
|
9
13
|
---
|
|
10
14
|
|
|
@@ -427,7 +431,7 @@ if (missing_categories.length > 0) {
|
|
|
427
431
|
|
|
428
432
|
### Phase 3: CHANGELOG Audit Report
|
|
429
433
|
|
|
430
|
-
**APO Generates:**
|
|
434
|
+
**APO Generates:** `.claude/trinity/reports/CHANGELOG-AUDIT-{date}.md`
|
|
431
435
|
|
|
432
436
|
**Required Report Structure:**
|
|
433
437
|
|
|
@@ -553,7 +557,7 @@ if (missing_categories.length > 0) {
|
|
|
553
557
|
---
|
|
554
558
|
|
|
555
559
|
**Report Generated:** {timestamp}
|
|
556
|
-
**Report Location:** trinity/reports/CHANGELOG-AUDIT-{date}.md
|
|
560
|
+
**Report Location:** .claude/trinity/reports/CHANGELOG-AUDIT-{date}.md
|
|
557
561
|
```
|
|
558
562
|
|
|
559
563
|
---
|
|
@@ -579,7 +583,7 @@ if (missing_categories.length > 0) {
|
|
|
579
583
|
|
|
580
584
|
**After `/trinity-changelog` completes, verify:**
|
|
581
585
|
|
|
582
|
-
1. ✅ Check
|
|
586
|
+
1. ✅ Check `.claude/trinity/reports/CHANGELOG-AUDIT-{date}.md`
|
|
583
587
|
2. ✅ Verify CHANGELOG.md exists in root
|
|
584
588
|
3. ✅ Check [Unreleased] section present
|
|
585
589
|
4. ✅ Verify format score ≥ 60/100
|
|
@@ -643,6 +647,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
643
647
|
```
|
|
644
648
|
|
|
645
649
|
---
|
|
646
|
-
|
|
647
|
-
** Trinity Version:** 2.0.9
|
|
648
|
-
**Last Updated:** 2026-01-12
|