Repository navigation
Highlights
Selûne v0.2.1 ships the hardened SelûneCraft v2 browser runtime, formal verification kernels, live verification harness, and updated documentation site on GitHub Pages.
Navigation, Camera & Frame Budget
- Formalized camera lock, raw pointer delta budgeting, zero-sample warp guards, focus/modal epoch resets, and water-exit clearance in
games/selunecraft/src/formal_kernels(8/8survival +53/53formal kernel SMT goals proved under default and machine-int preludes on pinned MoonBit0.1.20261126). - Micro-sliced cold-cache world generation (
WorldGenStepperacross terrain, caves, ores, and flora) and 1,024-voxel chunk hashing with denial-decay starvation protection so autosave slices share the 8.0 ms foreground budget with DOM work (4.6 msmax combined across71/71window-scoped slices during 60 s headed RTX GPU endurance; admission-bounded<= 8.0 msunder5.5–6.5 mssustained DOM load). - Added per-chunk voxel edit-generation guards during sliced chunk hashing so mid-chunk edits across
requestAnimationFrameyields discard stale partial hashes and always commit hash-consistent, directly reloadable revisions without waiting for a follow-up autosave.
Audio, OST Anti-Churn & DSP Verification
- Formalized autoplay liveness, two-gate audio readiness, single-flight OST deck switching with biome/cave hysteresis, single-queue SFX admission, listener/panner synchronization, and two-deck + SFX headroom bounds (
0.876 <= 0.880). - Preserved active OST playback across standby deck
NotAllowedError, decode timeouts, and superseded transitions. - Added Tier-3 PipeWire virtual-sink PCM verification (
1024and2048quanta at48 kHz) with strict bound node-ID join, 3-pulse clock sync (0.0 mserror), block-boundary-safe 4× Catmull-Rom inter-sample true-peak detection (+6.846 dBmargin at1024,+7.210 dBat2048,0clipped samples,0dropouts > 40 ms), and fail-closed native 10 ms replay v3 verification (analyze_pcm.py --verify-replay).
Verification & Knowledge Graph
- MoonBit tests:
519/519JS and519/519Wasm-GC passing (--frozen --deny-warn). - Kernel adapter & browser bypass-negative suite:
21/21PASS (verified 3/3 consecutive runs, including JS/Wasm-GC dual-target parity, 6 live Chromium CDP probes, GC-attributed sustained-DOM checks, and shipped-JS mid-slice edit rev-1 reload). - Pure-MoonBit E2E & Site verification:
verify_mbtE2E PASS;verify-sitePASS (10pages,23assets,0console/page/HTTP/CSP errors); GitHub Pages deployment GREEN. - MARS 1.0 ledger (
games/selunecraft/obligations.mars):114rows,0diagnostics,0stale sources,mars audit --freshOK (held_out_tests/untouched at3713c57f8dd7ed987e57f92f06094628ef6e260c). - Dreamscape Knowledge Graph (
ws-selunecraft-v021): Generation 9 (17classes,17/17relations,180nodes,450edges,0isolated, hydrated in/mnt/ai-scratch).
Honest Open Host Scope
physical_host_input(touchpad vs external mouse + Hyprland DWT physical witness) andhost_pipewire_pcm.speaker_monitor(live SoundWire speaker graph monitor) remainOPEN_HOST_REQUIRED(host_claim_closed: false) until run interactively on physical hardware (./bin/selune playtest-live --physical-check --audio-mode=live-speaker-monitor).- Pre-existing platform CI runner environment gaps outside SelûneCraft's shipped bundle (
quintCLI not installed on the GitHub runner formars-nextself-tests,libs/queuescratch path on runner, MCP stateless timeout, and21machine-int subgoal timeouts under the newer2026-11-30MoonBit CI nightly) are tracked separately.