Skip to content

Releases

MotifAI v7.2.0 — Evidence-Ranked Engram Planner

Choose a tag to compare

@ShamelesAbyss ShamelesAbyss released this 25 Oct 11:10

Highlights

Evidence-ranked Engram Planner

  • Adds src/engram_planner.rs as a pure request-time planner, keeping durable experiments and feedback in SonicIntelligence and leaving the memory JSON schema unchanged.
  • Applies an evidence gate: preference notes need provenance, non-heuristic findings, and at least two decisive explicit user signals; technical notes need repeated non-heuristic AST diagnostic failures. Heuristics, descriptive counts, weak or mixed evidence, and unsupported provenance stay out of prompts.
  • Ranks eligible notes by task relevance, confidence, epistemic status, evidence strength and consistency, and recency with a 180-day half-life. Retrieval searches the user's vision and style without indexing the full existing score.
  • Caps memory at eight notes, four per category, 240 characters per note, and a context-aware 192–512 token budget.
  • Keeps Ollama compatibility across model families by using MotifAI's shared character-based estimate instead of applying a DeepSeek tokenizer to unrelated models. Logs Ollama's actual-to-estimated prompt-token ratio when usage is reported.
  • Frames retrieved notes as untrusted evidence. Planner diagnostics include IDs, counts, relevance hits, and scores without writing memory statements to logs. The existing Ctrl+A toggle still controls injection.

Version and documentation

  • Bumps Cargo.toml, Cargo.lock, and APP_VERSION to 7.2.0.
  • Updates the README with the Engram Planner architecture, evidence policy, ranking, budgeting, telemetry, and limitations.

Verification

  • cargo test: 123 passed.
  • cargo check --locked: passed.
  • rustfmt --check src/engram_planner.rs: passed.

MotifAI v7.1.0 — Task-Aware Recipe Engine & Hardening

Choose a tag to compare

@ShamelesAbyss ShamelesAbyss released this 25 Oct 09:43

Highlights

Task-aware recipe engine

  • Compiles requests for new compositions, targeted edits, evolutions, and repairs into structured Strudel prompts and model settings.
  • Uses Ollama model metadata to resolve context, output, and thinking policies. It estimates the complete prompt, trims optional references when needed, and stops with a clear error if required content still exceeds the budget.
  • Keeps the UI profile consistent with the request configuration, sanitizes dynamic prompt context, and treats memory and curated references as advisory user context.
  • Uses compact repair passes and task-specific sampling settings; reasoning is enabled only when the model reports support and the task warrants it.

Reliability and security

  • Fixes the pinned Strudel REPL URL and reports an unavailable runtime as unverified.
  • Hardens reference scraping by checking every redirect and DNS result, pinning public addresses for the request, and blocking private or loopback destinations.
  • Resolves the required Strudel rulebook from the project path or MOTIFAI_STRUDEL_RULES, with visible errors when it cannot be loaded.
  • Makes empirical memory advice more task-relevant and requires repeated technical failures before including them as advice.

Verification

  • 115 Rust tests passed during implementation.
  • cargo check --locked passed for v7.1.0.

Requires Rust stable and Ollama. GitHub provides source archives for this tag.

v6.8.0: Stateful Repair, Dead-Stem Preflight, & Session Time-Machine

Choose a tag to compare

@ShamelesAbyss ShamelesAbyss released this 23 Oct 17:13

🌀 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 declared const / let pattern stem or slider(...) 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): Pressing Esc while 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): Pressing Ctrl+S continues to update masterpiece.strudel.js in the working directory for instant access while simultaneously saving a timestamped snapshot into an exports/ 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 auto mode, 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:14b with right-sized 32k context profiles).
  • Studio Security: Serves local Visual Studio on 127.0.0.1:7777 with Base64 editor hydration, session token verification, and active client heartbeats.