Skip to content

Observe a pull request's base branch instead of assuming stable - #849

Merged
Jack-Edwards merged 1 commit into
stablefrom
chore/observe-pull-request-base
Aug 6, 2026
Merged

Observe a pull request's base branch instead of assuming stable#849
Jack-Edwards merged 1 commit into
stablefrom
chore/observe-pull-request-base

Conversation

@Jack-Edwards

Copy link
Copy Markdown
Member

crypter-review assumed every pull request targets stable. A release pull request targets main, so the lenses were handed stable diffed against itself — an empty diff, which reads as four lenses finding nothing wrong. The skill now takes the base branch from the pull request and passes it through the examine skill to the reviewer and conformance-auditor agents, which take it as an argument.

crypter-workspace create gains --base {branch}, defaulting to stable. It resolves the base before cloning, so a base that does not exist leaves nothing behind for a corrected retry to trip over.

The workspace's upstream/stable is gone. A clone maps the source's local branches into origin/*, which is what that second name existed to work around; remote.origin.fetch now points at the host's remote-tracking refs, so origin/{branch} means the same thing on both sides and stays that way after a bare git fetch.

/crypter-devcontainer-examine takes a required base ref between the ref and the optional plan path — a signature change for anything invoking it directly. crypter-change and crypter-devcontainer-implement are unchanged in behaviour.

crypter-triage-review still takes the default. Its verify path reads the worktree rather than diffing a base, so nothing there depends on it.

crypter-review reviewed every pull request against stable. A release pull
request targets main, so the diff it handed the lenses was stable against
itself: empty. Four lenses read nothing and reported nothing wrong, which is
indistinguishable from a clean review.

The skill now takes the base branch from the pull request and passes it down,
and crypter-workspace takes it as --base, defaulting to stable for work built
here. A base that does not resolve is caught before the clone, so a corrected
retry is not refused by the half-built workspace of the failed one.

The workspace's second name for the org repository goes with it. A clone maps
the source's local branches into origin/*, which is what upstream/stable existed
to work around; pointing remote.origin.fetch at the host's remote-tracking refs
gets the same guarantee under one name, and keeps it against a later bare fetch.

Co-authored-by: n <e@f>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
@Jack-Edwards
Jack-Edwards marked this pull request as ready for review August 6, 2026 03:58
@Jack-Edwards
Jack-Edwards merged commit 6def2e8 into stable Aug 6, 2026
13 checks passed
@Jack-Edwards
Jack-Edwards deleted the chore/observe-pull-request-base branch August 6, 2026 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant