Validate handoff and approve targets at save #413

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

Goal

A literal handoff/approve target that is unknown or cannot carry the task is refused at save; a templated target is checked against the referenced result's enum.

Evidence

newHandoffStage/newApproveStage (internal/domain/workflow/control_steps.go:36-74) only check non-empty.

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

  • Save-time checks for literal and enum targets, refusing with the step named.
    Then commit (Conventional Commits, scoped by package), bd close this bead and stop.

Close reason

Closed


Imported from beads archie-core-rcxb.5 · GitHub #1265 · type bug · priority P1 · created 2026-10-05 · closed 2026-10-05

## Goal A literal handoff/approve target that is unknown or cannot carry the task is refused at save; a templated target is checked against the referenced result's enum. ## Evidence newHandoffStage/newApproveStage (internal/domain/workflow/control_steps.go:36-74) only check non-empty. ## 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 - [ ] Save-time checks for literal and enum targets, refusing with the step named. Then commit (Conventional Commits, scoped by package), `bd close` this bead and stop. ### Close reason Closed --- _Imported from beads `archie-core-rcxb.5` · GitHub #1265 · type bug · priority P1 · created 2026-10-05 · closed 2026-10-05_
sam added the highbug labels 2026-10-27 13:36:14 +00:00
sam self-assigned this 2026-10-27 13:36:14 +00:00
sam closed this issue 2026-10-27 13:36:14 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#413