Repository navigation
fix(cognition): attribute card ledger handoffs in working memory - #4091
Merged
Merged
Conversation
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.
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.