Skip to content

v1.37.0

Choose a tag to compare

@hk9890 hk9890 released this 04 Oct 17:51
· 178 commits to master since this release
bc5a761

keep-awake-linux and worktree-flow stop writing to the status line. keep-awake-linux gains /keep-awake-info, a live pane that replaces the keep-awake-inspect skill, and worktree-ship resumes from the state it finds and drives the change by hand before the PR.

See which Claude sessions block sleep

/keep-awake-info in keep-awake-linux opens a pane without a model turn.

  • One sentence says whether Claude blocks sleep. A table lists one row for each block of each Claude session: session, status, PID and lease. The pane explains each word it uses.
  • The pane refreshes each 5 seconds while it is open, and it stays live across /clear and a module reload.
  • Where no pane can draw, for example in claude -p, the command prints the same content as text.
  • A row is orphan when its parent process is not named claude. A row is duplicate when one parent process holds two blocks, so one session resumed in two terminals is not a defect.

The pane reads the process table, not the list that logind keeps. With no block listed, the pane says only that Claude does not block sleep: another program can hold an inhibitor.

worktree-ship resumes and drives the change by hand

A run can start in the main checkout with nothing done, in a worktree with the change half made, or on a PR that is reviewed already. Each step that has its result already is skipped, and the report names each skipped step.

  • In a worktree with no PR or an open PR, the run stays there and makes only the part of the change that is missing. With no argument, it ships the change the worktree holds.
  • In a worktree whose PR is merged or closed, the run stops: a new change needs a new worktree.
  • Where the tree is clean, the PR head is the local HEAD and the PR body names that commit as reviewed, the run changes nothing. It reports a PR that conflicts with its base branch.
  • A new step runs the built product and uses the change the way its user reaches it, after the gates and before the PR. A part that cannot be driven is reported as not driven, with what you must check by hand.
  • After review fixes, the gates and the drive run again.

Fixes

  • keep-awake-linux: sleep blocked stayed in the status line for a full session and read as a warning, although it reported the normal state. The mod is now silent while it holds the inhibitor.
  • The worktree-flow status entry repeated what the status line of a user shows already, and it ran git and gh in the background on a timer. The mod is now one hook: the guard that refuses git worktree add.

Changed behavior worth knowing

  • The keep-awake-inspect skill is removed. Use /keep-awake-info. The diagnosis table of the skill (old Claude Code version, hooks disabled) has no replacement.
  • keep-awake-linux shows nothing while it works. The toast sleep is not blocked: <reason> for a failure is unchanged.
  • worktree-flow no longer shows the worktree, the branch, the PR number, the PR state or the check result. Nothing else in the plugin shows them.
  • PR bodies from worktree-ship gain two Evidence lines: Driven, and Review, which names the head commit after the review fixes. A PR body from an older version has no Review line, so a rerun on that PR reviews it once more.
  • A resume from the main checkout does not find an existing worktree. Start the session in the worktree.

Full Changelog: v1.36.0...v1.37.0