Repository navigation
fix(switchboard): gate the pi harness flag to posthog-integration only - #824
Merged
Merged
Conversation
The `wizard-use-pi-harness` flag switched every program to pi. pi drives the linear posthog-integration flow reliably, but on the step-gated skill programs (self-driving, audit, …) it batch-reads all the per-step reference files at once and shortcuts to the final step — every task marked done, no products, sources, or scouts actually configured, because the intervening MCP calls are never made. Gate the flag to posthog-integration. Off that flow the flag is a no-op and the binding default (anthropic) stands. The sequence pi-clamp derives pi-ness from the harness resolver, so it stops firing for gated programs with no extra change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
🧙 Wizard CIRun the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands: Test all apps:
Test all apps in a directory:
Test an individual app:
Show more apps
Results will be posted here when complete. |
Collaborator
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
gewenyu99
marked this pull request as ready for review
July 7, 2026 18:18
sarahxsanders
approved these changes
Jul 7, 2026
wizard-pi-effort only tunes a pi run, but modelCapabilities applied it to any reasoning model straight off the flag, decoupled from whether pi was actually selected. Honour it only when wizard-use-pi-harness is on — the single flag the PI_FLAG_PROGRAMS gate and PI_MODEL_FLAG_VARIANTS model pick both sit behind — so the effort value stays inert and can't ride onto a non-pi (anthropic) pick when the gate declines pi. The model's own table effort (e.g. gpt-5 low) is a model trait and is unaffected. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Turn off PI for everything but posthog-integration for now. This just lets us isolate variables.