v4.6.3
Patch. Subprocess by right, host by choice — running kj inside Claude Code no longer hijacks the coder role.
Fixed
- CLI providers always spawn as a subprocess (KJC-BUG-0129, issues #1301/#1303 by @jorgecasar):
isHostAgent()conflated "running inside agent X" with "the user chose X as provider" — inside Claude Code withcoder: claude, the pipeline silently delegated to the host viaelicitInputand hung headless runs. Now every CLI provider spawns its own subprocess even when kj runs inside it; host delegation remains available as an explicit opt-in withroles.coder.host_delegation: true. - brace-expansion HIGH advisory resolved (KJC-BUG-0130, nightly drift #994): GHSA-mh99-v99m-4gvg (DoS via unbounded expansion), transitive through
@modelcontextprotocol/sdk— lockfile-onlynpm audit fix, non-breaking. kj hardenCI workflows respect the repo's package manager (KJC-BUG-0131, issue #1330): the generated quality/pack-smoke/mutation workflows hardcodednpm ci, killing every PR check in pnpm/yarn repos withEUSAGE: can only install with an existing package-lock.json. The lockfile now decides — pnpm getscorepack enable+pnpm install --frozen-lockfilewith--if-presentBEFORE the script name (pnpm forwards trailing flags to the script), yarn getsyarn install --frozen-lockfile. Managed workflows refresh on the nextkj hardenrun.