Skip to content

Releases

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

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.

Selûne v0.2.0 — Morning Reverie

Choose a tag to compare

@CharlesHoskinson CharlesHoskinson released this 30 Nov 06:27

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 tmpfs Projection: Keeps every workspace's authoritative SQLite database (WAL, synchronous=FULL) on SSD and projects read-only 0444 snapshots into tmpfs (sqlite3_deserialize into :memory: with FREEONCLOSE | 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 of CLOCK_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-free v2 codes with domain-separated v1/v2 MACs).
  • Verified Performance & Proofs: Release benchmark on tmpfs + btrfs SSD: 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/47 machine-int moon prove goals, MARS 83 rows (70/70 EARS requirements covered, 0 diagnostics).

2. Jenevelle v1 + v2 — Pure-MoonBit Web Runtime (libs/jenevelle/)

  • Triple-Target Parity & Curated WebIDL Codegen: Byte-identical .mbti public interfaces across native, js, and wasm-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-ARIA kit/ 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_baseline builds behind ABI v2 with 8,876 B Brotli glue (under the 16 KiB cap), typed HttpPort / WebSocketPort / SsePort with deterministic mocks, pure-TEA QueryCache, and callback-chained IDBTransaction storage preserving 8 MiB Blob and Uint8Array payloads 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, and wasm-gc (564/564); 14/14 default and 14/14 machine-int moon prove goals; MARS Jenevelle (38 rows) + JenevelleV2 (35 rows, 30/30 covered, 0 diagnostics).

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 (399 decoded binary chunks, 9.8 MiB), versioned SHA-256 backup export/import, Web Locks + BroadcastChannel multi-tab compare-and-swap, Jenevelle kit/ dialogs/menus/tabs/toasts/focus traps, and strict CSP with zero unsafe-* and zero wasm-unsafe-eval directives.
  • Verification & Benchmarks: 465/465 tests on each of native, js, and wasm-gc (1,395/1,395), 40/40 default and 40/40 machine-int moon prove goals, 0 kernel guard violations, 0 Chromium CSP violations, mc_save 2.74 ms median, mc_load 38.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) inside bwrap with structured failure_receipts, configurable --timeout-ms [1000..1800000] and --tasks-max [64..2048] on run/land/land-batch, idempotent atomic CAS re-submit on submitted cells, --allow-mbti-theirs, explicit toolchain binding (--moon-home), hub author flags, and <subcommand> --help without --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 all expanded to cover all 15 proof packages (142 default proof goals across the repository).