Repository navigation
fix(perception): board view honors claim leases — lapsed claims read claimable, not held (#264) - #2138
Merged
Conversation
…claimable, never held (#264) The stale-lease loop attractor, glass-boxed 2026-08-03: airc's roster correctly drops an expired lease from active_claims (firing the #156 lost-claim fact once), but RoomBoardSource kept rendering the same card as HELD — '[your work] you HOLD n card(s)… They remain yours until finished' — every wake. One perception said 'your claim lapsed', the next said 'you hold it': the system argued with itself and the residents re-oriented on dead work forever (all 17 board claims stale; the conway/wordstats fixation). Fix at the shared read surface (one predicate, three sites): claim_is_live mirrors airc-lib's is_active_claim (doc-linked — continuum deps airc-protocol, not airc-lib). (a) the your-work lead counts only live leases; (b) the available-work lead includes lapsed non-terminal cards — they are genuinely claimable via contention and were previously invisible as work, sticky as an attractor; (c) per-card render says 'claim lapsed (was YOURS/{peer}) — claimable'. Fixture cards now carry live leases by default with a lapse() helper for the stale shape; regression test pins all three behaviors. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Kills the stale-lease loop attractor: RoomBoardSource told personas they HOLD cards whose leases expired days ago, contradicting the #156 lost-claim fact every wake (all 17 live board claims are stale — the conway/wordstats fixation substrate). One lease predicate (mirroring airc-lib's
is_active_claim, doc-linked) applied at three sites: your-work lead counts only live leases; available-work lead includes lapsed cards (claimable via contention, previously invisible); per-card render states the lapse. 9/9 tests incl. new regression.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo