/improve_plan @thoughts/shared/plans/2026-04-20-test-data-sandbox-cleanup.md
- User
/improve_plan @thoughts/shared/plans/2026-04-20-test-data-sandbox-cleanup.md
- User
improve_plan /improve_plan @thoughts/shared/plans/2026-04-20-test-data-sandbox-cleanup.md
Assistant· claude-opus-4-7
I'll review this plan adversarially. Starting with parallel research into the codebase areas it touches.
Assistant· claude-opus-4-7
Assistant· claude-opus-4-7
Editing the plan to incorporate the decisions.
Assistant· claude-opus-4-7
Now reordering Phases 3 (old) and 5 (old), and keeping Phase 4 (old) as Phase 5:
Assistant· claude-opus-4-7
Now adding the improvement log at the bottom:
Assistant· claude-opus-4-7
Plan updated. Summary of changes:
Reordered phases: per-provider split → Phase 3 (was 5); config + env preflight → Phase 4 (was 3). Phase 4's
doctornow readsrequiredEnvVarsfrom the Phase 3 registry instead of hardcoding a map.Fixed typecheck bug:
Record<ProviderSlug, SandboxProvider>→Partial<Record<...>>(ProviderSlug includesapollo, which has no webhooks).Added
requiredEnvVarsto theSandboxProviderinterface +listSandboxProviders()helper, with a new automated check asserting env-var literals only live in provider modules.Consolidated 4 confirmation gates → 1 (only Phase 2's load-bearing
--conditions react-serverswitch).Other: Phase 2 pre-commit verification note for
with-env+ flag forwarding; corrected scenarios path; addedscenarioto Phase 6's timeout error. Full improvement log at the bottom of the plan.