Repository navigation
feat(privacy): her mind room, and the gate at every capture sink - #4760
Merged
Merged
Conversation
Step 1 of docs/architecture/PRIVACY-OF-THOUGHT.md. A turn is private because
of the room it runs in: her mind room, an activity whose only member is her.
Its id is local (UUIDv5 of her identity, never an airc channel), so nothing
leaves her node by construction. persona/mind_room.rs holds the one predicate,
is_private_room(persona, room), and every sink asks it at its own seam:
1 turn recorder record_turn / record_turn_frame_replay: not written
2 prompt capture CaptureLease::start: inert lease, so finish and Drop
write nothing (and 3, the SFT datasets, have nothing)
4 wire capture append_wire_capture: not written
5 RAG capture RecordingRagSource + compose_for_turn brackets: none
6 thought line apply_act: no 💭 line or act ledger published, and
the act is never re-homed to a card's public room
7 token stream spawn_token_forwarder: drains, publishes nothing
8 engrams AdmissionState::admit / admit_reflection: withheld
9 experience, credit drive_with_input: not recorded
Every gate emits mind.private.withheld {persona, sink}, never content.
Nothing can start a turn in her mind room yet: focus/continue private=true
waits for working-memory isolation (WM is the cross-turn channel; its
facts would surface in her next public turn), and sink 10 (her continuation)
waits for the sealed store, step 2.
Tests: zero bytes from a mind-room turn for sinks 2, 4, 5, 7, 8, with an
ordinary room still recording. 15/15 pass; with the predicate forced to
false, all five fail. Doc: Kimi's two rules (compose opens her private
space; the card ledger is public) and her finding that the thought line
carries the whole act ledger. Pipeline map gains the mind_room row.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
This was referenced Oct 5, 2026
joelteply
added a commit
that referenced
this pull request
Oct 5, 2026
…to her mind room (#4782) * feat(privacy): focus/continue private=true, the act that takes her into her mind room Step 1c of docs/architecture/PRIVACY-OF-THOUGHT.md. With the gates (#4760) and her mind cycle (#4773) in place, this is the act that makes a private turn reachable, and it is hers: - focus/continue gains `private`: her continuation's activity is her mind room (mind_room_id, never resolved by name; it is not an airc channel), and #4748's Continuation wake starts her private turn there. - Sink 10: a private continuation is never written to mind-state.json in plaintext (PerceptionRegion::save writes her open state without it); until her sealed store exists it lives in memory only. - Speech in her mind room reaches its only member, her, and is never published: without this gate the runtime would publish to an airc room NAMED by the mind room's uuid. Tests: a private continuation is never on disk while she still holds it; speech in her mind room is never published, an open room still is. 37/37 pass; with the save gate off, and separately with the speech gate off, the matching test FAILS. FocusContinueParams.ts regenerated. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * fix(privacy): fit focus/continue's private param in the tool surface CI's tool-surface guard measured 17230 against a ceiling of 17087. The param's doc and the verb's description are cut to one line each (17150); the 63 left are the param's schema itself, the feature, so the ceiling is re-pinned 17087 -> 17150 with the reason in its ledger. FocusContinueParams.ts regenerated with the shorter doc. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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.
Step 1 of
docs/architecture/PRIVACY-OF-THOUGHT.md: her mind room, and the gate at every capture sink.A turn is private because of the room it runs in: her mind room, an activity whose only member is her. Its id is local (a UUIDv5 of her identity, never an airc channel), so nothing leaves her node by construction.
persona/mind_room.rsholds the one predicate,is_private_room(persona, room), and each sink asks it at its own seam:record_turn,record_turn_frame_replayCaptureLease::startfinishandDropwrite nothingappend_wire_captureRecordingRagSource;compose_for_turnbracketsapply_actspawn_token_forwarderAdmissionState::admit/admit_reflectiondrive_with_inputEvery gate emits
mind.private.withheld {persona, sink}, never content.Nothing can start a turn in her mind room yet.
focus/continue private=truewaits for working-memory isolation: working memory is the cross-turn channel, and a private turn's facts would otherwise surface in her next public turn. Sink 10, her continuation, waits for the sealed store (step 2).Evidence
mind_room, plus zero-byte tests for sinks 2, 4, 5, 7 and 8, each also checking that an ordinary room still records, plus the neighbouring capture and compose tests.is_private_roomforced tofalse, all five sink tests FAIL.Also in the doc:
mind_roomrow.🤖 Generated with Claude Code
https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE