Skip to content

feat(orchestrator): experimental task-queue orchestrator (behind wizard-orchestrator flag)#606

Merged
gewenyu99 merged 12 commits into
mainfrom
experiment/orchestrator-01-bootstrap-gating
Jun 18, 2026
Merged

feat(orchestrator): experimental task-queue orchestrator (behind wizard-orchestrator flag)#606
gewenyu99 merged 12 commits into
mainfrom
experiment/orchestrator-01-bootstrap-gating

Conversation

@gewenyu99

@gewenyu99 gewenyu99 commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

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)

Related PRs, other repos

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.

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

🧙 Wizard CI

Run 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:

  • /wizard-ci all

Test all apps in a directory:

  • /wizard-ci basic-integration
  • /wizard-ci error-tracking-upload-source-maps
  • /wizard-ci misc
  • /wizard-ci revenue

Test an individual app:

  • /wizard-ci basic-integration/android
  • /wizard-ci basic-integration/angular
  • /wizard-ci basic-integration/astro
Show more apps
  • /wizard-ci basic-integration/django
  • /wizard-ci basic-integration/fastapi
  • /wizard-ci basic-integration/flask
  • /wizard-ci basic-integration/javascript-node
  • /wizard-ci basic-integration/javascript-web
  • /wizard-ci basic-integration/laravel
  • /wizard-ci basic-integration/next-js
  • /wizard-ci basic-integration/nuxt
  • /wizard-ci basic-integration/python
  • /wizard-ci basic-integration/rails
  • /wizard-ci basic-integration/react-native
  • /wizard-ci basic-integration/react-router
  • /wizard-ci basic-integration/sveltekit
  • /wizard-ci basic-integration/swift
  • /wizard-ci basic-integration/tanstack-router
  • /wizard-ci basic-integration/tanstack-start
  • /wizard-ci basic-integration/vue
  • /wizard-ci error-tracking-upload-source-maps/android
  • /wizard-ci error-tracking-upload-source-maps/flutter
  • /wizard-ci error-tracking-upload-source-maps/ios
  • /wizard-ci error-tracking-upload-source-maps/next
  • /wizard-ci error-tracking-upload-source-maps/next-no-posthog
  • /wizard-ci error-tracking-upload-source-maps/node-raw
  • /wizard-ci error-tracking-upload-source-maps/node-rollup
  • /wizard-ci error-tracking-upload-source-maps/node-rollup-typescript-plugin
  • /wizard-ci error-tracking-upload-source-maps/node-webpack
  • /wizard-ci error-tracking-upload-source-maps/nuxt-3-6
  • /wizard-ci error-tracking-upload-source-maps/nuxt-4-3
  • /wizard-ci error-tracking-upload-source-maps/react-native
  • /wizard-ci error-tracking-upload-source-maps/react-vite
  • /wizard-ci error-tracking-upload-source-maps/rust
  • /wizard-ci misc/quack-quack
  • /wizard-ci revenue/stripe

Results will be posted here when complete.

gewenyu99 commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator Author

Comment thread src/lib/agent/agent-runner.ts Outdated

@edwinyjlim edwinyjlim left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so it begins

Comment thread src/lib/agent/agent-runner.ts
Comment thread src/lib/agent/agent-runner.ts Outdated
@gewenyu99 gewenyu99 changed the title feat(orchestrator): flag gating + shared bootstrap extraction feat(orchestrator): experimental task-queue orchestrator (behind wizard-orchestrator flag) Jun 18, 2026

gewenyu99 commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator Author

Merge activity

  • Jun 18, 2:55 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jun 18, 2:55 PM UTC: Graphite rebased this pull request as part of a merge.
  • Jun 18, 2:58 PM UTC: @gewenyu99 merged this pull request with Graphite.

gewenyu99 and others added 4 commits June 18, 2026 14:55
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…607)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…with guards (#608)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
gewenyu99 and others added 8 commits June 18, 2026 14:55
…low (#619)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…il (#620)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…lls (#637)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
#677)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
…k outage (#678)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
@gewenyu99 gewenyu99 force-pushed the experiment/orchestrator-01-bootstrap-gating branch from 87cdb43 to b2842fa Compare June 18, 2026 14:55
@gewenyu99 gewenyu99 merged commit b4deb24 into main Jun 18, 2026
18 checks passed
@gewenyu99 gewenyu99 deleted the experiment/orchestrator-01-bootstrap-gating branch June 18, 2026 14:58
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