#!/usr/bin/env bash # With/without A/B (and optional interactive) eval for a codegraph version on a # repo. Codegraph is the ONLY variable: both arms launch claude with # --strict-mcp-config — with = codegraph-only MCP (pointed at $CG_BIN), # without = empty MCP. Built-in Read/Grep/Bash stay available in both arms. # # Usage: run-all.sh "" [headless|tmux|all] # # MULTI-TURN: separate questions with "||" to run them as ONE session — # run-all.sh "How does X work?||Where is Y handled in that path?" # Turn 1 runs normally; every later turn `--resume`s the same session, so the # earlier turns' tool output is still in the window (that is the whole point: # residual context occupancy, the cost a single-question run cannot see). # Segments land in run-