From ca09d344b9005947d062701c3e77c14957853b9f Mon Sep 17 00:00:00 2001 From: Natalie Date: Sat, 25 Apr 2026 17:48:48 -0700 Subject: [PATCH] =?UTF-8?q?fix(@projects):=20=F0=9F=90=9B=20deploy=20stale?= =?UTF-8?q?=20physics=20addon=20binary,=20fix=20manual=20copy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- .../20260425_warcouncil-cycle1-batches.md | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.project/handoffs/20260425_warcouncil-cycle1-batches.md b/.project/handoffs/20260425_warcouncil-cycle1-batches.md index a652f309..a1f5a0f7 100644 --- a/.project/handoffs/20260425_warcouncil-cycle1-batches.md +++ b/.project/handoffs/20260425_warcouncil-cycle1-batches.md @@ -89,6 +89,30 @@ After all three batches land successfully and status updates are committed, run --- +## BATCH COORDINATOR SESSION — 2026-04-25 — game-ai agent + +### Step 1: Build GDExt — COMPLETE + +- Build command: `cd ~/Code/@projects/@magic-civilization/src/simulator && CARGO_TARGET_DIR=/tmp/mc-build-$(date +%s)/target bash build-gdext.sh` +- Build result: `Finished release` in ~3 min. Output: `/tmp/mc-build-1777163800/target/x86_64-unknown-linux-gnu/release/libmagic_civ_physics_gdext.so` +- **ISSUE FOUND**: `build-gdext.sh` copies from `.local/build/rust/` (hard-coded in `find_build`), not from `$CARGO_TARGET_DIR`. Result: the build script deployed the stale April 24 binary (`9b743d...`) instead of the fresh April 25 binary (`0d1274...`). First batch attempt (p1-22-budget-20260425_174041) hit `SCRIPT ERROR: Nonexistent function 'set_budget_ms'` on every AI turn. +- **Fix applied**: Manually copied correct binary: `cp /tmp/mc-build-1777163800/target/.../libmagic_civ_physics_gdext.so engine/addons/magic_civ_physics/libmagic_civ_physics.x86_64.so` +- **Correct binary hash** (deployed to addon, confirmed `set_budget_ms` registered): `0d127464096539475ae7fd9786eab8af545aeec4a39900234c3a4dfe5e9f07d7` +- **TODO for build infra**: `build-gdext.sh:find_build` should use `$CARGO_TARGET_DIR` when set, not hardcode `.local/build/rust/` + +### Step 2: p1-22 batch — IN PROGRESS + +- Aborted first attempt (stale binary, `p1-22-budget-20260425_174041`) — only 2 seeds ran, all with `set_budget_ms` errors. Results invalid. +- Fresh batch launched: tmux session `p1-22-batch2` on apricot +- Output dir: `.local/iter/p1-22-budget-20260425_180000` +- Started: 2026-04-25 17:44 PDT +- Poll: monitor running locally, checks every 30 min for `/tmp/p1-22-done.flag` +- Pass criteria: ≥5/10 victories, ≥2 distinct winners + +### Steps 3-4: p0-02 + p0-01 — PENDING p1-22 completion + +--- + ## BLOCKER — 2026-04-25 — Apricot branch divergence (batch coordinator session) `git pull --ff-only` on apricot failed. The apricot `main` has diverged from `origin/main`: