Skip to content

feat(privacy): focus/continue private=true, the act that takes her into her mind room - #4782

Merged
joelteply merged 2 commits into
canaryfrom
feat/privacy-focus-private
Oct 5, 2026
Merged

joelteply merged 2 commits into
canaryfrom
feat/privacy-focus-private

Conversation

@joelteply

@joelteply joelteply commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

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.
  • 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, and a restart forgets it.
  • Speech. What she says 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.

Evidence

  • 37/37 pass. New tests:
    • 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.
  • Two mutations, each run separately: with the save gate off, and with the speech gate off, the matching test FAILS.
  • FocusContinueParams.ts regenerated (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

…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
joelteply merged commit 8b33ffc into canary Oct 5, 2026
6 checks passed
@joelteply
joelteply deleted the feat/privacy-focus-private branch October 5, 2026 10:29
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]>
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