Skip to content

fix(work): settled cards (Review/Merged/Closed) refuse claims — CardState gates the claim path - #1291

Open
joelteply wants to merge 1 commit into
canaryfrom
fix/settled-cards-not-claimable
Open

fix(work): settled cards (Review/Merged/Closed) refuse claims — CardState gates the claim path#1291
joelteply wants to merge 1 commit into
canaryfrom
fix/settled-cards-not-claimable

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Personas spent the day re-claiming already-completed cards: the claim guard checked lease expiry only, so settled work read as open backlog to every board reader. This gates claims on CardState with a loud WorkCardNotClaimable error naming the state and the explicit reopen path. 324 airc-lib tests green. Test debt noted in-commit: the seam needs a board-fixture regression test when that harness exists.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…laims gate on CardState, not just lease expiry

Live evidence (2026-07-24): personas repeatedly re-claimed already-completed
cards because ensure_work_card_unclaimed only checked lease status — settled
work read as open backlog to every board reader, wasting persona cycles on
finished work. New WorkCardNotClaimable error names the state and the
explicit reopen path (airc work state). Test debt noted: the guard needs a
board-fixture regression test when the work-board test harness grows one
(none exists today for this seam).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant