Files
juliusbrussee__cavekit/commands
Julius Brussee ff0bac1199 v3.0.1: inline-by-default /ck:make; add /ck:make-parallel opt-in
Fix two bugs that could break /ck:make under the quality preset:

1. Caveman mode was telling task-builder subagents to apply caveman-speak
   to their *reasoning*, which corrupted <tool_use> formatting — subagents
   emitted tool calls as body text and terminated with 0 tool_uses.
   Scope caveman to final prose output only (status reports, summaries).
   Reasoning, tool calls, tool arguments, code, commits, and structured
   fields are explicitly excluded. Fixed in make.md, task-builder.md,
   check.md, map.md.

2. Parallel ck:task-builder dispatch with isolation: "worktree" can hit
   a Claude-Code-harness worktree race, returning "[Tool result missing
   due to internal error]" with no agentId. Avoid the race by defaulting
   /ck:make to inline sequential execution: no subagent, no worktree, no
   merge. The parent session implements tasks directly on the current
   branch — the path the user confirmed works.

New command /ck:make-parallel keeps the parallel-subagent path available
as explicit opt-in. It forces TB_ISOLATION=worktree + MAX_PARALLEL=3
(tunable via --concurrency N) for a single run without touching config.
Adds a one-time retry-on-harness-error rule: harness failures re-dispatch
once sequentially, then mark BLOCKED.

Config knob: task_builder_isolation (worktree/inline, default inline).
parallelism defaults lowered: max_agents=1, max_per_repo=1.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 12:27:20 +02:00
..