test(investigate): pin the git-branch backend in enableInvestigateAgent · Entire
test(investigate): pin the git-branch backend in enableInvestigateAgent
5122cd4→main·
peyton-alt·11h ago·1 file·+4 added/-1 removed
Same treatment as enableReviewAgent: this file's helpers read checkpoint content from the v1 metadata branch. The remaining unpinned enable sites (agent_strategy, enable_import, setup_cmd tests) don't read the v1 branch and pass under either backend.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Changes
1
cmd/entire/cli/integration_test
Minvestigate_test.go+4/-1
510 unmodified lines
511
512
513
514
514
515
516
517
518
519
520
510 unmodified lines
// Mirrors enableReviewAgent.
func enableInvestigateAgent(t *testing.T, env *TestEnv, name string) {
t.Helper()
env.RunCLI("enable", "--agent", name, "--telemetry=false")
// Pin the git-branch backend, matching enableReviewAgent: this file's
// helpers read checkpoint content from the v1 metadata branch, and
// first-run enable now defaults new setups to git-refs.
env.RunCLI("enable", "--agent", name, "--telemetry=false", "--checkpoint-backend", "branch")
}
// SimulateUserPromptSubmitWithInvestigateEnvVars fires UserPromptSubmit with