trinity-method-sdk 2.0.9 → 2.1.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 +200 -0
- package/README.md +33 -34
- package/dist/cli/commands/deploy/agents.js +1 -1
- package/dist/cli/commands/deploy/claude-setup.js +28 -35
- package/dist/cli/commands/deploy/index.js +1 -1
- package/dist/cli/commands/deploy/knowledge-base.js +1 -1
- package/dist/cli/commands/deploy/root-files.js +1 -1
- package/dist/cli/commands/deploy/sdk-install.js +1 -1
- package/dist/cli/commands/deploy/templates.js +29 -16
- package/dist/cli/commands/update/agents.js +1 -1
- 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 +1 -1
- package/dist/cli/commands/update/templates.js +34 -12
- package/dist/cli/utils/deploy-linting.js +1 -1
- package/dist/cli/utils/template-processor.js +1 -1
- package/dist/templates/{agents → .claude/agents}/aj-team/apo-documentation-specialist.md.template +3 -3
- package/dist/templates/{agents → .claude/agents}/aj-team/bas-quality-gate.md.template +5 -7
- 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 +5 -7
- package/dist/templates/{agents → .claude/agents}/aj-team/kil-task-executor.md.template +5 -7
- 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 +7 -2
- package/dist/templates/{agents → .claude/agents}/deployment/ein-cicd.md.template +3 -5
- package/dist/templates/{agents → .claude/agents}/deployment/ino-context.md.template +4 -1
- package/dist/templates/{agents → .claude/agents}/deployment/tan-structure.md.template +4 -1
- package/dist/templates/{agents → .claude/agents}/deployment/zen-knowledge.md.template +6 -0
- package/dist/templates/{agents → .claude/agents}/leadership/aj-cc.md.template +6 -1
- package/dist/templates/{agents → .claude/agents}/leadership/aj-maestro.md.template +4 -0
- package/dist/templates/{agents → .claude/agents}/leadership/aly-cto.md.template +5 -1
- package/dist/templates/{agents → .claude/agents}/planning/eus-decomposer.md.template +4 -0
- package/dist/templates/{agents → .claude/agents}/planning/mon-requirements.md.template +4 -0
- package/dist/templates/{agents → .claude/agents}/planning/ror-design.md.template +4 -0
- package/dist/templates/{agents → .claude/agents}/planning/tra-planner.md.template +6 -0
- package/dist/templates/{shared/claude-commands → .claude/commands/execution}/trinity-audit.md.template +6 -6
- package/dist/templates/{shared/claude-commands → .claude/commands/execution}/trinity-orchestrate.md.template +5 -5
- package/dist/templates/{shared/claude-commands → .claude/commands/infrastructure}/trinity-init.md.template +12 -11
- package/dist/templates/{shared/claude-commands → .claude/commands/investigation}/trinity-create-investigation.md.template +8 -2
- package/dist/templates/{shared/claude-commands → .claude/commands/investigation}/trinity-investigate-templates.md.template +9 -5
- package/dist/templates/{shared/claude-commands → .claude/commands/investigation}/trinity-plan-investigation.md.template +11 -5
- package/dist/templates/{shared/claude-commands → .claude/commands/maintenance}/trinity-changelog.md.template +5 -4
- 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 +5 -4
- 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 +8 -2
- 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 +8 -2
- package/dist/templates/{shared/claude-commands → .claude/commands/utility}/trinity-agents.md.template +8 -2
- package/dist/templates/{shared/claude-commands → .claude/commands/utility}/trinity-verify.md.template +8 -3
- package/dist/templates/{shared/claude-commands → .claude/commands/utility}/trinity-workorder.md.template +8 -4
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/templates/{knowledge-base → trinity/knowledge-base}/To-do.md.template +1 -1
- package/dist/templates/{knowledge-base → trinity/knowledge-base}/Trinity.md.template +1 -1
- 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/{work-orders → trinity/templates/work-orders}/ANALYSIS-TEMPLATE.md.template +0 -3
- package/dist/templates/{work-orders → trinity/templates/work-orders}/AUDIT-TEMPLATE.md.template +0 -16
- package/dist/templates/{work-orders → trinity/templates/work-orders}/IMPLEMENTATION-TEMPLATE.md.template +0 -16
- package/dist/templates/{work-orders → trinity/templates/work-orders}/INVESTIGATION-TEMPLATE.md.template +0 -15
- package/dist/templates/{work-orders → trinity/templates/work-orders}/PATTERN-TEMPLATE.md.template +0 -16
- package/dist/templates/{work-orders → trinity/templates/work-orders}/VERIFICATION-TEMPLATE.md.template +0 -16
- package/package.json +1 -1
- package/dist/templates/shared/claude-commands/trinity-docs.md.template +0 -2577
- /package/dist/templates/{claude → .claude}/EMPLOYEE-DIRECTORY.md.template +0 -0
- /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
- /package/dist/templates/{investigations → trinity/templates/investigations}/bug.md.template +0 -0
- /package/dist/templates/{investigations → trinity/templates/investigations}/feature.md.template +0 -0
- /package/dist/templates/{investigations → trinity/templates/investigations}/performance.md.template +0 -0
- /package/dist/templates/{investigations → trinity/templates/investigations}/security.md.template +0 -0
- /package/dist/templates/{investigations → trinity/templates/investigations}/technical.md.template +0 -0
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# Trinity README Management
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**Command:** `/execution:trinity-readme`
|
|
4
|
+
**Purpose:** Launch APO (Documentation Specialist) to ensure 100% CLAUDE.md → README.md coverage with accurate content
|
|
5
|
+
**Architecture:** APO 5-phase process (Discovery → Audit → Update → Create → Report)
|
|
6
|
+
**Trinity Version:** 2.1.0
|
|
7
|
+
**Last Updated:** 2026-01-21
|
|
4
8
|
|
|
5
9
|
**Use Case:** Create missing READMEs, update existing READMEs with current codebase reality, fix inaccuracies.
|
|
6
10
|
|
|
@@ -2098,6 +2102,3 @@ If Phase 6 validation shows coverage < 100%, status = ❌ FAILED even if Phase 4
|
|
|
2098
2102
|
- Re-run command if failures detected
|
|
2099
2103
|
|
|
2100
2104
|
---
|
|
2101
|
-
|
|
2102
|
-
** Trinity Version:** 2.0.9
|
|
2103
|
-
**Last Updated:** 2026-01-12
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Decompose work into atomic tasks using EUS (Task Decomposer)
|
|
3
|
-
---
|
|
4
|
-
|
|
5
1
|
# Trinity Task Decomposition - EUS
|
|
6
2
|
|
|
3
|
+
**Command:** `/planning:trinity-decompose`
|
|
4
|
+
**Purpose:** Decompose work into atomic tasks using EUS (Task Decomposer)
|
|
5
|
+
**Architecture:** EUS task breakdown → Atomic task validation → TDD cycle planning
|
|
6
|
+
**Trinity Version:** 2.1.0
|
|
7
|
+
**Last Updated:** 2026-01-21
|
|
8
|
+
|
|
7
9
|
**Agent:** EUS (Task Decomposer)
|
|
8
10
|
**Role:** Break work into atomic tasks following "1 task = 1 commit" rule
|
|
9
11
|
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Create technical design using ROR (Design Architect)
|
|
3
|
-
---
|
|
4
|
-
|
|
5
1
|
# Trinity Technical Design - ROR
|
|
6
2
|
|
|
3
|
+
**Command:** `/planning:trinity-design`
|
|
4
|
+
**Purpose:** Create technical design using ROR (Design Architect)
|
|
5
|
+
**Architecture:** ROR design doc creation → ADR generation → Architecture definition
|
|
6
|
+
**Trinity Version:** 2.1.0
|
|
7
|
+
**Last Updated:** 2026-01-21
|
|
8
|
+
|
|
7
9
|
**Agent:** ROR (Design Architect)
|
|
8
10
|
**Role:** Technical design, ADRs, and Design Doc creation
|
|
9
11
|
|
package/dist/templates/{shared/claude-commands → .claude/commands/planning}/trinity-plan.md.template
RENAMED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Create implementation plan using TRA (Work Planner)
|
|
3
|
-
---
|
|
4
|
-
|
|
5
1
|
# Trinity Work Planning - TRA
|
|
6
2
|
|
|
3
|
+
**Command:** `/planning:trinity-plan`
|
|
4
|
+
**Purpose:** Create implementation plan using TRA (Work Planner)
|
|
5
|
+
**Architecture:** TRA implementation sequencing → BAS quality gates → Timeline estimation
|
|
6
|
+
**Trinity Version:** 2.1.0
|
|
7
|
+
**Last Updated:** 2026-01-21
|
|
8
|
+
|
|
7
9
|
**Agent:** TRA (Work Planner)
|
|
8
10
|
**Role:** Implementation sequencing, BAS quality gates, and timeline estimation
|
|
9
11
|
|
|
@@ -153,7 +155,7 @@ Tasks must be sequential if:
|
|
|
153
155
|
Sequential (WRONG):
|
|
154
156
|
```
|
|
155
157
|
1. Create auth service → 2 hours
|
|
156
|
-
2. Create auth middleware → 1 hour
|
|
158
|
+
2. Create auth middleware → 1 hour
|
|
157
159
|
3. Add types → 30 min
|
|
158
160
|
4. Write tests → 2 hours
|
|
159
161
|
Total: 5.5 hours
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Analyze requirements using MON (Requirements Analyst)
|
|
3
|
-
---
|
|
4
|
-
|
|
5
1
|
# Trinity Requirements Analysis - MON
|
|
6
2
|
|
|
3
|
+
**Command:** `/planning:trinity-requirements`
|
|
4
|
+
**Purpose:** Analyze requirements using MON (Requirements Analyst)
|
|
5
|
+
**Architecture:** MON requirements analysis → Scale determination → Acceptance criteria definition
|
|
6
|
+
**Trinity Version:** 2.1.0
|
|
7
|
+
**Last Updated:** 2026-01-21
|
|
8
|
+
|
|
7
9
|
**Agent:** MON (Requirements Analyst)
|
|
8
10
|
**Role:** Scale determination, acceptance criteria, and requirements documentation
|
|
9
11
|
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# Trinity Continue
|
|
2
|
+
|
|
3
|
+
**Command:** `/session:trinity-continue`
|
|
4
|
+
**Purpose:** Resume work after interruption (ALY reviews state)
|
|
5
|
+
**Architecture:** ALY session state review → Context restoration → Work resumption
|
|
6
|
+
**Trinity Version:** 2.1.0
|
|
7
|
+
**Last Updated:** 2026-01-21
|
|
8
|
+
|
|
3
9
|
---
|
|
4
10
|
|
|
5
11
|
Resume Trinity Method workflow after interruption.
|