Phase C1 of the release-readiness roadmap. Found and fixed a genuine release
blocker: Godot runtime scripts loaded content/rules/text from res://../data/,
which resolves in the editor but NOT in an export (packed res:// has no parent),
so a shipped game would fail on first load.
- Copied the 6 runtime JSON files into p2_godot_sample/data/ and redirected
launch_content.gd, ui_text.gd, profile_store.gd, battle_sim.gd and
battle_scene.gd to res://data/... . The repository root data/ stays the
authoritative source for the Python validators; frozen_fixture.gd (test-only
source-provenance checks) keeps its res://../ paths.
- Added tools/check_runtime_data_bundle.py: SHA-256 proves each bundled copy is
byte-identical to the authoritative one, so runtime data cannot drift from
validated data. Registered as a gate in run_p2_checks.sh.
- End-to-end proof: exported a Linux/X11 PCK with an include_filter for
data/*.json, mounted it with --main-pack, and asserted all 6 data files plus
the main scene exist under res:// (PCK_RESULT PASS). This verifies the fix in
a real packed artifact, not just source.
- Added a minimal Linux/X11 export_presets.cfg for local smoke exports. It is
NOT a signed/release artifact; build/ is gitignored so no binary is committed.
Full gate P2_CHECKS_PASS with the new gate. Roadmap 47 records the remaining
publisher-owned steps (owner-chosen Bundle ID / team / signing, archive, upload,
store review) and the pre-release cleanup item (exclude *_test.gd from exports).
Bundle ID, product name and business model are owner decisions (NAMING.md is
undecided) and were not invented here. prototype/ stays untracked and untouched.