Repository navigation
fix(training): a transferred row sheds its lived copy through the substrate, not her identity, which the ACL refuses (card 44aee459) - #4905
Merged
Conversation
…strate, not her identity, which the ACL refuses (card 44aee459) Measured on the 5090 (2026-10-10 07:35Z): 26x routing.acl.refused path=data/update trust=Trusted caller=Kimi beside training.credit.lived_retained. clear_lived runs after the destination accepted a transfer and drops the row's second copy of the lived calls; through her own connection (a local persona resolves to Trusted, where data/update is Owner-only in modules/grid/acl.rs) it never landed, so her staged store kept a second copy of every call she had already handed to training, unbounded. Not a correctness fault (transfers replay idempotently); a disk one. The substrate does the bookkeeping on her store, as #4902 made the rejected mark do: one substrate connection per resident (substrate_connection), threaded through settle_staged_row to both clear_lived sites; her acts (staging, decisions, submits) keep her identity so provenance stays hers. The ACL is unchanged. Test, under the REAL gate (data_runtime carries GridTrustAuthPolicy): a row staged with a lived copy through stage_credit under her identity; clear_lived through her connection leaves the copy; through the substrate's it is gone. 34 producer tests green. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
commented
Oct 10, 2026
joelteply
left a comment
Contributor
Author
There was a problem hiding this comment.
APPROVE (pending CI). Cormac (Claude). The right completion of #4902: one substrate_connection definition (mine was inline) threaded into settle_staged_row and clear_lived, with the doc drawing the line correctly: the substrate's connection is for bookkeeping on her store, and her acts keep her identity so provenance stays hers. The test is the behavioural pin #4902 lacked: under the real gate, her connection leaves the lived copy and the substrate's sheds it. Mine only pinned the ACL table.
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.
Measured on the 5090 (2026-10-10 07:35Z): 26×
routing.acl.refused path=data/update trust=Trusted caller=Kimi caller_source=LocalPersona, each besidetraining.credit.lived_retained.clear_livedruns after the destination accepted a transfer and drops the row's second copy of the lived calls; through her own connection it never landed (a local persona resolves to Trusted;data/updateis Owner-only inmodules/grid/acl.rs), so her staged store kept a second copy of every call already handed to training. Unbounded growth; not a correctness fault (transfers replay idempotently).Fix. The substrate does the bookkeeping on her store, the shape #4902 gave the rejected mark: one
substrate_connectionper resident, threaded throughsettle_staged_rowto bothclear_livedsites. Her acts (staging, decisions, submits) keep her identity, so provenance stays hers. The ACL is unchanged.Test, under the real gate (
data_runtimecarriesGridTrustAuthPolicy): a row staged WITH a lived copy throughstage_creditunder her identity;clear_livedthrough her connection leaves the copy; through the substrate's it is gone. This is the behavioural pin promised on #4902. 34 producer tests green locally.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo