pub struct ClaudeCanaryLauncher {
pub workdir: PathBuf,
}Expand description
The real launcher: runs one throwaway claude turn over the same
bidirectional stream-json transport a production stage uses.
Nothing in this plan’s test suite executes this type. Every test injects a launcher that writes a canned capture, by design — a guard whose own tests spend real agent invocations is a guard nobody runs. The consequence is that this implementation is reasoned, not witnessed; plan 31-05’s acceptance run against the real CLI is what witnesses it.
Fields§
§workdir: PathBufWorking directory for the throwaway child.
Carried as a field because CanaryLauncher::run has nowhere to put a
cwd and hermetic_command requires one. Deriving it from the capture
path instead would silently couple the child’s working directory to
where DevFlow happens to keep its runtime files.