Repository navigation
v6.8.0: Stateful Repair, Dead-Stem Preflight, & Session Time-Machine
🌀 MotifAI v6.8.0: The Self-Healing Studio Release
This release brings a massive engine room upgrade focused on self-healing retry loops, strict static preflight safety gates, and enhanced session control. MotifAI now repairs candidate code intelligently in place, guarantees that all declared stems and sliders are wired into the composition, and introduces full undo/redo session time-travel.
✨ What's New in v6.8.0
-
Stateful Surgical Repair on Retries: When a candidate score fails static preflight or throws an error in the browser REPL evaluation, MotifAI now feeds the exact error message and the failed candidate code back into the AI model during retry passes. This turns retries from blind whole-song rewrites into fast, low-temperature (
$temp = 0.25$ ) surgical code repairs. -
Dead-Stem & Unwired-Slider Preflight Gate: The lexical preflight validator (
src/strudel_ast.rs) now explicitly rejects any declaredconst/letpattern stem orslider(...)variable that is never referenced in the playback graph. No more orphaned solos or silent sub-bass layers passing validation! - Compact Retry Context Optimization: During technical syntax or runtime repair retries, the 14,000-character blueprint archive block is omitted from the prompt, letting the model focus 100% of its attention on resolving the specific code defect.
-
Evolution Undo/Redo Time-Machine (
Ctrl+Z/Ctrl+U): You can now step backward (Ctrl+Z) and forward (Ctrl+U) through your session's generated and evolved score history while automatically syncing changes with the local Visual Studio. -
Safe In-Flight Generation Cancellation (
Esc): PressingEscwhile an AI generation or review pass is running safely aborts the active asynchronous task without quitting the TUI application. -
Non-Destructive Timestamped Exports (
Ctrl+S): PressingCtrl+Scontinues to updatemasterpiece.strudel.jsin the working directory for instant access while simultaneously saving a timestamped snapshot into anexports/folder so earlier saves are never overwritten. -
Confidence-Gated Smart Auto Selection: The blueprint selector now requires a positive keyword or tag match score before injecting an architecture in
automode, falling back cleanly to Free-Form when prompts are purely bespoke.
🛡️ Verification & Compatibility
- Preflight & REPL Bridge: Requires Rust stable and Ollama with compatible local coder models (optimized for
qwen2.5-coder:14bwith right-sized 32k context profiles). - Studio Security: Serves local Visual Studio on
127.0.0.1:7777with Base64 editor hydration, session token verification, and active client heartbeats.