trinity-method-sdk 2.1.0 → 2.2.1
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 +728 -467
- package/README.md +550 -539
- 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/configuration.js +10 -11
- package/dist/cli/commands/deploy/directories.js +13 -14
- package/dist/cli/commands/deploy/gitignore.js +3 -4
- package/dist/cli/commands/deploy/index.d.ts +1 -1
- package/dist/cli/commands/deploy/index.js +6 -2
- package/dist/cli/commands/deploy/knowledge-base.js +2 -2
- package/dist/cli/commands/deploy/pre-flight.js +1 -1
- package/dist/cli/commands/deploy/root-files.js +2 -17
- package/dist/cli/commands/deploy/summary.js +3 -3
- package/dist/cli/commands/deploy/templates.js +5 -5
- package/dist/cli/commands/update/backup.js +6 -12
- package/dist/cli/commands/update/index.js +15 -1
- package/dist/cli/commands/update/knowledge-base.js +1 -1
- package/dist/cli/commands/update/migration.d.ts +31 -0
- package/dist/cli/commands/update/migration.js +130 -0
- package/dist/cli/commands/update/pre-flight.d.ts +7 -2
- package/dist/cli/commands/update/pre-flight.js +21 -20
- package/dist/cli/commands/update/summary.js +11 -5
- package/dist/cli/commands/update/templates.js +1 -1
- package/dist/cli/commands/update/types.d.ts +2 -0
- package/dist/cli/commands/update/verification.js +5 -5
- package/dist/cli/commands/update/version.js +6 -4
- 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 +100 -5
- 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 +1 -3
- package/dist/templates/.claude/EMPLOYEE-DIRECTORY.md.template +16 -22
- package/dist/templates/.claude/agents/aj-team/apo-documentation-specialist.md.template +7 -7
- package/dist/templates/.claude/agents/aj-team/bas-quality-gate.md.template +8 -8
- package/dist/templates/.claude/agents/aj-team/dra-code-reviewer.md.template +3 -3
- package/dist/templates/.claude/agents/aj-team/kil-task-executor.md.template +6 -6
- package/dist/templates/.claude/agents/audit/juno-auditor.md.template +39 -40
- package/dist/templates/.claude/agents/deployment/ein-cicd.md.template +56 -159
- package/dist/templates/.claude/agents/deployment/ino-context.md.template +21 -21
- package/dist/templates/.claude/agents/deployment/tan-structure.md.template +28 -29
- package/dist/templates/.claude/agents/deployment/zen-knowledge.md.template +22 -23
- package/dist/templates/.claude/agents/leadership/aj-maestro.md.template +6 -6
- package/dist/templates/.claude/agents/leadership/aly-cto.md.template +17 -18
- package/dist/templates/.claude/agents/planning/eus-decomposer.md.template +4 -4
- package/dist/templates/.claude/agents/planning/mon-requirements.md.template +4 -4
- package/dist/templates/.claude/agents/planning/ror-design.md.template +4 -4
- package/dist/templates/.claude/agents/planning/tra-planner.md.template +4 -4
- package/dist/templates/.claude/commands/execution/trinity-audit.md.template +9 -9
- package/dist/templates/.claude/commands/execution/trinity-breakdown.md.template +535 -0
- package/dist/templates/.claude/commands/execution/trinity-orchestrate.md.template +43 -43
- package/dist/templates/.claude/commands/infrastructure/trinity-init.md.template +20 -43
- package/dist/templates/.claude/commands/investigation/trinity-create-investigation.md.template +5 -5
- package/dist/templates/.claude/commands/investigation/trinity-investigate-templates.md.template +10 -10
- package/dist/templates/.claude/commands/investigation/trinity-plan-investigation.md.template +1 -1
- package/dist/templates/.claude/commands/maintenance/trinity-changelog.md.template +4 -4
- package/dist/templates/.claude/commands/maintenance/trinity-docs-update.md.template +10 -10
- package/dist/templates/.claude/commands/maintenance/trinity-docs.md.template +62 -62
- package/dist/templates/.claude/commands/maintenance/trinity-readme.md.template +16 -16
- package/dist/templates/.claude/commands/session/trinity-continue.md.template +22 -22
- package/dist/templates/.claude/commands/session/trinity-end.md.template +22 -22
- package/dist/templates/.claude/commands/session/trinity-start.md.template +1 -2
- package/dist/templates/.claude/commands/utility/trinity-agents.md.template +3 -6
- package/dist/templates/.claude/commands/utility/trinity-verify.md.template +48 -54
- package/dist/templates/.claude/commands/utility/trinity-workorder.md.template +5 -5
- 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/trinity/knowledge-base/ARCHITECTURE.md.template +4 -4
- package/dist/templates/trinity/knowledge-base/ISSUES.md.template +8 -8
- package/dist/templates/trinity/knowledge-base/Technical-Debt.md.template +1 -3
- package/dist/templates/trinity/knowledge-base/To-do.md.template +1 -1
- package/dist/templates/trinity/knowledge-base/Trinity.md.template +5 -5
- package/dist/templates/trinity/templates/documentation/configuration/env-example-generator.md.template +1 -1
- package/dist/templates/trinity/templates/documentation/processes/error-handling-protocol.md.template +2 -2
- package/dist/templates/trinity/templates/documentation/reports/apo-docs-update-checklist.md.template +7 -7
- package/dist/templates/trinity/templates/documentation/reports/juno-docs-update-checklist.md.template +4 -4
- package/dist/templates/trinity/templates/documentation/reports/juno-internal-report.md.template +10 -10
- package/dist/templates/trinity/templates/investigations/bug.md.template +14 -14
- package/dist/templates/trinity/templates/investigations/feature.md.template +14 -14
- package/dist/templates/trinity/templates/investigations/performance.md.template +14 -14
- package/dist/templates/trinity/templates/investigations/security.md.template +14 -14
- package/dist/templates/trinity/templates/investigations/technical.md.template +14 -14
- package/dist/templates/trinity/templates/work-orders/ANALYSIS-TEMPLATE.md.template +10 -10
- package/dist/templates/trinity/templates/work-orders/AUDIT-TEMPLATE.md.template +10 -10
- package/dist/templates/trinity/templates/work-orders/IMPLEMENTATION-TEMPLATE.md.template +10 -10
- package/dist/templates/trinity/templates/work-orders/INVESTIGATION-TEMPLATE.md.template +10 -10
- package/dist/templates/trinity/templates/work-orders/PATTERN-TEMPLATE.md.template +10 -10
- package/dist/templates/trinity/templates/work-orders/VERIFICATION-TEMPLATE.md.template +10 -10
- package/package.json +99 -94
- package/dist/templates/.claude/agents/leadership/aj-cc.md.template +0 -467
- 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
|
@@ -86,8 +86,8 @@ if (VALIDATE_TEMPLATES) {
|
|
|
86
86
|
LOG: "Validating template files for correct variable syntax...";
|
|
87
87
|
LOG: "";
|
|
88
88
|
|
|
89
|
-
// Template paths - See trinity/templates/documentation/configuration/documentation-structure.md
|
|
90
|
-
const template_base = "trinity/templates/documentation";
|
|
89
|
+
// Template paths - See .claude/trinity/templates/documentation/configuration/documentation-structure.md
|
|
90
|
+
const template_base = ".claude/trinity/templates/documentation";
|
|
91
91
|
const template_paths = [
|
|
92
92
|
`${template_base}/mermaid-diagrams/*.md`,
|
|
93
93
|
`${template_base}/guides/*.md`,
|
|
@@ -236,7 +236,7 @@ function retry_operation(operation_name, operation_func, max_attempts = 3, delay
|
|
|
236
236
|
// Pattern 1: File read with retry (handles filesystem delays)
|
|
237
237
|
const file_read_result = retry_operation(
|
|
238
238
|
"Read JUNO report",
|
|
239
|
-
() => Read("trinity/reports/DOCS-AUDIT-*.md"),
|
|
239
|
+
() => Read(".claude/trinity/reports/DOCS-AUDIT-*.md"),
|
|
240
240
|
3,
|
|
241
241
|
500
|
|
242
242
|
);
|
|
@@ -404,25 +404,25 @@ LOG: "";
|
|
|
404
404
|
|
|
405
405
|
const required_templates = [
|
|
406
406
|
// Mermaid diagrams (WO-1.8) - deployed without .template suffix
|
|
407
|
-
"trinity/templates/documentation/mermaid-diagrams/mvc-flow.md",
|
|
408
|
-
"trinity/templates/documentation/mermaid-diagrams/database-er.md",
|
|
409
|
-
"trinity/templates/documentation/mermaid-diagrams/api-endpoint-map.md",
|
|
410
|
-
"trinity/templates/documentation/mermaid-diagrams/component-hierarchy.md",
|
|
407
|
+
".claude/trinity/templates/documentation/mermaid-diagrams/mvc-flow.md",
|
|
408
|
+
".claude/trinity/templates/documentation/mermaid-diagrams/database-er.md",
|
|
409
|
+
".claude/trinity/templates/documentation/mermaid-diagrams/api-endpoint-map.md",
|
|
410
|
+
".claude/trinity/templates/documentation/mermaid-diagrams/component-hierarchy.md",
|
|
411
411
|
|
|
412
412
|
// Guides (WO-002) - deployed without .template suffix
|
|
413
|
-
"trinity/templates/documentation/guides/getting-started.md",
|
|
414
|
-
"trinity/templates/documentation/guides/api-development.md",
|
|
415
|
-
"trinity/templates/documentation/guides/deployment.md",
|
|
416
|
-
"trinity/templates/documentation/guides/contributing.md",
|
|
413
|
+
".claude/trinity/templates/documentation/guides/getting-started.md",
|
|
414
|
+
".claude/trinity/templates/documentation/guides/api-development.md",
|
|
415
|
+
".claude/trinity/templates/documentation/guides/deployment.md",
|
|
416
|
+
".claude/trinity/templates/documentation/guides/contributing.md",
|
|
417
417
|
|
|
418
418
|
// API docs (WO-002) - deployed without .template suffix
|
|
419
|
-
"trinity/templates/documentation/api-docs/README.md",
|
|
419
|
+
".claude/trinity/templates/documentation/api-docs/README.md",
|
|
420
420
|
|
|
421
421
|
// Configuration (WO-003) - deployed without .template suffix
|
|
422
|
-
"trinity/templates/documentation/configuration/env-example-generator.md",
|
|
422
|
+
".claude/trinity/templates/documentation/configuration/env-example-generator.md",
|
|
423
423
|
|
|
424
424
|
// JUNO internal report (WO-1.8) - deployed without .template suffix
|
|
425
|
-
"trinity/templates/documentation/reports/juno-internal-report.md"
|
|
425
|
+
".claude/trinity/templates/documentation/reports/juno-internal-report.md"
|
|
426
426
|
];
|
|
427
427
|
|
|
428
428
|
const missing_templates = [];
|
|
@@ -446,7 +446,7 @@ if (missing_templates.length > 0) {
|
|
|
446
446
|
ERROR: "";
|
|
447
447
|
ERROR: "REQUIRED ACTIONS:";
|
|
448
448
|
ERROR: " 1. Run: trinity update";
|
|
449
|
-
ERROR: " 2. Verify templates exist in trinity/templates/documentation/";
|
|
449
|
+
ERROR: " 2. Verify templates exist in .claude/trinity/templates/documentation/";
|
|
450
450
|
ERROR: " 3. Re-run this command";
|
|
451
451
|
ERROR: "";
|
|
452
452
|
|
|
@@ -492,13 +492,13 @@ You are JUNO, the Quality Auditor. Your task is to audit this codebase and gener
|
|
|
492
492
|
|
|
493
493
|
## Report Template to Use
|
|
494
494
|
|
|
495
|
-
**Template File:**
|
|
495
|
+
**Template File:** \`.claude/trinity/templates/documentation/reports/juno-internal-report.md\`
|
|
496
496
|
|
|
497
497
|
**Instructions:**
|
|
498
498
|
1. **Read the template** to understand the complete structure required
|
|
499
499
|
2. **Analyze the codebase** to gather all data for every {{VARIABLE}}
|
|
500
500
|
3. **Replace ALL placeholders** with actual discovered values (no placeholders like "[Database detected]")
|
|
501
|
-
4. **Output the completed report** to:
|
|
501
|
+
4. **Output the completed report** to: \`.claude/trinity/reports/DOCS-AUDIT-{timestamp}.md\`
|
|
502
502
|
|
|
503
503
|
**Timestamp Format:** YYYY-MM-DD-HHmm (e.g., 2026-01-15-1530)
|
|
504
504
|
|
|
@@ -526,10 +526,10 @@ You are JUNO, the Quality Auditor. Your task is to audit this codebase and gener
|
|
|
526
526
|
|
|
527
527
|
**Use discovery templates for codebase analysis:**
|
|
528
528
|
|
|
529
|
-
- **Framework Detection:** See
|
|
530
|
-
- **Component Discovery:** See
|
|
531
|
-
- **API Endpoints:** See
|
|
532
|
-
- **Environment Variables:** See
|
|
529
|
+
- **Framework Detection:** See `.claude/trinity/templates/documentation/discovery/framework-detection.md` for package.json analysis patterns
|
|
530
|
+
- **Component Discovery:** See `.claude/trinity/templates/documentation/discovery/component-discovery.md` for React/Vue/Angular/Svelte component patterns (CRITICAL: Zero tolerance for fake components)
|
|
531
|
+
- **API Endpoints:** See `.claude/trinity/templates/documentation/discovery/api-endpoint-scanner.md` for Express/Fastify/NestJS/Koa route patterns
|
|
532
|
+
- **Environment Variables:** See `.claude/trinity/templates/documentation/discovery/env-variable-extraction.md` for .env and process.env usage patterns
|
|
533
533
|
|
|
534
534
|
**Database Schema Analysis:**
|
|
535
535
|
- Prisma: Parse `prisma/schema.prisma` for models and relationships
|
|
@@ -542,7 +542,7 @@ You are JUNO, the Quality Auditor. Your task is to audit this codebase and gener
|
|
|
542
542
|
|
|
543
543
|
**Read the template first:**
|
|
544
544
|
\`\`\`javascript
|
|
545
|
-
const template_content = Read("trinity/templates/documentation/reports/juno-internal-report.md");
|
|
545
|
+
const template_content = Read(".claude/trinity/templates/documentation/reports/juno-internal-report.md");
|
|
546
546
|
// Study the structure to understand ALL {{VARIABLES}} you need to fill
|
|
547
547
|
\`\`\`
|
|
548
548
|
|
|
@@ -557,7 +557,7 @@ const template_content = Read("trinity/templates/documentation/reports/juno-inte
|
|
|
557
557
|
**Output the completed report:**
|
|
558
558
|
\`\`\`javascript
|
|
559
559
|
const completed_report = /* filled template with all variables replaced */;
|
|
560
|
-
Write("trinity/reports/DOCS-AUDIT-{timestamp}.md", completed_report);
|
|
560
|
+
Write(".claude/trinity/reports/DOCS-AUDIT-{timestamp}.md", completed_report);
|
|
561
561
|
\`\`\`
|
|
562
562
|
|
|
563
563
|
---
|
|
@@ -567,7 +567,7 @@ Write("trinity/reports/DOCS-AUDIT-{timestamp}.md", completed_report);
|
|
|
567
567
|
Before returning, verify report completeness:
|
|
568
568
|
|
|
569
569
|
\`\`\`javascript
|
|
570
|
-
const report_path = "trinity/reports/DOCS-AUDIT-{timestamp}.md";
|
|
570
|
+
const report_path = ".claude/trinity/reports/DOCS-AUDIT-{timestamp}.md";
|
|
571
571
|
const report_content = Read(report_path);
|
|
572
572
|
|
|
573
573
|
const validation_checks = {
|
|
@@ -597,7 +597,7 @@ Return concise summary after validation passes:
|
|
|
597
597
|
|
|
598
598
|
\`\`\`
|
|
599
599
|
JUNO Audit Complete
|
|
600
|
-
Report: trinity/reports/DOCS-AUDIT-{timestamp}.md
|
|
600
|
+
Report: .claude/trinity/reports/DOCS-AUDIT-{timestamp}.md
|
|
601
601
|
|
|
602
602
|
Architecture: [type]
|
|
603
603
|
Backend: [framework] [version]
|
|
@@ -633,7 +633,7 @@ const report_path_match = juno_response.match(/trinity\/reports\/DOCS-AUDIT-[\d-
|
|
|
633
633
|
if (!report_path_match) {
|
|
634
634
|
ERROR: "";
|
|
635
635
|
ERROR: "❌ CRITICAL ERROR: JUNO did not create audit report";
|
|
636
|
-
ERROR: "Expected report at: trinity/reports/DOCS-AUDIT-{timestamp}.md";
|
|
636
|
+
ERROR: "Expected report at: .claude/trinity/reports/DOCS-AUDIT-{timestamp}.md";
|
|
637
637
|
ERROR: "";
|
|
638
638
|
ERROR: "Cannot proceed without audit report.";
|
|
639
639
|
ERROR: "";
|
|
@@ -765,7 +765,7 @@ if (component_section) {
|
|
|
765
765
|
LOG: `Documented components in report: ${documented_components.length}`;
|
|
766
766
|
|
|
767
767
|
// Re-discover components from actual codebase
|
|
768
|
-
// See trinity/templates/documentation/configuration/documentation-structure.md for full patterns
|
|
768
|
+
// See .claude/trinity/templates/documentation/configuration/documentation-structure.md for full patterns
|
|
769
769
|
const component_patterns = [
|
|
770
770
|
"client/**/*.{tsx,jsx,vue}",
|
|
771
771
|
"src/**/*.{tsx,jsx,vue}"
|
|
@@ -956,26 +956,26 @@ if (global.trinity_docs_session.juno_incomplete) {
|
|
|
956
956
|
**Use discovery templates for fallback analysis:**
|
|
957
957
|
|
|
958
958
|
**APO-1 (Diagrams):**
|
|
959
|
-
- If diagram variables missing: Use
|
|
959
|
+
- If diagram variables missing: Use `.claude/trinity/templates/documentation/discovery/api-endpoint-scanner.md` and `.claude/trinity/templates/documentation/discovery/component-discovery.md` patterns
|
|
960
960
|
- If database schema empty: Parse database schema files directly (Prisma, TypeORM, Mongoose)
|
|
961
961
|
- Generate Mermaid syntax from discovered data
|
|
962
962
|
|
|
963
963
|
**APO-2 (Guides & Docs):**
|
|
964
|
-
- If framework not specified: Use
|
|
965
|
-
- If environment variables missing: Use
|
|
964
|
+
- If framework not specified: Use `.claude/trinity/templates/documentation/discovery/framework-detection.md` for package.json analysis
|
|
965
|
+
- If environment variables missing: Use `.claude/trinity/templates/documentation/discovery/env-variable-extraction.md` for .env and process.env patterns
|
|
966
966
|
- Fill template variables from direct detection
|
|
967
967
|
|
|
968
968
|
**APO-3 (Config Files):**
|
|
969
|
-
- If .env keys missing: Use
|
|
969
|
+
- If .env keys missing: Use `.claude/trinity/templates/documentation/discovery/env-variable-extraction.md` for process.env.KEY patterns
|
|
970
970
|
- If README links undefined: Build links from expected file locations
|
|
971
971
|
- Validate all file references before writing
|
|
972
972
|
|
|
973
973
|
When JUNO report doesn't specify templates:
|
|
974
|
-
- Use default template paths:
|
|
974
|
+
- Use default template paths: `.claude/trinity/templates/documentation/`
|
|
975
975
|
- Read template structure to determine required variables
|
|
976
976
|
- Extract variables from codebase analysis
|
|
977
977
|
|
|
978
|
-
**See trinity/templates/documentation/processes/fallback-mechanism.md for:**
|
|
978
|
+
**See .claude/trinity/templates/documentation/processes/fallback-mechanism.md for:**
|
|
979
979
|
- Framework detection fallback
|
|
980
980
|
- Component discovery fallback
|
|
981
981
|
- Database schema fallback
|
|
@@ -1072,7 +1072,7 @@ if (TIER_2_ERROR) {
|
|
|
1072
1072
|
## Workflow Overview
|
|
1073
1073
|
|
|
1074
1074
|
Follow the **5-Phase APO Workflow** defined in:
|
|
1075
|
-
📄 **[trinity/templates/documentation/processes/apo-workflow-common.md](trinity/templates/documentation/processes/apo-workflow-common.md)**
|
|
1075
|
+
📄 **[.claude/trinity/templates/documentation/processes/apo-workflow-common.md](.claude/trinity/templates/documentation/processes/apo-workflow-common.md)**
|
|
1076
1076
|
|
|
1077
1077
|
1. **Phase 1:** Read JUNO Report (`global.trinity_docs_session.audit_report`)
|
|
1078
1078
|
2. **Phase 2:** Extract Template Variables (from Section A)
|
|
@@ -1085,7 +1085,7 @@ Follow the **5-Phase APO Workflow** defined in:
|
|
|
1085
1085
|
## Error Handling
|
|
1086
1086
|
|
|
1087
1087
|
**Use 3-Tier Error System** defined in:
|
|
1088
|
-
📄 **[trinity/templates/documentation/processes/error-handling-protocol.md](trinity/templates/documentation/processes/error-handling-protocol.md)**
|
|
1088
|
+
📄 **[.claude/trinity/templates/documentation/processes/error-handling-protocol.md](.claude/trinity/templates/documentation/processes/error-handling-protocol.md)**
|
|
1089
1089
|
|
|
1090
1090
|
- **Tier 1 (ABORT):** JUNO report missing, component verification failed, write permission denied
|
|
1091
1091
|
- **Tier 2 (WARN):** JUNO incomplete, database schema missing, API endpoints not found
|
|
@@ -1096,7 +1096,7 @@ Follow the **5-Phase APO Workflow** defined in:
|
|
|
1096
1096
|
## APO-1 Specific Tasks
|
|
1097
1097
|
|
|
1098
1098
|
**See detailed instructions in:**
|
|
1099
|
-
📄 **[trinity/templates/documentation/processes/apo-diagram-specific.md](trinity/templates/documentation/processes/apo-diagram-specific.md)**
|
|
1099
|
+
📄 **[.claude/trinity/templates/documentation/processes/apo-diagram-specific.md](.claude/trinity/templates/documentation/processes/apo-diagram-specific.md)**
|
|
1100
1100
|
|
|
1101
1101
|
### Diagrams to Generate:
|
|
1102
1102
|
|
|
@@ -1119,9 +1119,9 @@ Follow the **5-Phase APO Workflow** defined in:
|
|
|
1119
1119
|
**If JUNO report incomplete** (`global.trinity_docs_session.juno_incomplete === true`):
|
|
1120
1120
|
|
|
1121
1121
|
**Use discovery templates for direct codebase analysis:**
|
|
1122
|
-
- 📄 **Framework Detection:** [trinity/templates/documentation/discovery/framework-detection.md](trinity/templates/documentation/discovery/framework-detection.md)
|
|
1123
|
-
- 📄 **Component Discovery:** [trinity/templates/documentation/discovery/component-discovery.md](trinity/templates/documentation/discovery/component-discovery.md)
|
|
1124
|
-
- 📄 **API Endpoint Scanner:** [trinity/templates/documentation/discovery/api-endpoint-scanner.md](trinity/templates/documentation/discovery/api-endpoint-scanner.md)
|
|
1122
|
+
- 📄 **Framework Detection:** [.claude/trinity/templates/documentation/discovery/framework-detection.md](.claude/trinity/templates/documentation/discovery/framework-detection.md)
|
|
1123
|
+
- 📄 **Component Discovery:** [.claude/trinity/templates/documentation/discovery/component-discovery.md](.claude/trinity/templates/documentation/discovery/component-discovery.md)
|
|
1124
|
+
- 📄 **API Endpoint Scanner:** [.claude/trinity/templates/documentation/discovery/api-endpoint-scanner.md](.claude/trinity/templates/documentation/discovery/api-endpoint-scanner.md)
|
|
1125
1125
|
|
|
1126
1126
|
**Example Fallback:**
|
|
1127
1127
|
\`\`\`javascript
|
|
@@ -1130,7 +1130,7 @@ if (global.trinity_docs_session.juno_incomplete) {
|
|
|
1130
1130
|
LOG: "JUNO report incomplete - using direct codebase analysis";
|
|
1131
1131
|
|
|
1132
1132
|
// Use discovery templates to extract missing data
|
|
1133
|
-
// See trinity/templates/documentation/processes/apo-diagram-specific.md for patterns
|
|
1133
|
+
// See .claude/trinity/templates/documentation/processes/apo-diagram-specific.md for patterns
|
|
1134
1134
|
}
|
|
1135
1135
|
\`\`\`
|
|
1136
1136
|
|
|
@@ -1171,7 +1171,7 @@ LOG: \`✅ All $\{juno_components.length} components verified in codebase\`;
|
|
|
1171
1171
|
\`\`\`
|
|
1172
1172
|
|
|
1173
1173
|
**See full verification logic in:**
|
|
1174
|
-
📄 **[trinity/templates/documentation/processes/apo-diagram-specific.md](trinity/templates/documentation/processes/apo-diagram-specific.md)** (lines 277-315)
|
|
1174
|
+
📄 **[.claude/trinity/templates/documentation/processes/apo-diagram-specific.md](.claude/trinity/templates/documentation/processes/apo-diagram-specific.md)** (lines 277-315)
|
|
1175
1175
|
|
|
1176
1176
|
---
|
|
1177
1177
|
|
|
@@ -1179,7 +1179,7 @@ LOG: \`✅ All $\{juno_components.length} components verified in codebase\`;
|
|
|
1179
1179
|
|
|
1180
1180
|
**Run comprehensive self-validation** after generating diagrams:
|
|
1181
1181
|
|
|
1182
|
-
📄 **[trinity/templates/documentation/validation/apo-self-validation.md](trinity/templates/documentation/validation/apo-self-validation.md)** - APO-1 Checklist
|
|
1182
|
+
📄 **[.claude/trinity/templates/documentation/validation/apo-self-validation.md](.claude/trinity/templates/documentation/validation/apo-self-validation.md)** - APO-1 Checklist
|
|
1183
1183
|
|
|
1184
1184
|
**Key Checks:**
|
|
1185
1185
|
- [ ] All expected diagrams created (2-4 files depending on project type)
|
|
@@ -1191,7 +1191,7 @@ LOG: \`✅ All $\{juno_components.length} components verified in codebase\`;
|
|
|
1191
1191
|
- [ ] Mermaid syntax valid
|
|
1192
1192
|
|
|
1193
1193
|
**See validation template for implementation:**
|
|
1194
|
-
📄 **[trinity/templates/documentation/validation/apo-self-validation.md](trinity/templates/documentation/validation/apo-self-validation.md)** (APO-1 validation code)
|
|
1194
|
+
📄 **[.claude/trinity/templates/documentation/validation/apo-self-validation.md](.claude/trinity/templates/documentation/validation/apo-self-validation.md)** (APO-1 validation code)
|
|
1195
1195
|
|
|
1196
1196
|
---
|
|
1197
1197
|
|
|
@@ -1235,7 +1235,7 @@ Task({
|
|
|
1235
1235
|
## Workflow Overview
|
|
1236
1236
|
|
|
1237
1237
|
Follow the **5-Phase APO Workflow** defined in:
|
|
1238
|
-
📄 **[trinity/templates/documentation/processes/apo-workflow-common.md](trinity/templates/documentation/processes/apo-workflow-common.md)**
|
|
1238
|
+
📄 **[.claude/trinity/templates/documentation/processes/apo-workflow-common.md](.claude/trinity/templates/documentation/processes/apo-workflow-common.md)**
|
|
1239
1239
|
|
|
1240
1240
|
1. **Phase 1:** Read JUNO Report (\`global.trinity_docs_session.audit_report\`)
|
|
1241
1241
|
2. **Phase 2:** Extract Template Variables (from Section B)
|
|
@@ -1248,7 +1248,7 @@ Follow the **5-Phase APO Workflow** defined in:
|
|
|
1248
1248
|
## Error Handling
|
|
1249
1249
|
|
|
1250
1250
|
**Use 3-Tier Error System** defined in:
|
|
1251
|
-
📄 **[trinity/templates/documentation/processes/error-handling-protocol.md](trinity/templates/documentation/processes/error-handling-protocol.md)**
|
|
1251
|
+
📄 **[.claude/trinity/templates/documentation/processes/error-handling-protocol.md](.claude/trinity/templates/documentation/processes/error-handling-protocol.md)**
|
|
1252
1252
|
|
|
1253
1253
|
- **Tier 1 (ABORT):** JUNO report missing, cannot read templates, write permission denied
|
|
1254
1254
|
- **Tier 2 (WARN):** JUNO incomplete, test framework unknown, deployment platform uncertain
|
|
@@ -1259,7 +1259,7 @@ Follow the **5-Phase APO Workflow** defined in:
|
|
|
1259
1259
|
## APO-2 Specific Tasks
|
|
1260
1260
|
|
|
1261
1261
|
**See detailed instructions in:**
|
|
1262
|
-
📄 **[trinity/templates/documentation/processes/apo-guide-specific.md](trinity/templates/documentation/processes/apo-guide-specific.md)**
|
|
1262
|
+
📄 **[.claude/trinity/templates/documentation/processes/apo-guide-specific.md](.claude/trinity/templates/documentation/processes/apo-guide-specific.md)**
|
|
1263
1263
|
|
|
1264
1264
|
### Guides to Generate:
|
|
1265
1265
|
|
|
@@ -1286,8 +1286,8 @@ Follow the **5-Phase APO Workflow** defined in:
|
|
|
1286
1286
|
**If JUNO report incomplete** (\`global.trinity_docs_session.juno_incomplete === true\`):
|
|
1287
1287
|
|
|
1288
1288
|
**Use discovery templates for direct analysis:**
|
|
1289
|
-
- 📄 **Framework Detection:** [trinity/templates/documentation/discovery/framework-detection.md](trinity/templates/documentation/discovery/framework-detection.md)
|
|
1290
|
-
- 📄 **API Endpoint Scanner:** [trinity/templates/documentation/discovery/api-endpoint-scanner.md](trinity/templates/documentation/discovery/api-endpoint-scanner.md)
|
|
1289
|
+
- 📄 **Framework Detection:** [.claude/trinity/templates/documentation/discovery/framework-detection.md](.claude/trinity/templates/documentation/discovery/framework-detection.md)
|
|
1290
|
+
- 📄 **API Endpoint Scanner:** [.claude/trinity/templates/documentation/discovery/api-endpoint-scanner.md](.claude/trinity/templates/documentation/discovery/api-endpoint-scanner.md)
|
|
1291
1291
|
|
|
1292
1292
|
**Example Fallback:**
|
|
1293
1293
|
\\\`\\\`\\\`javascript
|
|
@@ -1305,13 +1305,13 @@ if (global.trinity_docs_session.juno_incomplete) {
|
|
|
1305
1305
|
\\\`\\\`\\\`
|
|
1306
1306
|
|
|
1307
1307
|
**See full fallback patterns in:**
|
|
1308
|
-
📄 **[trinity/templates/documentation/processes/apo-guide-specific.md](trinity/templates/documentation/processes/apo-guide-specific.md)** (lines 150-237)
|
|
1308
|
+
📄 **[.claude/trinity/templates/documentation/processes/apo-guide-specific.md](.claude/trinity/templates/documentation/processes/apo-guide-specific.md)** (lines 150-237)
|
|
1309
1309
|
|
|
1310
1310
|
---
|
|
1311
1311
|
|
|
1312
1312
|
## Template Processing
|
|
1313
1313
|
|
|
1314
|
-
**Read templates from:**
|
|
1314
|
+
**Read templates from:** \`.claude/trinity/templates/documentation/guides/\`
|
|
1315
1315
|
|
|
1316
1316
|
**Process each template:**
|
|
1317
1317
|
1. Read template content
|
|
@@ -1321,7 +1321,7 @@ if (global.trinity_docs_session.juno_incomplete) {
|
|
|
1321
1321
|
|
|
1322
1322
|
**Example:**
|
|
1323
1323
|
\\\`\\\`\\\`javascript
|
|
1324
|
-
const template = Read('trinity/templates/documentation/guides/getting-started.md');
|
|
1324
|
+
const template = Read('.claude/trinity/templates/documentation/guides/getting-started.md');
|
|
1325
1325
|
|
|
1326
1326
|
let output = template
|
|
1327
1327
|
.replace(/{{PROJECT_NAME}}/g, variables.PROJECT_NAME)
|
|
@@ -1343,7 +1343,7 @@ Write('docs/guides/getting-started.md', output);
|
|
|
1343
1343
|
|
|
1344
1344
|
**Run comprehensive self-validation** after generating guides:
|
|
1345
1345
|
|
|
1346
|
-
📄 **[trinity/templates/documentation/validation/apo-self-validation.md](trinity/templates/documentation/validation/apo-self-validation.md)** - APO-2 Checklist
|
|
1346
|
+
📄 **[.claude/trinity/templates/documentation/validation/apo-self-validation.md](.claude/trinity/templates/documentation/validation/apo-self-validation.md)** - APO-2 Checklist
|
|
1347
1347
|
|
|
1348
1348
|
**Key Checks:**
|
|
1349
1349
|
- [ ] All expected guides created (4-5 files depending on project type)
|
|
@@ -1355,7 +1355,7 @@ Write('docs/guides/getting-started.md', output);
|
|
|
1355
1355
|
- [ ] Framework-specific examples accurate
|
|
1356
1356
|
|
|
1357
1357
|
**See validation template for implementation:**
|
|
1358
|
-
📄 **[trinity/templates/documentation/validation/apo-self-validation.md](trinity/templates/documentation/validation/apo-self-validation.md)** (APO-2 validation code)
|
|
1358
|
+
📄 **[.claude/trinity/templates/documentation/validation/apo-self-validation.md](.claude/trinity/templates/documentation/validation/apo-self-validation.md)** (APO-2 validation code)
|
|
1359
1359
|
|
|
1360
1360
|
---
|
|
1361
1361
|
|
|
@@ -1400,7 +1400,7 @@ Task({
|
|
|
1400
1400
|
## Workflow Overview
|
|
1401
1401
|
|
|
1402
1402
|
Follow the **5-Phase APO Workflow** defined in:
|
|
1403
|
-
📄 **[trinity/templates/documentation/processes/apo-workflow-common.md](trinity/templates/documentation/processes/apo-workflow-common.md)**
|
|
1403
|
+
📄 **[.claude/trinity/templates/documentation/processes/apo-workflow-common.md](.claude/trinity/templates/documentation/processes/apo-workflow-common.md)**
|
|
1404
1404
|
|
|
1405
1405
|
1. **Phase 1:** Read JUNO Report (\`global.trinity_docs_session.audit_report\`)
|
|
1406
1406
|
2. **Phase 2:** Extract Template Variables (from Section C)
|
|
@@ -1413,7 +1413,7 @@ Follow the **5-Phase APO Workflow** defined in:
|
|
|
1413
1413
|
## Error Handling
|
|
1414
1414
|
|
|
1415
1415
|
**Use 3-Tier Error System** defined in:
|
|
1416
|
-
📄 **[trinity/templates/documentation/processes/error-handling-protocol.md](trinity/templates/documentation/processes/error-handling-protocol.md)**
|
|
1416
|
+
📄 **[.claude/trinity/templates/documentation/processes/error-handling-protocol.md](.claude/trinity/templates/documentation/processes/error-handling-protocol.md)**
|
|
1417
1417
|
|
|
1418
1418
|
- **Tier 1 (ABORT):** JUNO report missing, write permission denied, **SECURITY VIOLATION** (real secrets detected)
|
|
1419
1419
|
- **Tier 2 (WARN):** No environment variables discovered, README.md doesn't exist
|
|
@@ -1424,7 +1424,7 @@ Follow the **5-Phase APO Workflow** defined in:
|
|
|
1424
1424
|
## APO-3 Specific Tasks
|
|
1425
1425
|
|
|
1426
1426
|
**See detailed instructions in:**
|
|
1427
|
-
📄 **[trinity/templates/documentation/processes/apo-config-specific.md](trinity/templates/documentation/processes/apo-config-specific.md)**
|
|
1427
|
+
📄 **[.claude/trinity/templates/documentation/processes/apo-config-specific.md](.claude/trinity/templates/documentation/processes/apo-config-specific.md)**
|
|
1428
1428
|
|
|
1429
1429
|
### Files to Generate:
|
|
1430
1430
|
|
|
@@ -1475,7 +1475,7 @@ LOG: "✅ Security check passed: No real secrets in .env.example";
|
|
|
1475
1475
|
\\\`\\\`\\\`
|
|
1476
1476
|
|
|
1477
1477
|
**See full security validation in:**
|
|
1478
|
-
📄 **[trinity/templates/documentation/processes/apo-config-specific.md](trinity/templates/documentation/processes/apo-config-specific.md)** (lines 61-78)
|
|
1478
|
+
📄 **[.claude/trinity/templates/documentation/processes/apo-config-specific.md](.claude/trinity/templates/documentation/processes/apo-config-specific.md)** (lines 61-78)
|
|
1479
1479
|
|
|
1480
1480
|
---
|
|
1481
1481
|
|
|
@@ -1484,7 +1484,7 @@ LOG: "✅ Security check passed: No real secrets in .env.example";
|
|
|
1484
1484
|
**If JUNO report incomplete** (\`global.trinity_docs_session.juno_incomplete === true\`):
|
|
1485
1485
|
|
|
1486
1486
|
**Use discovery template for direct analysis:**
|
|
1487
|
-
- 📄 **Env Variable Extraction:** [trinity/templates/documentation/discovery/env-variable-extraction.md](trinity/templates/documentation/discovery/env-variable-extraction.md)
|
|
1487
|
+
- 📄 **Env Variable Extraction:** [.claude/trinity/templates/documentation/discovery/env-variable-extraction.md](.claude/trinity/templates/documentation/discovery/env-variable-extraction.md)
|
|
1488
1488
|
|
|
1489
1489
|
**Example Fallback:**
|
|
1490
1490
|
\\\`\\\`\\\`javascript
|
|
@@ -1579,7 +1579,7 @@ Complete documentation is available in the [\\\`docs/\\\`](docs/) directory:
|
|
|
1579
1579
|
|
|
1580
1580
|
**Run comprehensive self-validation** after generating config files:
|
|
1581
1581
|
|
|
1582
|
-
📄 **[trinity/templates/documentation/validation/apo-self-validation.md](trinity/templates/documentation/validation/apo-self-validation.md)** - APO-3 Checklist
|
|
1582
|
+
📄 **[.claude/trinity/templates/documentation/validation/apo-self-validation.md](.claude/trinity/templates/documentation/validation/apo-self-validation.md)** - APO-3 Checklist
|
|
1583
1583
|
|
|
1584
1584
|
**Key Checks:**
|
|
1585
1585
|
- [ ] .env.example created with ≥5 variables (or all discovered)
|
|
@@ -1591,7 +1591,7 @@ Complete documentation is available in the [\\\`docs/\\\`](docs/) directory:
|
|
|
1591
1591
|
- [ ] Configuration section added with .env instructions
|
|
1592
1592
|
|
|
1593
1593
|
**See validation template for implementation:**
|
|
1594
|
-
📄 **[trinity/templates/documentation/validation/apo-self-validation.md](trinity/templates/documentation/validation/apo-self-validation.md)** (APO-3 validation code with security checks)
|
|
1594
|
+
📄 **[.claude/trinity/templates/documentation/validation/apo-self-validation.md](.claude/trinity/templates/documentation/validation/apo-self-validation.md)** (APO-3 validation code with security checks)
|
|
1595
1595
|
|
|
1596
1596
|
---
|
|
1597
1597
|
|
|
@@ -1678,7 +1678,7 @@ LOG: "";
|
|
|
1678
1678
|
LOG: "Checking if all expected files were created...";
|
|
1679
1679
|
LOG: "";
|
|
1680
1680
|
|
|
1681
|
-
// See trinity/templates/documentation/configuration/documentation-structure.md for verification patterns
|
|
1681
|
+
// See .claude/trinity/templates/documentation/configuration/documentation-structure.md for verification patterns
|
|
1682
1682
|
const diagram_files = Glob({pattern: "docs/images/*.md"});
|
|
1683
1683
|
const guide_files = Glob({pattern: "docs/guides/*.md"});
|
|
1684
1684
|
const api_doc_files = Glob({pattern: "docs/api/*.md"});
|
|
@@ -2331,7 +2331,7 @@ LOG: "Generating verification report...";
|
|
|
2331
2331
|
LOG: "";
|
|
2332
2332
|
|
|
2333
2333
|
const timestamp = new Date().toISOString().replace(/[:.]/g, '-').slice(0, -5);
|
|
2334
|
-
const report_path =
|
|
2334
|
+
const report_path = `.claude/trinity/reports/VERIFICATION-REPORT-${timestamp}.md`;
|
|
2335
2335
|
|
|
2336
2336
|
// Rec 15: Performance timing variables (estimated for individual phases)
|
|
2337
2337
|
const apo1_time = "N/A"; // Individual APO times not tracked (parallel execution)
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
**Use Case:** Create missing READMEs, update existing READMEs with current codebase reality, fix inaccuracies.
|
|
10
10
|
|
|
11
|
-
**Deliverable:** README audit report in
|
|
11
|
+
**Deliverable:** README audit report in `.claude/trinity/reports/README-AUDIT-{date}.md`
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
@@ -79,7 +79,7 @@ The `/trinity-readme` command invokes APO (Documentation Specialist) to manage R
|
|
|
79
79
|
|
|
80
80
|
Before finalizing any README, verify:
|
|
81
81
|
|
|
82
|
-
- [ ] No trinity/ directory in file tree
|
|
82
|
+
- [ ] No .claude/trinity/ directory in file tree
|
|
83
83
|
- [ ] No .claude/ directory in file tree
|
|
84
84
|
- [ ] No Trinity commands documented (unless project IS Trinity Method)
|
|
85
85
|
- [ ] No references to Trinity agents (MON, ROR, KIL, etc.)
|
|
@@ -89,7 +89,7 @@ Before finalizing any README, verify:
|
|
|
89
89
|
**Verification Command:**
|
|
90
90
|
```bash
|
|
91
91
|
# Check for forbidden Trinity references in README
|
|
92
|
-
grep -i "trinity/" README.md && echo "❌ VIOLATION: Documents trinity/ directory"
|
|
92
|
+
grep -i ".claude/trinity/" README.md && echo "❌ VIOLATION: Documents .claude/trinity/ directory"
|
|
93
93
|
grep -i "\.claude/" README.md && echo "❌ VIOLATION: Documents .claude/ directory"
|
|
94
94
|
grep -i "/trinity-" README.md && echo "❌ VIOLATION: Documents Trinity commands"
|
|
95
95
|
```
|
|
@@ -333,7 +333,7 @@ filtered_directories = []
|
|
|
333
333
|
|
|
334
334
|
for each directory in all_directories:
|
|
335
335
|
# ALWAYS skip Trinity infrastructure
|
|
336
|
-
if directory.includes("trinity/") or directory.includes(".claude/"):
|
|
336
|
+
if directory.includes(".claude/trinity/") or directory.includes(".claude/"):
|
|
337
337
|
echo "SKIP: $directory (Trinity infrastructure - never document)"
|
|
338
338
|
continue
|
|
339
339
|
|
|
@@ -351,23 +351,23 @@ done
|
|
|
351
351
|
|
|
352
352
|
**Trinity Detection Warning:**
|
|
353
353
|
|
|
354
|
-
If you detect trinity/ or .claude/ directories during Phase 1:
|
|
354
|
+
If you detect .claude/trinity/ or .claude/ directories during Phase 1:
|
|
355
355
|
|
|
356
|
-
1. **Acknowledge detection:** "Detected Trinity Method infrastructure (trinity/ directory found)"
|
|
357
|
-
2. **Skip documentation:** Do NOT include trinity/ in file tree or README content
|
|
356
|
+
1. **Acknowledge detection:** "Detected Trinity Method infrastructure (.claude/trinity/ directory found)"
|
|
357
|
+
2. **Skip documentation:** Do NOT include .claude/trinity/ in file tree or README content
|
|
358
358
|
3. **Skip template:** Do NOT use Trinity-specific templates
|
|
359
359
|
4. **Continue normally:** Process other directories (backend/, frontend/, etc.)
|
|
360
360
|
|
|
361
361
|
**Example Output:**
|
|
362
362
|
```
|
|
363
|
-
✓ Detected directories: backend/, frontend/, docs/, trinity/
|
|
363
|
+
✓ Detected directories: backend/, frontend/, docs/, .claude/trinity/
|
|
364
364
|
✓ Filtering Trinity infrastructure and gitignored directories...
|
|
365
|
-
- trinity/ (Trinity infrastructure) → SKIP
|
|
365
|
+
- .claude/trinity/ (Trinity infrastructure) → SKIP
|
|
366
366
|
- .claude/ (Trinity infrastructure) → SKIP
|
|
367
367
|
✓ Final directories to document: backend/, frontend/, docs/
|
|
368
368
|
```
|
|
369
369
|
|
|
370
|
-
**Rule:** Trinity infrastructure (trinity/, .claude/) is ALWAYS excluded from user-facing READMEs, even if not gitignored.
|
|
370
|
+
**Rule:** Trinity infrastructure (.claude/trinity/, .claude/) is ALWAYS excluded from user-facing READMEs, even if not gitignored.
|
|
371
371
|
|
|
372
372
|
**Step 5: Report Complete Inventory (Using Validated Count)**
|
|
373
373
|
|
|
@@ -424,7 +424,7 @@ APO MUST answer ALL checklist items:
|
|
|
424
424
|
|
|
425
425
|
6. **Project Structure Sanity:**
|
|
426
426
|
- For project with backend/, frontend/, database/, do I expect nested CLAUDE.md files? ✅ YES | ❌ NO
|
|
427
|
-
- Do I see trinity/ or .claude/ directories? ⚠️ IGNORE (methodology infrastructure, not project code)
|
|
427
|
+
- Do I see .claude/trinity/ or .claude/ directories? ⚠️ IGNORE (methodology infrastructure, not project code)
|
|
428
428
|
- If YES but none found: Re-run Glob with explicit paths
|
|
429
429
|
|
|
430
430
|
**Self-Verification Action:**
|
|
@@ -438,7 +438,7 @@ IF any critical item = ❌ NO:
|
|
|
438
438
|
- lib/**/CLAUDE.md
|
|
439
439
|
Merge results and re-validate
|
|
440
440
|
|
|
441
|
-
**Note:** Do NOT include trinity/ or .claude/ patterns - these are methodology infrastructure.
|
|
441
|
+
**Note:** Do NOT include .claude/trinity/ or .claude/ patterns - these are methodology infrastructure.
|
|
442
442
|
|
|
443
443
|
**Checklist Completion:** ✅ 6/6 items verified
|
|
444
444
|
```
|
|
@@ -625,7 +625,7 @@ Check all documentation links in root README.md work:
|
|
|
625
625
|
|
|
626
626
|
If JUNO audit report exists, cross-reference root README.md claims:
|
|
627
627
|
|
|
628
|
-
1. Read
|
|
628
|
+
1. Read `.claude/trinity/reports/CODEBASE-AUDIT-{latest}.md`
|
|
629
629
|
2. Extract actual counts (files, components, tests, etc.)
|
|
630
630
|
3. Use audit findings as source of truth for root README.md
|
|
631
631
|
4. Identify inaccuracies in root README.md for Phase 2.5 commitment
|
|
@@ -1839,7 +1839,7 @@ All directories with CLAUDE.md have README.md files.
|
|
|
1839
1839
|
|
|
1840
1840
|
### Phase 7: README Audit Report
|
|
1841
1841
|
|
|
1842
|
-
**APO Generates:**
|
|
1842
|
+
**APO Generates:** `.claude/trinity/reports/README-AUDIT-{date}.md`
|
|
1843
1843
|
|
|
1844
1844
|
**CRITICAL: Report MUST document COMPLETED work, not future recommendations.**
|
|
1845
1845
|
|
|
@@ -2027,7 +2027,7 @@ OR
|
|
|
2027
2027
|
---
|
|
2028
2028
|
|
|
2029
2029
|
**Report Generated:** {timestamp}
|
|
2030
|
-
**Report Location:** trinity/reports/README-AUDIT-{date}.md
|
|
2030
|
+
**Report Location:** .claude/trinity/reports/README-AUDIT-{date}.md
|
|
2031
2031
|
```
|
|
2032
2032
|
|
|
2033
2033
|
---
|
|
@@ -2090,7 +2090,7 @@ If Phase 6 validation shows coverage < 100%, status = ❌ FAILED even if Phase 4
|
|
|
2090
2090
|
|
|
2091
2091
|
**After `/trinity-readme` completes, verify:**
|
|
2092
2092
|
|
|
2093
|
-
1. ✅ Check final report in
|
|
2093
|
+
1. ✅ Check final report in `.claude/trinity/reports/README-AUDIT-{date}.md`
|
|
2094
2094
|
2. ✅ Verify coverage = 100% in report
|
|
2095
2095
|
3. ✅ Verify all Phase 2.5 fixes show "✅ FIXED" status
|
|
2096
2096
|
4. ✅ Verify all checkpoints show "✅ PASSED"
|