Gated resume E2E for a fatal comment-post failure (PILOOP_E2E=1) #310
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#310
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
Prove end-to-end (gated,
PILOOP_E2E=1) that a fatal comment-post failure resumes to exactly one posted comment: the first run fails with a write-back-attributed error and zero issue comments; the resumed run skips the implement agent and posts exactly once (ADR-021 §9).Background
Depends on: #306, #308
The fault-injectable
postNoCodeChangeCommentseam (from the short-circuit wiring) makes the failure injectable; the resume mapping (validno-code-change.json= implement-complete) makes the resumed run skip implement. The existing gated E2E infra lives undere2e/(PILOOP_E2E=1 npm run e2e). Assert only artifacts and platform state — never exact LLM text.Implementation Details
e2e/(follow existing fixture conventions: sandbox repo + throwaway issue):no-code-change.json(seed the artifact or use a scripted implement outcome as existing fixtures do).ok, and the issue has exactly one comment.Acceptance Criteria
write-backattribution and zero comments on the issue.ok.PILOOP_E2E=1suite passes on a sandbox repo.Test Plan
PILOOP_E2E=1 npm run e2eon a sandbox repo (matching what existing fixtures target). A real one-off no-code-change run to eyeball the posted comment text may be done here or in the final docs/validation step.