You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(skills): teach babysit about cubic, not just Greptile (#7372)
* chore(skills): teach babysit about cubic, not just Greptile
The loop only re-triggered `@greptile` after a push. Two bots review this repo,
so a round would end with Greptile at 5/5 and cubic's threads still open against
an earlier commit, their findings never re-checked against the fix.
Adds what distinguishes them: cubic has no score and reports only inline
threads, posts a fresh review per run rather than editing one comment in place,
answers to `@cubic-dev-ai review this PR` rather than `@cubic`, and reviews the
commit that was HEAD when its run started — so a stale thread is a
reply-and-resolve, not a fix.
Both are now re-triggered as separate comments and confirmed `pending` before
the loop waits, since a trigger that silently failed is indistinguishable from a
reviewer that has not started.
Also promotes CI to a stop condition. A red required check is not clean no
matter what either reviewer says, and the lint and audit jobs routinely catch
what a local run does not.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* chore(skills): treat a pending check as unfinished, not as passing
Two defects in the round this adds, both caught in review.
The stop condition tested only for a failing check, so a check still running
when both reviewers finished counted as clean and the loop reported the PR
ready before CI had its say. It now requires every check to have finished and
passed, and sends a pending one back to the wait step.
The thread-attribution note pointed at `author.login` per thread, but
`PullRequestReviewThread` has no author field — GitHub rejects the query with
`Field 'author' doesn't exist on type 'PullRequestReviewThread'`. Identity
lives on the comments, so it now names the real path and says not to lift the
field to the thread level.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .agents/skills/babysit/SKILL.md
+59-15Lines changed: 59 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,15 @@
1
1
---
2
2
name: babysit
3
-
description: Drive a PR to a clean review (Greptile 5/5, zero open threads) — ships if needed, keeps it mergeable against staging, triggers Greptile, fixes real findings, replies to and resolves every thread, and loops until clean
3
+
description: Drive a PR to a clean review (Greptile 5/5, zero open threads) — ships if needed, keeps it mergeable against staging, re-triggers both Greptile and cubic, fixes real findings, replies to and resolves every thread, and loops until clean
4
4
---
5
5
6
6
# Babysit PRs
7
7
8
8
Owns a PR end-to-end through review: ship it, wait for the automatic review round, and if it
0 commit comments