reEngine — Project Charter
- Project Code Name:
reEngine(reengine) - Project Lead:
Stream - Archetype:
ENGINE(Tier1_Infrastructure, Tier A 4-Folder) - License: Mozilla Public License Version 2.0 (
MPL-2.0, rootLICENSE) - Last Reviewed:
2026-11-29
1. Identity & Mission
reEngine is a zero-daemon static recompilation package router, shared host runtime (reEngine.Host), and side-by-side platform engine suite manager. It lets players launch cleanly lifted .recomp game packages and manage .decomp bring-up recipes across console engines (reSlate, reCart, reCart64, reBlast16, reCube, and siblings) with consistent controls, device-matching prompts, accessibility scaling, split configuration storage, and zero background daemons.
2. Explicit Non-Goals & Clean-Room Boundaries
- Static Recompilation First:
reEngineorchestrates ahead-of-time static recompilation (AOT-Primaryin local<dataDir>\cache\) plus opt-in native JIT bring-up (--jit-bringup). Cycle-accurate interpreters remain isolated offline verification/oracle harnesses rather than shipping as silent runtime fallback emulators. - Strict Clean-Room Distribution: Never bundle or redistribute retail ROMs, disc ISOs, console BIOS/firmware images, pre-lifted retail executables, copyrighted scripts/dialogue transcripts, or proprietary SDK assets. Players always supply their own legally obtained media under
data\rom\or contained suite directories. - Zero Background Daemons: Exiting the launcher, manager, or engine session leaves zero resident services, scheduled tasks, or OS auto-start entries (
AllowAutoStart = false). - No Third-Party Achievement Networks: Never integrate RetroAchievements (
rcheevos) or external achievement telemetry; future achievement packs use first-party local.recompachievement manifests (v2.0.0). - No Frame-Rollback "Run-Ahead" Loops: Input responsiveness relies on native static execution and late-latch frame pacing rather than multi-frame speculative save/load rollback.
3. Architectural Invariants & Heuristics
- Single-Host Runtime UI: All player overlay menus (
10-Rail Two-Column Deep Slate Menu),F3HUD telemetry, first-run Glass Media Gate, native file dialogs, audio DSP pipeline, video filters, and controller/keybind layers live once inreEngine.Hostso child engines look and behave identically. - Non-Destructive UX: Pressing
Escnever unexpectedly quits an active session; exiting uses explicitQuit Game, window close, orAlt+F4with boundedWM_CLOSEsave flushing. - Deterministic & Self-Contained Paths: Root installs anchor
--data-dir,--config, and--log-dircleanly relative to the install root, split settings into atomic.tmp -> .bakdomain files (settings.json,settings.video.json,settings.audio.json,settings.controls.json), and validate archive/path boundaries against traversal or SSRF. - Zero-Warning & Test-Isolated Builds: Every shipped binary compiles cleanly with
/warnaserror(0warnings), strips Release-only test automation hooks (ExitCode = 2), and runs isolated unit tests strictly insideAPP_ISOLATED_TEST=1containment.
Department Ownership & Delegation (Tier 3 Project Roster)
Inherits Tier 1 (47_DEPARTMENTS_AND_OWNERSHIP.md) and Studio Tier 2 (Personal/_PersonalBible/P08_DEPARTMENTS_AND_OWNERSHIP.md). Strictly 1 Accountable Lead per active department; unused departments carry an explicit N/A reason.
| ID | Department | 1 Accountable Lead | Delegated Sub-Duties & Helpers |
|---|---|---|---|
DEP-01 |
Executive Vision & Governance (EXEC) | Stream | Portfolio ops rollup & compliance prep (Miles) |
DEP-02 |
Project Management & Scheduling (PM) | Stream | Milestone pacing & state parity (Miles) |
DEP-03 |
Research, R&D & Prior Art (RND) | Miles | Genre/product direction & greenlight calls (Stream) |
DEP-04 |
Product & Game Design (DESIGN) | Stream | Living DESIGN*.md stewardship & systems math (Miles) |
DEP-05 |
World, Narrative & Copy (NARRATIVE) | Stream | Copy drafting, _TellusBible lockstep & anti-slop review (Miles) |
DEP-06 |
Visual Art & Brand (ART) | N/A — Non-visual research/documentation/CLI target | Handled at studio _Marketing/_Assets tier |
DEP-07 |
Audio & AV Signal (AUDIO) | Miles | Creative audio & music taste sign-off (Stream) |
DEP-08 |
UI/UX & Controls (UX) | Miles | Layout, feel & accessibility sign-off (Stream) |
DEP-09 |
Systems & Software Architecture (ARCH) | Miles | Architectural scope & boundary review (Stream) |
DEP-10 |
Core Engineering & Builds (ENG) | Miles | Zero-warning 250/400/600 SLOC builds; milestone sign-off (Stream) |
DEP-11 |
Data, Schemas & Persistence (DATA) | Miles | Schema collision /grill-me decisions (Stream) |
DEP-12 |
Performance & Optimization (PERF) | Miles | Target hardware & performance budget sign-off (Stream) |
DEP-13 |
Quality Assurance & Testing (QA) | Miles | Stage 2 Sandbox E2E & 2-tier logs; v1.0.0 playtest sign-off (Stream) |
DEP-14 |
Security, Clean-Room & Bible Gates (SEC_GOV) | Miles | Public visibility flips & exception sign-off (Stream) |
DEP-15 |
Release Engineering & Packaging (REL) | Miles | Release push approval on gated/public repos (Stream) |
DEP-16 |
Documentation & Knowledge (DOCS) | Miles | Root Quartet, Manual Shelf & manual Notion syncs (Stream) |
DEP-17 |
Website & Storefronts (WEB_STORE) | Miles | Storefront pricing & reveal approval (Stream) |
DEP-18 |
Marketing, Positioning & PR (MKT) | Miles | Trailers, positioning & Reveal Gate sign-off (Stream) |
DEP-19 |
Socials, Community & Merch (SOC_COMM) | Miles | Explicit publish/blast & merch SKU approval (Stream) |
DEP-20 |
Pre-Launch Analysis & Readiness (PRE_LAUNCH) | Miles | Final launch Go/No-Go decision (Stream) |
DEP-21 |
Post-Launch Analysis & Live Support (POST_LAUNCH) | Miles | Minor/major roadmap prioritization (Stream) |
DEP-22 |
Legal, Finance & Business Ops (BIZ_LEGAL) | Miles | Bank/payout execution, filings & legal signatures (Stream) |