Link dispatches to the tasks they started #149

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

Goal

A binding lists its recent dispatches with capture and task links; captures and tasks link to each other.

Evidence

daemon.go:681 RecordDispatch(..., 0): task id always 0 and never written back after EnqueueBindingTask (689). No /api/bindings/{id}/dispatches route.

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

  • The ledger row records the task id.
  • GET /api/bindings/{id}/dispatches.
  • Binding page, CaptureDetail and task detail show the links.
    Then commit (Conventional Commits, scoped by package), bd close this bead and stop.

Close reason

ledger records task id; GET /api/{bindings,captures,tasks}/{id}/dispatches; binding editor, capture detail and task header link each other


Imported from beads archie-core-bdb5.3 · GitHub #1272 · type feature · priority P1 · created 2026-10-05 · closed 2026-10-05

## Goal A binding lists its recent dispatches with capture and task links; captures and tasks link to each other. ## Evidence daemon.go:681 RecordDispatch(..., 0): task id always 0 and never written back after EnqueueBindingTask (689). No /api/bindings/{id}/dispatches route. ## 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 - [ ] The ledger row records the task id. - [ ] GET /api/bindings/{id}/dispatches. - [ ] Binding page, CaptureDetail and task detail show the links. Then commit (Conventional Commits, scoped by package), `bd close` this bead and stop. ### Close reason ledger records task id; GET /api/{bindings,captures,tasks}/{id}/dispatches; binding editor, capture detail and task header link each other --- _Imported from beads `archie-core-bdb5.3` · GitHub #1272 · type feature · priority P1 · created 2026-10-05 · closed 2026-10-05_
sam added the highfeature labels 2026-10-27 13:35:09 +00:00
sam self-assigned this 2026-10-27 13:35:09 +00:00
sam closed this issue 2026-10-27 13:35:09 +00:00
sam added a new dependency 2026-11-14 14:45:10 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#149