Repository navigation
docs(running-in-ci): fork PR reviews reach no successor session - #985
Conversation
tend-agent
left a comment
There was a problem hiding this comment.
Both claims check out against the code: the relay if: in mention.yaml.j2 does gate on head.repo.full_name == github.repository, and the notifications skill is driven entirely by gh api notifications, so the bot's own review is structurally invisible to it. Guidance rather than a workflow change is the right call for this.
Two things on the prose, both about the text as it will be read by a session mid-run.
The first: the Otherwise branch doesn't say what it is the alternative to, and the two readings point opposite ways. If it means "you pushed, but without a standing directive", announcing the findings as unowned is right — they sit on your commits and you aren't authorized to fix them. If it means "you didn't push at all", the review already reached the contributor via GitHub's own notification, and a bot comment telling their thread the findings are unowned is both inaccurate and noise.
The second: the new Recheck Before Posting paragraph leads with "a review submitted while you worked is a directive, not a duplicate", which is the thesis of A new entry may be a directive, not a duplicate three paragraphs below it in the same section. Stating it twice, the second time under its own bold heading, costs a reader more than it buys — the part that isn't already there is the projection rule and the fork-PR pointer.
…lead Review feedback: name the three fork-PR cases explicitly (pushed under a directive / pushed without one / contributor's own commits) so a session can tell which it is in, and drop the Recheck lead clause that restated "A new entry may be a directive, not a duplicate" from the same section.
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_
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]>
Problem
Two sections of
running-in-cirest on a premise that fails on fork PRs. "A review that lands while you poll is not yours to action" justifies leaving a review alone with "tend-mentionis dispatched onpull_request_reviewfor every PR the bot authored" — but the relay job is gated ongithub.event.pull_request.head.repo.full_name == github.repository(mention.yaml.j2:92-95), so a review on a fork PR dispatches nothing. The fallback that gate's comment names — the notifications poll — can't see it either, since GitHub doesn't notify an actor of their own activity. And Recheck Before Posting specifies--json comments,reviewswithout saying whyreviewshas to stay, so sessions narrow it tocommentsand never see their own review land.Reported in #984 with two occurrences on one fork PR in a 24h window: bot review findings sat unaddressed for 3h53m and 3h29m, recovered only because unrelated human comments woke later sessions.
Solution
Two paragraphs of skill text, no workflow change — the fork filter is a security boundary, and widening it is moot anyway while a fork run's token is refused the dispatch POST (per the same comment block).
reviewsstays in the projection — a review that landed while you worked is a directive, not a duplicate, and on a fork PR it's the entry nothing else picks up.Testing
uv run pytestpasses (554 tests). No test covers skill prose, so there is no reproduction test to add here; the behavioral claims were verified against the relay gate in the mention template rather than reproduced.Closes #984 — automated triage