sequant 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/cli.js +12 -0
- package/dist/bin/cli.js.map +1 -1
- package/dist/src/commands/doctor.d.ts.map +1 -1
- package/dist/src/commands/doctor.js +1 -25
- package/dist/src/commands/doctor.js.map +1 -1
- package/dist/src/commands/doctor.test.js +28 -97
- package/dist/src/commands/doctor.test.js.map +1 -1
- package/dist/src/commands/init.d.ts.map +1 -1
- package/dist/src/commands/init.js +3 -27
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/init.test.js +32 -75
- package/dist/src/commands/init.test.js.map +1 -1
- package/dist/src/commands/logs.d.ts +18 -0
- package/dist/src/commands/logs.d.ts.map +1 -0
- package/dist/src/commands/logs.js +188 -0
- package/dist/src/commands/logs.js.map +1 -0
- package/dist/src/commands/run.d.ts +2 -0
- package/dist/src/commands/run.d.ts.map +1 -1
- package/dist/src/commands/run.js +114 -29
- package/dist/src/commands/run.js.map +1 -1
- package/dist/src/lib/system.d.ts +16 -0
- package/dist/src/lib/system.d.ts.map +1 -0
- package/dist/src/lib/system.js +52 -0
- package/dist/src/lib/system.js.map +1 -0
- package/dist/src/lib/system.test.d.ts +2 -0
- package/dist/src/lib/system.test.d.ts.map +1 -0
- package/dist/src/lib/system.test.js +80 -0
- package/dist/src/lib/system.test.js.map +1 -0
- package/dist/src/lib/workflow/log-writer.d.ts +83 -0
- package/dist/src/lib/workflow/log-writer.d.ts.map +1 -0
- package/dist/src/lib/workflow/log-writer.js +193 -0
- package/dist/src/lib/workflow/log-writer.js.map +1 -0
- package/dist/src/lib/workflow/run-log-schema.d.ts +261 -0
- package/dist/src/lib/workflow/run-log-schema.d.ts.map +1 -0
- package/dist/src/lib/workflow/run-log-schema.js +234 -0
- package/dist/src/lib/workflow/run-log-schema.js.map +1 -0
- package/package.json +3 -2
- package/templates/skills/assess/SKILL.md +15 -0
- package/templates/skills/clean/SKILL.md +15 -0
- package/templates/skills/docs/SKILL.md +16 -0
- package/templates/skills/exec/SKILL.md +14 -0
- package/templates/skills/fullsolve/SKILL.md +16 -0
- package/templates/skills/loop/SKILL.md +14 -0
- package/templates/skills/qa/SKILL.md +67 -0
- package/templates/skills/reflect/SKILL.md +14 -0
- package/templates/skills/security-review/SKILL.md +15 -0
- package/templates/skills/solve/SKILL.md +44 -0
- package/templates/skills/spec/SKILL.md +59 -0
- package/templates/skills/test/SKILL.md +14 -0
- package/templates/skills/testgen/SKILL.md +15 -0
- package/templates/skills/verify/SKILL.md +15 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-log-schema.js","sourceRoot":"","sources":["../../../../src/lib/workflow/run-log-schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,IAAI,CAAC;IAChC,MAAM;IACN,SAAS;IACT,MAAM;IACN,MAAM;IACN,IAAI;IACJ,MAAM;CACP,CAAC,CAAC;AAIH;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,IAAI,CAAC;IACtC,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;CACV,CAAC,CAAC;AAIH;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC;AAI3E;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,8BAA8B;IAC9B,KAAK,EAAE,WAAW;IAClB,0BAA0B;IAC1B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACxC,6BAA6B;IAC7B,SAAS,EAAE,CAAC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
{
|
|
2
2
|
"name": "sequant",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Quantize your development workflow - Sequential AI phases with quality gates",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -57,7 +57,8 @@
|
|
|
57
57
|
"commander": "^12.1.0",
|
|
58
58
|
"diff": "^7.0.0",
|
|
59
59
|
"inquirer": "^12.3.2",
|
|
60
|
-
"yaml": "^2.7.0"
|
|
60
|
+
"yaml": "^2.7.0",
|
|
61
|
+
"zod": "^4.3.5"
|
|
61
62
|
},
|
|
62
63
|
"devDependencies": {
|
|
63
64
|
"@types/diff": "^7.0.0",
|
|
@@ -426,3 +426,18 @@ After providing the assessment, briefly note:
|
|
|
426
426
|
- Keep the assessment concise - aim for clarity, not exhaustiveness
|
|
427
427
|
- When in doubt about phase, say so - better to acknowledge uncertainty
|
|
428
428
|
- Use this to orient yourself, then proceed with the appropriate workflow command
|
|
429
|
+
|
|
430
|
+
---
|
|
431
|
+
|
|
432
|
+
## Output Verification
|
|
433
|
+
|
|
434
|
+
**Before responding, verify your output includes ALL of these:**
|
|
435
|
+
|
|
436
|
+
- [ ] **Issue Summary** - Issue number, title, status, last activity, phase
|
|
437
|
+
- [ ] **AC Coverage** - Each AC marked MET/IN_PROGRESS/NOT_STARTED/UNCLEAR
|
|
438
|
+
- [ ] **Artifacts Found** - Planning, implementation, and QA artifacts listed
|
|
439
|
+
- [ ] **Blockers & Issues** - Any blockers or staleness identified
|
|
440
|
+
- [ ] **Recommendation** - Specific next command to run with rationale
|
|
441
|
+
- [ ] **Confidence Level** - High/Medium/Low with information gaps noted
|
|
442
|
+
|
|
443
|
+
**DO NOT respond until all items are verified.**
|
|
@@ -194,3 +194,18 @@ Next cleanup recommended: [date + 30 days]
|
|
|
194
194
|
## BEGIN EXECUTION
|
|
195
195
|
|
|
196
196
|
Execute the cleanup following the steps above. Be thorough but safe - when in doubt, skip a file rather than risk breaking something.
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
## Output Verification
|
|
201
|
+
|
|
202
|
+
**Before responding, verify your output includes ALL of these:**
|
|
203
|
+
|
|
204
|
+
- [ ] **Pre-flight Results** - Branch check, build verification passed
|
|
205
|
+
- [ ] **Cleanup Manifest** - List of files to be archived/removed
|
|
206
|
+
- [ ] **Archive Summary** - Count of files archived by category
|
|
207
|
+
- [ ] **Build Verification** - Post-cleanup build/lint passed
|
|
208
|
+
- [ ] **Commit Details** - Commit hash and push confirmation
|
|
209
|
+
- [ ] **Next Cleanup Date** - Recommended date for next cleanup
|
|
210
|
+
|
|
211
|
+
**DO NOT respond until all items are verified.**
|
|
@@ -319,3 +319,19 @@ For Issue #180 (City Configuration UI):
|
|
|
319
319
|
|
|
320
320
|
*Generated for Issue #180 on 2025-11-25*
|
|
321
321
|
```
|
|
322
|
+
|
|
323
|
+
---
|
|
324
|
+
|
|
325
|
+
## Output Verification
|
|
326
|
+
|
|
327
|
+
**Before responding, verify your output includes ALL of these:**
|
|
328
|
+
|
|
329
|
+
- [ ] **Documentation File** - Created in correct directory (docs/admin/ or docs/features/)
|
|
330
|
+
- [ ] **Quick Start Section** - 1-2 sentence summary
|
|
331
|
+
- [ ] **Access Section** - URL, menu path, permissions
|
|
332
|
+
- [ ] **Usage Section** - Step-by-step workflows
|
|
333
|
+
- [ ] **Options Table** - Settings with descriptions and defaults
|
|
334
|
+
- [ ] **Troubleshooting** - At least 1-2 common issues
|
|
335
|
+
- [ ] **GitHub Comment** - Summary posted to issue
|
|
336
|
+
|
|
337
|
+
**DO NOT respond until all items are verified.**
|
|
@@ -416,3 +416,17 @@ At the end of a session:
|
|
|
416
416
|
```
|
|
417
417
|
|
|
418
418
|
You may be invoked multiple times for the same issue. Each time, re-establish context, ensure you're in the correct worktree, and continue iterating until we are as close as practical to meeting the AC.
|
|
419
|
+
|
|
420
|
+
---
|
|
421
|
+
|
|
422
|
+
## Output Verification
|
|
423
|
+
|
|
424
|
+
**Before responding, verify your output includes ALL of these:**
|
|
425
|
+
|
|
426
|
+
- [ ] **AC Progress Summary** - Which AC items are satisfied, partially met, or blocked
|
|
427
|
+
- [ ] **Files Changed** - List of key files modified
|
|
428
|
+
- [ ] **Test/Build Results** - Output from `npm test` and `npm run build`
|
|
429
|
+
- [ ] **Progress Update Draft** - Formatted comment for GitHub issue
|
|
430
|
+
- [ ] **Next Steps** - Clear guidance on remaining work
|
|
431
|
+
|
|
432
|
+
**DO NOT respond until all items are verified.**
|
|
@@ -479,3 +479,19 @@ For multiple issues, run `/fullsolve` on each sequentially:
|
|
|
479
479
|
```
|
|
480
480
|
|
|
481
481
|
Each issue gets its own worktree, PR, and quality validation.
|
|
482
|
+
|
|
483
|
+
---
|
|
484
|
+
|
|
485
|
+
## Output Verification
|
|
486
|
+
|
|
487
|
+
**Before responding, verify your output includes ALL of these:**
|
|
488
|
+
|
|
489
|
+
- [ ] **Progress Table** - Phase, iterations, and status for each phase
|
|
490
|
+
- [ ] **AC Coverage** - Each AC marked MET/PARTIALLY_MET/NOT_MET
|
|
491
|
+
- [ ] **Quality Metrics** - Tests passed, build status, type issues
|
|
492
|
+
- [ ] **Iteration Summary** - Test loop and QA loop iteration counts
|
|
493
|
+
- [ ] **Final Verdict** - READY_FOR_MERGE, AC_MET_BUT_NOT_A_PLUS, or AC_NOT_MET
|
|
494
|
+
- [ ] **PR Link** - Pull request URL (if created)
|
|
495
|
+
- [ ] **Final GitHub Comment** - Summary posted to issue
|
|
496
|
+
|
|
497
|
+
**DO NOT respond until all items are verified.**
|
|
@@ -311,3 +311,17 @@ Please run /exec <N> first to create the worktree.
|
|
|
311
311
|
**Max iterations:** 3 (prevents infinite loops)
|
|
312
312
|
**Re-validation after each fix:** Required
|
|
313
313
|
**GitHub comment:** Posted after loop completion
|
|
314
|
+
|
|
315
|
+
---
|
|
316
|
+
|
|
317
|
+
## Output Verification
|
|
318
|
+
|
|
319
|
+
**Before responding, verify your output includes ALL of these:**
|
|
320
|
+
|
|
321
|
+
- [ ] **Iteration Progress** - Current iteration X/3
|
|
322
|
+
- [ ] **Issues from Previous Phase** - List of issues being fixed
|
|
323
|
+
- [ ] **Fixes Applied** - Each fix with file:line location
|
|
324
|
+
- [ ] **Re-validation Results** - Tests/build/AC status after fixes
|
|
325
|
+
- [ ] **Final Status** - FIXED, NEEDS_MORE_WORK, or MAX_ITERATIONS_REACHED
|
|
326
|
+
|
|
327
|
+
**DO NOT respond until all items are verified.**
|
|
@@ -277,3 +277,70 @@ fi
|
|
|
277
277
|
|
|
278
278
|
/qa 558 # Re-run, now sees verification, can give READY_FOR_MERGE
|
|
279
279
|
```
|
|
280
|
+
|
|
281
|
+
---
|
|
282
|
+
|
|
283
|
+
## Output Verification
|
|
284
|
+
|
|
285
|
+
**Before responding, verify your output includes ALL of these:**
|
|
286
|
+
|
|
287
|
+
- [ ] **AC Coverage** - Each AC item marked as MET, PARTIALLY_MET, or NOT_MET
|
|
288
|
+
- [ ] **Verdict** - One of: READY_FOR_MERGE, AC_MET_BUT_NOT_A_PLUS, AC_NOT_MET
|
|
289
|
+
- [ ] **Quality Metrics** - Type issues, deleted tests, files changed, additions/deletions
|
|
290
|
+
- [ ] **Code Review Findings** - Strengths, issues, suggestions
|
|
291
|
+
- [ ] **Next Steps** - Clear, actionable recommendations
|
|
292
|
+
|
|
293
|
+
**DO NOT respond until all items are verified.**
|
|
294
|
+
|
|
295
|
+
## Output Template
|
|
296
|
+
|
|
297
|
+
You MUST include these sections:
|
|
298
|
+
|
|
299
|
+
```markdown
|
|
300
|
+
## QA Review for Issue #<N>
|
|
301
|
+
|
|
302
|
+
### AC Coverage
|
|
303
|
+
|
|
304
|
+
| AC | Description | Status | Notes |
|
|
305
|
+
|----|-------------|--------|-------|
|
|
306
|
+
| AC-1 | [description] | MET/PARTIALLY_MET/NOT_MET | [explanation] |
|
|
307
|
+
| AC-2 | [description] | MET/PARTIALLY_MET/NOT_MET | [explanation] |
|
|
308
|
+
|
|
309
|
+
**Coverage:** X/Y AC items fully met
|
|
310
|
+
|
|
311
|
+
---
|
|
312
|
+
|
|
313
|
+
### Quality Metrics
|
|
314
|
+
|
|
315
|
+
| Metric | Value | Status |
|
|
316
|
+
|--------|-------|--------|
|
|
317
|
+
| Type issues (`any`) | X | OK/WARN |
|
|
318
|
+
| Deleted tests | X | OK/WARN |
|
|
319
|
+
| Files changed | X | OK/WARN |
|
|
320
|
+
| Lines added | +X | - |
|
|
321
|
+
| Lines deleted | -X | - |
|
|
322
|
+
|
|
323
|
+
---
|
|
324
|
+
|
|
325
|
+
### Code Review
|
|
326
|
+
|
|
327
|
+
**Strengths:**
|
|
328
|
+
- [Positive findings]
|
|
329
|
+
|
|
330
|
+
**Issues:**
|
|
331
|
+
- [Problems found]
|
|
332
|
+
|
|
333
|
+
**Suggestions:**
|
|
334
|
+
- [Improvements recommended]
|
|
335
|
+
|
|
336
|
+
---
|
|
337
|
+
|
|
338
|
+
### Verdict: [READY_FOR_MERGE | AC_MET_BUT_NOT_A_PLUS | AC_NOT_MET]
|
|
339
|
+
|
|
340
|
+
[Explanation of verdict]
|
|
341
|
+
|
|
342
|
+
### Next Steps
|
|
343
|
+
|
|
344
|
+
1. [Action item 1]
|
|
345
|
+
2. [Action item 2]
|
|
346
|
+
```
|
|
@@ -159,3 +159,17 @@ At the end of reflection, ask:
|
|
|
159
159
|
- Did I identify root causes or just symptoms?
|
|
160
160
|
- Will these changes be maintainable long-term?
|
|
161
161
|
- Am I in the right workflow phase for this reflection focus?
|
|
162
|
+
|
|
163
|
+
---
|
|
164
|
+
|
|
165
|
+
## Output Verification
|
|
166
|
+
|
|
167
|
+
**Before responding, verify your output includes ALL of these:**
|
|
168
|
+
|
|
169
|
+
- [ ] **Session Summary** - What was accomplished, what went well, friction points
|
|
170
|
+
- [ ] **Effectiveness Analysis** - Token efficiency, context gathering, pattern reuse
|
|
171
|
+
- [ ] **Proposed Changes** - Specific changes with target files and rationale
|
|
172
|
+
- [ ] **Documentation Health** - Line count, bloat assessment, recommendations
|
|
173
|
+
- [ ] **Action Items** - Checklist of concrete next steps
|
|
174
|
+
|
|
175
|
+
**DO NOT respond until all items are verified.**
|
|
@@ -342,3 +342,18 @@ EOF
|
|
|
342
342
|
- Trace session lifecycle
|
|
343
343
|
- Review token handling
|
|
344
344
|
- Check for timing vulnerabilities
|
|
345
|
+
|
|
346
|
+
---
|
|
347
|
+
|
|
348
|
+
## Output Verification
|
|
349
|
+
|
|
350
|
+
**Before responding, verify your output includes ALL of these:**
|
|
351
|
+
|
|
352
|
+
- [ ] **Security Domain** - Identified domains (Auth, API, Admin, Data, Infra)
|
|
353
|
+
- [ ] **Threat Model Summary** - Attack surface, threat actors, attack vectors
|
|
354
|
+
- [ ] **Findings by Severity** - Critical, High, Medium, Low/Informational
|
|
355
|
+
- [ ] **Checklist Status Table** - Passed/Failed/Manual counts per domain
|
|
356
|
+
- [ ] **Verdict** - SECURE, WARNINGS, or ISSUES_FOUND
|
|
357
|
+
- [ ] **GitHub Comment** - Security review posted to issue
|
|
358
|
+
|
|
359
|
+
**DO NOT respond until all items are verified.**
|
|
@@ -194,3 +194,47 @@ If issues depend on each other:
|
|
|
194
194
|
2. (Wait for PR merge)
|
|
195
195
|
3. /fullsolve 154
|
|
196
196
|
```
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
## Output Verification
|
|
201
|
+
|
|
202
|
+
**Before responding, verify your output includes ALL of these:**
|
|
203
|
+
|
|
204
|
+
- [ ] **Issue Summary Table** - Table with Issue, Title, Labels, Workflow columns
|
|
205
|
+
- [ ] **Recommended Workflow** - Slash commands in order for each issue
|
|
206
|
+
- [ ] **CLI Command** - `sequant run <issue-numbers>` command (REQUIRED)
|
|
207
|
+
- [ ] **Explanation** - Brief notes explaining workflow choices
|
|
208
|
+
|
|
209
|
+
**DO NOT respond until all items are verified.**
|
|
210
|
+
|
|
211
|
+
## Output Template
|
|
212
|
+
|
|
213
|
+
You MUST use this exact structure:
|
|
214
|
+
|
|
215
|
+
```markdown
|
|
216
|
+
## Solve Workflow for Issues: <ISSUE_NUMBERS>
|
|
217
|
+
|
|
218
|
+
### Issue Analysis
|
|
219
|
+
|
|
220
|
+
| Issue | Title | Labels | Workflow |
|
|
221
|
+
|-------|-------|--------|----------|
|
|
222
|
+
<!-- FILL: one row per issue -->
|
|
223
|
+
|
|
224
|
+
### Recommended Workflow
|
|
225
|
+
|
|
226
|
+
**For #<N> (<type>):**
|
|
227
|
+
\`\`\`bash
|
|
228
|
+
<!-- FILL: slash commands in order -->
|
|
229
|
+
\`\`\`
|
|
230
|
+
|
|
231
|
+
### CLI Command
|
|
232
|
+
|
|
233
|
+
Run from terminal (useful for automation/CI):
|
|
234
|
+
\`\`\`bash
|
|
235
|
+
sequant run <ISSUE_NUMBERS>
|
|
236
|
+
\`\`\`
|
|
237
|
+
|
|
238
|
+
### Notes
|
|
239
|
+
<!-- FILL: explanation of workflow choices -->
|
|
240
|
+
```
|
|
@@ -166,3 +166,62 @@ Post the draft comment to GitHub:
|
|
|
166
166
|
gh issue comment <issue-number> --body "..."
|
|
167
167
|
gh issue edit <issue-number> --add-label "planned"
|
|
168
168
|
```
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## Output Verification
|
|
173
|
+
|
|
174
|
+
**Before responding, verify your output includes ALL of these:**
|
|
175
|
+
|
|
176
|
+
- [ ] **AC Checklist** - Numbered AC items (AC-1, AC-2, etc.) with descriptions
|
|
177
|
+
- [ ] **Verification Criteria** - Each AC has Verification Method and Test Scenario
|
|
178
|
+
- [ ] **Implementation Plan** - 3-7 concrete steps with codebase references
|
|
179
|
+
- [ ] **Open Questions** - Any ambiguities with recommended defaults
|
|
180
|
+
- [ ] **Issue Comment Draft** - Formatted for GitHub posting
|
|
181
|
+
|
|
182
|
+
**DO NOT respond until all items are verified.**
|
|
183
|
+
|
|
184
|
+
## Output Template
|
|
185
|
+
|
|
186
|
+
You MUST include these sections in order:
|
|
187
|
+
|
|
188
|
+
```markdown
|
|
189
|
+
## Acceptance Criteria
|
|
190
|
+
|
|
191
|
+
### AC-1: [Description]
|
|
192
|
+
|
|
193
|
+
**Verification Method:** [Unit Test | Integration Test | Browser Test | Manual Test]
|
|
194
|
+
|
|
195
|
+
**Test Scenario:**
|
|
196
|
+
- Given: [Initial state]
|
|
197
|
+
- When: [Action]
|
|
198
|
+
- Then: [Expected outcome]
|
|
199
|
+
|
|
200
|
+
### AC-2: [Description]
|
|
201
|
+
<!-- Continue for all AC items -->
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
## Implementation Plan
|
|
206
|
+
|
|
207
|
+
### Phase 1: [Phase Name]
|
|
208
|
+
1. [Step with specific file/component references]
|
|
209
|
+
2. [Step]
|
|
210
|
+
|
|
211
|
+
### Phase 2: [Phase Name]
|
|
212
|
+
<!-- Continue for all phases -->
|
|
213
|
+
|
|
214
|
+
---
|
|
215
|
+
|
|
216
|
+
## Open Questions
|
|
217
|
+
|
|
218
|
+
1. **[Question]**
|
|
219
|
+
- Recommendation: [Default choice]
|
|
220
|
+
- Impact: [What happens if wrong]
|
|
221
|
+
|
|
222
|
+
---
|
|
223
|
+
|
|
224
|
+
--- DRAFT GITHUB ISSUE COMMENT (PLAN) ---
|
|
225
|
+
|
|
226
|
+
[Complete formatted comment for GitHub]
|
|
227
|
+
```
|
|
@@ -507,3 +507,17 @@ Testing session is complete when:
|
|
|
507
507
|
Both can be used together:
|
|
508
508
|
1. `/test` → Verify feature works for users
|
|
509
509
|
2. `/qa` → Verify code quality and completeness
|
|
510
|
+
|
|
511
|
+
---
|
|
512
|
+
|
|
513
|
+
## Output Verification
|
|
514
|
+
|
|
515
|
+
**Before responding, verify your output includes ALL of these:**
|
|
516
|
+
|
|
517
|
+
- [ ] **Test Summary** - X/Y tests passed
|
|
518
|
+
- [ ] **Test Results Table** - Each test marked PASS, FAIL, or BLOCKED
|
|
519
|
+
- [ ] **Bugs Found** - List of bugs with file:line locations (if any)
|
|
520
|
+
- [ ] **Coverage** - Completed, failed, blocked, remaining counts
|
|
521
|
+
- [ ] **Recommendations** - Next steps for failures or follow-up
|
|
522
|
+
|
|
523
|
+
**DO NOT respond until all items are verified.**
|
|
@@ -558,3 +558,18 @@ For Issue #452 (hooks):
|
|
|
558
558
|
---
|
|
559
559
|
Generated with [Claude Code](https://claude.com/claude-code)
|
|
560
560
|
```
|
|
561
|
+
|
|
562
|
+
---
|
|
563
|
+
|
|
564
|
+
## Output Verification
|
|
565
|
+
|
|
566
|
+
**Before responding, verify your output includes ALL of these:**
|
|
567
|
+
|
|
568
|
+
- [ ] **AC Parsing** - Each AC identified with verification method
|
|
569
|
+
- [ ] **Test Stubs Generated** - Files created for Unit/Integration tests
|
|
570
|
+
- [ ] **Browser/Manual Scenarios** - Written for applicable AC items
|
|
571
|
+
- [ ] **Failure Paths** - Error handling stubs for each AC
|
|
572
|
+
- [ ] **Summary Table** - AC count, happy path count, failure path count
|
|
573
|
+
- [ ] **GitHub Comment** - Summary posted to issue
|
|
574
|
+
|
|
575
|
+
**DO NOT respond until all items are verified.**
|
|
@@ -264,3 +264,18 @@ If verification fails due to infrastructure issues:
|
|
|
264
264
|
4. **File not found:** Verify worktree is correct, check file paths
|
|
265
265
|
|
|
266
266
|
Report infrastructure issues separately from feature issues.
|
|
267
|
+
|
|
268
|
+
---
|
|
269
|
+
|
|
270
|
+
## Output Verification
|
|
271
|
+
|
|
272
|
+
**Before responding, verify your output includes ALL of these:**
|
|
273
|
+
|
|
274
|
+
- [ ] **Command Executed** - The exact command that was run
|
|
275
|
+
- [ ] **Exit Code** - Success (0) or error code
|
|
276
|
+
- [ ] **Duration** - How long the command took
|
|
277
|
+
- [ ] **Output Sample** - Captured stdout/stderr (truncated if needed)
|
|
278
|
+
- [ ] **Human Confirmation** - User's verification response recorded
|
|
279
|
+
- [ ] **GitHub Comment** - Verification evidence posted to issue
|
|
280
|
+
|
|
281
|
+
**DO NOT respond until all items are verified.**
|