From 7e110ded35a51f5840a094075d92e3cdb8796016 Mon Sep 17 00:00:00 2001 From: Natalie Date: Fri, 19 Jun 2026 10:16:52 -0500 Subject: [PATCH] =?UTF-8?q?docs(@projects/@magic-civilization):=20?= =?UTF-8?q?=F0=9F=93=9D=20p2-86=20=E2=80=94=20render-client=20fix=20verifi?= =?UTF-8?q?ed=20(connect-first=20+=20150s=20grace)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tools register after restart (confirmed). First in-session call timed out (slow throttled MCP-spawned windowed Godot); fixed via connect-first + 150s grace + respawn (6310433cc), re-verified through the built client (NODE_EXIT=0, real 3.85MB PNG). Running MCP needs to reload the post-fix dist (one restart) to use it in-session. Co-Authored-By: Claude Opus 4.8 (1M context) --- .project/objectives/p2-86-mcp-rendered-driver.md | 10 +++++++--- public/games/age-of-dwarves/data/objectives.json | 10 +++++----- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.project/objectives/p2-86-mcp-rendered-driver.md b/.project/objectives/p2-86-mcp-rendered-driver.md index f1c5810e..a704d4c8 100644 --- a/.project/objectives/p2-86-mcp-rendered-driver.md +++ b/.project/objectives/p2-86-mcp-rendered-driver.md @@ -37,9 +37,13 @@ complementing the headless state API. + `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`). +- [x] Tools surface in a Claude session after restart (confirmed: `magic_civ_screenshot` + registered + callable). `dist/` is gitignored → rebuild per host (`npm install && npm run build`). +- [~] In-session capture: the first call timed out — windowed Godot spawned by the MCP + (throttled background GUI) inits slower than 45s. **Fixed** (`28e3a406b`): connect-first + (use an already-running foreground game) + 150s spawn grace + respawn-on-failure. + **Re-verified via the built client** (NODE_EXIT=0, real 3.85MB 3420×1923 PNG). The + running MCP must reload the post-fix `dist` (one more restart) to use it in-session. ## Progress (2026-06-18) — Phase 2 done (modulo restart) diff --git a/public/games/age-of-dwarves/data/objectives.json b/public/games/age-of-dwarves/data/objectives.json index b07971b3..5bba5ae6 100644 --- a/public/games/age-of-dwarves/data/objectives.json +++ b/public/games/age-of-dwarves/data/objectives.json @@ -1,12 +1,12 @@ { - "generated_at": "2026-06-19T02:10:18Z", + "generated_at": "2026-06-19T15:16:47Z", "totals": { - "oos": 31, - "done": 247, - "in_progress": 0, "partial": 34, - "missing": 5, + "oos": 31, + "in_progress": 0, + "done": 247, "stub": 6, + "missing": 5, "total": 323 }, "objectives": [