Skip to content

A personal assistant that lives on your desktop, remembers what matters, and can use your Mac for you.

TypeScript

docs(odd): keep a single active conversation for now

Alan Buscaglia56d47c598116
diff --git a/odd/tasks/gentle-dot.md b/odd/tasks/gentle-dot.md
index 5df50d9..c76c5c0 100644
--- a/odd/tasks/gentle-dot.md
+++ b/odd/tasks/gentle-dot.md
@@ -131,4 +131,5 @@ Environment notes: Node v24.14.1 and pnpm are present. `cargo` is on PATH but `r
- **L34 (2026-10-08, user):** "y creo que encontre un bug, si mientras el agente esta respondiendo un mensaje, abro otra conversacion, da error y no dice que hubo error en el mismo chat". Reproduced from the user's `~/.gentle-dot/daemon.log` (error lines only): `12:17:05 assistant error: This operation was aborted`. Pi's `switch_session` aborts the active run (`agent-session-runtime.js` teardownCurrent → `session.abort()`); the bridge turned the aborted `message_end` into a generic error toast outside the chat. Also, `command get_history failed: Agent is not ready` repeats at every startup (history requested before the agent is ready). Both were added to T17 (same files: bridge.ts and UI).
- **L35 (2026-10-08, T18 map + web verification):** MCP is a built-in pi-coding-agent 1.0.4 extension that reads `<agentDir>/mcp.json` only at `session_start` and stores OAuth in `mcp-auth.json` (keys `mcp__<ns>|<url>`, locked writes); new tokens are picked up on the next turn. Headless OAuth runs as a separate process (`pi mcp login <name>` with the assistant's agent dir and HOME), because `/mcp login` in RPC sends the URL as an info notice that the sanitizer hides. The assistant disables codemode, so each server needs `exposure: "direct"|"deferred"`. Approval is enforced by an extension loaded with `-e` that hooks `tool_call` (it can block, covers nested calls, and asks through `ctx.ui.confirm` → ask card). Pi documents agents running `pi mcp add` through bash, so the daemon must be the only writer of `mcp.json` and must validate it against the approved set (hash) before each start; `propose_connector` returns drafts only. Tool annotations are kept, so read-only means `readOnlyHint` AND a curated list (fail closed). Providers, from official docs on 2026-10-08: Notion `https://mcp.notion.com/mcp` (OAuth + PKCE); Linear's official remote server (OAuth 2.1 with dynamic client registration, or an API key); Atlassian Rovo `https://mcp.atlassian.com/v2/mcp` (OAuth 2.1, or an API token; the explorer's v1 URL was outdated); Slack's official hosted server requires a registered Slack app with client_id + client_secret; Gmail's official `https://gmailmcp.googleapis.com/mcp/v1` is in Developer Preview and needs the user's own Google Cloud project and consent screen; Discord has only community servers (bot token). The import map (S20) found configs for Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, OpenCode, and Gentle Shell on this Mac (key names only).
- **L36 (2026-10-08, user decision):** Slack and Gmail: "Guía paso a paso ahora (Recomendado)" — each user creates their own Slack app or Google Cloud project with an in-app guide; no Gentle Dot-owned OAuth apps for now.
+- **L37 (2026-10-08, user):** "ah no puede atender mas de una conversacion a la vez?" The assistant answers one conversation at a time (one RPC agent process with one active session). An agent pool (one process per active conversation, capped at 3) was proposed with its costs; user: "dejemos uno solo por ahora". Decision: keep a single active conversation; no spec added.
- **Next step:** T17 (UI writer running, now including S21); then T18 implementation (it shares the bridge, protocol, and UI with T17, so it starts after T17); then T14 (Linux).