lightsoutAlpha

lightsout implement-direct

Build a small ticket straight from its description, with no plan. The repo’s own checks are the only bar, and what passes is committed.

Saves a run record

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 --ticket <path>
--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.Left out: The ticket reference the current branch carries.
--cwd <path>
Repository to build in.Left out: The process working directory.
--worktree
Build in a fresh git worktree of this repository, on a branch named after the ticket.Left out: 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.Left out: off
--ship
Ship the branch after the run passes: open or adopt the PR, wait for checks, merge, clean up.Left out: off
--no-ship
End on the run result even when the config’s ship.after-implement asks to chain into ship.Left out: off

Related commands