diff --git a/.project/objectives/p2-86-mcp-rendered-driver.md b/.project/objectives/p2-86-mcp-rendered-driver.md index a135f728..f1c5810e 100644 --- a/.project/objectives/p2-86-mcp-rendered-driver.md +++ b/.project/objectives/p2-86-mcp-rendered-driver.md @@ -33,10 +33,22 @@ complementing the headless state API. `screenshot` / `open_screen` / `ping` / quit against the live rendered game and returns the image path. Done via a **localhost TCP socket** (commit 22197a81c). - [x] Works on plum (windowed); cloud path documented (weston/xvfb + GPU node). -- [ ] New MCP tools: **`magic_civ_screenshot`**, **`magic_civ_open_screen`** in - `index.ts` + `harness.ts` methods (connect to the driver's TCP port). -- [ ] `npm install` (never run — p2-67 phase 13) + `.mcp.json` entry + restart. -- [ ] Proof: from a Claude session, open a screen and capture via the MCP tool. +- [x] New MCP tools `magic_civ_screenshot` / `magic_civ_open_screen` (`index.ts`) + + `render_client.ts` TCP transport + `scripts/render-driver-server.sh`. +- [x] `npm install` run (100 pkgs); build clean; `.mcp.json` already registers + `magic-civ` → `dist/index.js` (no change needed). +- [ ] Final proof: tools surface in a **Claude session** — needs a Claude restart + (the one step not self-verifiable from here). `dist/` is gitignored → built + locally; rebuild on each host (`npm install && npm run build`). + +## Progress (2026-06-18) — Phase 2 done (modulo restart) + +- TS tools wired + **verified through the BUILT code** (no Claude restart): the + compiled `RenderClient` spawned the rendered game via `render-driver-server.sh`, + connected over TCP, `ping → {ok}`, `screenshot → ` a real **3420×1923 PNG** of the + live world map. So the whole transport + driver path is proven; only the MCP + tool-registration surfacing awaits a restart. +- Commits: render driver `22197a81c`, auto-start `a1d5b3187`, TS tools `77b60d314`. ## Progress (2026-06-18) — Phase 1 done diff --git a/public/games/age-of-dwarves/data/objectives.json b/public/games/age-of-dwarves/data/objectives.json index 18080ad7..b07971b3 100644 --- a/public/games/age-of-dwarves/data/objectives.json +++ b/public/games/age-of-dwarves/data/objectives.json @@ -1,11 +1,11 @@ { - "generated_at": "2026-06-19T01:30:48Z", + "generated_at": "2026-06-19T02:10:18Z", "totals": { - "done": 247, - "missing": 5, - "partial": 34, "oos": 31, + "done": 247, "in_progress": 0, + "partial": 34, + "missing": 5, "stub": 6, "total": 323 },