scripts/worktree-feature/run.sh
Example: aspirational launcher script for a
scripts/worktree-feature/run.sh workflow directory. The scripts/worktree-feature/ directory does not exist on main; this doc shows the intended structure for a worktree-feature workflow.Source
package.json
config.ts
preload.ts
Key Details
USE_CLI_AGENTS=1selects CLI agents (Claude Code / Codex CLI) over API agents.SMITHERS_UNSAFE=1enablesdangerouslySkipPermissionsfor unattended execution. This bypasses Claude Code’s permission prompts so the workflow can run headlessly. Only use it in a sandboxed environment; the agent will have unrestricted filesystem and shell access."smithers-orchestrator": "file:../../"links to the local package for co-development.preload.tsregisters the MDX plugin, enabling.mdximports as JSX components.--rootpasses the repository root so agents access the full codebase, not just the workflow directory.bunx smithers-orchestrator up workflow.tsx --run-id RUN_ID --resume trueresumes from the last checkpoint.