IronFrame OuterFortress (Cart) 01 — Operations & Maintenance (v0.1.0)
Operational runbook covering read-only upstream oracle boundaries, deterministic builds, zero-asset unit tests, 4-drive Sandbox E2E verification, DualSetup8 packaging, and 2-tier log forensics.
1. Install Topology & Clean Root Standard
- Canonical Default Install Root (
%LOCALAPPDATA%\Programs\StreamItAll\reEngine\games\IronFrame-OuterFortress-Cart-01\): - Root (
Clean Root): strictlyIronFrame-OuterFortress-Cart-01.exe(< 2 MBsingle-file embedded shim),THIRDPARTY_LICENSES.txt,settings.example.json, and.ready(withapp\LICENSE,app\install-manifest.json,app\IronFrame-OuterFortress-Cart-01.recomp,app\IronFrame-OuterFortress-Cart-01-Uninstall.exe; zeroAGENTS.md). data\:data\rom\(NES-ME-USA.nes/.prg),data\config\settings*.json(split-domainSettingsDomainStore),data\cache\(local AOT artifacts),data\saves\.logs\: runtime diagnostic and heartbeat logs (<= 15sheartbeats).- Suite Layout (
%LOCALAPPDATA%\Programs\StreamItAll\reEngine\):reEngine.exelives directly at<suiteRoot>\(never<suiteRoot>\reEngine\),reCartlives under<suiteRoot>\engines\reCart\v0.1.3\(with bundledapp\tools\{7z.exe,7z.dll,LICENSE-7ZIP.txt}), and the game module lives under<suiteRoot>\games\IronFrame-OuterFortress-Cart-01\. - Upstream Boundary: Reads upstream schemas read-only at release/recipe generation time (
RECOMP_SCHEMAS_DIRor siblingResearch\...\Dev\schemas\). ZeroCorpus\files ever enter this repository.
2. Build, Solution & Zero-Warning Gate
- Solution:
Dev\IronFrameCart01.slnx(5projects:RecipeGen,Module,Launcher,Installer,Tests). - Build Properties:
Dev\Directory.Build.propsenforces<TargetFramework>net8.0</TargetFramework>,<Deterministic>true</Deterministic>, zero-PII<PathMap>, and<TreatWarningsAsErrors>true</TreatWarningsAsErrors>. - Pinned
Dev\lib\Contracts: Synced fromSharedLibs\Foundation\v0.5.5,SharedLibs\reEngine\v0.6.2, andSharedLibs\reCart\v0.1.3(remember.NETassembly embeds insideIronFrameCart01.Launcheruse<Private>false</Private>+EmbeddedResource+AssemblyResolve).
3. Verification Recipes
A. Zero-Asset Isolated Unit Tests (CI & Pre-Package Gate)
$env:APP_ISOLATED_TEST = "1"
dotnet test .\Dev\IronFrameCart01.slnx -c Release /warnaserror
Must pass all 50 tests across RecipeGenTests, Cart01ModuleAndPackTests, LauncherContainmentAndPrecedenceTests, InstallerPillar4AndOnlineHttpTests, and PrelaunchRegressionTests (covering .7z discovery via ResolveSevenZipOverridePath + MediaContainerExtractor, ephemeral temp cleanup, missing-tool failure paths, and clean-room $C6B7 $C2C6 lifting) with 0 skipped, 0 failed, and 0 warnings.
B. 4-Drive Sandbox E2E & Differential Lockstep ([S2-00]..[S2-09])
Remove-Item Env:APP_ISOLATED_TEST -ErrorAction SilentlyContinue
powershell -NoProfile -ExecutionPolicy Bypass -File .\Dev\scripts\run_stage2_sandbox_e2e.ps1 -Version 0.1.0
- Uses
FOUNDATION_SANDBOX_ROOT(Llocalapp /Rroaming /Pprogramdata /Ttemp + Desktop/StartMenu) while preserving core Windows OS env vars (SystemDrive,ProgramData,ProgramFiles*,CommonProgramFiles,ALLUSERSPROFILE,PUBLIC). - Publishes automation-enabled test binaries strictly with
"-t:Rebuild,Publish"and-p:IronFrameTestAutomation=trueviaStage2PrelaunchProbes.ps1. - Verifies Release builds reject
--automation-portwithExitCode = 2on Launcher (1,032,184 B), Online Setup, and Offline Setup (audit_installer.ps1DualSetup8 Passed: True, ExeCount: 2, FindingCount: 0). - Exercises
[S2-00]..[S2-09]acrossrun_stage2_sandbox_e2e.ps1andStage2PrelaunchProbes.ps1: [S2-00]..[S2-05]: real Wizard GUI automation (Offline SetupFullbundlingreEngine+reCart+ Online Setup--offline-bundle),exebox-stream(udp://@127.0.0.1:5004), adjacent verified Portable ZIP auto-discovery, clean default un-overridden OfflineFullinstall (zero double nesting, zero non-coded directories), silent upgrade preservingdata\rom\+data\config\, and20,002-step BYO AOT-vs-Oracle lockstep (mismatchedSteps=0) with clean-room$C6B7($C2C6switchable bank) verification.[S2-06]Missing-ROM Gate & Corrupt.7zProbe (Invoke-Stage2MissingAndCorruptMediaProbes): verifies Media Gate opens< 5s(2.68s) whendata\rom\is empty, rejects a corrupt.7zwith a persisted error banner, and passesLaunch Demo / Test Cart.[S2-07]Format Matrix & Live Static-AOT Gameplay (Invoke-Stage2FormatAndLiveGameplayProbes): boots Cold.7zwith wipeddata\cache\(4.21slive AOT overlay + boot) plus validates.zip,.prg, and.nesformats; advances past title screen via realEntertap ($C6B7/$C2C6clean), confirms multi-frameF3HUDw=623px(0 pxjitter), WAVpeakPcm=16286, andF5/F9QuickSave/Load (all ephemeral ROM copies removed cleanly infinally).[S2-08]LiveF1Settings Cross-Restart Persistence: flipsScale=4x,VSync=true, andMaster Volume 70%in the liveF1drawer, quits viaSystem_QuitGame, relaunches fresh in the same--data-dir, and confirms persisted values insettings*.jsonand liveF1controls.[S2-09]Standalone Raw-ROM Clean-Room Guard (Invoke-Stage2StandaloneRawRomGuardProbe): launches raw.nesdirectly onreCart.Player.exewithout a.recomppackage (2.18s), verifying zero crash and interactive Clean-Room Media Gate guidance +Select .recomp Module....
4. Single-Pass DualSetup8 Packaging & Release Procedure
powershell -NoProfile -ExecutionPolicy Bypass -File .\Dev\scripts\build_release.ps1 -Version 0.1.0
Strict single-pass execution order:
1. Build & test solution cleanly under APP_ISOLATED_TEST=1 (/warnaserror).
2. Pack IronFrame-OuterFortress-Cart-01.recomp, publish < 2 MB single-file IronFrame-OuterFortress-Cart-01.exe, stage settings.example.json + clean Builds\v0.1.0\.
3. Zip Builds\v0.1.0\ -> Releases\v0.1.0\IronFrame-OuterFortress-Cart-01-v0.1.0-win-x64-Portable.zip and stamp exact SHA-256 + byte length into temp Online installer.manifest.json.
4. Compile Online Setup (IronFrame-OuterFortress-Cart-01-Setup-v0.1.0-win-x64.exe pointing to StreamItAllGit/IronFrame-OuterFortress-Cart-01-Recomp/releases/download/v0.1.0/).
5. Zip Builds\v0.1.0\ -> temporary payload.zip and compile self-contained Offline Setup (IronFrame-OuterFortress-Cart-01-Offline-Setup-v0.1.0-win-x64.exe).
6. Authenticode sign Launcher + Offline Setup + Online Setup cleanly when certificate configured, assemble 8-file Releases\v0.1.0\, NTFS-hardlink Releases\Latest\, generate Releases\IronFrame-OuterFortress-Cart-01-v0.1.0-win-x64.7z + Latest.7z, sync central Releases\ junctions (IronFrame-OuterFortress-Cart-01-Recomp), run audit_installer.ps1 -RequireDualInstaller -VerifyChecksums, and archive Archive\IronFrame-OuterFortress-Cart-01-Recomp-v0.1.0-src.7z.
5. Logs & 2-Tier Forensics
On any runtime or installer incident, inspect the preceding 20–50 lines across both canonical log roots before making changes:
1. Installed Runtime Logs (Read-Only): %LOCALAPPDATA%\Programs\StreamItAll\reEngine\games\IronFrame-OuterFortress-Cart-01\logs\ (or <SandboxLocalAppData>\Programs\... during Sandbox E2E).
2. Developer & Test Runner Logs: Dev\logs\ (including stage2_e2e\, build transcripts, and crash bundles).