c08b737296
build / mod (push) Failing after 32s
tools/raid_bench.py (+ tests): the #147 step-0 driver replaces the #126 scratch script. One battle at fixed ticks (waves inside resident terrain — far waves stall at the unknown-chunk edge and no fight happens), fingerprint chat lines at control ticks, then the raid's own recording replayed. Both render paths are benched on the SAME recording in ONE process via the engine's diagnostic `model-instancing off|on` toggle (cross-process battles diverge in event timing: 16 vs 32 kills at one control tick), pairs in alternating order; idle cold/warm, mid-battle window, reload (F3+T), replay seek, away-camera checks, and static off/on stills for pixel parity (hd_bench motion-mask methodology). report.json carries gitlinks, device, mod_models counters, CPU/GPU p50/p95/p99/max, raw frame times, >25/33 ms frame counts, guest fuel and streaming queues. Engine gitlink: one mass mod-model group GPU-instanced (retained mesh per pack generation, current/previous pose/id/light instance stream shared by main, motion and shadow passes, per-vertex fallback to parity, runtime diagnostic toggle, stats raw + guest fuel reporting). Measurements: docs/measurements/issue-147-instancing/ (M5/Metal, 2560x1440; RTX 3060 pending). docs/REPO-MAP.md and docs/ENGINE.md pin updated. Co-Authored-By: Kimi Code <noreply@moonshot.ai>