bindings: a new binding cannot be approved without an unrelated edit #460

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

CreateBinding stores status draft, and ApproveBinding accepts only pending_approval. The only transition out of draft is an edit (PATCH), so an operator who creates a binding sees no Approve button (BindingRow.vue shows it only for pending_approval) and the API returns 409 'binding cannot be approved from its current state'. docs/architecture/bindings.md draws draft -> pending_approval but nothing performs it. Found in the t2db end-to-end run: the binding armed only after a no-op PATCH. Decide: create lands in pending_approval, or add an explicit submit step.

Close reason

Closed on GitHub; syncing bead state


Imported from beads archie-core-t2db.35 · GitHub #1037 · type bug · priority P1 · created 2026-09-23 · closed 2026-09-26

CreateBinding stores status draft, and ApproveBinding accepts only pending_approval. The only transition out of draft is an edit (PATCH), so an operator who creates a binding sees no Approve button (BindingRow.vue shows it only for pending_approval) and the API returns 409 'binding cannot be approved from its current state'. docs/architecture/bindings.md draws draft -> pending_approval but nothing performs it. Found in the t2db end-to-end run: the binding armed only after a no-op PATCH. Decide: create lands in pending_approval, or add an explicit submit step. ### Close reason Closed on GitHub; syncing bead state --- _Imported from beads `archie-core-t2db.35` · GitHub #1037 · type bug · priority P1 · created 2026-09-23 · closed 2026-09-26_
sam added the highbug labels 2026-10-27 13:36:25 +00:00
sam self-assigned this 2026-10-27 13:36:25 +00:00
sam closed this issue 2026-10-27 13:36:25 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#460