Skip to content

v3.9.27: AbortSignal init bound + hook→domain bridge

Choose a tag to compare

@proffesor-for-testing proffesor-for-testing released this 14 May 09:31
· 173 commits to main since this release
65954f8

What's New

Two architectural fixes from downstream investigations against v3.9.26:

  • session-start hook can no longer leak unbounded writes to patterns.rvf (#478). ReasoningBank.initialize() now accepts an AbortSignal, and the 10 s hook timeout drives a real cancellation through every awaited step instead of leaking past the race. Downstream report on the prior behavior: 43.8 GB written in 29 minutes, disk filled, SIGKILL required. With this fix the bootstrap stops promptly when the timeout fires.

  • Hook-driven activity finally reaches the 13 domain plugins (#479). A new kernel-side CapturedExperienceBridge drains the captured_experiences SQLite table (already populated by hooks and MCP wrapped handlers) into the eventBus, so every domain plugin's subscribeToEvents() handler gets the events it was always listening for. Previously, in default aqe init --auto deployments, learning:pattern:* keys stayed at zero, qe_learning_optimize reported experiencesProcessed: 0, and learning-consolidation logged "No learning patterns found" on every cycle.

Cleanup

Removed ~1,640 lines of confirmed dead code:

  • .claude/hooks/v3-qe-bridge.sh and its config reference (declared dead in v3.6.6 release notes; targeted a v3/dist/ path that no longer exists)
  • Two stale v3-alpha planning docs (docs/LEARNING_IMPROVEMENT_PLAN.md, docs/LEARNING_SYSTEMS_ANALYSIS.md)
  • Five orphan workers in src/optimization/qe-workers.ts whose functionality is fully covered by the live LearningConsolidationWorker

Getting Started

npx agentic-qe init --auto

Credits

Both issues filed by @Jordi-Izquierdo-DDS with thorough source-level investigation, reproduction recipes, and measured production impact data.

See CHANGELOG and docs/releases/v3.9.27.md for full details.