From 77ee975845bb6bd19e9831397172bbe4a2be616b Mon Sep 17 00:00:00 2001 From: Merge Sim Date: Fri, 11 Sep 2026 15:48:56 -0700 Subject: [PATCH] test(native-chat): name quick create as the one remaining verdict adopter The census asserted zero adopters, but quick create still re-enters with a persisted verdict after worktree creation and on recovery. That two-phase re-entry goes away with the verdict types, not with this migration, so the list should name it rather than claim it is gone. --- .../src/lib/agent-launch-routing-caller-census.test.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/lib/agent-launch-routing-caller-census.test.ts b/src/renderer/src/lib/agent-launch-routing-caller-census.test.ts index 22c1ca644f7..222f1746f2a 100644 --- a/src/renderer/src/lib/agent-launch-routing-caller-census.test.ts +++ b/src/renderer/src/lib/agent-launch-routing-caller-census.test.ts @@ -27,9 +27,10 @@ const ROUTE_PLANNER = 'src/renderer/src/lib/agent-session-launch-plan.ts' const DIRECT_ROUTE_RESOLVER_CALL = /\b(?:resolveAgentLaunchRoute|structuredAgentLaunchSupported)\(/ // Why: adopting a verdict bypasses the resolver by design (a persisted quick-create request, a // resume whose gate already planned), so each adopter is pinned rather than trusted by convention. -const VERDICT_ADOPTERS = [ - // Launch sites now route through launchAgentSession; no production caller adopts a verdict. -] +// Why: every launch site now routes through launchAgentSession. Quick create is the one adopter +// left, because it persists its verdict across worktree creation and re-enters on recovery; that +// two-phase re-entry is deleted with the verdict types, not here. +const VERDICT_ADOPTERS = ['src/renderer/src/lib/worktree-creation-structured-session.ts'] async function productionFiles(): Promise { return glob(['src/**/*.ts', 'src/**/*.tsx'], {