Rejecting a pr_open task closes its PR #331

Closed
opened 2026-10-27 13:35:52 +00:00 by sam · 0 comments
Owner

Goal

Rejecting a pr_open task closes the PR with a comment, or reject is not offered for pr_open.

Evidence

taskstate offers reject for PROpen (internal/taskstate/taskstate.go:79); the reject path closes only the issue; no ClosePR in the forge interface.

Rules

Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run task check once at the end; if it fails twice on the same problem, comment on this bead and stop.

Stop when

  • ClosePR on the forge contract and implementations, called by reject for pr_open.
  • Event recorded.
    Then commit (Conventional Commits, scoped by package), bd close this bead and stop.

Close reason

ClosePR on the forge contract (core f3f73f85, archipelago forge impls); reject from pr_open closes the PR and records pr_closed


Imported from beads archie-core-l8rc.3 · GitHub #1261 · type bug · priority P1 · created 2026-10-05 · closed 2026-10-05

## Goal Rejecting a pr_open task closes the PR with a comment, or reject is not offered for pr_open. ## Evidence taskstate offers reject for PROpen (internal/taskstate/taskstate.go:79); the reject path closes only the issue; no ClosePR in the forge interface. ## Rules Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run `task check` once at the end; if it fails twice on the same problem, comment on this bead and stop. ## Stop when - [ ] ClosePR on the forge contract and implementations, called by reject for pr_open. - [ ] Event recorded. Then commit (Conventional Commits, scoped by package), `bd close` this bead and stop. ### Close reason ClosePR on the forge contract (core f3f73f85, archipelago forge impls); reject from pr_open closes the PR and records pr_closed --- _Imported from beads `archie-core-l8rc.3` · GitHub #1261 · type bug · priority P1 · created 2026-10-05 · closed 2026-10-05_
sam added the highbug labels 2026-10-27 13:35:52 +00:00
sam self-assigned this 2026-10-27 13:35:52 +00:00
sam closed this issue 2026-10-27 13:35:53 +00:00
sam added a new dependency 2026-11-14 14:45:21 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#331