Doc updates and validation for the no-code-change comment feature #311
Labels
No labels
batch
bug
chore
documentation
enhancement
pi-loop
ready
resume
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
david/pi-loop#311
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Summary
Update the project docs — the AGENTS.md error-handling table + ADR cross-references and the DESIGN.md §3.4 artifact inventory — for the new fatal, resumable no-code-change comment path, then run the full validation sequence (lint, unit tests, build, gated E2E) (ADR-021 §5 + §9).
Background
Depends on: #310
ADR-021 (
docs/adr/021-no-code-change-comment.md) is already written as the feature's design record — no changes to it (read it to keep wording consistent). The doc work makes the new behavior load-bearing-documented: the error-handling policy table in AGENTS.md must gain the fatal write-back-attributed row, and DESIGN.md must list the new artifact. The validation sequence is the feature's final gate.Implementation Details
AGENTS.md— error-handling policy table: add the fatal row (no-code-change comment failure → abort witherror.json, resumable — an explicit exception to the non-fatal write-back row, per ADR-021 §5). Add the ADR-021 cross-reference to the ADR list paragraph.DESIGN.md— §3.4 artifact inventory: addno-code-change-comment.json({ issueKey, postedAt }) with a note on the resume special case (validno-code-change.json= implement-complete evidence → resume skips implement).docs/adr/021-no-code-change-comment.md— already exists; leave untouched.npm run lint,npm test(all unit suites incl. the new ones),npm run build, then the gated resume E2E (PILOOP_E2E=1) plus one real no-code-change run against a sandbox issue to eyeball the posted comment text.Acceptance Criteria
error.json, resumable) and the ADR-021 cross-reference in the ADR list.no-code-change-comment.jsonwith its{ issueKey, postedAt }shape and the resume special case.npm run lint,npm test, andnpm run buildall green.Test Plan
pi-loop opened and merged a pull request for this issue: #318