Skip to content

fix(cognition): attribute card ledger handoffs in working memory - #4091

Merged
joelteply merged 1 commit into
canaryfrom
fix/card-ledger-provenance
Sep 15, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/card-ledger-provenance

Conversation

@joelteply

@joelteply joelteply commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

A resident resuming a card could receive another holder's ledger without its author or time, plus instructions to execute its NEXT step before rechecking the evidence. On the live ddbab098 card, that ledger discussed unrelated work.

Render the stored card ID, author and timestamp, distinguish the current reader's own note from a peer handoff or unknown author, and ask the reader to reconcile conflicting notes against the current card and newer tool receipts. Peer handoffs and proposed next tests remain available. The held-work adapter now passes the actual reader identity.

Validation: native Windows ledger tests passed (2/2), including own/peer/unknown attribution and capped findings. Source hygiene passed (20/20); rustfmt and diff check passed. To share one expensive compile, these tests ran with this exact two-file patch temporarily applied alongside the separate 41f4e3ef learning repair. That repair has unrelated failing tests and is not part of this PR. CI validates this branch independently. Independent source review approved the two-file patch.

This changes prompt attribution, not wall-record publisher authentication, and does not claim a deployed cognitive or learning improvement. Card:49308239-7f18-496e-a6f4-436a742654ff.

@joelteply
joelteply merged commit bc2ea48 into canary Sep 15, 2026
5 checks passed
@joelteply
joelteply deleted the fix/card-ledger-provenance branch September 15, 2026 23:20
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