Integrate OpenCut
Operate the rewrite as a source repository, not as a finished headless editor or released Agent API.
Workflow
- Read references/integration.md before cloning, installing tools, running a task, or updating the pin.
- Resolve an explicit repository path. Never overwrite an existing directory.
- Verify remote, commit, license, and worktree status before mutation.
- Classify the request as inspect, install, web, API, desktop, build/test, or deploy.
- For inspection, use read-only Git and manifest commands only.
- For installation, show destination and tool downloads before executing. Never run a remote script through a shell pipe.
- Prefer the pinned
protoand Moon tasks. Do not invent annpmroot workflow. - Keep deploy, R2 upload, Wrangler remote operations, credentials, and paid services behind a separate explicit approval.
- Verify the requested local task and report the exact commit and command used.
Capability Boundary
- Treat Editor API, plugins, MCP, headless mode, and scripting as roadmap items until the checked-out commit contains a documented runnable interface.
- Keep
.env*, Cloudflare credentials, and media private. - Preserve dirty worktrees; do not update or switch commits without approval.
- Use
integrate-opencut-classicfor the archived implementation.
Agent Output
Return the resolved path, remote, commit, selected task, commands proposed/executed, result, external-state changes, and remaining limitations.