issue-311: Doc updates and validation for the no-code-change comment feature #318
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/issue-311/doc-updates-and-validation-for-the-no-code-change"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
311: Doc updates and validation for the no-code-change comment feature
Closes #311 — 311.
Generated in 19m 15s.
Review findings
Now I'll apply the fixes. First, the README.md Medium finding (exit-code table row + new policy bullet):Now the two DESIGN.md Low findings (artifact-inventory table rows + hard-wrap the §3.4 paragraph):Now normalize README formatting (it is prettier-clean at baseline, so
--writeonly touches my edited region) and inspect the diffs:Both docs fixes are in place. Now re-run the project gates (npm run build,npm run lint,npm testper package.json):All gates pass. Let me verify the working tree contains only the intended doc changes:# Review Findings — 311Summary
All three findings were resolved in this pass. Medium: README.md's "Exit codes & error handling" section now covers the no-code-change comment path — the exit-
0row names no-code-change success and a new Fatal no-code-change comment policy bullet documents the sole-deliverable/fatal-on-post-failure exception (stagewrite-back, exit1, resumable, ADR-021 §5). Low: DESIGN.md §3.4'sno-code-change-comment.jsonparagraph is hard-wrapped to the surrounding prose width (bold markers intact), and the §3.3 artifact-inventory table gainedno-code-change-comment.jsonplus the two sibling completion artifacts (no-code-change.json,mr-skipped.json) for a complete inventory. Gates re-run after the fixes:npm run build✅ PASS,npm run lint✅ PASS,npm test✅ PASS (148 files / 2128 tests). No findings remain.Critical
High
Medium
0row (README.md:436) says success always means "a Draft MR was created". The new AGENTS.md:251 row documents a fatal exception (comment post failure →error.jsonattributed towrite-back, non-zero exit, resumable) that README's policy enumeration now omits — an obvious enumeration gap in an in-scope doc (the AGENTS.md docs-stage default scope includesREADME.md). Suggested fix: add a bullet under "Exit codes & error handling" stating that on the no-code-change short-circuit the deterministic comment is the sole deliverable and a post failure is fatal (stagewrite-back, exit 1), and amend the exit-0wording to cover no-code-change success.Low
**only after**/**before**emphasis intact).no-code-change-comment.jsoneven though the same change documents it in §3.4 (line 333);no-code-change.jsonandmr-skipped.jsonare likewise absent (pre-existing drift). Suggested fix: add ano-code-change-comment.jsonrow (produced by: no-code-change short-circuit / write-back; consumed by: resume/skip detection) and optionally backfill the two sibling artifacts for a complete inventory.