Repository navigation
Closed
Description
Sub-issue of epic #520. Merge-readiness gate for the switchboard reshape — PRs #778 (harnesses + sequences), #779 (CLI overrides), #780 (switchboard interface), all folded into #701, with latest main merged in.
Phase A — Audits
A1 · No flags, no rollout ⇒ identical to main — ✅ PASS (one telemetry caveat)
Every program resolves to linear / anthropic / sonnet, as on main.
resolveSequence/resolveHarnessfall through toDEFAULT_BINDINGwhen no CLI override and no PostHog flag are set. All 16PROGRAM_BINDINGS=DEFAULT_BINDING.- The linear path runs the same
initializeAgent+runAgentmainruns inline;maindid not touch that call in the merge window (verified by diff) — the feat(pi): harnesses and sequences #778 seam stays behavior-preserving. - Caveat (non-functional): telemetry changed
variant(base/orchestrator) →sequence+harnesstags. Nothing in the repo readsvariantanymore, but external dashboards/gateway experiments keyed on it stop receiving it → migrate under 07 — Rollout + per-runner observability (canary via wizard-runner) #527. Not a merge blocker.
A2 · main moved — nothing broke — ✅ PASS
- 5 merge conflicts resolved by keeping feat(pi): real PostHog MCP dashboard, env lockdown, perf parity #701's seam and porting
main's features (composed sub-runs,HostResolution,formatYaraAbortMessage,getLlmGatewayUrlFromHost→getLlmGatewayUrl). main's new work intact (agent-interface +159: credential-places auth screen, token/cost tracking, HostResolution). Build passes; 1144/1144 tests pass (main's ~108 new tests included).- Non-blockers: pre-existing
maintsctype errors (AuthErrorScreen, ci-region.test) — CI doesn't runtsc; not introduced by the merge.
A6 · Orchestrator unreachable without a flag — ✅ PASS
- Only decision point:
binding.sequence === Sequence.orchestrator, sourced fromresolveSequence→ fallbacklinear. No binding sets orchestrator. - Prod: reachable only via
wizard-orchestrator = true.--sequenceis triple-gated out of published builds (undeclared under!IS_PRODUCTION_BUILD, rejected ininit(), middleware tree-shaken). - Dev/test: additionally via
--sequence orchestrator. Pinned by a guard test in 08 — Cross-runner parity test suite #528.
Phase B — Pre-merge sweep
- Default run (no flags) on Next.js app-router — proves A1 in a real run (snapshot 1)
--harness pi --sequence linear— pi on anthropic (snapshot 2)--harness pi+ OpenAI model, linear — pi openai-completions (snapshot 3; needs--model, see 08 — Cross-runner parity test suite #528)- Orchestrator stays gated (guard test, 08 — Cross-runner parity test suite #528)
- Composed sub-run (self-driving → integration) skips outro (merge seam)
- Host resolution across US/EU (pi gateway + linear continue-URL) (main's refactor)
- YARA abort copy renders (main's change)
- Prod build rejects
--harness/--sequence+ env vars (verified) sequence/harnesstags emit;variantdashboard migration (07 — Rollout + per-runner observability (canary via wizard-runner) #527)
Full plan + test scenarios: #528.
Metadata
Metadata
Assignees
Labels
No labels
Activity
gewenyu99 commentedon Jul 3, 2026
Done — switchboard reshape merged via #701 (additive, default-off; anthropic + sonnet default untouched).