Keyboard and agents
Each app gets one action registry: an id, a title, a parameter schema and the core service it calls. The Ctrl+K palette, the CLI subcommands and the MCP tools are generated from it, so the three cannot drift apart. Housecat’s desktop, CLI and MCP import code had already diverged in four ways before its services were unified.
Rules for the agent surface:
- Scope on every call. A Byron session states author, reader at N, or translator at N; the leak tests run against the MCP tools too.
- Preview before change. Every tool that writes has a dry run.
- Idempotent writes. A retried call does not double up.
- Clean JSON on stdout, and errors that say what to do next.
- Tools named for journeys (
kit_export_through_scene), not generic verbs.
| ID | Journey | Who | Done when | Byron | Housecat |
|---|---|---|---|---|---|
| A-01 | Do anything from the keyboard | Everyone | Every Ship journey’s actions are in Ctrl+K with their shortcuts | Partial: shell palette, few actions registered | Partial: React palette built; Slint shell palette |
| A-02 | Script a whole job from the command line | Automation | Each Ship journey has a CLI command with JSON output | Partial: init, import, check, export | Built (H-39) |
| A-03 | Let an agent work through MCP | Agent | Same services as the app, from one action registry | Not built | Built, 41 tools; no translation run (H-40) |
| A-04 | An agent drafts or checks inside a reader scope | Agent | No tool returns canon past the session’s scope | Not built | Not applicable |
| A-05 | An agent runs the kit round trip | Agent | X-01 to X-03 run end to end through MCP | Not built | Not built: no kit tools |
| A-06 | Preview before an agent changes anything | Agent | Every write tool has a dry run | Not built | Not built |