reCart — Operations & Maintenance (v0.1.4 Baseline -> v0.2.0 Active)
Operational runbook covering repository layout, pinned SDKs (Foundation v0.5.5 + reEngine v0.6.2), build/test commands, canonical 2-tier log roots, installer/AOT safety guards, Stage 2 4-drive E2E (OPERATIONS.E2ECoverage.md, OPERATIONS.InputPlaybook.md), and the v0.1.x Standard 28 §3.1 2-channel --prerelease workflow for reCart.
1. Repository & Target Install Topology
- Tier A 4-Folder Workspace (
<PROJECTS_ROOT>\Personal\reCartOne\): Root contains strictlyArchive\,Builds\,Dev\,Releases\(dual-junctioned at<RELEASES_HUB>\Personal\reCartOne\and<RELEASES_HUB>\Personal\reCart\),active.state,AGENTS.md,LICENSE,SECURITY.md,CONTRIBUTING.md, Root Quartet (README.md,FEATURES.md,ROADMAP.md,CHANGELOG.md), and outer.git\. - Canonical Solution & Assets (
Dev\reCart.slnx): All 8 assemblies stayreCart.*(reCart.Contracts,Core,Compiler,Decomp,Player,Launcher,Installer,Tests), withDev\assets\reCart.{svg,png,ico}as the sole icon set. - Target Installed Engine Root:
%LOCALAPPDATA%\Programs\StreamItAll\reEngine\engines\reCart\v<Ver>\—{reCart.exe, .ready, engine.manifest.json, THIRDPARTY_LICENSES.txt, scripts\interactive\}+app\(reCart.Player.exe,reCart.*.dll,reEngine.{Core,Host}.dll,Foundation.*.dll,SDL3.dll,LICENSE,tools\{7z.exe,7z.dll,LICENSE-7ZIP.txt}),data\(config\,rom\,saves\,cache\), andlogs\. Never placeAGENTS.mdinsideBuilds\v<Version>\,Releases\, or deployed production folders.
2. Pinned SDKs (Dev\lib\) & Build Configuration
- Pinned Read-Only SDKs (
v0.1.4): Foundation v0.5.5(<SHARED_LIBS>\Foundation\v0.5.5\):Foundation.Core,Foundation.Retro(MediaContainerExtractor),Foundation.Installer,Foundation.Launcher,Foundation.UI,Foundation.Server,Foundation.Sidecars, Debug/Test-onlyFoundation.Automation, plussdk-manifest.json.reEngine v0.6.2(<SHARED_LIBS>\reEngine\v0.6.2\):reEngine.Core,reEngine.Host(HostSessionRunner.SetAotCompileState/SetMediaGateState/UpdateDrawerDescriptor,HostAotCompileOverlayView,FirstRunMediaGateViewwithOnBrowseMediaRequested/OnBrowseModuleRequested/OnFileDropped/OnDemoCartRequested,HostSettingsStoreSettingsDataDirectoryliveF1persistence,0 pxjitterF3HudOverlayView,HostInputMapper2-frame synthetic tap auto-release,HostViewportGeometry5-aspect modes, GL0x0/0x8CD5&TryReadSurfaceRect/FlushAndSyncForSnapshot, 4-port SDL3 gamepads, 3-tiersettings.controls.json, interactiveF1/F3,F5/F9/F11, 3-wayreCart/reCartOne/reNesaliases,hostProtocolVersion = "0.6.2",minSuiteVersion = "0.6.0"),SDL3.dll, plusreEngine.sdk-manifest.json.SDL3.dll,7z.exe/7z.dll, and installer.exebinaries stay excluded from Git and are staged only duringBuilds\/Releases\packaging.- Deterministic Zero-PII Props:
Dev\Directory.Build.propsenforcesLangVersion=latest,Nullable=enable,TreatWarningsAsErrors=true,Deterministic=true,<Product>reCart</Product>, and Release<PathMap>+<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>.
3. Build, 125/125 Isolated Test & Audit Commands
# Isolated Release + Debug/Automation builds and 125/125 xUnit test runs (0 warnings)
$env:APP_ISOLATED_TEST = "1"
dotnet build Dev\reCart.slnx -c Release /warnaserror --disable-build-servers -p:UseSharedCompilation=false
dotnet test Dev\reCart.slnx -c Release --no-build
dotnet build Dev\reCart.slnx -c Debug -p:ReCartTestAutomation=true /warnaserror --disable-build-servers -p:UseSharedCompilation=false
dotnet test Dev\reCart.slnx -c Debug -p:ReCartTestAutomation=true --no-build
Verified 10 modular xUnit classes (125/125 tests): Cpu6502Tests, Mapper0To3Tests, Ppu2C02AndApuTests, CompilerAndAotCacheTests, DecompD4ValidationTests (incl. v2 "isVerified" d5_byte_match.json), ContractsAndManifestTests (incl. LauncherArgsHelper detach/job tests), PlayerQuickSaveAndInputTests (incl. PlayerCliOptionHelpers superset + 0/8/16 live OverscanCrop), PlayerV013PrelaunchTests, InstallerManifestAndSideBySideTests, and RecipeAndLockstepTests.
# Static Dev Bible audit + Tier A 4-folder & dossier checks
python "$env:USERPROFILE\.gemini\config\skills\audit\scripts\audit_scanner.py" ".\Dev" --format markdown
powershell -NoProfile -ExecutionPolicy Bypass -File "$env:USERPROFILE\.gemini\config\skills\graduate\scripts\scaffold_project.ps1" `
-ProjectName reCartOne -Group Personal -AuditOnly
powershell -NoProfile -ExecutionPolicy Bypass -File "$env:USERPROFILE\.gemini\config\skills\scope\scripts\audit_dossier.ps1" `
-ProjectPath "."
4. Canonical 2-Tier Forensic Log Roots & Open Reports
Before diagnosing build, runtime, or sandbox failures, sweep the preceding 20–50 lines across both log roots:
1. Canonical Installed Engine Logs (Strictly Read-Only): %LOCALAPPDATA%\Programs\StreamItAll\reEngine\engines\reCart\v<Version>\logs\ (recart.player.log) (plus %LOCALAPPDATA%\Programs\StreamItAll\reEngine\logs\ for router handoffs)
2. Dev & Isolated Runner Logs: <RepoRoot>\Dev\logs\
- Tracked Open Reports (
openReportCount: 1-> Scheduled forv0.3.0 / v0.7.0): Dev\docs\reports\0.1.0.2026-11-21_0518.-.neuroplay-0.5-recart-nes-recomp-integration.md(NeuroPlayv0.5.0pre-mute Blip-buffer PCM tap &v0.7.0Runtime API spec — wired in0.3.0.2026-11-27.md)- Resolved & Archived in
Dev\docs\reports\archive\(5v0.1.4-era closures +4earlierv0.1.0–v0.1.3archives):0.1.0.2026-11-20_0115.-.d5-v2-schema-bridge.md(resolved inv0.1.4viaValidateD5Core"isVerified")0.1.0.2026-11-20_0418.-.reslate-host-ui-behavior-parity.md(resolved inv0.1.4: silent-idle demo audio,0/8/16liveOverscanCrop,PlayerCliOptionHelperssuperset,Launcherdetach)0.1.3.2026-11-23_1648.-.parity-health-drift.md(resolved inv0.1.4:CHARTER.md+0.2.0–0.4.0drafts +ROADMAP.mdalignment)0.1.3.2026-11-27_1204.-.github-seo-utility-audit.md(resolved inv0.1.4: public README/SECURITY/ROADMAP/FEATURES polish & screenshots)0.1.4.2026-11-27_1712.-.stage2-e2e-overscan-ui-and-version-badge.md(resolved inv0.1.4:UpdateDrawerDescriptorsync,F1drawer dedup,reCart v0.1.4Media Gate visibility)
5. Release Packaging, Dual-Installer Transition & Stage 2 Sandbox E2E
- Setup
reEngine-Root Collision Guard (IsReEngineDirectory+"suiteId": "reEngine"):ReCartSuitePlacementHelperinspectsIsReEngineDirectory,appId/install-manifest.json(IsOwnInstallManifest), and poisonedHKCUentries so Setup nests cleanly underengines\reCart\v<Ver>\and never overwritesreEngine.exe. - Cold Local AOT Pipe Isolation, Async Progress Overlay,
.7zTools & Media Gate:ColdAotCacheCompilerpasses--disable-build-servers -p:UseSharedCompilation=false -nodeReuse:falsewhileLifterJumpTableScannerliftsrecipe.JumpTables($C6B7) across fixed/switchable banks andReCartSessionHostopensHostSessionRunnerimmediately updatingHostAotCompileOverlayView;CartMachineHost.StepCpuAndApuCyclepaces AOT blocks and_pendingAotNmi/_pendingAotIrqcycle-by-cycle;CartMediaArchiveLoader+Foundation.Retro.MediaContainerExtractoruse stagedapp\tools\{7z.exe,7z.dll,LICENSE-7ZIP.txt}for fail-closed.7zROM loading/staging with ephemeralfinallycleanup;ReCartSessionHost.MediaGateHandlerspreserves<DataDir>\rom\discovery, wiresFirstRunMediaGateView(Browse,Select .recomp Module...,Drag-Drop,Demo Cart, external ROM staging, standalone raw-ROM clean-room guidance, interactiveUnliftedPcTrapExceptiontrap catch), and persistsF1Video/Audio edits viaHostSettingsStore(SettingsDataDirectory);build_release.ps1and Setup write.ready+schemaVersion: 2engine.manifest.json(hostProtocolVersion: "0.6.2",minSuiteVersion: "0.6.0",legacyEngineIds: ["reCartOne", "reNes"]) atomically (withaudit_installer.ps1Passed: True, FindingCount: 0). - Dual-Binary Release
ExitCode = 2Gate: BothreCart.PlayerandreCart.InstallercompileFoundation.Automation/Foundation.UIonly under$(Configuration) == 'Debug' Or '$(ReCartTestAutomation)' == 'true', failing closed withExitCode = 2on--automation-portin shippingReleaseEXEs. - 7-File
AutoMode (v0.1.0–v0.4.0) -> 8-File Dual-Installer (v0.5.0, Standards27/28): Per Standards 27 & 28 rollout rules,v0.1.0–v0.4.0build the valid 7-fileReleases\payload (-ReleaseLayoutMode Auto). Starting inv0.5.0(reEngine v0.8.0+Foundation.Installer),build_release.ps1emits the 8-file bundle (reCart-Setup-v<Ver>-win-x64.exeOnline Setup +reCart-Offline-Setup-v<Ver>-win-x64.exeOffline Setup +-Portable.zip, both passing purity/signing/ExitCode = 2). - Stage 2 4-Drive Sandbox E2E (
Dev\scripts\run_stage2_sandbox_e2e.ps1): Usesstart_exebox_stream.ps1(http://127.0.0.1:5005), dynamic highest-SemVerreEngine\Builds\v*discovery, ephemeral loopback ports, and"-t:Rebuild,Publish"with-p:ReCartTestAutomation=true. Coverage and input-handling playbooks live inOPERATIONS.E2ECoverage.mdandOPERATIONS.InputPlaybook.md(Dev\docs\tests\e2e_{coverage,perf_history}.jsonstay gitignored). Scheduledv0.2.0/v0.5.0Hardening: WireFoundation\Dev\tools\run_sandbox_e2e.pyhost-diff assertions and loopback HTTP mock feed SHA-256/ExitCode = 4checks. - Standard 28 §3.1 2-Channel Releases & Standard 36 Manual Notion Policy: Publish exclusively to
GitHub Releases(--prereleasefor0.xafterrequireHumanReviewBeforePushreview) +Discord /post. Never upload binaries, installers, or.7zarchives to cloud drives (Standard 28 §3.1), and sync Notion strictly manually on demand (Standard 36).