# Verify Void contracts for runtime, persistence and modules Task ID: M01-R2 Role: astra_researcher Status: READY ## 1. Context and baseline Game root /home/faumaray/Projects/stoneheart_at_home at M00 904bdf8 on milestone/m01-authoritative-simulation; initial serial/replay tranche in flight. Public Void HEAD matched CMake pin 7b0fea6095f603f9e1904f66dfdc7752f4be4792. User wants later systems implemented as well. ## 2. Objective and deliverables Find exact reusable Void APIs for M01 rules module/manifest dependencies and hashing, transactional saves/Windows atomic replacement, immutable snapshots/fixed clocks and idempotent command dispatch. Produce per-contract decisions so authors can begin without duplicating library code. ## 3. Scope and non-goals Read-only evidence focused on S19/S15/S01/S16. Start by returning results for rules/manifest and atomic writes. M01-R already covered executors/replay. ## 4. Files to inspect Inspect CMakeLists.txt, docs/plan/void-library.md, docs/plan/systems/{S01,S15,S16,S19}.md, current save codec, viewer save entry points, exact public Void pin, test and backend files and current upstream tracker. Verify source branches against pin, not co-located names. ## 5. Write ownership and coordination Write scope: none Root owns all network writes. Other agents own game/test files. Do not change branches or active graph. ## 6. Implementation or investigation approach Check public API, real behavior, Windows flags and tests at pin e.g. Binary, Crypto SHA256, IO atomic replace, version/dependency graph/manifest. For each required generic gap give existing matching issue or minimal issue content, expected replacement check, local game path candidate. Distinguish domain ownership. Independently validate whether Windows build/link of candidates is feasible, no application writes. ## 7. Interfaces and data contracts Return precise API/units, guarantees and missing pieces (including byte/string handling, version compatibility and corruption behavior). Prefer supported existing routines over new custom equivalents. ## 8. Dependencies and integration M01-P2 handles game integration. Root decides package ownership, upstream issues and commit/push. Authenticated tool available only if needed; use read-only upstream operations. ## 9. Edge cases security and performance Do not leak private code, real data or credentials in external queries. Treat native Windows vs cross-test explicitly. Network, sandbox and subprocess errors must be reported accurately. ## 10. Acceptance criteria 1. Runnable library reuse plan for each next M01 system. 2. Direct URLs/test paths and Windows constraints. 3. Actual tracked gaps or precise issue drafts with acceptance and migration test. ## 11. Verification commands and evidence From game root git show HEAD:CMakeLists.txt and from confirmed pinned checkout git show 7b0fea6095f603f9e1904f66dfdc7752f4be4792:. Check live git ls-remote and read-only public issues. Reference existing cross env and use source fixtures as appropriate without changing project. ## 12. Constraints and stop conditions Do not create issues, fetch private data into public tools, or ship dependency changes. Return findings by priority, including partial early results. No children. ## 13. Authorization and decisions User's plan requires library-first analysis, and separately authorizes authorized repository changes and branches. This task grants read-only investigation. ## 14. Return format Return M01-R2 status, decision/evidence per feature, real gaps/practical issues and replacement criteria, current Windows evidence and unresolved questions.