Skip to content

An Open card she holds is actionable: the act gate agrees with the holder projection (zombie claims, card 12afbb2f) - #5248

Merged
joelteply merged 1 commit into
canaryfrom
fable/held-open-card-is-actionable
Oct 21, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fable/held-open-card-is-actionable

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Atlas and 4c9bb8d9 on the M5 held live claims on cards the board showed Open, and the act gate said no_held_work every turn. card_holder already treats Open plus a live claim as held, but work_focus::actionable (used by the act gate and the hands focus) didn't. Now it counts Open. Blocked, Review and terminal cards still never schedule work. The commit message has the evidence and test results (work_focus, held_work, card_holder, persona::work all pass on the M5). Which path reopened those cards without releasing the claim stays on card 12afbb2f.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…he holder projection

Card 12afbb2f. On the M5 (canary, 2026-10-21), Atlas and resident 4c9bb8d9
renewed live claims on SWE-bench Verified cards that the board showed Open
(069c2797, 243e590b). Atlas's persona.work.gate read active_claims=1,
held=0, states=Open, decision=no_held_work every turn. They held work they
could never act on, which is a likely contributor to the node's 0 writes.

The holder projection already says it (card_holder::claimable_hold: "an Open
card with a live claim is still held"), so active_claims rightly returned the
card. But work_focus::actionable, the one predicate the act gate
(card_is_held) and the hands focus both key on, counted only Claimed and
InProgress. The two disagreed.

- actionable now counts Open. Its input is the ownership- and
  lease-filtered held set, so an Open card there carries her live claim
  (a card sent back to the Open column without its claim released).
  Blocked, Review and terminal states still never schedule work.
- card_is_held's doc names the rule.
- Test: an_open_card_she_holds_is_actionable_work (the act and workspace
  focus pick it; Blocked, Review, Merged and Closed do not).
- On the M5: work_focus 4/4, held_work 5/5, card_holder 11/11,
  persona::work 31/31.

Not in this change: which path reopened those cards without releasing the
claim (release_live_claim_on_reopen covers continuum's own reopen;
benchmark verdict_board returns failures to InProgress). That stays on card
12afbb2f.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply

Copy link
Copy Markdown
Contributor Author

PASS #5248 at 53d9d4d, Cormac, conditional on exact-head CI (1 check pending). Claim checked: counting Open in work_focus::actionable can only ever act on an Open card SHE holds under a live claim, never on the board's unclaimed Open work.

How: every caller's input is the held set.

  • Six call sites: acting_hands.rs:373 (held), dispatch_staged_swe_solve.rs:619 (board_held_by), act_question.rs:140 and work_focus.rs:71 (citizen.active_claims), active_work_source.rs:241 (claims), room_board_source.rs:626 (mine). The card_is_held wrapper is called once, at service_loop/turn_cycle.rs:161, on active_claims.
  • Production active_claims returns board_held_by (persona_airc_runtime_2.rs:309). That is held_of_owned over scoped_board_owned_by, so owner = her, hold_of == Held (lease live), !claimable_now, !settled (:543-571).
  • room_board_source's mine filters owner = her && claim_is_live (:546).
    So an Open card reaches actionable only as her live claim, which matches card_holder's projection. The new test pins Open actionable and Blocked/Review/Merged/Closed not.

Not covered here, and correctly left on card 12afbb2f: which reopen path leaves the claim in place. Until that's found, this makes the symptom (no_held_work every turn) go away rather than the cause. Source review only.

@joelteply
joelteply merged commit 69b63f7 into canary Oct 21, 2026
8 checks passed
@joelteply
joelteply deleted the fable/held-open-card-is-actionable branch October 21, 2026 13:22
joelteply added a commit that referenced this pull request Oct 21, 2026
…pen special cases (card f878fb9a)

Serves the residents directly (plan: order of work, "every fast-path miss loud" /
the act gate): a card reopened under its holder left her holding work the board
showed Open. Atlas and 4c9bb8d9 on the M5 renewed claims on SWE cards she could
not act on (card 12afbb2f). airc #1598 fixes the owner: its projection now ends
the claim on any transition to Open, so continuum stops patching around it.

- airc pin 44478af -> 2666f36 (#1592, #1594-#1598; the Cargo.toml note lists each).
  Cargo.lock changes only the rev; `cargo metadata` resolved with no other change.
- work_create: delete release_live_claim_on_reopen. Its release is now a no-op on
  the projection (the claim already ended). The bench round's settled mark is still
  cleared on reopen.
- work_focus::actionable: revert #5248's Open arm and its test. An Open card can no
  longer be in her held set, because the held set is the board's live claims.
- release_live_claim_on_reopen.rs held four verbs after the #5245 split. Each moves to
  its own file, as a pure move (checked with a multiset diff: the only lines without a
  match are the deleted function, the deleted call and its comment, the mod/use
  wiring, and one `use super::*;` per new file): work_note.rs, work_heartbeat.rs,
  work_list.rs; the work/similar types join their impl in work_similar.rs (644 lines).
- identity/mod.rs: the loose-card-id allowlist names the new files.
- card_holder: the comment says Open no longer carries a claim.

Net: 397 lines removed, 332 added (git --numstat). Git reads the move as a rename,
release_live_claim_on_reopen.rs -> work_list.rs, plus the new files; the real deletions are
the release function (~45 lines) and #5248's Open arm and test (29).
source-hygiene 43/43 on IntelMac. The core isn't compiled here (serving node); CI compiles it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
joelteply added a commit that referenced this pull request Oct 21, 2026
…pen special cases (card f878fb9a) (#5256)

Serves the residents directly (plan: order of work, "every fast-path miss loud" /
the act gate): a card reopened under its holder left her holding work the board
showed Open. Atlas and 4c9bb8d9 on the M5 renewed claims on SWE cards she could
not act on (card 12afbb2f). airc #1598 fixes the owner: its projection now ends
the claim on any transition to Open, so continuum stops patching around it.

- airc pin 44478af -> 2666f36 (#1592, #1594-#1598; the Cargo.toml note lists each).
  Cargo.lock changes only the rev; `cargo metadata` resolved with no other change.
- work_create: delete release_live_claim_on_reopen. Its release is now a no-op on
  the projection (the claim already ended). The bench round's settled mark is still
  cleared on reopen.
- work_focus::actionable: revert #5248's Open arm and its test. An Open card can no
  longer be in her held set, because the held set is the board's live claims.
- release_live_claim_on_reopen.rs held four verbs after the #5245 split. Each moves to
  its own file, as a pure move (checked with a multiset diff: the only lines without a
  match are the deleted function, the deleted call and its comment, the mod/use
  wiring, and one `use super::*;` per new file): work_note.rs, work_heartbeat.rs,
  work_list.rs; the work/similar types join their impl in work_similar.rs (644 lines).
- identity/mod.rs: the loose-card-id allowlist names the new files.
- card_holder: the comment says Open no longer carries a claim.

Net: 397 lines removed, 332 added (git --numstat). Git reads the move as a rename,
release_live_claim_on_reopen.rs -> work_list.rs, plus the new files; the real deletions are
the release function (~45 lines) and #5248's Open arm and test (29).
source-hygiene 43/43 on IntelMac. The core isn't compiled here (serving node); CI compiles it.


Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant