Start local build
start_buildCreates a local branch and git worktree for a change request, serving a preview at /preview// via the local Amendor.
Instructions
LOCAL MODE ONLY (repo on this machine, no host). Cuts a branch + git worktree the local Amendor serves at /preview//. For the normal GitHub flow, do NOT call this: instead branch "relay/task-" in your own repo clone, edit, commit, push, and open a PR tagged "relay-task:" — the host builds the preview and the webhook captures it automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Change request id to start a local build for. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Change request id. | |
| branch | Yes | Branch that was created. | |
| base | Yes | Base branch it was cut from. | |
| worktree | Yes | Local folder to edit; commit your change here. | |
| preview_url | Yes | URL that serves the worktree live for review. |