Skip to content

feat(cognition): rejected-claim fact — a claim rejection outlives its receipt (#159-family rejection-amnesia fix) - #2120

Merged
joelteply merged 1 commit into
canaryfrom
feat/159-claim-rejection-fact
Aug 2, 2026
Merged

joelteply merged 1 commit into
canaryfrom
feat/159-claim-rejection-fact

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

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 as install_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/claim records each rejection under the caller's peer uuid — the same identity space ActiveWorkSource is bound to.
  • ActiveWorkSource renders live entries as [work] claim_rejected facts 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::work all green.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

… 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
@joelteply
joelteply merged commit a3d97ab into canary Aug 2, 2026
4 checks passed
@joelteply
joelteply deleted the feat/159-claim-rejection-fact branch August 2, 2026 19:54
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