Skip to content

Add private chats that keep nothing - #264

Merged
danielehrhardt merged 3 commits into
mainfrom
feat/private-chat
Oct 29, 2026
Merged

danielehrhardt merged 3 commits into
mainfrom
feat/private-chat

Conversation

@danielehrhardt

@danielehrhardt danielehrhardt commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

What

A Private chat mode: press the new pill on Home (top right), Shift+Cmd+N, or "New private chat" in Cmd+K. The chat works like any other, but nothing of it is kept.

How it stays private

  • conversations.private (migration 106). Private chats never show up in a list, a search, Inbox notices, unread marks or dreams, and runs_list only shows that a private run happened.
  • Runs in a private chat write no transcript, no auto-commit, no open-decision ticket, schedule no follow-ups and don't load claude-mem. Claude Code's own auto memory is off (CLAUDE_CODE_DISABLE_AUTO_MEMORY=1). The system prompt gets a "Private chat" section: memory can be read but not written.
  • Leaving the chat (another chat, Home, "End", closing the window) wipes it: messages, uploads, run logs and the Claude Code session files. Runs keep only their cost, so budgets stay right. Anything left after a crash is wiped when the core starts.
  • Private chats run on this computer only (no runner) and don't save composer drafts.

Tests

  • New tests in conversations.test.ts: lists and search leave private chats out, no transcript, the prompt section, and the full wipe (session, upload, run log, run text) plus the startup cleanup.
  • pnpm typecheck is clean. In the core suite, 5 tests already fail on main for local-environment reasons (folders, maintenance, mods x2, updates); they fail the same way here.
  • Tested by hand on an isolated dev instance with a real Claude run: the reply arrived, the chat stayed out of the list, and "End" left no conversation, message, run log or Claude session file behind.

A Private toggle on Home (or Shift+Cmd+N) starts a chat that is in no list,
writes no transcript, memory, follow-up, notice or commit, and is wiped with
its messages, uploads, run logs and Claude Code session once you leave it.
Leftovers from a crash are wiped when Godmode starts. Runs keep only their
cost so budgets stay right.
@danielehrhardt
danielehrhardt merged commit 7a32f5d into main Oct 29, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant