Skip to content

chore(orchestration): remove the recipe-director layer - #36

Merged
zaridan merged 1 commit into
mainfrom
zaridan/chore-orch-remove-recipe-layer
Jun 24, 2026
Merged

chore(orchestration): remove the recipe-director layer#36
zaridan merged 1 commit into
mainfrom
zaridan/chore-orch-remove-recipe-layer

Conversation

@zaridan

@zaridan zaridan commented Jun 24, 2026

Copy link
Copy Markdown
Owner

What this does

Removes the experimental recipe-Orcastrator layer (added by PRs #9/#10/#11 + a layout fix) as a forward removal — a normal PR that deletes the recipe code. The Smart/LLM director, the F1–F4 orchestration bridge, and the Control Panel / Mission Control remain fully intact and working.

Removed (recipe-specific files + their tests)

  • src/renderer/src/lib/recipe-director-launch.ts
  • src/renderer/src/lib/recipe-director-recipes.ts
  • src/renderer/src/lib/director-backend.ts (the DirectorBackend abstraction)
  • src/renderer/src/components/director/DirectorTypePicker.tsx

Reverted recipe wiring in shared files (recipe parts only)

  • OrchestratorLaunchModal.tsx — the "New Orcastrator" flow launches the Smart/LLM director directly via launchOrchestratorForProject again; no director-type picker, no recipe option.
  • rpc/methods/orchestration.ts + shared/orchestration-binding.ts — dropped the recipe-only targetWorktree taskCreate param; taskCreate again stamps target_key from the caller terminal's worktree. The bridge/run/taskCreate plumbing the Smart director + Control Panel use is unchanged.
  • i18n/locales/*.json — removed the DirectorTypePicker keys across all locales (en/es/ja/ko/zh).

Kept — shared infra the Smart director depends on

Verification

  • rg for recipe-director|RecipeDirector|DirectorBackend|DirectorTypePicker|getRecipes|director-backend over src/zero hits.
  • typecheck ✓, vitest (20470 passed / 23 skipped) ✓, oxlint ✓, localization catalog + coverage ✓, electron-vite (build:desktop) ✓.
  • The "+" / New-Orcastrator flow launches the Smart director directly (no picker); Control Panel, shipped-scope, activity line, and "+" alignment all present.

Recoverability

  • The full pre-removal state is parked on origin/parked/recipe-director.
  • This PR can be reverted to restore the recipe layer.

🤖 Generated with Claude Code

Removes the experimental recipe-Orcastrator layer (PRs #9/#10/#11) while
leaving the Smart/LLM director, the F1–F4 orchestration bridge, and the
Control Panel / Mission Control fully intact and working.

Deleted (recipe-specific files + tests):
- lib/recipe-director-launch.ts
- lib/recipe-director-recipes.ts
- lib/director-backend.ts (the DirectorBackend abstraction)
- components/director/DirectorTypePicker.tsx

Reverted recipe wiring in shared files (recipe parts only):
- OrchestratorLaunchModal.tsx — the "New Orcastrator" flow launches the
  Smart/LLM director directly via launchOrchestratorForProject again; no
  director-type picker, no recipe option.
- rpc/methods/orchestration.ts + shared/orchestration-binding.ts — dropped
  the recipe-only `targetWorktree` taskCreate param; taskCreate again stamps
  target_key from the caller terminal's worktree. The bridge/run/taskCreate
  plumbing the Smart director + Control Panel use is unchanged.
- i18n/locales/*.json — removed the DirectorTypePicker keys (all locales).

Kept (shared infra the Smart director depends on):
- lib/director-worktree-shell.ts — extracted out of orchestrator-launch.ts
  by #9 and still used by the surviving Smart-director launch path.
- orchestrator-launch.ts (launchOrchestratorForProject), the F1–F4 bridge
  (per-run isolation, coordinator worktrees, preload run/taskCreate), the
  Mission Control live activity line, and the shipped-scope + focus-steal fixes.
- The OrchestratorsSidebarSection "+" styling/alignment fixes (#33) — not
  recipe code; the "+" already opens the launch modal directly.

Recoverability: the pre-removal state is parked on
origin/parked/recipe-director, and this PR can be reverted to restore recipes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@zaridan
zaridan merged commit 71041c0 into main Jun 24, 2026
1 check passed
@zaridan
zaridan deleted the zaridan/chore-orch-remove-recipe-layer branch June 24, 2026 19:29
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.

1 participant