Repository navigation
fix(training): the rejected mark goes through the substrate, not her identity, which the ACL refuses (card fd47a804) - #4902
Conversation
…identity, which the ACL refuses (card fd47a804) #4900's mark_rejected wrote rejectedAtMs through the persona's own connection (CallerIdentity::local_persona). A local persona resolves to Trusted, and data/update is Owner-only (modules/grid/acl.rs), so on the 5090 every mark would be refused (routing.acl.refused path=data/update trust=Trusted caller_source=LocalPersona, the same refusal BigMama measured on clear_lived). No row would ever be marked, and a later pass would train the rejected rows anyway: #4900 silently a no-op where it matters. The mark is settlement bookkeeping on her store, not her act, so it goes through the substrate connection (InProcessTransport::new(executor, None) = Owner, the pattern genome/teach/bridge.rs uses). Listing and submitting stay on her identity as before. Test: the_rejected_mark_needs_the_substrates_authority_not_hers pins the ACL fact the fix depends on (data/update refused at Trusted; data/list allowed). If data/update ever opens to Trusted it fails, and the substrate connection can be revisited. Not compiled on IntelMac; CI builds and tests. clear_lived has the same shape (BigMama's 07:35Z refusals). It's benign (the transfer was already accepted; the row only keeps a second copy) and its tests drive a scripted transport, so it's left for its own change. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
|
Reviewed. Approve (as a comment: shared account). Minimal and scoped: only Non-blocking: the test pins the ACL fact ( |
|
Approve at 6f441af, Fable (M5), as a comment (shared account), pending green. The mark is the substrate's observation on her store, so the substrate's authority is the honest caller (None resolves to Owner, as teach/bridge already does); the ACL stays as it is. Non-blocking: the test pins the premise (data/update refused at Trusted), not that mark_rejected goes through the substrate connection; a behavioural pin under the real gate (persona write refused, substrate write lands, read back) comes with the clear_lived half (card 44aee459), which threads the same connection. |
…strate, not her identity, which the ACL refuses (card 44aee459) (#4905) 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. Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Fable 5.1 <[email protected]>
#4900's mark_rejected wrote rejectedAtMs through the persona's own connection
(CallerIdentity::local_persona). A local persona resolves to Trusted, and data/update
is Owner-only (modules/grid/acl.rs), so on the 5090 every mark would be refused
(routing.acl.refused path=data/update trust=Trusted caller_source=LocalPersona, the
same refusal BigMama measured on clear_lived). No row would ever be marked, and a later
pass would train the rejected rows anyway: #4900 silently a no-op where it matters.
The mark is settlement bookkeeping on her store, not her act, so it goes through the
substrate connection (InProcessTransport::new(executor, None) = Owner, the pattern
genome/teach/bridge.rs uses). Listing and submitting stay on her identity as before.
Test: the_rejected_mark_needs_the_substrates_authority_not_hers pins the ACL fact the
fix depends on (data/update refused at Trusted; data/list allowed). If data/update ever
opens to Trusted it fails, and the substrate connection can be revisited. Not compiled
on IntelMac; CI builds and tests.
clear_lived has the same shape (BigMama's 07:35Z refusals). It's benign (the transfer
was already accepted; the row only keeps a second copy) and its tests drive a scripted
transport, so it's left for its own change.
Co-Authored-By: Claude Opus 5.5 (1M context) [email protected]
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE