Repository navigation
v1.1.0
Mostly a hardening release for the CI review pipeline. It also adds a spec reviewer, a safe worktree cleanup script, and a compaction hook that now actually keeps state. 29 PRs since v1.0.0.
Upgrading from v1.0.0
Three files are gone. If you copied them, delete them and take their replacements:
| Removed | Replaced by |
|---|---|
scripts/worktree-clean.sh |
scripts/worktree-remove.sh --merged. It takes only worktrees whose tip a merged PR shipped. The old script force-removed every worktree whose remote branch was gone, uncommitted files included. |
.claude/hooks/pre-compact-preserve.sh |
.claude/hooks/post-compact-state.sh on SessionStart(compact). PreCompact output never reaches the compaction summary, so the old hook preserved nothing. |
.claude/skills/resolving-merge-conflicts/ |
Nothing. It was retired upstream in mattpocock/skills. |
Re-copy .claude/settings.json too, for the new hook registration. If you run the CI review, re-copy .github/ and tools/review/: most of this release's security fixes live there. The metrics record's SCHEMA_VERSION went from 2 to 6.
CI review: security
If you let the review run on fork PRs, take these fixes.
- Tooling from the base, not the PR head. The review scripts run from a copy of
tools/reviewtaken before the PR-head checkout, with that copy as their working directory. This means a PR's ownpackage.jsoncan no longer swap tsx's preload for its own code (#21, #28). - Locked permissions. Managed settings allow only read-only
gitandghverbs, andgh apiis dropped. Bash runs in a sandbox that writes only to the checkout and reaches only api.github.com. Credentials are scrubbed from the shell (#21). - PR head kept away from the tooling and its credentials.
AGENTS.mdis restored from the object store. The tooling copy is made read-only. The checkout usespersist-credentials: false. The poster'sgit diffis pinned against config the head could plant: fsmonitor, hooks, external diff, textconv and protocols (#43, #48). - Owner-only re-runs. A re-run keeps the original actor, so
github.triggering_actormust now be the owner too. A collaborator can no longer bill your token by re-running your review (#14).
CI review: features
@claude reviewtakes words:full, a depth (quick,standard,deep) and reviewer areas, in any order (#18, #19).review-specreviewer. It checks a PR against the issue it closes, found from closing keywords in the body or commits, or from--spec. It reports requirements that are missing, partial or built wrong, and scope creep (#30).- Opus 5.5 orchestrator. A round whose reviewers never reported now fails instead of posting as a clean review (#15).
- Metrics. The record splits cost by model and keeps every denied tool call (#17, #20).
- Recall eval.
tools/review/evalreplays merged PRs with one regression planted in each, under CI's exact permission lock. The pilot found 4 of 4 plants with no false positive (#27, #30). - Dependabot bumps the pinned actions daily. The
claude-code-actionSHA also fixes which Claude Code version the review runs, so the review stays current. It is now at v1.0.251 (#35–#40). - Fix: a relocated finding's suggestion stays inert and can no longer render as a committable suggestion on the wrong line (#46).
Worktrees
scripts/worktree-remove.sh <name>...is the reverse ofworktree-create.sh(#34, #41, #47).- A worktree with uncommitted or untracked files is kept.
- A branch is deleted only when nothing is lost: either a PR merged into the trunk shipped its tip, or the remote branch holds every commit.
- Origin's branch is deleted under a lease, so a branch that moved after its merge survives.
- Anything kept is listed by name.
--mergedsweeps every<prefix>/worktree that a merged PR shipped (#41).- Names are validated in both create and remove, so
../<sibling>cannot reach outside.worktrees/(#41).
Hooks, skills, rules
post-compact-state.shre-injects live state after compaction: the session's directory, the checkout's branch, the other worktrees, and the open PRs with their review status (#42, #44, #45, #49). It runs nogit status, because a worktree's config can name fsmonitor or clean-filter commands that status would run outside the sandbox.- Skills refreshed from mattpocock/skills (49dd158). This adds
retroandimplement-specand retiresresolving-merge-conflicts, for 35 skills in total (#29). - Rule catalog.
.claude/rules/README.mdnow loads only when you edit rules, not in every session (#16).
Full changelog: v1.0.0...v1.1.0