fix-external-worker-compat-test

Fix stale external worker model-compat test

Metadata

Statusdone
Assignedagent-903
Created2026-07-26T18:29:23.955790619+00:00
Started2026-07-26T21:40:03.047390343+00:00
Completed2026-07-26T22:02:28.066532911+00:00
Tokens1948333 in / 7697 out

Description

Description

cargo test on current main deterministically fails dispatch::plan::tests::test_agency_external_executor_survives_plan_spawn: it feeds every external handler the CLI-locked claude:opus route, but current handler-first model compatibility correctly reroutes Pi to Claude (and would reject other locked mismatches). Update the test matrix to use handler-compatible exact routes while retaining agency-executor precedence. Implement directly — do not decompose further.

Validation

  • Failing test reproduced on current main
  • Updated matrix covers Pi, Claude, Codex, and remaining external handlers with compatible routes
  • cargo test --lib dispatch::plan::tests::test_agency_external_executor_survives_plan_spawn -- --exact passes
  • cargo test --lib passes without this failure

Depends on

Required by

Log