lightsout implement-direct
Build one ticket straight from its body, with the repo's own gates as the only bar, and commit what passes.
lightsout implement-direct
When to reach for it
Run it on work small enough that a plan would cost more than the work: it reads the ticket body, builds from it, runs the repo’s gates, and commits. It refuses a dirty tree, because it commits everything in the tree when it is done.
How to run it
lightsout implement-direct| flag | meaning | left out |
|---|---|---|
| --ticket <path> | A file holding the ticket body to build from. | required |
| --ref <ticket> | The ticket reference the run and its commit are labelled with. | The ticket reference the current branch carries. |
| --cwd <path> | Repository to build in. | The process working directory. |
| --worktree | Build in a fresh git worktree of this repository, on a branch named after the ticket. | The `implement.worktree` config key, which defaults to on. |
| --no-worktree | Build in the checkout this was launched from rather than a worktree of its own. | off |
| --ship | Ship the branch after the run passes: open or adopt the PR, wait for checks, merge, clean up. | off |
| --no-ship | End on the run result even when the config’s `ship.after-implement` asks to chain into ship. | off |