Repository navigation
feat(cognition): rejected-claim fact — a claim rejection outlives its receipt (#159-family rejection-amnesia fix) - #2120
Merged
Conversation
… receipt (#159-family rejection-amnesia fix) Glass-boxed live 2026-08-02: e5f4141d's claim on card 44ebaa41 was rejected (held by 90e758b2) and she reported the rejection ACCURATELY for three turns — then, once the raw action receipt scrolled out of her 2-6 turn window, re-narrated 'I've already claimed the task' and planned work on a card she never held. The board's arbitration keeps the system safe; her turns are what burn. A rejection is WORK-STATE, not a transient tool result — it must outlive the context squeeze. - persona/claim_rejections.rs (NEW): per-persona rejection ring (process singleton, same shape as install_tracked_dirs). 10-min TTL — several polls past the receipt's window, never an eternal nag; capped at 4/persona (a claim-storm can't flood perception). Error text is carried VERBATIM (honest provenance, no paraphrase). - work/claim records each rejection under the caller's peer uuid — the same identity space ActiveWorkSource is bound to. - ActiveWorkSource renders the live entries as [work] claim_rejected facts beside the #2114 lost-claim diff — the two halves of the same contract: a claim you LOST and a claim you never GOT both stay in perception as long as the belief could resurface. Perception fact, never a gate. Tests: ring contract (per-persona + TTL expiry + cap) with injected clock; source integration (renders with ZERO claims — exactly the amnesia shape — and only for its persona). claim_rejections + active_work_source + prompt_assembly + modules::work all green. 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.
Glass-boxed live 2026-08-02: e5f4141d's claim on card 44ebaa41 was rejected (held by 90e758b2) and she reported the rejection ACCURATELY for three consecutive turns — then, once the raw action receipt scrolled out of her 2–6 turn window, re-narrated 'I've already claimed the task' and began planning work on a card she never held. The board's arbitration keeps the system safe; her turns are what burn. Root cause: a rejection is WORK-STATE, not a transient tool result — it must outlive the context squeeze.
What
persona/claim_rejections.rs(new): per-persona rejection ring (process singleton, same shape asinstall_tracked_dirs). 10-minute TTL — several polls past the receipt's window, never an eternal nag; capped at 4 per persona so a claim-storm can't flood perception. The substrate's error text is carried VERBATIM (honest provenance, no paraphrase).work/claimrecords each rejection under the caller's peer uuid — the same identity spaceActiveWorkSourceis bound to.ActiveWorkSourcerenders live entries as[work] claim_rejectedfacts beside the feat(cognition): lost-claim transition fact — a lease that expires speaks, once (#156) #2114 lost-claim diff — the two halves of one contract: a claim you LOST and a claim you never GOT both stay in perception as long as the belief could resurface. Perception fact, never a gate.Tests
Ring contract (per-persona scoping + TTL expiry + oldest-first cap) with injected clock; source integration (fact renders with ZERO claims — exactly the amnesia shape — and only for its persona).
claim_rejections+active_work_source+prompt_assembly(the consumer #2116 taught me to run) +modules::workall green.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo