Skip to content

Selûne v0.2.0 — Morning Reverie

Choose a tag to compare

@CharlesHoskinson CharlesHoskinson released this 30 Nov 06:27
· 38 commits to master since this release

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).