Evaluate each binding/capture pair once #150

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

Goal

A filtered, failed or denied capture is recorded as evaluated and not re-evaluated every cycle; only transient causes retry.

Evidence

internal/infrastructure/postgres/queries/edastore.sql:13-24 returns any capture without a binding_dispatches row; non-dispatch outcomes never claim one (daemon.go:646-675).

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

  • Terminal non-dispatch outcomes write a ledger row with their reason.
  • Store-unavailable and principal-unavailable stay retryable.
  • Test in the idempotent-dispatch seam: a filtered capture is evaluated once.
    Then commit (Conventional Commits, scoped by package), bd close this bead and stop.

Close reason

ledger row with reason for filtered/failed/denied; store and principal errors stay retryable


Imported from beads archie-core-bdb5.4 · GitHub #1270 · type bug · priority P1 · created 2026-10-05 · closed 2026-10-05

## Goal A filtered, failed or denied capture is recorded as evaluated and not re-evaluated every cycle; only transient causes retry. ## Evidence internal/infrastructure/postgres/queries/edastore.sql:13-24 returns any capture without a binding_dispatches row; non-dispatch outcomes never claim one (daemon.go:646-675). ## 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 - [ ] Terminal non-dispatch outcomes write a ledger row with their reason. - [ ] Store-unavailable and principal-unavailable stay retryable. - [ ] Test in the idempotent-dispatch seam: a filtered capture is evaluated once. Then commit (Conventional Commits, scoped by package), `bd close` this bead and stop. ### Close reason ledger row with reason for filtered/failed/denied; store and principal errors stay retryable --- _Imported from beads `archie-core-bdb5.4` · GitHub #1270 · type bug · priority P1 · created 2026-10-05 · closed 2026-10-05_
sam added the highbug 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#150