sdtk-code-kit 0.2.0 → 0.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.
Files changed (75) hide show
  1. package/README.md +201 -201
  2. package/assets/manifest/toolkit-bundle.manifest.json +147 -147
  3. package/assets/manifest/toolkit-bundle.sha256.txt +28 -28
  4. package/assets/toolkit/toolkit/AGENTS.md +219 -219
  5. package/assets/toolkit/toolkit/install.ps1 +156 -156
  6. package/assets/toolkit/toolkit/scripts/install-claude-skills.ps1 +78 -78
  7. package/assets/toolkit/toolkit/scripts/install-codex-skills.ps1 +150 -150
  8. package/assets/toolkit/toolkit/scripts/uninstall-claude-skills.ps1 +62 -62
  9. package/assets/toolkit/toolkit/scripts/uninstall-codex-skills.ps1 +82 -82
  10. package/assets/toolkit/toolkit/sdtk-spec.config.json +6 -6
  11. package/assets/toolkit/toolkit/sdtk-spec.config.profiles.example.json +12 -12
  12. package/assets/toolkit/toolkit/skills/code-brainstorm/SKILL.md +55 -55
  13. package/assets/toolkit/toolkit/skills/code-debug/SKILL.md +296 -296
  14. package/assets/toolkit/toolkit/skills/code-debug/references/root-cause-tracing.md +68 -68
  15. package/assets/toolkit/toolkit/skills/code-discover/SKILL.md +54 -54
  16. package/assets/toolkit/toolkit/skills/code-execute/SKILL.md +74 -74
  17. package/assets/toolkit/toolkit/skills/code-finish/SKILL.md +205 -205
  18. package/assets/toolkit/toolkit/skills/code-parallel/SKILL.md +64 -64
  19. package/assets/toolkit/toolkit/skills/code-parallel/references/code-quality-reviewer-prompt.md +26 -26
  20. package/assets/toolkit/toolkit/skills/code-parallel/references/implementer-prompt.md +113 -113
  21. package/assets/toolkit/toolkit/skills/code-parallel/references/spec-reviewer-prompt.md +61 -61
  22. package/assets/toolkit/toolkit/skills/code-plan/SKILL.md +85 -85
  23. package/assets/toolkit/toolkit/skills/code-review/SKILL.md +79 -79
  24. package/assets/toolkit/toolkit/skills/code-review/references/checklist.md +125 -125
  25. package/assets/toolkit/toolkit/skills/code-review/references/code-reviewer.md +146 -146
  26. package/assets/toolkit/toolkit/skills/code-ship/SKILL.md +52 -52
  27. package/assets/toolkit/toolkit/skills/code-tdd/SKILL.md +378 -378
  28. package/assets/toolkit/toolkit/skills/code-tdd/references/testing-anti-patterns.md +299 -299
  29. package/assets/toolkit/toolkit/skills/code-verify/SKILL.md +144 -144
  30. package/assets/toolkit/toolkit/skills/code-worktree/SKILL.md +228 -228
  31. package/assets/toolkit/toolkit/templates/CODE_WORKFLOW_TEMPLATE.md +140 -140
  32. package/bin/sdtk-code.js +14 -14
  33. package/package.json +44 -44
  34. package/src/commands/build.js +53 -53
  35. package/src/commands/doctor.js +51 -51
  36. package/src/commands/generate.js +11 -11
  37. package/src/commands/guardrails.js +215 -123
  38. package/src/commands/help.js +244 -244
  39. package/src/commands/init.js +98 -98
  40. package/src/commands/plan.js +53 -53
  41. package/src/commands/readiness.js +77 -77
  42. package/src/commands/resume.js +61 -61
  43. package/src/commands/runtime.js +224 -224
  44. package/src/commands/ship.js +59 -59
  45. package/src/commands/sleep.js +132 -0
  46. package/src/commands/start.js +89 -89
  47. package/src/commands/status.js +77 -77
  48. package/src/commands/update.js +11 -11
  49. package/src/commands/verify.js +71 -71
  50. package/src/index.js +108 -104
  51. package/src/lib/args.js +107 -107
  52. package/src/lib/errors.js +41 -41
  53. package/src/lib/powershell.js +65 -65
  54. package/src/lib/project-target-guard.js +53 -53
  55. package/src/lib/scope.js +72 -72
  56. package/src/lib/ship-readiness.js +281 -281
  57. package/src/lib/sleep-plan.js +175 -0
  58. package/src/lib/sleep-report.js +229 -0
  59. package/src/lib/toolkit-payload.js +72 -72
  60. package/src/lib/trust-events.js +166 -166
  61. package/src/lib/trust-file-scope.js +154 -154
  62. package/src/lib/trust-policy.js +212 -212
  63. package/src/lib/trust-redact.js +35 -35
  64. package/src/lib/trust-trace.js +179 -179
  65. package/src/lib/update.js +344 -344
  66. package/src/lib/workflow-artifact.js +503 -503
  67. package/src/lib/workflow-build.js +127 -127
  68. package/src/lib/workflow-doctor.js +83 -83
  69. package/src/lib/workflow-handoff.js +1029 -1029
  70. package/src/lib/workflow-intake.js +101 -101
  71. package/src/lib/workflow-plan.js +193 -193
  72. package/src/lib/workflow-review-packet.js +650 -650
  73. package/src/lib/workflow-ship.js +213 -213
  74. package/src/lib/workflow-state.js +438 -438
  75. package/src/lib/workflow-verify.js +393 -393
@@ -1,205 +1,205 @@
1
- ---
2
- name: code-finish
3
- description: Finishing a development branch. Use when implementation is complete and tests pass -- guides merge, PR creation, or cleanup options.
4
- ---
5
-
6
- # Code Finish
7
-
8
- ## Critical Constraints
9
- - I do not present merge or cleanup options until tests pass for the current branch state.
10
- - I do not discard work without explicit destructive confirmation.
11
-
12
-
13
- ## Overview
14
-
15
- Guide completion of development work by presenting clear options and handling chosen workflow.
16
-
17
- **Core principle:** Verify tests -> Present options -> Execute choice -> Clean up.
18
-
19
- **Announce at start:** "I'm using the code-finish skill to complete this work."
20
-
21
- ## Process
22
-
23
- ### Step 1: Verify Tests
24
-
25
- **Before presenting options, verify tests pass:**
26
-
27
- ```bash
28
- # Run project's test suite
29
- npm test / cargo test / pytest / go test ./...
30
- ```
31
-
32
- **If tests fail:**
33
- ```
34
- Tests failing (<N> failures). Must fix before completing:
35
-
36
- [Show failures]
37
-
38
- Cannot proceed with merge/PR until tests pass.
39
- ```
40
-
41
- Stop. Don't proceed to Step 2.
42
-
43
- **If tests pass:** Continue to Step 2.
44
-
45
- ### Step 2: Determine Base Branch
46
-
47
- ```bash
48
- # Try common base branches
49
- git merge-base HEAD main 2>/dev/null || git merge-base HEAD master 2>/dev/null
50
- ```
51
-
52
- Or ask: "This branch split from main - is that correct?"
53
-
54
- ### Step 3: Present Options
55
-
56
- Present exactly these 4 options:
57
-
58
- ```
59
- Implementation complete. What would you like to do?
60
-
61
- 1. Merge back to <base-branch> locally
62
- 2. Push and create a Pull Request
63
- 3. Keep the branch as-is (I'll handle it later)
64
- 4. Discard this work
65
-
66
- Which option?
67
- ```
68
-
69
- **Don't add explanation** - keep options concise.
70
-
71
- ### Step 4: Execute Choice
72
-
73
- #### Option 1: Merge Locally
74
-
75
- ```bash
76
- # Switch to base branch
77
- git checkout <base-branch>
78
-
79
- # Pull latest
80
- git pull
81
-
82
- # Merge feature branch
83
- git merge <feature-branch>
84
-
85
- # Verify tests on merged result
86
- <test command>
87
-
88
- # If tests pass
89
- git branch -d <feature-branch>
90
- ```
91
-
92
- Then: Cleanup worktree (Step 5)
93
-
94
- #### Option 2: Push and Create PR
95
-
96
- ```bash
97
- # Push branch
98
- git push -u origin <feature-branch>
99
-
100
- # Create PR
101
- gh pr create --title "<title>" --body "$(cat <<'EOF'
102
- ## Summary
103
- <2-3 bullets of what changed>
104
-
105
- ## Test Plan
106
- - [ ] <verification steps>
107
- EOF
108
- )"
109
- ```
110
-
111
- Then: Cleanup worktree (Step 5)
112
-
113
- #### Option 3: Keep As-Is
114
-
115
- Report: "Keeping branch <name>. Worktree preserved at <path>."
116
-
117
- **Don't cleanup worktree.**
118
-
119
- #### Option 4: Discard
120
-
121
- **Confirm first:**
122
- ```
123
- This will permanently delete:
124
- - Branch <name>
125
- - All commits: <commit-list>
126
- - Worktree at <path>
127
-
128
- Type 'discard' to confirm.
129
- ```
130
-
131
- Wait for exact confirmation.
132
-
133
- If confirmed:
134
- ```bash
135
- git checkout <base-branch>
136
- git branch -D <feature-branch>
137
- ```
138
-
139
- Then: Cleanup worktree (Step 5)
140
-
141
- ### Step 5: Cleanup Worktree
142
-
143
- **For Options 1, 2, 4:**
144
-
145
- Check if in worktree:
146
- ```bash
147
- git worktree list | grep $(git branch --show-current)
148
- ```
149
-
150
- If yes:
151
- ```bash
152
- git worktree remove <worktree-path>
153
- ```
154
-
155
- **For Option 3:** Keep worktree.
156
-
157
- ## Quick Reference
158
-
159
- | Option | Merge | Push | Keep Worktree | Cleanup Branch |
160
- |--------|-------|------|---------------|----------------|
161
- | 1. Merge locally | | - | - | |
162
- | 2. Create PR | - | | | - |
163
- | 3. Keep as-is | - | - | | - |
164
- | 4. Discard | - | - | - | (force) |
165
-
166
- ## Common Mistakes
167
-
168
- **Skipping test verification**
169
- - **Problem:** Merge broken code, create failing PR
170
- - **Fix:** Always verify tests before offering options
171
-
172
- **Open-ended questions**
173
- - **Problem:** "What should I do next?" -> ambiguous
174
- - **Fix:** Present exactly 4 structured options
175
-
176
- **Automatic worktree cleanup**
177
- - **Problem:** Remove worktree when might need it (Option 2, 3)
178
- - **Fix:** Only cleanup for Options 1 and 4
179
-
180
- **No confirmation for discard**
181
- - **Problem:** Accidentally delete work
182
- - **Fix:** Require typed "discard" confirmation
183
-
184
- ## Red Flags
185
-
186
- **Never:**
187
- - Proceed with failing tests
188
- - Merge without verifying tests on result
189
- - Delete work without confirmation
190
- - Force-push without explicit request
191
-
192
- **Always:**
193
- - Verify tests before offering options
194
- - Present exactly 4 options
195
- - Get typed confirmation for Option 4
196
- - Clean up worktree for Options 1 & 4 only
197
-
198
- ## Integration
199
-
200
- **Called by:**
201
- - **code-parallel** (Step 7) - After all tasks complete
202
- - **code-execute** (Step 5) - After all batches complete
203
-
204
- **Pairs with:**
205
- - **code-worktree** - Cleans up worktree created by that skill
1
+ ---
2
+ name: code-finish
3
+ description: Finishing a development branch. Use when implementation is complete and tests pass -- guides merge, PR creation, or cleanup options.
4
+ ---
5
+
6
+ # Code Finish
7
+
8
+ ## Critical Constraints
9
+ - I do not present merge or cleanup options until tests pass for the current branch state.
10
+ - I do not discard work without explicit destructive confirmation.
11
+
12
+
13
+ ## Overview
14
+
15
+ Guide completion of development work by presenting clear options and handling chosen workflow.
16
+
17
+ **Core principle:** Verify tests -> Present options -> Execute choice -> Clean up.
18
+
19
+ **Announce at start:** "I'm using the code-finish skill to complete this work."
20
+
21
+ ## Process
22
+
23
+ ### Step 1: Verify Tests
24
+
25
+ **Before presenting options, verify tests pass:**
26
+
27
+ ```bash
28
+ # Run project's test suite
29
+ npm test / cargo test / pytest / go test ./...
30
+ ```
31
+
32
+ **If tests fail:**
33
+ ```
34
+ Tests failing (<N> failures). Must fix before completing:
35
+
36
+ [Show failures]
37
+
38
+ Cannot proceed with merge/PR until tests pass.
39
+ ```
40
+
41
+ Stop. Don't proceed to Step 2.
42
+
43
+ **If tests pass:** Continue to Step 2.
44
+
45
+ ### Step 2: Determine Base Branch
46
+
47
+ ```bash
48
+ # Try common base branches
49
+ git merge-base HEAD main 2>/dev/null || git merge-base HEAD master 2>/dev/null
50
+ ```
51
+
52
+ Or ask: "This branch split from main - is that correct?"
53
+
54
+ ### Step 3: Present Options
55
+
56
+ Present exactly these 4 options:
57
+
58
+ ```
59
+ Implementation complete. What would you like to do?
60
+
61
+ 1. Merge back to <base-branch> locally
62
+ 2. Push and create a Pull Request
63
+ 3. Keep the branch as-is (I'll handle it later)
64
+ 4. Discard this work
65
+
66
+ Which option?
67
+ ```
68
+
69
+ **Don't add explanation** - keep options concise.
70
+
71
+ ### Step 4: Execute Choice
72
+
73
+ #### Option 1: Merge Locally
74
+
75
+ ```bash
76
+ # Switch to base branch
77
+ git checkout <base-branch>
78
+
79
+ # Pull latest
80
+ git pull
81
+
82
+ # Merge feature branch
83
+ git merge <feature-branch>
84
+
85
+ # Verify tests on merged result
86
+ <test command>
87
+
88
+ # If tests pass
89
+ git branch -d <feature-branch>
90
+ ```
91
+
92
+ Then: Cleanup worktree (Step 5)
93
+
94
+ #### Option 2: Push and Create PR
95
+
96
+ ```bash
97
+ # Push branch
98
+ git push -u origin <feature-branch>
99
+
100
+ # Create PR
101
+ gh pr create --title "<title>" --body "$(cat <<'EOF'
102
+ ## Summary
103
+ <2-3 bullets of what changed>
104
+
105
+ ## Test Plan
106
+ - [ ] <verification steps>
107
+ EOF
108
+ )"
109
+ ```
110
+
111
+ Then: Cleanup worktree (Step 5)
112
+
113
+ #### Option 3: Keep As-Is
114
+
115
+ Report: "Keeping branch <name>. Worktree preserved at <path>."
116
+
117
+ **Don't cleanup worktree.**
118
+
119
+ #### Option 4: Discard
120
+
121
+ **Confirm first:**
122
+ ```
123
+ This will permanently delete:
124
+ - Branch <name>
125
+ - All commits: <commit-list>
126
+ - Worktree at <path>
127
+
128
+ Type 'discard' to confirm.
129
+ ```
130
+
131
+ Wait for exact confirmation.
132
+
133
+ If confirmed:
134
+ ```bash
135
+ git checkout <base-branch>
136
+ git branch -D <feature-branch>
137
+ ```
138
+
139
+ Then: Cleanup worktree (Step 5)
140
+
141
+ ### Step 5: Cleanup Worktree
142
+
143
+ **For Options 1, 2, 4:**
144
+
145
+ Check if in worktree:
146
+ ```bash
147
+ git worktree list | grep $(git branch --show-current)
148
+ ```
149
+
150
+ If yes:
151
+ ```bash
152
+ git worktree remove <worktree-path>
153
+ ```
154
+
155
+ **For Option 3:** Keep worktree.
156
+
157
+ ## Quick Reference
158
+
159
+ | Option | Merge | Push | Keep Worktree | Cleanup Branch |
160
+ |--------|-------|------|---------------|----------------|
161
+ | 1. Merge locally | | - | - | |
162
+ | 2. Create PR | - | | | - |
163
+ | 3. Keep as-is | - | - | | - |
164
+ | 4. Discard | - | - | - | (force) |
165
+
166
+ ## Common Mistakes
167
+
168
+ **Skipping test verification**
169
+ - **Problem:** Merge broken code, create failing PR
170
+ - **Fix:** Always verify tests before offering options
171
+
172
+ **Open-ended questions**
173
+ - **Problem:** "What should I do next?" -> ambiguous
174
+ - **Fix:** Present exactly 4 structured options
175
+
176
+ **Automatic worktree cleanup**
177
+ - **Problem:** Remove worktree when might need it (Option 2, 3)
178
+ - **Fix:** Only cleanup for Options 1 and 4
179
+
180
+ **No confirmation for discard**
181
+ - **Problem:** Accidentally delete work
182
+ - **Fix:** Require typed "discard" confirmation
183
+
184
+ ## Red Flags
185
+
186
+ **Never:**
187
+ - Proceed with failing tests
188
+ - Merge without verifying tests on result
189
+ - Delete work without confirmation
190
+ - Force-push without explicit request
191
+
192
+ **Always:**
193
+ - Verify tests before offering options
194
+ - Present exactly 4 options
195
+ - Get typed confirmation for Option 4
196
+ - Clean up worktree for Options 1 & 4 only
197
+
198
+ ## Integration
199
+
200
+ **Called by:**
201
+ - **code-parallel** (Step 7) - After all tasks complete
202
+ - **code-execute** (Step 5) - After all batches complete
203
+
204
+ **Pairs with:**
205
+ - **code-worktree** - Cleans up worktree created by that skill
@@ -1,64 +1,64 @@
1
- ---
2
- name: code-parallel
3
- description: Parallel development with subagents. Use when facing 2+ independent tasks -- dispatch agents in parallel with context isolation, controller curates results.
4
- ---
5
-
6
- # Code Parallel
7
-
8
- ## Critical Constraints
9
- - I do not parallelize tasks that share mutable state, shared files, or unresolved sequencing dependencies.
10
- - I do not mark a task complete until the implementer result and review result are both reconciled by the controller.
11
-
12
- ## Overview
13
- Use parallel execution only when the work can be safely decomposed into independent task slices.
14
-
15
- ## Codex Runtime Note
16
- On Codex, collab or subagent dispatch may be unavailable. When that happens, keep the same decomposition logic but execute the slices sequentially in a single session.
17
-
18
- ## Process
19
- 1. Read the approved implementation plan.
20
- 2. Identify tasks that are independent enough to run in parallel.
21
- 3. Reject parallelization when tasks:
22
- - touch the same files or shared mutable state
23
- - depend on the same unfinished migration or contract change
24
- - require the same reviewer context at the same time
25
- 4. For each safe task slice, prepare a self-contained prompt using:
26
- - `./references/implementer-prompt.md`
27
- - `./references/spec-reviewer-prompt.md`
28
- - `./references/code-quality-reviewer-prompt.md`
29
- 5. Dispatch the implementer with:
30
- - full task text
31
- - local context
32
- - required verification command
33
- - expected output files or code areas
34
- 6. Review each returned slice in order:
35
- - spec compliance first
36
- - code quality second
37
- 7. Aggregate the accepted outputs back into the main branch or controller state.
38
- 8. Re-run the top-level verification needed for the combined result.
39
- 9. If any slice is blocked, either:
40
- - provide more context
41
- - split the slice further
42
- - fall back to sequential execution
43
-
44
- ## Fan-Out / Fan-In Rules
45
- - Fan out by task, not by file if the task still shares behavior.
46
- - The controller owns context selection, result curation, and final decision making.
47
- - The implementer owns only the assigned slice.
48
- - Reviewers do not trust implementer claims; they verify artifacts directly.
49
-
50
- ## When To Use
51
- - 2+ independent bug fixes
52
- - isolated implementation tasks under one approved plan
53
- - a task split where each slice can be verified without waiting on another slice
54
-
55
- ## Do Not Use When
56
- - a shared refactor spans the same files
57
- - the architecture is still unsettled
58
- - one slice defines the API or schema another slice depends on
59
-
60
- ## Red Flags
61
- - "We can parallelize this" without proving task independence.
62
- - Reusing the same vague context for every subagent.
63
- - Accepting subagent status without review.
64
- - Hiding Codex sequential fallback from the user.
1
+ ---
2
+ name: code-parallel
3
+ description: Parallel development with subagents. Use when facing 2+ independent tasks -- dispatch agents in parallel with context isolation, controller curates results.
4
+ ---
5
+
6
+ # Code Parallel
7
+
8
+ ## Critical Constraints
9
+ - I do not parallelize tasks that share mutable state, shared files, or unresolved sequencing dependencies.
10
+ - I do not mark a task complete until the implementer result and review result are both reconciled by the controller.
11
+
12
+ ## Overview
13
+ Use parallel execution only when the work can be safely decomposed into independent task slices.
14
+
15
+ ## Codex Runtime Note
16
+ On Codex, collab or subagent dispatch may be unavailable. When that happens, keep the same decomposition logic but execute the slices sequentially in a single session.
17
+
18
+ ## Process
19
+ 1. Read the approved implementation plan.
20
+ 2. Identify tasks that are independent enough to run in parallel.
21
+ 3. Reject parallelization when tasks:
22
+ - touch the same files or shared mutable state
23
+ - depend on the same unfinished migration or contract change
24
+ - require the same reviewer context at the same time
25
+ 4. For each safe task slice, prepare a self-contained prompt using:
26
+ - `./references/implementer-prompt.md`
27
+ - `./references/spec-reviewer-prompt.md`
28
+ - `./references/code-quality-reviewer-prompt.md`
29
+ 5. Dispatch the implementer with:
30
+ - full task text
31
+ - local context
32
+ - required verification command
33
+ - expected output files or code areas
34
+ 6. Review each returned slice in order:
35
+ - spec compliance first
36
+ - code quality second
37
+ 7. Aggregate the accepted outputs back into the main branch or controller state.
38
+ 8. Re-run the top-level verification needed for the combined result.
39
+ 9. If any slice is blocked, either:
40
+ - provide more context
41
+ - split the slice further
42
+ - fall back to sequential execution
43
+
44
+ ## Fan-Out / Fan-In Rules
45
+ - Fan out by task, not by file if the task still shares behavior.
46
+ - The controller owns context selection, result curation, and final decision making.
47
+ - The implementer owns only the assigned slice.
48
+ - Reviewers do not trust implementer claims; they verify artifacts directly.
49
+
50
+ ## When To Use
51
+ - 2+ independent bug fixes
52
+ - isolated implementation tasks under one approved plan
53
+ - a task split where each slice can be verified without waiting on another slice
54
+
55
+ ## Do Not Use When
56
+ - a shared refactor spans the same files
57
+ - the architecture is still unsettled
58
+ - one slice defines the API or schema another slice depends on
59
+
60
+ ## Red Flags
61
+ - "We can parallelize this" without proving task independence.
62
+ - Reusing the same vague context for every subagent.
63
+ - Accepting subagent status without review.
64
+ - Hiding Codex sequential fallback from the user.
@@ -1,26 +1,26 @@
1
- # Code Quality Reviewer Prompt Template
2
-
3
- Use this template when dispatching a code quality reviewer subagent.
4
-
5
- **Purpose:** Verify implementation is well-built (clean, tested, maintainable)
6
-
7
- **Only dispatch after spec compliance review passes.**
8
-
9
- ```
10
- Task tool (SDTK-CODE:code-reviewer):
11
- Use template at code-review/code-reviewer.md
12
-
13
- WHAT_WAS_IMPLEMENTED: [from implementer's report]
14
- PLAN_OR_REQUIREMENTS: Task N from [plan-file]
15
- BASE_SHA: [commit before task]
16
- HEAD_SHA: [current commit]
17
- DESCRIPTION: [task summary]
18
- ```
19
-
20
- **In addition to standard code quality concerns, the reviewer should check:**
21
- - Does each file have one clear responsibility with a well-defined interface?
22
- - Are units decomposed so they can be understood and tested independently?
23
- - Is the implementation following the file structure from the plan?
24
- - Did this implementation create new files that are already large, or significantly grow existing files? (Don't flag pre-existing file sizes -- focus on what this change contributed.)
25
-
26
- **Code reviewer returns:** Strengths, Issues (Critical/Important/Minor), Assessment
1
+ # Code Quality Reviewer Prompt Template
2
+
3
+ Use this template when dispatching a code quality reviewer subagent.
4
+
5
+ **Purpose:** Verify implementation is well-built (clean, tested, maintainable)
6
+
7
+ **Only dispatch after spec compliance review passes.**
8
+
9
+ ```
10
+ Task tool (SDTK-CODE:code-reviewer):
11
+ Use template at code-review/code-reviewer.md
12
+
13
+ WHAT_WAS_IMPLEMENTED: [from implementer's report]
14
+ PLAN_OR_REQUIREMENTS: Task N from [plan-file]
15
+ BASE_SHA: [commit before task]
16
+ HEAD_SHA: [current commit]
17
+ DESCRIPTION: [task summary]
18
+ ```
19
+
20
+ **In addition to standard code quality concerns, the reviewer should check:**
21
+ - Does each file have one clear responsibility with a well-defined interface?
22
+ - Are units decomposed so they can be understood and tested independently?
23
+ - Is the implementation following the file structure from the plan?
24
+ - Did this implementation create new files that are already large, or significantly grow existing files? (Don't flag pre-existing file sizes -- focus on what this change contributed.)
25
+
26
+ **Code reviewer returns:** Strengths, Issues (Critical/Important/Minor), Assessment