Repository navigation
Selûne v0.2.0 — Morning Reverie
·
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
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).