Skip to content

v3.7.0 — Autonomous Delivery

Choose a tag to compare

@manufosela manufosela released this 21 Jun 00:32
69f655d

v3.7.0 — Autonomous Delivery

The Autonomous Delivery epic (KJC-PCS-0062). Given a spec, Karajan plans, creates HUs, and runs to completion unattended — resolving agent conflicts by picking the least-bad answer and delivering a result that meets the ask even with residual defects.

Added

  • Autonomy axis interactive | assisted | autonomous--autonomy <level> / --autonomous, KJ_AUTONOMY env, or config. Default interactive; normal interactive runs are unchanged.
  • The Arbiter — resolves agent conflicts with a closed verdict set. Ground-truth order: acceptance tests > reviewer must-fix > nice-to-have. Degrades conservatively on parse failure.
  • kj autorun <spec> — chains plan → run → outcome report atomically, with exit-code propagation. --task-file, --autonomy, --autonomous, --skip-spec-review.
  • Non-blocking autonomous stages — in autonomous mode pipeline stages never block on a human prompt; each resolves to its least-bad answer.
  • Wall-clock backstop — unattended runs enforce max_total_minutes so they can never hang.
  • Outcome report — DELIVERED / INCOMPLETE verdict with HUs met/unmet and residual defects.

Fixed

  • KJC-BUG-0090: real per-HU outcome report (read huResults, not results) + cost DB initialization in unattended runs.

Live-verified end-to-end on real specs (real claude coder + codex reviewer, node --test passing, no human). Verify-pack green at 3.7.0.