lightsoutAlpha

lightsout implement-direct

Build one ticket straight from its body, with the repo's own gates as the only bar, and commit what passes.

records runs
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
flagmeaningleft 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.
--worktreeBuild 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-worktreeBuild in the checkout this was launched from rather than a worktree of its own.off
--shipShip the branch after the run passes: open or adopt the PR, wait for checks, merge, clean up.off
--no-shipEnd on the run result even when the config’s `ship.after-implement` asks to chain into ship.off

Related commands