Add per-conversation notes.md

Gives each conversation an opt-in, persistent memory file the model reads
automatically every turn and writes to on its own initiative via a fenced
```update-notes``` block in its reply — no per-write approval, matching the
Confab-as-CLAUDE.md-for-itself concept Rune wanted. /notes on|off|show,
files live in ~/Library/Application Support/oAI/notes/, embedded ID header
for future Git Sync compatibility. Adds DB migration v12.
This commit is contained in:
2026-08-04 07:58:47 +02:00
parent 32e6ce3c37
commit 3414e37e24
14 changed files with 581 additions and 18 deletions
+20
View File
@@ -178,6 +178,26 @@ private let helpCategories: [CommandCategory] = [
examples: ["/mcp write on", "/mcp write off"]
),
]),
CommandCategory(name: "Conversation Notes", icon: "note.text", commands: [
CommandDetail(
command: "/notes on",
brief: "Enable notes for this conversation",
detail: "Turns on a persistent notes.md file for this specific conversation. Once on, the AI reads it automatically on every turn and can update it on its own — no approval needed per write. This is the only consent step; turning it on is always a deliberate, explicit action.",
examples: ["/notes on"]
),
CommandDetail(
command: "/notes off",
brief: "Disable notes for this conversation",
detail: "Turns off automatic reading and writing of this conversation's notes. The file itself isn't deleted — turning notes back on later picks up where it left off.",
examples: ["/notes off"]
),
CommandDetail(
command: "/notes show",
brief: "Show this conversation's notes",
detail: "Displays the current contents of this conversation's notes file in the chat, without leaving the app. Notes files also live in Settings > Advanced, where you can open the folder directly in Finder.",
examples: ["/notes show"]
),
]),
CommandCategory(name: "Integrations", icon: "server.rack", commands: [
CommandDetail(
command: "/jarvis",