v0.1.7 — Middleware Pipeline, Graceful Shutdown & Stability
An autonomous AI development loop for Claude Code / Codex that plans, executes, and iterates automatically.
🚀 New Features
Middleware Pipeline
- Added a composable middleware system with three built-in middleware:
- Quality Gate — validates outputs before passing them downstream
- Outcome Recorder — tracks loop results for observability
- Patrol — monitors loop health and detects anomalies
- Middleware runs in order between each loop iteration, enabling pluggable quality checks without modifying core logic.
Graceful Shutdown
- Loop runner now handles
SIGINT/SIGTERMcleanly, finishing the current iteration before exiting instead of dropping mid-flight.
Duplicate Loop Prevention
- Prevents concurrent duplicate loop instances from being spawned, avoiding resource contention and inconsistent state.
🔧 CI Hardening
- Strict
clippy -D warningsenforcement across the crate - Removed overly broad clippy allowlists (
disallowed-methods,--all-targets,--all-features) in favour of targeted fixes - Fixed
cargo fmtcompliance throughout - Added
regexdependency tolooper-e2efor proper test compilation - Simplified CI pipeline to reliable
fmt+clippy+buildstages
🐛 Bug Fixes
- Stripped ANSI escape codes and
LOOPER_RESULTmarkers from captured output - Fixed review comment feedback and broken links in documentation
- Fixed
format!on static string lint in daemon module - Resolved missing
agent_vendorandmodelfields in testRunRecordinitializers - Cleaned up unused imports
Full Changelog: v0.1.0...v0.1.7