Repository navigation
docs(running-in-ci): scope PR-description claims to the merge base - #992
Merged
Merged
Conversation
A review run diffs LAST_REVIEW_SHA..HEAD but edits a whole-PR artifact, so an increment-scoped behavior claim lands in the description as if it described the PR. On a rolling regen PR the two bases are releases apart. Closes #991
tend-agent
commented
Aug 15, 2026
tend-agent
left a comment
Collaborator
Author
There was a problem hiding this comment.
The rule and its placement look right, and the tend/update-workflows example holds for every adopter (nightly rebuilds that branch in each consumer repo), so it earns its place in a bundled skill. One issue with the recipe — inline.
…l HEAD The merge-base recipe paired a PR-number query with the local HEAD, so it only held when the session's checkout was that PR's head — which the sessions that edit descriptions (review-runs, nightly) aren't. gh pr diff is checkout-independent and already this repo's form of the same diff.
Merged
max-sixty
added a commit
that referenced
this pull request
Aug 16, 2026
Bumps the generator to 0.1.18 and adds the CHANGELOG section the release workflow publishes as the GitHub Release notes. 8 commits since 0.1.17. The two fixes: `repo-secret-allowlist` now reports only the org secrets the repo can actually read, instead of flagging every org secret as available to all workflows (#994); and both halves of the 👀 reaction sit in one job on `tend-mention`, with a paginated removal lookup (#990). Two bundled-skill changes go out with them — `running-in-ci` scopes PR-description claims to the merge base (#992), and tells a fork-PR session that no successor will pick up its own review's findings (#985). `uv run pytest` (564), the worker's vitest suite (31) and typecheck, and `pre-commit run --all-files` all pass on the branch. > _This was written by Claude Code on behalf of max-sixty_
max-sixty
pushed a commit
to max-sixty/worktrunk
that referenced
this pull request
Aug 17, 2026
Automated nightly regeneration of tend's workflow files, picking up tend 0.1.18. **tend version:** 0.1.17 → 0.1.18 Notable changes: - `tend-mention`: both halves of the 👀 reaction now live in the `handle` job. Previously `verify` added the eyes and `handle` removed them, so a burst of mentions on one thread could cancel a queued `handle` — which allocates no runner and runs no steps, `always()` included — leaving the reaction stranded (max-sixty/tend#990). - `tend-review` / `tend-triage`: the eyes-removal lookup now paginates (`--paginate`, `per_page=100`). A thread with more than 30 reactions could push the bot's own eyes off the first page, so the removal silently found nothing (max-sixty/tend#990). - `tend check`: the secret audit now reports only org secrets this repo can actually read, instead of every org secret (max-sixty/tend#994). - `running-in-ci` skill: notes that fork PR reviews reach no successor session, and scopes PR-description claims to the merge base (max-sixty/tend#985, max-sixty/tend#992). Full comparison: max-sixty/tend@0.1.17...0.1.18 Co-authored-by: worktrunk-bot <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
A review run reads its diff from
LAST_REVIEW_SHAbut edits a whole-PR artifact when it updates the description, and Keeping PR Titles and Descriptions Current never said which base a description claim is scoped to. So the increment's conclusion goes into the description as if it described the PR. On a long-lived branch — nightly's rollingtend/update-workflowsPR, which accumulates a release per run — the two bases are several releases apart, and nothing catches the mismatch afterwards: a wrong description never turns a check red, and each later run re-anchors on a still-newerLAST_REVIEW_SHA. #991 traces three successive runs rewriting the same bullet from three different bases.Solution
State the scope rule where the description edit happens, in
running-in-ci: a description describes the whole PR, so scope behavior claims to the merge base, and when only the increment can be verified, name that base rather than writing an unscoped claim.review/SKILL.mdgets a one-line pointer beside the incremental setup — the point where the wrong base enters context — rather than a second copy of the rule.Testing
No test: the failure is prose the agent reads, not code.
uvx pre-commit run --files <the two SKILL.md>passes (typos, trailing whitespace, the plugin-skill bang-backtick and reference-sync hooks).Closes #991 — automated triage