Skip to content

v0.4.8

Choose a tag to compare

@kinqsradio kinqsradio released this 02 Jun 04:28

v0.4.8

Deterministic multi-phase workflow orchestration — the headline feature. 0.4.7 made the agent reason about whether to fan out; 0.4.8 gives that reasoning a runtime to execute. Hand over a declarative plan once and the runtime drives every step — fan out N specialist children per phase, barrier-wait the whole phase, synthesize their outputs, and feed that forward into the next phase — durably persisted and crash-resumable.

Highlights

  • PhasePlan + deterministic executor — a declarative plan (ordered phases; each an explicit agents list or a fanOut over targets; inputFrom / dependsOn / synthesize) executed by a runtime engine: spawn each phase's children, barrier-wait, synthesize, inject as {{input}} downstream. The runtime drives the spawns, not the model.
  • Durable + crash-resumable runs — a phase-aware ledger survives restarts; a crash flips the in-flight phase to interrupted, and a run resumes from its failed phase (completed phases skipped, their output fed forward).
  • run_workflow tool + templates — one call runs a plan or a built-in compare / review-wide / research template; the runtime fans out in cli.maxConcurrentChildren waves.
  • The system runs it for you — when the next-action planner picks the workflow strategy it emits a validated PhasePlan and the agent fires a single run_workflow call: it fans out by itself instead of single-threading.
  • Real review-merge — a review-merge phase dedupes + confidence-thresholds findings across reviewers.
  • /workflow run launcher + live phase timeline, and background runs (run_workflow({ background: true })) with phase N/M progress in the background panel.

Brain server

  • PayloadTooLargeError fixed — the HTTP server's JSON body limit is now configurable (default 16 MB, BRAINROUTER_MAX_BODY_SIZE) and an oversized body returns a clean 413 instead of an unhandled 500/crash.

Release mechanics

  • All workspace packages bumped 0.4.7 → 0.4.8 + cross-package pins (^0.4.8); package-lock.json regenerated; server.json + .claude-plugin/plugin.json synced (DIST-1 guard).
  • Shipped as 11 PRs (#253#263), each its own branch → green CI → merge into release/0.4.8.
  • Published: @kinqs/brainrouter-{types,sdk,mcp-server,cli} — all 0.4.8.

Status

  • Full suite green: 522 brain unit + 150 integration + 1194 CLI.
  • Deferred to 0.4.9 (memory-accuracy): churn-weighted decay, /memory verify sweep, source-side capture compaction.