Repository navigation
skills(running-in-ci): recheck guard catches new directives, not just dupes - #738
Merged
Merged
Conversation
… dupes The Recheck Before Posting section was framed entirely around dedup, so a re-fetch read through it checks for duplicate posts but doesn't prompt the agent to notice a new entry is a maintainer directive that changes the work. On #735 a follow-up landed 47s after the agent's only thread read, during a ~4-min edit->push gap, and the agent shipped against the stale instruction. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Merged
max-sixty
added a commit
that referenced
this pull request
Jun 29, 2026
Release 0.1.9. Version bump, lockfile sync, and CHANGELOG. Ships 6 commits since 0.1.8: ### Improved - `review` skill runs a `/code-review` pass alongside its manual checks, effort scaled to how core the change is ([#741](#741)) - Default harness timeout rises from 60 minutes to 3 hours ([#739](#739)) - `running-in-ci` recheck guard catches a new directive, not just a duplicate ([#738](#738)) - Both Claude harnesses update to claude-code 2.1.195 ([#740](#740)) ### Fixed - Incremental PR review no longer leaks the base-merge delta (three-dot diff + `git log --no-merges`) ([#735](#735)) ### Documentation - A composite-action comment drops a disproved security claim ([#737](#737)) The `0.1.9` tag is pushed after this merges. Co-authored-by: Claude Opus 4.8 (1M context) <[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.
What
Tightens the Recheck Before Posting guard in the bundled
running-in-ciskill so the pre-post re-fetch is understood as catching new maintainer directives, not only duplicate posts.Why
On PR #735 a maintainer posted a follow-up comment 47s after the agent's only read of the thread, then spent ~4 minutes on an edit→commit→push cycle and posted its reply straight from the context loaded before that follow-up existed — shipping an incomplete change against the stale instruction. The maintainer caught it (#issuecomment-4814004450, "note the comment I followed up with please") and later asked the bot to log the root cause.
The bot's own diagnosis (run
28244362446): the existing Recheck Before Posting guard is meant to catch exactly this — "new entries arrived during the session" — but the section is framed entirely around dedup ("check whether the response would duplicate something already there", "if the response is now entirely redundant, don't post it"). A re-fetch read through that lens checks for duplicate posts; it doesn't prompt the agent to notice that a new entry is a directive that changes the work. The miss wasn't a redundant post — it was a missed instruction.This is a structural gap (the window is widest precisely when there's a long edit→push gap, which is when a maintainer is most likely to add a follow-up) with an invisible failure mode (a missed comment never surfaces as a CI failure). It applies to every consumer, so the fix belongs in the bundled skill.
Change
One paragraph added to the section: a new entry may be a directive, not a duplicate; the gap after edit→commit→push is the high-risk window; the re-fetch should pick up new directives and fold them into the same run; and "treating the task as done" counts as a post — re-fetch before ending the turn, not only before commenting.
Prose-only addition to an existing guard; no behavior change to any action or generator.
Window context
From the 2026-06-27
review-runsanalysis (run28284127572). ~50 substantive runs, 0 failed jobs (twocancelledtend-mentionruns were concurrency-cancellation siblings, each paired with a successful run). The #735 follow-up miss was the only finding to pass the confidence/magnitude gates this window.