Repository navigation
0.9.175
A pull request no longer edits VERSION or CHANGES.md. It adds a fragment, changes/<slug>.md, holding the paragraph its release entry will carry, with an optional author: that credits an outside contributor by handle. Open pull requests used to collide on those two files: #374 and #376 both claimed 0.9.122, and #621 and #622 had to bump again on 2026-12-03. A release runs bun tools/release.mjs fold --title "<title>", which writes the fragments into a new entry under the next version, links each credited pull request from the squash commit that added its fragment, raises VERSION, deletes the fragments, and runs the generator. A fragment that merges while the release is open waits for the next fold. CI's Generated files current job runs bun tools/release.mjs check against HEAD^1, the base its merge commit was made from, and fails a pull request that edits VERSION or adds a release heading unless its diff folds at least one of the base's fragments and adds none, so the diff itself marks a release, not a label or a branch name. For an author who cannot push to the repository it adds --no-release, which fails any VERSION edit. Fixing an earlier entry's text stays allowed, and the generate --check rule from #220 that VERSION matches the newest heading is unchanged.
The Pi extension now loads on omo, a Pi fork whose SessionManager reads return Promises and whose before_agent_start event has no systemPromptOptions.sections map. session_start awaits getEntries(), which Pi still answers with the entries themselves, and where the sections map is missing the extension appends its sections to the turn's system prompt. #626 Thanks to @AliRamberg (#629).
For contributors: every row of RUNTIMES in tools/runtimes.mjs, and Claude Code beside them, now declares how its session hook runs on Windows, which shipped files read pstack-models.md, and the folder reflect copies a skill to, as the runtime's mapping file states it. bun tools/generate.mjs --check fails a row that leaves one out or declares a Windows form its hooks file lacks, and prints each fact a row declares unknown. tests/session-hook-windows.test.mjs and tests/reflect-destinations.test.mjs take their cases from the rows, and the new tests/runtime-obligations.test.mjs fails a shipped file that names the sheet without being a declared reader. The Muse shell hook and the Antigravity Windows hook now run the shared sheet cases. No shipped file changes.
On Windows, a session hook: off line ending in two CRs before its LF no longer turns the session hook off when session-start.sh runs under Git for Windows' sh, as Antigravity's hook does. The shared grammar drops only one CR before the LF, so that line injects in every other reader. read-sheet.sh still drops one CR at the end of each line, and now hands every other CR to its callers as a \001 byte, so no tool in Git's sh can drop it.
watch-pr no longer blocks on a cancelled check that a later run replaced. gh pr checks lists a job of a cancelled workflow run when no job of the later run has its name, as when the run was cancelled before its matrix expanded. On grafana/grafana PR 139612 that left one cancelled Bundle size job beside a passing rerun, and watch-pr reported failing-checks while GitHub's rollup was SUCCESS. When a cancelled check's link names its run, watch-pr now reads the head's workflow runs and drops the check if a later run of the same workflow and event on that head succeeded or failed to start. While that run is still going the check stays failed, since gh lists only the jobs a run has started. A cancelled check whose run it can't place stays failed, and when another check failed, watch-pr doesn't read the runs.
For contributors: watch-pr/replay.port.test.ts replays GitHub's recorded answers for four real pull request heads through the watch-pr CLI and its gh reader, and checks the verdict for each: an octocat/Hello-World pull request with no checks, and three grafana/grafana heads with cancelled suites beside green checks, a cancelled check from a replaced run, and workflows that wait for a maintainer's approval. watch-pr/replay/heads.json gives each expected verdict with its reasoning, and bun watch-pr/replay/record.ts records and refreshes the fixtures through gh, passing on reads only, and refuses a recording whose answers name a newer head. The corpus itself changes no watch-pr behavior.
The worktree audit now holds a worktree whose only unsaved work is an edit git status is told to overlook: a file flagged skip-worktree or assume-unchanged, in the worktree or in an initialized submodule. Before, such a row read clean and could reach safe, and git worktree remove deletes that tree without asking for --force. The DIRTY column shows these as hidden:N and the row's bucket is hold-wip. A flagged file that still matches the index, or is gone from disk, holds nothing and does not hold the row. The audit reads the flags and changes none. A file written back outside a sparse checkout's cone already read wip:1 on git 2.54, where git status reports it; the new count covers it on a git that leaves such a file flagged, which no test here has run. A rebase or merge run with --autostash and then stopped keeps the stashed edit where status shows nothing, in the worktree or in an initialized submodule; the audit counts it as autostash:N and holds the row as hold-wip too.
For contributors: tests/worktree-audit-census.test.mjs builds one worktree for each of 21 states, including submodule edits, sparse checkouts, and stopped rebases, and checks the audit's DIRTY cell and bucket for each.