Skip to content

SwarmAI v1.21.0

Choose a tag to compare

@xg-gh-25 xg-gh-25 released this 25 Jun 20:12

SwarmAI v1.21.0 — 294 commits since v1.20.1 (8 days). The biggest release to date: a full session-lifecycle resilience overhaul, the #1-recurring frontend reconcile bug fixed at its root, a self-evolution closed loop, and a universal pipeline understanding gate.

🧠 Session Lifecycle & Resource Arbitration (R3–R6)

  • Unified RecoveryCoordinator — RSS kill, stuck-WAITING, streaming-timeout, tool-hang, and OOM all route through one coordinator (R3b–R3e). RecoveryTransaction closes the _crash_to_cold TOCTOU.
  • R6 multi-tab isolation — spawn/resume decoupled from the UX tab ceiling; pure spawn_budget RAM arbitration; independent concurrent-streaming cap; orphan-only eviction makes cross-tab eviction structurally impossible; orphan-session reaper; slot release on tab close.
  • recovery_exhausted now surfaces to the user when the self-heal breaker trips.

🖥️ Frontend Streaming & Reconcile (OT01 — #1 recurring bug)

  • Render-source split-brain fixed at the root — store is now the sole render authority; stale-prop fallback deleted. 33 prior patches all hit innocent layers; the real defect was the React render-source.
  • Foreground-resume reconcile kills the App-Nap stale-store freeze; background-tab re-render gated on isActive (cross-tab render saturation).
  • Streaming text rendered as plaintext (kills O(n²) markdown re-parse jank); [DONE] survives mid-stream gen churn; blue active-tab underline; LeftSidebar nav redesign.

🔬 Self-Evolution Closed Loop

  • Autonomous cognitive recording + growth report (OT07); meta-cognitive intake + active maintenance escalation.
  • M0–M5 DDD knowledge governance: honest per-entry noise metric, physical reclaim of stale noise, keep-class protection, auto-cultivation quality gate, authoritative-zone write-protect, self-evolving eval with Goodhart guard.
  • M3 SELF.md resident self-portrait + Recurrence Radar.

⚙️ Pipeline

  • Universal Understanding Gate at the EVALUATE→THINK boundary — diagnosis before build.
  • REPRO gate + diagnostic-challenge sub-agent; artifact_cli publish --quiet (parse-proof orchestrator output); schema subcommand.

🛡️ Safety & Hardening

  • PreToolUse guard default-denies Bash backgrounding; default 120s Bash timeout (15min opt-in); connection-phase reconnect budget extended to ~65s; auto-resend of swallowed question on backend recovery.

📊 Tally

150 fix · 77 feat · 23 test · 24 docs · 5 refactor · 2 governance — all CI-green.


🤖 Generated with Claude Code

Full Changelog: v1.20.1...v1.21.0