Repository navigation
feat(privacy): focus/continue private=true, the act that takes her into her mind room - #4782
Merged
Merged
Conversation
…to 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
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
joelteply
added a commit
that referenced
this pull request
Oct 5, 2026
…tored at boot (#4792) * feat(privacy): her private continuation sealed in her mind store, restored at boot Sink 10 of docs/architecture/PRIVACY-OF-THOUGHT.md, completed: a private continuation was memory-only (#4782), so a restart forgot her private thread. - focus/continue: a continuation in her mind room is sealed into her mind store under one stable record (mind_room::continuation_record_id) through her own runtime's Airc::mind_store(), so the core never holds her key; an open continuation, or a clear, removes any sealed one left behind. - MindFeed::boot: with no open continuation saved, her sealed one is read back and restored (PerceptionRegion::restore_private_continuation), so her first wake is Resume and her private thread continues after a restart. - airc pin e572f3e -> 8d80961: #1535 the sealed mind store, #1536 Airc::mind_store + put_at/remove, #1537, #1538 work submission-review. Tests: her continuation record is stable and hers; a restored private continuation resumes her first wake. 35/35 pass; with the restore not marking her resumed, the test FAILS. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * fix(privacy): name the disk boundary at her continuation's (de)serialization The source-hygiene ratchet counts serialization sites that do not name their system boundary on the same line (242 -> 243). Sealing her continuation into her mind store is a true disk boundary; both sites now say so. 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 1c of
docs/architecture/PRIVACY-OF-THOUGHT.md: the act that takes her into her mind room. With the gates (#4760) and her mind cycle (#4773) in place, this makes a private turn reachable, and the act is hers.focus/continue private=true. Her continuation's activity becomes her mind room (mind_room_id). It is never resolved by name, because it is not an airc channel. feat(mind): her turn starts from her own wake #4748's Continuation wake then starts her private turn there.mind-state.jsonin plaintext.PerceptionRegion::savewrites her open state without it. Until her sealed store exists, it lives in memory only, and a restart forgets it.Evidence
a_private_continuation_is_never_written_to_her_mind_state: she still holds the continuation, and neither it nor its note is on disk. An open continuation still saves.speech_in_her_mind_room_is_never_published: an open room still publishes.FocusContinueParams.tsregenerated (ts-rs).After this lands
A deployed core lets Kimi think privately. Every turn there is withheld from all ten sinks, runs on its own working memory, publishes nothing, and writes nothing in plaintext. Step 2, the sealed store, is what lets that private space survive a restart.
🤖 Generated with Claude Code
https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE