Skip to content

Selûne v0.2.1 — SelûneCraft v2 Navigation, Audio & Persistence Hardening

Latest

Choose a tag to compare

@CharlesHoskinson CharlesHoskinson released this 30 Nov 20:05

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/8 survival + 53/53 formal kernel SMT goals proved under default and machine-int preludes on pinned MoonBit 0.1.20261126).
  • Micro-sliced cold-cache world generation (WorldGenStepper across 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 ms max combined across 71/71 window-scoped slices during 60 s headed RTX GPU endurance; admission-bounded <= 8.0 ms under 5.5–6.5 ms sustained DOM load).
  • Added per-chunk voxel edit-generation guards during sliced chunk hashing so mid-chunk edits across requestAnimationFrame yields 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 (1024 and 2048 quanta at 48 kHz) with strict bound node-ID join, 3-pulse clock sync (0.0 ms error), block-boundary-safe 4× Catmull-Rom inter-sample true-peak detection (+6.846 dB margin at 1024, +7.210 dB at 2048, 0 clipped samples, 0 dropouts > 40 ms), and fail-closed native 10 ms replay v3 verification (analyze_pcm.py --verify-replay).

Verification & Knowledge Graph

  • MoonBit tests: 519/519 JS and 519/519 Wasm-GC passing (--frozen --deny-warn).
  • Kernel adapter & browser bypass-negative suite: 21/21 PASS (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_mbt E2E PASS; verify-site PASS (10 pages, 23 assets, 0 console/page/HTTP/CSP errors); GitHub Pages deployment GREEN.
  • MARS 1.0 ledger (games/selunecraft/obligations.mars): 114 rows, 0 diagnostics, 0 stale sources, mars audit --fresh OK (held_out_tests/ untouched at 3713c57f8dd7ed987e57f92f06094628ef6e260c).
  • Dreamscape Knowledge Graph (ws-selunecraft-v021): Generation 9 (17 classes, 17/17 relations, 180 nodes, 450 edges, 0 isolated, hydrated in /mnt/ai-scratch).

Honest Open Host Scope

  • physical_host_input (touchpad vs external mouse + Hyprland DWT physical witness) and host_pipewire_pcm.speaker_monitor (live SoundWire speaker graph monitor) remain OPEN_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 (quint CLI not installed on the GitHub runner for mars-next self-tests, libs/queue scratch path on runner, MCP stateless timeout, and 21 machine-int subgoal timeouts under the newer 2026-11-30 MoonBit CI nightly) are tracked separately.