Skip to content

ci(wizard): flag-override + task-exclude dispatch inputs#1879

Open
gewenyu99 wants to merge 1 commit into
mainfrom
ci/orchestrator-flag-overrides
Open

ci(wizard): flag-override + task-exclude dispatch inputs#1879
gewenyu99 wants to merge 1 commit into
mainfrom
ci/orchestrator-flag-overrides

Conversation

@gewenyu99

Copy link
Copy Markdown
Contributor

Adds optional flag_overrides (JSON) and exclude_tasks (comma list)
dispatch inputs, threaded resolve-inputs → discover outputs → the Execute
wizard env as WIZARD_CI_FLAG_OVERRIDES / WIZARD_CI_EXCLUDE_TASKS. Default
empty, so normal runs are unaffected; lets a run force the orchestrator
arm ({"wizard-orchestrator":true}) and skip dashboard in CI.

Co-Authored-By: Claude Fable 5 noreply@anthropic.com

Adds optional `flag_overrides` (JSON) and `exclude_tasks` (comma list)
dispatch inputs, threaded resolve-inputs → discover outputs → the Execute
wizard env as WIZARD_CI_FLAG_OVERRIDES / WIZARD_CI_EXCLUDE_TASKS. Default
empty, so normal runs are unaffected; lets a run force the orchestrator
arm (`{"wizard-orchestrator":true}`) and skip dashboard in CI.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@gewenyu99 gewenyu99 requested a review from a team June 18, 2026 12:49
@gewenyu99 gewenyu99 marked this pull request as ready for review June 18, 2026 12:49
gewenyu99 added a commit to PostHog/wizard that referenced this pull request Jun 18, 2026
…rd-orchestrator flag) (#606)

Experimental task-queue orchestrator, collapsed from an 11-PR stack into this single branch. Behind the `wizard-orchestrator` feature flag, off by default — with the flag off it is a no-op and the existing linear flow runs unchanged.

## Wizard PRs folded in (squash-merged into this branch)
- #607 — queue persistence
- #608 — orchestrator MCP tools: enqueue_task / complete_task / read_handoffs, with guards
- #609 — executor
- #619 — agent loader
- #620 — email targeting
- #635 — CI flag overrides
- #637 — ephemeral skills
- #638 — telemetry (responsiveness A/B spine)
- #639 — CI task filter
- #677 — run cache + responsiveness analytics
- #678 — CI health-check advisory

## Related PRs, other repos
- PostHog/context-mill#181 — `agents` content type: agent prompts plus the `basic-integration` step-skills, built and served alongside skills
- PostHog/wizard-workbench#1879 — CI flag-override and task-exclude dispatch inputs (dev/CI stack)

## Flag gating — why this is a no-op with the flag off
- `runProgram` forks on `isOrchestratorEnabled(flags)` = `flags['wizard-orchestrator'] === 'true'` (default false). Off, it runs `runLinearProgram`, the existing path, untouched.
- The shared `runAgent` threads the same flag through, so its orchestrator-specific message handling is gated too.
- The CI flag-override (`WIZARD_CI_FLAG_OVERRIDES`) is guarded by `NODE_ENV === 'production'` and stripped from published builds — a smoke test asserts the env-var names are physically absent — so it cannot flip the flag for real users.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants