Skip to content

fix(training): a transferred row sheds its lived copy through the substrate, not her identity, which the ACL refuses (card 44aee459) - #4905

Merged
joelteply merged 1 commit into
canaryfrom
44aee459/bookkeeping-as-substrate
Oct 10, 2026
Merged

joelteply merged 1 commit into
canaryfrom
44aee459/bookkeeping-as-substrate

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Measured on the 5090 (2026-10-10 07:35Z): 26× routing.acl.refused path=data/update trust=Trusted caller=Kimi caller_source=LocalPersona, each 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 it never landed (a local persona resolves to Trusted; data/update is Owner-only in modules/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_connection per resident, 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. This is the behavioural pin promised on #4902. 34 producer tests green locally.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…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 joelteply left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@joelteply
joelteply merged commit f340d8b into canary Oct 10, 2026
7 checks passed
@joelteply
joelteply deleted the 44aee459/bookkeeping-as-substrate branch October 10, 2026 09:04
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