trinity-method-sdk 2.0.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 +116 -0
- package/LICENSE +21 -0
- package/README.md +555 -0
- package/dist/cli/commands/deploy/agents.d.ts +14 -0
- package/dist/cli/commands/deploy/agents.js +59 -0
- package/dist/cli/commands/deploy/ci-cd.d.ts +13 -0
- package/dist/cli/commands/deploy/ci-cd.js +50 -0
- package/dist/cli/commands/deploy/claude-setup.d.ts +17 -0
- package/dist/cli/commands/deploy/claude-setup.js +91 -0
- package/dist/cli/commands/deploy/configuration.d.ts +13 -0
- package/dist/cli/commands/deploy/configuration.js +215 -0
- package/dist/cli/commands/deploy/directories.d.ts +12 -0
- package/dist/cli/commands/deploy/directories.js +38 -0
- package/dist/cli/commands/deploy/gitignore.d.ts +12 -0
- package/dist/cli/commands/deploy/gitignore.js +53 -0
- package/dist/cli/commands/deploy/index.d.ts +38 -0
- package/dist/cli/commands/deploy/index.js +156 -0
- package/dist/cli/commands/deploy/knowledge-base.d.ts +16 -0
- package/dist/cli/commands/deploy/knowledge-base.js +75 -0
- package/dist/cli/commands/deploy/linting.d.ts +18 -0
- package/dist/cli/commands/deploy/linting.js +51 -0
- package/dist/cli/commands/deploy/metrics.d.ts +13 -0
- package/dist/cli/commands/deploy/metrics.js +34 -0
- package/dist/cli/commands/deploy/pre-flight.d.ts +13 -0
- package/dist/cli/commands/deploy/pre-flight.js +29 -0
- package/dist/cli/commands/deploy/root-files.d.ts +16 -0
- package/dist/cli/commands/deploy/root-files.js +178 -0
- package/dist/cli/commands/deploy/sdk-install.d.ts +12 -0
- package/dist/cli/commands/deploy/sdk-install.js +57 -0
- package/dist/cli/commands/deploy/summary.d.ts +14 -0
- package/dist/cli/commands/deploy/summary.js +130 -0
- package/dist/cli/commands/deploy/templates.d.ts +14 -0
- package/dist/cli/commands/deploy/templates.js +84 -0
- package/dist/cli/commands/deploy/types.d.ts +39 -0
- package/dist/cli/commands/deploy/types.js +5 -0
- package/dist/cli/commands/update/agents.d.ts +14 -0
- package/dist/cli/commands/update/agents.js +31 -0
- package/dist/cli/commands/update/backup.d.ts +31 -0
- package/dist/cli/commands/update/backup.js +97 -0
- package/dist/cli/commands/update/commands.d.ts +14 -0
- package/dist/cli/commands/update/commands.js +75 -0
- package/dist/cli/commands/update/index.d.ts +15 -0
- package/dist/cli/commands/update/index.js +118 -0
- package/dist/cli/commands/update/knowledge-base.d.ts +14 -0
- package/dist/cli/commands/update/knowledge-base.js +38 -0
- package/dist/cli/commands/update/pre-flight.d.ts +13 -0
- package/dist/cli/commands/update/pre-flight.js +37 -0
- package/dist/cli/commands/update/summary.d.ts +20 -0
- package/dist/cli/commands/update/summary.js +47 -0
- package/dist/cli/commands/update/templates.d.ts +14 -0
- package/dist/cli/commands/update/templates.js +25 -0
- package/dist/cli/commands/update/types.d.ts +13 -0
- package/dist/cli/commands/update/types.js +7 -0
- package/dist/cli/commands/update/utils.d.ts +11 -0
- package/dist/cli/commands/update/utils.js +19 -0
- package/dist/cli/commands/update/verification.d.ts +20 -0
- package/dist/cli/commands/update/verification.js +54 -0
- package/dist/cli/commands/update/version.d.ts +18 -0
- package/dist/cli/commands/update/version.js +36 -0
- package/dist/cli/commands/update.d.ts +7 -0
- package/dist/cli/commands/update.js +7 -0
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.js +36 -0
- package/dist/cli/types.d.ts +77 -0
- package/dist/cli/types.js +5 -0
- package/dist/cli/utils/deploy-ci.d.ts +22 -0
- package/dist/cli/utils/deploy-ci.js +138 -0
- package/dist/cli/utils/deploy-linting.d.ts +3 -0
- package/dist/cli/utils/deploy-linting.js +136 -0
- package/dist/cli/utils/detect-stack.d.ts +3 -0
- package/dist/cli/utils/detect-stack.js +270 -0
- package/dist/cli/utils/error-classes.d.ts +63 -0
- package/dist/cli/utils/error-classes.js +84 -0
- package/dist/cli/utils/error-handler.d.ts +59 -0
- package/dist/cli/utils/error-handler.js +127 -0
- package/dist/cli/utils/errors.d.ts +52 -0
- package/dist/cli/utils/errors.js +102 -0
- package/dist/cli/utils/get-sdk-path.d.ts +18 -0
- package/dist/cli/utils/get-sdk-path.js +31 -0
- package/dist/cli/utils/inject-dependencies.d.ts +2 -0
- package/dist/cli/utils/inject-dependencies.js +55 -0
- package/dist/cli/utils/linting-tools.d.ts +8 -0
- package/dist/cli/utils/linting-tools.js +206 -0
- package/dist/cli/utils/metrics/code-quality.d.ts +32 -0
- package/dist/cli/utils/metrics/code-quality.js +122 -0
- package/dist/cli/utils/metrics/dependency-parser.d.ts +21 -0
- package/dist/cli/utils/metrics/dependency-parser.js +153 -0
- package/dist/cli/utils/metrics/file-complexity.d.ts +26 -0
- package/dist/cli/utils/metrics/file-complexity.js +77 -0
- package/dist/cli/utils/metrics/framework-detector.d.ts +17 -0
- package/dist/cli/utils/metrics/framework-detector.js +120 -0
- package/dist/cli/utils/metrics/git-metrics.d.ts +30 -0
- package/dist/cli/utils/metrics/git-metrics.js +83 -0
- package/dist/cli/utils/metrics/index.d.ts +28 -0
- package/dist/cli/utils/metrics/index.js +100 -0
- package/dist/cli/utils/template-processor.d.ts +10 -0
- package/dist/cli/utils/template-processor.js +188 -0
- package/dist/cli/utils/validate-path.d.ts +80 -0
- package/dist/cli/utils/validate-path.js +180 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +8 -0
- package/dist/templates/agents/aj-team/apo-documentation-specialist.md.template +572 -0
- package/dist/templates/agents/aj-team/bas-quality-gate.md.template +906 -0
- package/dist/templates/agents/aj-team/bon-dependency-manager.md.template +636 -0
- package/dist/templates/agents/aj-team/cap-configuration-specialist.md.template +670 -0
- package/dist/templates/agents/aj-team/dra-code-reviewer.md.template +768 -0
- package/dist/templates/agents/aj-team/kil-task-executor.md.template +764 -0
- package/dist/templates/agents/aj-team/uro-refactoring-specialist.md.template +759 -0
- package/dist/templates/agents/audit/juno-auditor.md.template +447 -0
- package/dist/templates/agents/deployment/ein-cicd.md.template +694 -0
- package/dist/templates/agents/deployment/ino-context.md.template +733 -0
- package/dist/templates/agents/deployment/tan-structure.md.template +661 -0
- package/dist/templates/agents/deployment/zen-knowledge.md.template +451 -0
- package/dist/templates/agents/leadership/aj-cc.md.template +462 -0
- package/dist/templates/agents/leadership/aj-maestro.md.template +943 -0
- package/dist/templates/agents/leadership/aly-cto.md.template +407 -0
- package/dist/templates/agents/planning/eus-decomposer.md.template +496 -0
- package/dist/templates/agents/planning/mon-requirements.md.template +323 -0
- package/dist/templates/agents/planning/ror-design.md.template +465 -0
- package/dist/templates/agents/planning/tra-planner.md.template +432 -0
- package/dist/templates/ci/cd.yml.template +175 -0
- package/dist/templates/ci/ci.yml.template +196 -0
- package/dist/templates/ci/generic-ci.yml +115 -0
- package/dist/templates/ci/github-actions.yml +86 -0
- package/dist/templates/ci/gitlab-ci.yml +103 -0
- package/dist/templates/claude/EMPLOYEE-DIRECTORY.md.template +545 -0
- package/dist/templates/documentation/ROOT-README.md.template +307 -0
- package/dist/templates/documentation/SUBDIRECTORY-README.md.template +261 -0
- package/dist/templates/investigations/bug.md.template +484 -0
- package/dist/templates/investigations/feature.md.template +564 -0
- package/dist/templates/investigations/performance.md.template +625 -0
- package/dist/templates/investigations/security.md.template +714 -0
- package/dist/templates/investigations/technical.md.template +433 -0
- package/dist/templates/knowledge-base/AI-DEVELOPMENT-GUIDE.md.template +957 -0
- package/dist/templates/knowledge-base/ARCHITECTURE.md.template +452 -0
- package/dist/templates/knowledge-base/CODING-PRINCIPLES.md.template +750 -0
- package/dist/templates/knowledge-base/DOCUMENTATION-CRITERIA.md.template +1118 -0
- package/dist/templates/knowledge-base/ISSUES.md.template +539 -0
- package/dist/templates/knowledge-base/TESTING-PRINCIPLES.md.template +894 -0
- package/dist/templates/knowledge-base/Technical-Debt.md.template +640 -0
- package/dist/templates/knowledge-base/To-do.md.template +407 -0
- package/dist/templates/knowledge-base/Trinity.md.template +464 -0
- package/dist/templates/linting/flutter/.pre-commit-config.yaml.template +27 -0
- package/dist/templates/linting/flutter/analysis_options.yaml.template +26 -0
- package/dist/templates/linting/nodejs/.eslintrc-commonjs.json.template +19 -0
- package/dist/templates/linting/nodejs/.eslintrc-esm.json.template +19 -0
- package/dist/templates/linting/nodejs/.eslintrc-typescript.json.template +22 -0
- package/dist/templates/linting/nodejs/.pre-commit-config.yaml.template +51 -0
- package/dist/templates/linting/nodejs/.prettierrc.json.template +10 -0
- package/dist/templates/linting/python/.flake8.template +16 -0
- package/dist/templates/linting/python/.pre-commit-config.yaml.template +30 -0
- package/dist/templates/linting/python/pyproject.toml.template +38 -0
- package/dist/templates/linting/rust/.pre-commit-config.yaml.template +28 -0
- package/dist/templates/linting/rust/clippy.toml.template +14 -0
- package/dist/templates/linting/rust/rustfmt.toml.template +12 -0
- package/dist/templates/root/CLAUDE.md.template +65 -0
- package/dist/templates/root/TRINITY.md.template +52 -0
- package/dist/templates/shared/claude-commands/trinity-agents.md.template +168 -0
- package/dist/templates/shared/claude-commands/trinity-audit.md.template +646 -0
- package/dist/templates/shared/claude-commands/trinity-changelog.md.template +624 -0
- package/dist/templates/shared/claude-commands/trinity-continue.md.template +549 -0
- package/dist/templates/shared/claude-commands/trinity-create-investigation.md.template +232 -0
- package/dist/templates/shared/claude-commands/trinity-decompose.md.template +181 -0
- package/dist/templates/shared/claude-commands/trinity-design.md.template +347 -0
- package/dist/templates/shared/claude-commands/trinity-docs.md.template +2093 -0
- package/dist/templates/shared/claude-commands/trinity-end.md.template +397 -0
- package/dist/templates/shared/claude-commands/trinity-init.md.template +606 -0
- package/dist/templates/shared/claude-commands/trinity-investigate-templates.md.template +725 -0
- package/dist/templates/shared/claude-commands/trinity-orchestrate.md.template +1061 -0
- package/dist/templates/shared/claude-commands/trinity-plan-investigation.md.template +135 -0
- package/dist/templates/shared/claude-commands/trinity-plan.md.template +201 -0
- package/dist/templates/shared/claude-commands/trinity-readme.md.template +1971 -0
- package/dist/templates/shared/claude-commands/trinity-requirements.md.template +148 -0
- package/dist/templates/shared/claude-commands/trinity-start.md.template +268 -0
- package/dist/templates/shared/claude-commands/trinity-verify.md.template +453 -0
- package/dist/templates/shared/claude-commands/trinity-workorder.md.template +249 -0
- package/dist/templates/source/base-CLAUDE.md.template +310 -0
- package/dist/templates/source/flutter-CLAUDE.md.template +593 -0
- package/dist/templates/source/nodejs-CLAUDE.md.template +531 -0
- package/dist/templates/source/python-CLAUDE.md.template +510 -0
- package/dist/templates/source/react-CLAUDE.md.template +513 -0
- package/dist/templates/source/rust-CLAUDE.md.template +653 -0
- package/dist/templates/source/tests-CLAUDE.md.template +432 -0
- package/dist/templates/trinity/CLAUDE.md.template +372 -0
- package/dist/templates/work-orders/ANALYSIS-TEMPLATE.md.template +276 -0
- package/dist/templates/work-orders/AUDIT-TEMPLATE.md.template +262 -0
- package/dist/templates/work-orders/IMPLEMENTATION-TEMPLATE.md.template +260 -0
- package/dist/templates/work-orders/INVESTIGATION-TEMPLATE.md.template +206 -0
- package/dist/templates/work-orders/PATTERN-TEMPLATE.md.template +320 -0
- package/dist/templates/work-orders/VERIFICATION-TEMPLATE.md.template +273 -0
- package/package.json +94 -0
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
# ORCHESTRATOR WORK ORDER #XXX
|
|
2
|
+
## Type: VERIFICATION
|
|
3
|
+
## [Verification Title]
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## AUTHORIZATION
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
TRINITY COUNCIL APPROVAL:
|
|
11
|
+
☑ LUKA: APPROVED - [Need for verification]
|
|
12
|
+
☑ TRINITY: APPROVED - [Verification approach]
|
|
13
|
+
☑ CC: PENDING - Awaiting your acknowledgment
|
|
14
|
+
|
|
15
|
+
STATUS: APPROVED FOR EXECUTION
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## MISSION OBJECTIVE
|
|
21
|
+
|
|
22
|
+
[Clear statement of what needs to be verified and why]
|
|
23
|
+
|
|
24
|
+
**Verification Target:** [What implementation/fix/change to verify]
|
|
25
|
+
**Source Work Order:** [Implementation #XXX that needs verification]
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## VERIFICATION SCOPE
|
|
30
|
+
|
|
31
|
+
### Changes to Verify
|
|
32
|
+
From Work Order #XXX:
|
|
33
|
+
1. **Change #1:** [What was supposed to be fixed]
|
|
34
|
+
- Location: [Where it was fixed]
|
|
35
|
+
- Expected behavior: [What should happen now]
|
|
36
|
+
|
|
37
|
+
2. **Change #2:** [What was supposed to be fixed]
|
|
38
|
+
- Location: [Where it was fixed]
|
|
39
|
+
- Expected behavior: [What should happen now]
|
|
40
|
+
|
|
41
|
+
### Test Categories
|
|
42
|
+
|
|
43
|
+
#### Functional Verification
|
|
44
|
+
- [ ] Feature works as specified
|
|
45
|
+
- [ ] No functionality broken
|
|
46
|
+
- [ ] Edge cases handled
|
|
47
|
+
- [ ] Error handling correct
|
|
48
|
+
|
|
49
|
+
#### Mobile Verification
|
|
50
|
+
**MANDATORY for all UI-related verifications:**
|
|
51
|
+
- [ ] **Mobile Viewport Testing** - Test on mobile device emulation
|
|
52
|
+
- [ ] **Touch Interaction Verification** - Ensure touch events work correctly
|
|
53
|
+
- [ ] **Mobile Browser Compatibility** - Test iOS Safari, Chrome Mobile, Android browsers
|
|
54
|
+
- [ ] **Dynamic Viewport Testing** - Test with browser UI showing/hiding
|
|
55
|
+
- [ ] **Mobile Performance Verification** - Check loading times and responsiveness
|
|
56
|
+
- [ ] **Mobile-Specific Feature Testing** - Verify mobile-unique functionality
|
|
57
|
+
|
|
58
|
+
#### Performance Verification
|
|
59
|
+
- [ ] No performance degradation
|
|
60
|
+
- [ ] Expected improvements achieved
|
|
61
|
+
- [ ] Resource usage acceptable
|
|
62
|
+
- [ ] Response times within limits
|
|
63
|
+
- [ ] Mobile performance within acceptable range
|
|
64
|
+
|
|
65
|
+
#### Regression Testing
|
|
66
|
+
- [ ] No new issues introduced
|
|
67
|
+
- [ ] Existing features still work
|
|
68
|
+
- [ ] No side effects observed
|
|
69
|
+
- [ ] Dependencies unaffected
|
|
70
|
+
|
|
71
|
+
#### Integration Testing
|
|
72
|
+
- [ ] Component interactions work
|
|
73
|
+
- [ ] Data flow correct
|
|
74
|
+
- [ ] APIs functioning
|
|
75
|
+
- [ ] No breaking changes
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## VERIFICATION METHODOLOGY
|
|
80
|
+
|
|
81
|
+
### Test Plan
|
|
82
|
+
|
|
83
|
+
#### Test Case 1: [Name]
|
|
84
|
+
**Setup:** [Initial conditions]
|
|
85
|
+
**Action:** [What to do]
|
|
86
|
+
**Expected Result:** [What should happen]
|
|
87
|
+
**Pass Criteria:** [How to know it passed]
|
|
88
|
+
|
|
89
|
+
#### Test Case 2: [Name]
|
|
90
|
+
**Setup:** [Initial conditions]
|
|
91
|
+
**Action:** [What to do]
|
|
92
|
+
**Expected Result:** [What should happen]
|
|
93
|
+
**Pass Criteria:** [How to know it passed]
|
|
94
|
+
|
|
95
|
+
### Verification Tools
|
|
96
|
+
- **Tool #1:** [What tool and how to use it]
|
|
97
|
+
- **Tool #2:** [What tool and how to use it]
|
|
98
|
+
- **Manual checks:** [What to verify manually]
|
|
99
|
+
- **Mobile testing tools:** [Device emulation, browser developer tools]
|
|
100
|
+
|
|
101
|
+
### Metrics to Collect
|
|
102
|
+
- Before metrics: [Baseline measurements]
|
|
103
|
+
- After metrics: [Post-implementation measurements]
|
|
104
|
+
- Delta calculation: [How to measure improvement]
|
|
105
|
+
- Mobile-specific metrics: [Mobile performance, compatibility scores]
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## DELIVERABLE REQUIREMENTS
|
|
110
|
+
|
|
111
|
+
### Document Format
|
|
112
|
+
**Filename:** `VERIFICATION-COMPLETE-[TIMESTAMP].md`
|
|
113
|
+
**Location:** `${PROJECT_REPORTS}/` (Project-specific Reports folder)
|
|
114
|
+
|
|
115
|
+
### Required Sections
|
|
116
|
+
1. **Executive Summary** - Overall verification status
|
|
117
|
+
2. **Test Results** - Detailed test outcomes
|
|
118
|
+
3. **Mobile Verification Results** - Mobile-specific testing outcomes (if applicable)
|
|
119
|
+
4. **Metrics Comparison** - Before/after analysis
|
|
120
|
+
5. **Issues Found** - Any problems discovered
|
|
121
|
+
6. **Regression Report** - Any new issues introduced
|
|
122
|
+
7. **Performance Impact** - Measured changes
|
|
123
|
+
8. **Recommendations** - Next steps based on findings
|
|
124
|
+
|
|
125
|
+
### Evidence Requirements
|
|
126
|
+
- Test execution logs
|
|
127
|
+
- Screenshot/output of failures (if any)
|
|
128
|
+
- Mobile testing screenshots and recordings
|
|
129
|
+
- Performance measurements
|
|
130
|
+
- Specific examples of success/failure
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## ✅ AFTER COMPLETION
|
|
135
|
+
|
|
136
|
+
### ⚠️ CRITICAL: Complete ALL Steps Below - NO EXCEPTIONS
|
|
137
|
+
|
|
138
|
+
**Step 1: Create Completion Report** ✅
|
|
139
|
+
- [ ] Verification deliverable created in `${PROJECT_REPORTS}/`
|
|
140
|
+
- [ ] Follow format: `VERIFICATION-[COMPONENT]-[TIMESTAMP].md`
|
|
141
|
+
- [ ] JUNO audit report generated automatically (if applicable)
|
|
142
|
+
- [ ] All deliverables include required sections listed above
|
|
143
|
+
|
|
144
|
+
**Step 2: 🚨 MOVE THIS WORK ORDER FILE 🚨** ✅
|
|
145
|
+
- [ ] **IMMEDIATELY** move this file from `trinity/work-orders/` to `trinity/sessions/`
|
|
146
|
+
- [ ] **THIS STEP IS MANDATORY** - Work orders left in trinity/work-orders/ are considered incomplete
|
|
147
|
+
|
|
148
|
+
**Execute this exact command:**
|
|
149
|
+
```bash
|
|
150
|
+
mv trinity/work-orders/{{workOrderFilename}} trinity/sessions/
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
**Step 3: Verify File Locations** ✅
|
|
154
|
+
- [ ] This work order file NOW EXISTS in: `trinity/sessions/{{workOrderFilename}}`
|
|
155
|
+
- [ ] Completion report exists in: `${PROJECT_REPORTS}/VERIFICATION-[COMPONENT]-[TIMESTAMP].md`
|
|
156
|
+
- [ ] This work order NO LONGER EXISTS in: `trinity/work-orders/`
|
|
157
|
+
|
|
158
|
+
**If any verification fails, the work order is NOT complete. Fix immediately.**
|
|
159
|
+
|
|
160
|
+
**Step 4: Session Cleanup (when entire session complete):**
|
|
161
|
+
- [ ] When session is complete, run `/trinity-end`
|
|
162
|
+
- [ ] trinity-end will archive ALL files from `trinity/sessions/` and `${PROJECT_REPORTS}/`
|
|
163
|
+
- [ ] Next session starts with empty sessions/ and reports/ folders
|
|
164
|
+
|
|
165
|
+
**Archive Destination (via trinity-end):**
|
|
166
|
+
- Work order → `trinity/archive/work-orders/YYYY-MM-DD/`
|
|
167
|
+
- Completion report → `trinity/archive/reports/YYYY-MM-DD/`
|
|
168
|
+
- JUNO audit report → `trinity/archive/reports/YYYY-MM-DD/` (if applicable)
|
|
169
|
+
- Session summary → `trinity/archive/sessions/YYYY-MM-DD/`
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## SUCCESS CRITERIA
|
|
174
|
+
|
|
175
|
+
The verification is complete when:
|
|
176
|
+
- [ ] All test cases have been executed
|
|
177
|
+
- [ ] Mobile verification completed (if UI changes)
|
|
178
|
+
- [ ] Results have been documented
|
|
179
|
+
- [ ] Metrics have been compared
|
|
180
|
+
- [ ] Pass/fail determination made
|
|
181
|
+
- [ ] Any issues have been documented
|
|
182
|
+
- [ ] Verification report submitted to project Reports folder
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
## ⚠️ CRITICAL RESTRICTIONS - GIT OPERATIONS FORBIDDEN
|
|
187
|
+
|
|
188
|
+
**VERIFICATIONS ARE READ-ONLY OPERATIONS:**
|
|
189
|
+
ALL team members (CC, TRINITY, specialists) are PERMANENTLY FORBIDDEN from performing ANY git operations during verifications:
|
|
190
|
+
|
|
191
|
+
- [ ] **git add** - FORBIDDEN - Only LUKA has permission
|
|
192
|
+
- [ ] **git commit** - FORBIDDEN - Only LUKA has permission
|
|
193
|
+
- [ ] **git push** - FORBIDDEN - Only LUKA has permission
|
|
194
|
+
- [ ] **git pull** - FORBIDDEN - Only LUKA has permission
|
|
195
|
+
- [ ] **git merge** - FORBIDDEN - Only LUKA has permission
|
|
196
|
+
- [ ] **git checkout -b** - FORBIDDEN - Only LUKA has permission
|
|
197
|
+
- [ ] **git branch** - FORBIDDEN - Only LUKA has permission
|
|
198
|
+
- [ ] **git tag** - FORBIDDEN - Only LUKA has permission
|
|
199
|
+
- [ ] **git rebase** - FORBIDDEN - Only LUKA has permission
|
|
200
|
+
- [ ] **git reset** - FORBIDDEN - Only LUKA has permission
|
|
201
|
+
- [ ] **git revert** - FORBIDDEN - Only LUKA has permission
|
|
202
|
+
- [ ] **git stash** - FORBIDDEN - Only LUKA has permission
|
|
203
|
+
- [ ] **Any git operation that modifies repository state**
|
|
204
|
+
|
|
205
|
+
**VERIFICATION PROTOCOL:**
|
|
206
|
+
1. Test and verify features in current state
|
|
207
|
+
2. Document all test results
|
|
208
|
+
3. Report verification outcomes to LUKA
|
|
209
|
+
4. No file modifications during verification phase
|
|
210
|
+
5. If issues found, LUKA will issue new implementation work order
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
## VERIFICATION DECISION TREE
|
|
215
|
+
|
|
216
|
+
```
|
|
217
|
+
Verification Results:
|
|
218
|
+
├── PASSED
|
|
219
|
+
│ ├── All tests successful
|
|
220
|
+
│ ├── No regressions
|
|
221
|
+
│ └── Ready for production
|
|
222
|
+
├── PASSED WITH CONCERNS
|
|
223
|
+
│ ├── Core functionality works
|
|
224
|
+
│ ├── Minor issues found
|
|
225
|
+
│ └── Document for future work
|
|
226
|
+
└── FAILED
|
|
227
|
+
├── Critical issues found
|
|
228
|
+
├── Regressions detected
|
|
229
|
+
└── New implementation needed
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
234
|
+
## ROLLBACK CRITERIA
|
|
235
|
+
|
|
236
|
+
If verification reveals critical issues:
|
|
237
|
+
1. **Immediate Alert:** [When to escalate to LUKA]
|
|
238
|
+
2. **Failure Threshold:** [What constitutes failure]
|
|
239
|
+
3. **Rollback Trigger:** [Conditions requiring rollback]
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
## CONTEXT FROM IMPLEMENTATION
|
|
244
|
+
|
|
245
|
+
**Implementation Work Order:** #XXX
|
|
246
|
+
**Implementation Date:** [When changes were made]
|
|
247
|
+
**Implementer:** [Who made the changes]
|
|
248
|
+
**Claimed Improvements:** [What was supposed to improve]
|
|
249
|
+
|
|
250
|
+
---
|
|
251
|
+
|
|
252
|
+
## PRIORITY LEVEL
|
|
253
|
+
|
|
254
|
+
**Analysis Scope:** [COMPREHENSIVE/STANDARD/FOCUSED]
|
|
255
|
+
**Completeness Required:** 100% - Full analysis must be completed
|
|
256
|
+
**Reason:** [Why this verification priority]
|
|
257
|
+
**Timeline:** [When results are needed]
|
|
258
|
+
|
|
259
|
+
---
|
|
260
|
+
|
|
261
|
+
## SPECIAL CONSIDERATIONS
|
|
262
|
+
|
|
263
|
+
- Known fragile areas: [Components to test carefully]
|
|
264
|
+
- Previous issues: [Historical problems in this area]
|
|
265
|
+
- User impact: [How failures would affect users]
|
|
266
|
+
- Mobile considerations: [Mobile-specific testing requirements]
|
|
267
|
+
|
|
268
|
+
---
|
|
269
|
+
|
|
270
|
+
**Remember:** Verification is about confirming that implementations work as intended without introducing new issues. Be thorough but efficient. Document everything clearly. Verifications are read-only - no file modifications or git operations.
|
|
271
|
+
|
|
272
|
+
*Trinity Method v2.0 - Verification Work Order Template*
|
|
273
|
+
*Project-Isolated Architecture with Dynamic Paths*
|
package/package.json
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "trinity-method-sdk",
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "Trinity Method SDK - Investigation-first development methodology for any project",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist/",
|
|
10
|
+
"!dist/**/*.map",
|
|
11
|
+
"README.md",
|
|
12
|
+
"LICENSE",
|
|
13
|
+
"CHANGELOG.md"
|
|
14
|
+
],
|
|
15
|
+
"bin": {
|
|
16
|
+
"trinity": "./dist/cli/index.js"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"clean": "rimraf dist",
|
|
20
|
+
"prebuild": "npm run clean",
|
|
21
|
+
"build": "tsc && npm run copy-templates",
|
|
22
|
+
"copy-templates": "node -e \"const fs=require('fs-extra'); fs.copySync('src/templates', 'dist/templates');\"",
|
|
23
|
+
"test": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js",
|
|
24
|
+
"test:unit": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --selectProjects unit",
|
|
25
|
+
"test:integration": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --selectProjects integration",
|
|
26
|
+
"test:e2e": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --selectProjects e2e --passWithNoTests",
|
|
27
|
+
"test:performance": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --selectProjects performance --passWithNoTests",
|
|
28
|
+
"test:coverage": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --coverage",
|
|
29
|
+
"test:watch": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --watch",
|
|
30
|
+
"lint": "eslint src/ tests/",
|
|
31
|
+
"lint:fix": "eslint src/ tests/ --fix",
|
|
32
|
+
"format": "prettier --write src/ tests/",
|
|
33
|
+
"format:check": "prettier --check src/ tests/",
|
|
34
|
+
"type-check": "tsc --noEmit",
|
|
35
|
+
"docs:generate": "typedoc --out docs src/",
|
|
36
|
+
"pretest": "npm run type-check",
|
|
37
|
+
"prepublishOnly": "npm run build && npm run test",
|
|
38
|
+
"prepare": "husky"
|
|
39
|
+
},
|
|
40
|
+
"keywords": [
|
|
41
|
+
"trinity-method",
|
|
42
|
+
"development-methodology",
|
|
43
|
+
"investigation-first",
|
|
44
|
+
"ai-coding",
|
|
45
|
+
"claude-code",
|
|
46
|
+
"cursor",
|
|
47
|
+
"copilot"
|
|
48
|
+
],
|
|
49
|
+
"author": "Trinity Method",
|
|
50
|
+
"license": "MIT",
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@eslint/js": "^9.39.2",
|
|
53
|
+
"@jest/globals": "^30.2.0",
|
|
54
|
+
"@types/fs-extra": "^11.0.4",
|
|
55
|
+
"@types/glob": "^8.1.0",
|
|
56
|
+
"@types/inquirer": "^9.0.9",
|
|
57
|
+
"@types/jest": "^30.0.0",
|
|
58
|
+
"@types/node": "^25.0.3",
|
|
59
|
+
"@typescript-eslint/eslint-plugin": "^8.50.0",
|
|
60
|
+
"@typescript-eslint/parser": "^8.50.0",
|
|
61
|
+
"eslint": "^9.39.2",
|
|
62
|
+
"eslint-plugin-jest": "^29.5.0",
|
|
63
|
+
"husky": "^9.1.7",
|
|
64
|
+
"jest": "^30.2.0",
|
|
65
|
+
"jest-mock": "^30.2.0",
|
|
66
|
+
"lint-staged": "^16.2.7",
|
|
67
|
+
"prettier": "^3.0.0",
|
|
68
|
+
"rimraf": "^6.0.1",
|
|
69
|
+
"ts-jest": "^29.1.0",
|
|
70
|
+
"typedoc": "^0.28.15",
|
|
71
|
+
"typescript": "^5.9.3"
|
|
72
|
+
},
|
|
73
|
+
"dependencies": {
|
|
74
|
+
"chalk": "^5.3.0",
|
|
75
|
+
"commander": "^14.0.2",
|
|
76
|
+
"fs-extra": "^11.3.3",
|
|
77
|
+
"glob": "^13.0.0",
|
|
78
|
+
"inquirer": "^13.1.0",
|
|
79
|
+
"ora": "^9.0.0"
|
|
80
|
+
},
|
|
81
|
+
"lint-staged": {
|
|
82
|
+
"*.{ts,tsx}": [
|
|
83
|
+
"eslint --fix",
|
|
84
|
+
"prettier --write"
|
|
85
|
+
],
|
|
86
|
+
"*.{js,jsx}": [
|
|
87
|
+
"eslint --fix",
|
|
88
|
+
"prettier --write"
|
|
89
|
+
],
|
|
90
|
+
"*.{json,md,yml,yaml}": [
|
|
91
|
+
"prettier --write"
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
}
|