v4.0.0
agent-fox v4.0.0
First stable release of the agent-fox v4 series.
Highlights
- Standalone nightshift CLI — Night Shift daemon is now its own package (
nightshift) with its own entry point, separate from theafCLI - Spec format v1.2 — New JSON-based spec format (via
afspeclibrary) replacing the old markdown format; specs 132–135 cover the transition - DuckDB reader/writer split — Separate read and write connections for concurrent safety
- Enriched session summaries — Structured enrichment fields in session summary schema for better post-session analysis
- Global + local config system — New
af initscaffolding with global and local config creation, merge, and CLI wiring - Drift finding supersession — File-based drift finding lifecycle with supersede-by-files capability
- Knowledge system overhaul — Removed legacy knowledge subsystems (extraction, embeddings, search, retrieval, causal, etc.) in favor of a streamlined three-channel architecture
- Worktree path collision fix — Role/mode-aware worktree paths prevent collisions in parallel sessions
Bug Fixes
- Purge stale audit files on startup (#651)
- Remove python-specific tool references from agent prompt templates (#634)
- Auto-commit uncommitted changes from coder sessions
- Order issues by priority label in topological sort (#632)
- Replace second knowledge store connection with cursor (#627)
- Deduplicate issue summaries via
af:implementedlabel (#648) - Hot-loader respects
--specfilter (#630) - Cross-check and remove orphaned worktree dirs (#618)
- Don't block on WEAK audit findings (#639)
- Shield worktree cleanup from asyncio cancellation (#638)