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
package/dist/templates/trinity/templates/documentation/reports/apo-docs-update-checklist.md.template
ADDED
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
# APO Documentation Update Checklist
|
|
2
|
+
|
|
3
|
+
**Agent:** APO-{{DESIGNATION}} (1, 2, or 3)
|
|
4
|
+
**Purpose:** Execute documentation updates from JUNO's audit
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Step 1: Create Your Personal Checklist
|
|
9
|
+
|
|
10
|
+
**CRITICAL: Use Task skill Write to create your personal checklist file.**
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
Use Task tool with subagent_type="APO (Documentation Specialist)" to write:
|
|
14
|
+
- File path: .claude/trinity/reports/apo-{{DESIGNATION}}-docs-update-checklist.md
|
|
15
|
+
- Content: Copy of this template
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
**Example file paths:**
|
|
19
|
+
- APO-1: `.claude/trinity/reports/apo-1-docs-update-checklist.md`
|
|
20
|
+
- APO-2: `.claude/trinity/reports/apo-2-docs-update-checklist.md`
|
|
21
|
+
- APO-3: `.claude/trinity/reports/apo-3-docs-update-checklist.md`
|
|
22
|
+
|
|
23
|
+
**You MUST use Task skill Write to create your checklist file before proceeding.**
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Step 2: Copy Your Tasks from JUNO's Audit Report
|
|
28
|
+
|
|
29
|
+
1. **Use Task skill Read to read JUNO's audit report:**
|
|
30
|
+
```
|
|
31
|
+
Use Task tool with subagent_type="APO (Documentation Specialist)" to read:
|
|
32
|
+
- File path: .claude/trinity/reports/DOCS-UPDATE-AUDIT-{{DATE}}.md
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
2. **Find your section:**
|
|
36
|
+
- APO-1: Look for "Part 2: APO-1 Checklist - Base Documentation Updates"
|
|
37
|
+
- APO-2: Look for "Part 3: APO-2 Checklist - Update Existing Business Logic Documentation"
|
|
38
|
+
- APO-3: Look for "Part 4: APO-3 Checklist - New Business Logic Documentation"
|
|
39
|
+
|
|
40
|
+
3. **Copy ALL your tasks** from JUNO's report to your personal checklist
|
|
41
|
+
|
|
42
|
+
4. **Preserve the checkbox format:**
|
|
43
|
+
- All tasks should start as: `- [ ]` (unchecked)
|
|
44
|
+
- You will check them off as you complete them: `- [x]`
|
|
45
|
+
|
|
46
|
+
**Example of copied tasks:**
|
|
47
|
+
|
|
48
|
+
```markdown
|
|
49
|
+
## My Tasks
|
|
50
|
+
|
|
51
|
+
- [ ] `docs/architecture/database-er.md`
|
|
52
|
+
- Issue: Missing dealers and scraper_executions tables
|
|
53
|
+
- Required: Add 2 tables to ER diagram
|
|
54
|
+
- Priority: HIGH
|
|
55
|
+
|
|
56
|
+
- [ ] `docs/api/README.md`
|
|
57
|
+
- Issue: Endpoint paths incorrect
|
|
58
|
+
- Required: Fix 3 endpoint paths
|
|
59
|
+
- Priority: HIGH
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## Step 3: Execute Your Tasks
|
|
65
|
+
|
|
66
|
+
**CRITICAL WORKFLOW:**
|
|
67
|
+
|
|
68
|
+
1. **Start with the first unchecked task** on your list
|
|
69
|
+
2. **Complete the task** (create or update the documentation file using Task skill)
|
|
70
|
+
3. **Update your checklist** - Mark the task as complete: `- [x]`
|
|
71
|
+
4. **Use Task skill Edit to save your updated checklist** to `.claude/trinity/reports/apo-{{DESIGNATION}}-docs-update-checklist.md`
|
|
72
|
+
5. **Move to the next task** and repeat
|
|
73
|
+
|
|
74
|
+
**DO NOT:**
|
|
75
|
+
- Skip tasks
|
|
76
|
+
- Work on multiple tasks simultaneously
|
|
77
|
+
- Mark tasks complete before finishing them
|
|
78
|
+
- Forget to use Task skill Edit to save your checklist after each completion
|
|
79
|
+
|
|
80
|
+
**CRITICAL: All file operations (Read, Write, Edit) MUST use Task skill.**
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## Step 4: Task Completion Guidelines
|
|
85
|
+
|
|
86
|
+
### For Documentation Updates (APO-1 or APO-2 with existing docs):
|
|
87
|
+
|
|
88
|
+
**CRITICAL: You MUST verify ALL changes against the actual codebase.**
|
|
89
|
+
|
|
90
|
+
**For EVERY change you make, you MUST:**
|
|
91
|
+
|
|
92
|
+
1. **Identify what needs to change** (from JUNO's assignment)
|
|
93
|
+
|
|
94
|
+
2. **Verify the correct value in the codebase:**
|
|
95
|
+
|
|
96
|
+
Examples:
|
|
97
|
+
- API port numbers → Read .env, backend/server.js, or backend/src/app.js
|
|
98
|
+
- Table names → Read database/init.sql or check production database
|
|
99
|
+
- Endpoint URLs → Read route files (routes/*.js, api/*.ts)
|
|
100
|
+
- Method signatures → Read actual source file
|
|
101
|
+
- Configuration values → Read config files
|
|
102
|
+
|
|
103
|
+
3. **Document your verification in the task:**
|
|
104
|
+
|
|
105
|
+
When marking a task complete, add a verification note:
|
|
106
|
+
|
|
107
|
+
```markdown
|
|
108
|
+
- [x] `docs/api/README.md`
|
|
109
|
+
- Issue: API port incorrect
|
|
110
|
+
- Required: Fix API port
|
|
111
|
+
- Verification: Read backend/.env - confirmed port is 3001
|
|
112
|
+
- Changes made: Updated 49 instances of port number to 3001
|
|
113
|
+
- Priority: HIGH
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
4. **Use Read tool to read source files BEFORE making changes**
|
|
117
|
+
|
|
118
|
+
5. **Use Edit tool to make precise updates based on verified information**
|
|
119
|
+
|
|
120
|
+
6. **DO NOT make assumptions or guesses - always verify against code**
|
|
121
|
+
|
|
122
|
+
**Examples of Required Verification:**
|
|
123
|
+
|
|
124
|
+
❌ WRONG:
|
|
125
|
+
```markdown
|
|
126
|
+
- [x] Fixed API base URL in docs/api/README.md
|
|
127
|
+
(No verification documented - how do you know it was wrong? What's correct?)
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
✅ CORRECT:
|
|
131
|
+
```markdown
|
|
132
|
+
- [x] Fixed API base URL in docs/api/README.md
|
|
133
|
+
- Verification: Read .env and backend/src/app.js
|
|
134
|
+
- Found: process.env.PORT defaults to 3001
|
|
135
|
+
- Found: Production URL from fly.toml is https://rinoa.sunny-stack.com
|
|
136
|
+
- Changes: Updated base URL to https://rinoa.sunny-stack.com/api
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
**Use Read tool to verify EVERY factual claim BEFORE documenting it.**
|
|
140
|
+
|
|
141
|
+
### For New Documentation (APO-2 or APO-3 creating new files):
|
|
142
|
+
|
|
143
|
+
**Use Task skill Read to read the source code file:**
|
|
144
|
+
```
|
|
145
|
+
Use Task tool with subagent_type="APO (Documentation Specialist)" to read:
|
|
146
|
+
- File path: backend/src/services/emailService.js (example)
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
**Analyze the component:**
|
|
150
|
+
- Identify purpose and functionality
|
|
151
|
+
- Document all public methods/functions
|
|
152
|
+
- Note dependencies and configuration
|
|
153
|
+
- Find usage examples in codebase
|
|
154
|
+
|
|
155
|
+
**Use Task skill Write to create comprehensive documentation:**
|
|
156
|
+
```
|
|
157
|
+
Use Task tool with subagent_type="APO (Documentation Specialist)" to write:
|
|
158
|
+
- File path: docs/backend/services/emailService.md (example)
|
|
159
|
+
- Content: Complete documentation with all sections
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
**Documentation requirements:**
|
|
163
|
+
- Use consistent structure
|
|
164
|
+
- Include code examples
|
|
165
|
+
- Document parameters and return types
|
|
166
|
+
- Add usage examples
|
|
167
|
+
|
|
168
|
+
**Required sections for new documentation:**
|
|
169
|
+
|
|
170
|
+
#### Services:
|
|
171
|
+
```markdown
|
|
172
|
+
# Service Name
|
|
173
|
+
|
|
174
|
+
## Overview
|
|
175
|
+
[Description]
|
|
176
|
+
|
|
177
|
+
## Dependencies
|
|
178
|
+
[List dependencies]
|
|
179
|
+
|
|
180
|
+
## Configuration
|
|
181
|
+
[Environment variables, config options]
|
|
182
|
+
|
|
183
|
+
## Methods
|
|
184
|
+
|
|
185
|
+
### methodName()
|
|
186
|
+
**Description:** [What it does]
|
|
187
|
+
|
|
188
|
+
**Parameters:**
|
|
189
|
+
- param1 (type): description
|
|
190
|
+
- param2 (type): description
|
|
191
|
+
|
|
192
|
+
**Returns:** (type) description
|
|
193
|
+
|
|
194
|
+
**Example:**
|
|
195
|
+
```js
|
|
196
|
+
// Usage example
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
## Error Handling
|
|
200
|
+
[How errors are handled]
|
|
201
|
+
|
|
202
|
+
## Usage Examples
|
|
203
|
+
[Complete examples]
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
#### Controllers/Routes:
|
|
207
|
+
```markdown
|
|
208
|
+
# Route Name
|
|
209
|
+
|
|
210
|
+
## Overview
|
|
211
|
+
[Description]
|
|
212
|
+
|
|
213
|
+
## Endpoints
|
|
214
|
+
|
|
215
|
+
### GET /api/resource
|
|
216
|
+
**Description:** [What it does]
|
|
217
|
+
|
|
218
|
+
**Authentication:** Required/Not Required
|
|
219
|
+
|
|
220
|
+
**Query Parameters:**
|
|
221
|
+
- param1 (type): description
|
|
222
|
+
|
|
223
|
+
**Response:**
|
|
224
|
+
```json
|
|
225
|
+
{
|
|
226
|
+
"success": true,
|
|
227
|
+
"data": []
|
|
228
|
+
}
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
**Example:**
|
|
232
|
+
```bash
|
|
233
|
+
curl http://localhost:4000/api/resource
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
## Middleware
|
|
237
|
+
[Applied middleware]
|
|
238
|
+
|
|
239
|
+
## Error Responses
|
|
240
|
+
[Possible errors]
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
#### Components:
|
|
244
|
+
```markdown
|
|
245
|
+
# Component Name
|
|
246
|
+
|
|
247
|
+
## Overview
|
|
248
|
+
[Description]
|
|
249
|
+
|
|
250
|
+
## Props
|
|
251
|
+
|
|
252
|
+
| Prop | Type | Required | Description |
|
|
253
|
+
|------|------|----------|-------------|
|
|
254
|
+
| prop1 | string | Yes | Description |
|
|
255
|
+
| prop2 | number | No | Description |
|
|
256
|
+
|
|
257
|
+
## Usage
|
|
258
|
+
|
|
259
|
+
```tsx
|
|
260
|
+
import ComponentName from './ComponentName';
|
|
261
|
+
|
|
262
|
+
<ComponentName prop1="value" />
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
## State Management
|
|
266
|
+
[If applicable]
|
|
267
|
+
|
|
268
|
+
## Examples
|
|
269
|
+
[Usage examples]
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
---
|
|
273
|
+
|
|
274
|
+
## Step 5: Mark Task Complete and Continue
|
|
275
|
+
|
|
276
|
+
**After completing each task:**
|
|
277
|
+
|
|
278
|
+
1. **Update your checklist:**
|
|
279
|
+
```markdown
|
|
280
|
+
- [x] `docs/architecture/database-er.md`
|
|
281
|
+
- Issue: Missing dealers and scraper_executions tables
|
|
282
|
+
- Required: Add 2 tables to ER diagram
|
|
283
|
+
- Priority: HIGH
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
2. **Save your checklist file**
|
|
287
|
+
|
|
288
|
+
3. **Move to the next unchecked task**
|
|
289
|
+
|
|
290
|
+
4. **Repeat until all tasks are complete**
|
|
291
|
+
|
|
292
|
+
---
|
|
293
|
+
|
|
294
|
+
## Step 6: Final Verification
|
|
295
|
+
|
|
296
|
+
**Before finishing, verify:**
|
|
297
|
+
|
|
298
|
+
1. All tasks on your checklist are marked `- [x]`
|
|
299
|
+
2. All documentation files created/updated
|
|
300
|
+
3. All files saved to correct locations
|
|
301
|
+
4. Your checklist saved to `.claude/trinity/reports/apo-{{DESIGNATION}}-docs-update-checklist.md`
|
|
302
|
+
|
|
303
|
+
**Once all tasks complete:**
|
|
304
|
+
- Report completion
|
|
305
|
+
- JUNO will verify your work in Phase 3
|
|
306
|
+
|
|
307
|
+
---
|
|
308
|
+
|
|
309
|
+
## Quality Standards
|
|
310
|
+
|
|
311
|
+
### Accuracy Requirements:
|
|
312
|
+
- Document ONLY what exists in the codebase
|
|
313
|
+
- Verify all method names, parameters, types
|
|
314
|
+
- Test all code examples
|
|
315
|
+
- L DO NOT hallucinate features that don't exist
|
|
316
|
+
- L DO NOT copy incorrect information from old docs
|
|
317
|
+
|
|
318
|
+
### Completeness Requirements:
|
|
319
|
+
- Document all public methods/functions
|
|
320
|
+
- Include usage examples
|
|
321
|
+
- Document parameters and return types
|
|
322
|
+
- Note dependencies and configuration
|
|
323
|
+
- L DO NOT skip methods or features
|
|
324
|
+
|
|
325
|
+
### Consistency Requirements:
|
|
326
|
+
- Use consistent formatting across all docs
|
|
327
|
+
- Follow existing documentation style
|
|
328
|
+
- Use proper markdown syntax
|
|
329
|
+
- Maintain heading hierarchy
|
|
330
|
+
|
|
331
|
+
---
|
|
332
|
+
|
|
333
|
+
## Checklist Template
|
|
334
|
+
|
|
335
|
+
**Replace this section with your tasks from JUNO's audit report.**
|
|
336
|
+
|
|
337
|
+
## My Tasks
|
|
338
|
+
|
|
339
|
+
[Copy your tasks from JUNO's audit report here]
|
|
340
|
+
|
|
341
|
+
---
|
|
342
|
+
|
|
343
|
+
**End of APO Checklist Template**
|