Repository navigation
Releases
Releases · CharlesHoskinson/selune
Selûne v0.2.1 — SelûneCraft v2 Navigation, Audio & Persistence Hardening
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.
Selûne v0.2.0 — Morning Reverie
Selûne v0.2.0 — Morning Reverie
Selûne is a MoonBit 1.0 RC1 (1.0.0-rc1+3c0520448, zero Python) agentic engineering platform for concurrent coding agents with sandboxed Git worktree cells, typed edits, formal proof gates, and MARS 1.0 obligations.
Highlights
1. Dreamscape — RAM-Disk Scratch Planner & Anti-Rot Context Engine (libs/ramdisk/, ./bin/selune dreamscape)
- SSD-Authoritative + Verified Read-Only
tmpfsProjection: Keeps every workspace's authoritative SQLite database (WAL,synchronous=FULL) on SSD and projects read-only0444snapshots intotmpfs(sqlite3_deserializeinto:memory:withFREEONCLOSE | READONLY), verifying mount registration,dev_id, capacity headroom (<80%), generation, and snapshot digest with automatic SSD fallback. - Tiered Anti-Rot Context Recall & Freshness Leases: Deterministic 8,192-token canonical prefix assembly from SSD (never from
tmpfs), protecting owner-pinned Tier 0 rules (up to 4,096 tokens) and issuing HMAC-SHA-256 freshness leases bounded by 30 turns, 64,000 tokens, or 30 minutes ofCLOCK_BOOTTIME. - Hybrid RAG + Closed-World Knowledge Graph & K15 Handoffs: Fuses SQLite FTS5 BM25, 64-dim int8 Hamming embeddings, and 1-hop graph expansion via RRF (
k=60), with cycle-free ontology ingestion, bounded graph traversal, and owner-MAC-authenticated durable K15 event handoffs (strict space-freev2codes with domain-separatedv1/v2MACs). - Verified Performance & Proofs: Release benchmark on
tmpfs+btrfsSSD: hybrid retrieval 129 µs p50 / 479 µs p95 (500 queries over 10,000 chunks, 4.67 MiB cache), knowledge graph 268 µs p50 / 508 µs p95 (10,000 queries over 10,000 nodes and 40,000 edges, 0 errors), 304/304 debug and release tests, 17/17 default and 47/47machine-intmoon provegoals, MARS 83 rows (70/70EARS requirements covered,0diagnostics).
2. Jenevelle v1 + v2 — Pure-MoonBit Web Runtime (libs/jenevelle/)
- Triple-Target Parity & Curated WebIDL Codegen: Byte-identical
.mbtipublic interfaces acrossnative,js, andwasm-gc, generation-tagged DOM handle arenas, shared XSS/CSP safety policy (safety.mbt), LIS keyed VDOM, Elm Architecture runtime, SSR + hydration, router,ReplayLog, and headless WAI-ARIAkit/state machines (dialogs, menus, tabs, toasts, popovers, forms, virtual lists, focus traps). - Wasm-GC Bridge, Typed Networking, Query Cache & Transactional IndexedDB: Dual
app_fast(wasm:js-string) /app_baselinebuilds behind ABI v2 with 8,876 B Brotli glue (under the 16 KiB cap), typedHttpPort/WebSocketPort/SsePortwith deterministic mocks, pure-TEAQueryCache, and callback-chainedIDBTransactionstorage preserving 8 MiBBlobandUint8Arraypayloads across offline reloads with matching SHA-256 digests. - Cross-Browser & Formal Verification: BrowserStack Automate 4/4 PASS (Chrome Win11, Edge Win11, Firefox macOS, Safari/WebKit macOS) on both v1 and v2 suites under strict CSP with zero console, page, or CSP errors; 188/188 tests on each of
native,js, andwasm-gc(564/564); 14/14 default and 14/14machine-intmoon provegoals; MARSJenevelle(38rows) +JenevelleV2(35rows,30/30covered,0diagnostics).
3. SelûneCraft v2 on Jenevelle (games/selunecraft/, site/play/)
- Survival Depth & Community Icons: Full Survival progression (Shrine to Prospector's Camp, Moonsteel pickaxe, recipe journal, highland observatory & canyon lightwell expeditions, named outposts, Starroot farming, shrine workshop repairs, full-pool loot queue), keyboard-only accessibility, placement previews, captions, and all community-redrawn inventory icons from PR #6 (
colll78). - Jenevelle v2 Storage & Accessible UI: Atomic single-transaction IndexedDB world commits over 8 MiB (
399decoded binary chunks,9.8 MiB), versioned SHA-256 backup export/import, Web Locks +BroadcastChannelmulti-tab compare-and-swap, Jenevellekit/dialogs/menus/tabs/toasts/focus traps, and strict CSP with zerounsafe-*and zerowasm-unsafe-evaldirectives. - Verification & Benchmarks: 465/465 tests on each of
native,js, andwasm-gc(1,395/1,395), 40/40 default and 40/40machine-intmoon provegoals, 0 kernel guard violations, 0 Chromium CSP violations,mc_save2.74 ms median,mc_load38.3 ms, 49-chunk binary mesh 54.4 ms, live Chromium 120-frame HUD sync 2.4 ms median.
4. Hardened Worktree Cells (libs/cells/, ./bin/selune cells)
- Batch cell creation (
create-batch) and parallel bisecting validation (land-batch) insidebwrapwith structuredfailure_receipts, configurable--timeout-ms [1000..1800000]and--tasks-max [64..2048]onrun/land/land-batch, idempotent atomic CAS re-submit onsubmittedcells,--allow-mbti-theirs, explicit toolchain binding (--moon-home), hub author flags, and<subcommand> --helpwithout--root(39/39 tests passing).
5. Unified Brand Emblems & Platform Proof Wiring
- Harmonized brushed-silver hero emblems for Selûne, Dreamscape (
design/art/dreamscape/01-dreamscape-hero-emblem.png), and Jenevelle (design/art/jenevelle/01-jenevelle-hero-emblem.png), plus./bin/selune prove allexpanded to cover all 15 proof packages (142 default proof goals across the repository).