From f25134646d30488685f07410e8c260be25d16d51 Mon Sep 17 00:00:00 2001 From: adamsilverstein Date: Fri, 13 Nov 2026 09:25:02 -0800 Subject: [PATCH 1/2] Let the toolkit command read a site's debug log and caught mail An agent testing a ticket needs what the site logged and mailed, and both are reads, so they need no answer yet to whether a tool may change a site (#764). A site is named by path, by a folder inside it or by its name, and the answer is always a path out of the registry. Claude-Session: https://claude.ai/code/session_018vwYjUEX6a9RXfZ6jHr6FN --- AGENTS.md | 2 +- docs/guide/toolkit-command.md | 20 +++- src/cli.cjs | 87 +++++++++++--- src/control-channel.cjs | 18 +++ src/control-sites.cjs | 109 +++++++++++++++++- src/main.js | 60 +++++++++- tests/e2e/journeys/toolkit-command.spec.js | 36 +++++- tests/unit/cli.test.cjs | 68 ++++++++++- .../unit/control-channel.integration.test.cjs | 9 +- tests/unit/control-sites.test.cjs | 77 ++++++++++++- tests/unit/ipc-wiring.test.cjs | 87 +++++++++++++- 11 files changed, 539 insertions(+), 34 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 5febcfcb..5dd398f2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -127,7 +127,7 @@ When asked to add an existing pull request to an existing stack, preserve its co - **Child processes run on Electron's own Node, not the system Node.** `npm install`, `npm run