Repository navigation
MotifAI v7.1.0 — Task-Aware Recipe Engine & Hardening
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 --lockedpassed for v7.1.0.
Requires Rust stable and Ollama. GitHub provides source archives for this tag.