SwarmAI v1.22.0
SwarmAI v1.22.0 — 212 commits since v1.21.0 (89 fix · 61 feat · 18 test · 13 docs · 7 governance · 5 refactor · 4 harden · 3 perf · 3 ddd · 1 revert)
Highlights
Recall & Context (READ path — pure-filesystem rebuild)
- Recall returns to pure-filesystem: vector/Titan leg physically removed from all recall paths; keyword/FTS5 + entry-level BM25 slice
- Entry-level slice+rank replaces whole-section front-truncation — query-matching entries surface regardless of position
- Archives FTS5 + no-truncate read line +
[RECALLED]provenance header - recall#5 opener un-latch + keyword-miss cap; recall#3 degraded counter (loud-on-degradation)
- Token estimator recalibrated to real tokenizer + unified CJK range; self-report drift check
System Prompt / Briefing
- Cognition-admission: CUT 8 feed sections from system-prompt briefing (
700→290 tok) — system prompt is cognition real-estate, not a dashboard - Ephemeral-budget WARN observability (never truncates load-bearing context)
- EVOLUTION.md loads unconditionally on desktop (O2 coding-gate removed)
Memory
- Per-section dormant threshold — MEMORY ages at 45d, others 90d
- Single-source write-path dedup; caps reconciled to live counts
- SessionRecall resurrected (dead import had killed it in prod)
Eval (decoupled system-level subsystem)
- eval_command_guard — structurally bans running eval inside coding pipeline (DEC05/PIT179)
- Runtime canary teeth for spine probes; memory/resume/assembly-floor probes
- Judge self-heals on transient credential error
Security & Hooks (defense outside the agent)
- bash_syntax_guard — prevents headless hang on syntactically-broken commands
- eval_command_guard, persist-skill routing guard, irreversible-external-op gate (C041 fix)
Chat / Frontend
- Bridge store-phase→isStreaming — kills frozen-tab-no-indicator desync
- Live per-tool elapsed timer on pending tool card
- 10s grace on desync guard
Pipeline
- In-band L2 escalation via AskUserQuestion (true human-in-the-loop)
Critical fix
- spawn: pass allowed_tools=[] not None — SDK 0.2.109 was crashing all sessions
Full Changelog: v1.21.0...v1.22.0