Repository navigation
Releases
v2.4.0
A minor release: the skill can now watch GitLab merge requests, including on self-hosted instances. GitLab support is by @Kaaveh in #3.
What's new
- It watches GitHub pull requests and GitLab merge requests (gitlab.com or self-hosted, GitLab 15.6 or newer). GitLab needs
glab, authenticated for the host. Codex and PR-AF gates stay GitHub-only. - A
/-/merge_requests/URL, or a GitLab host already authenticated inglab, selects the GitLab watcher. A GitHub Enterprise/pull/link never does. glab_mr_watch.pyuses the same flags, JSON, and actions asgh_pr_watch.py.
Update a repository with python3 babysit-pr-skill/sync.py path/to/repo --ref v2.4.0.
v2.3.0
A minor release.
- Put
skill/SKILL.mdandskill/references/on a skill diet (SKILL.mdtrimmed from 3,077 to ~1,300 words), moving theconfig.jsonkey table and diagnostic playbooks for uncommon actions toskill/references/actions-and-config.mdand adding concrete inline reply and paginated GraphQLresolveReviewThreadexamples toskill/references/github-api-notes.md. - Added frontmatter
metadata.version(2.3.0) andskill/evals/evals.json(12 behavioural evaluation scenarios), plusRealSkillTestsparity checks intests/test_sync.py.
Update a repository with python3 babysit-pr-skill/sync.py path/to/repo --ref v2.3.0.
v2.2.2
A patch release.
- Codex can finish reviewing a commit (removing its 👀 reaction and adding 👍 on the PR) while leaving its review summary row or embedded
<!-- codex-review-state:v1 ... -->comment stuck onRunning. The watcher now parsescodex-review-state:v1markers, ignores them as status-only bot comments, and stops waiting forever whenRunningis left behind without 👀:- without
codex.required, it expires after the 60-second grace period when Codex added a 👍 reaction strictly after posting/editing theRunningsummary, or aftercodex.idle_wait_minuteswithout 👍, settingcodex_gate.idle_wait_expiredandcodex_gate.note; - with
codex.required, it setscodex_gate.stale_runningaftercodex.idle_wait_minuteswithout 👀 sodiagnose_codex_reviewwakes--onceinstead of hanging until session timeout, while keeping readiness false.
- without
Update a repository with python3 babysit-pr-skill/sync.py path/to/repo --ref v2.2.2.
v2.2.1
A patch release.
- Codex's "Didn't find any major issues" comment is no longer a review item. It carries no finding, like the review summary table. The watcher matches the phrase from the Codex login only, with a straight or curly apostrophe.
- When that comment names the head commit, it counts as a completed Codex review of the head, also on a PR without the summary table. A comment for an older commit proves nothing.
Update a repository with python3 babysit-pr-skill/sync.py path/to/repo --ref v2.2.1.
v2.2.0
A minor release with two fixes from live use of v2.1.0.
- Up-to-date lookup fails closed. A 403 from the branch-protection lookup no longer counts as "not required". That endpoint needs admin access, and free private repositories answer 403 too. Only a definitive answer means "not required": a 404 saying the branch has no protection or no required checks, or
strict: false, and in both cases no strict ruleset. A repository that knows it has no strict rule can setrequire_up_to_date: false. - No endless wait for a Codex review that never starts. When the checks are done and Codex is active but never starts a review of the head: with
codex.requiredthe watcher emitsrequest_codex_review. Without it, the watcher waitscodex.idle_wait_minutes(new, default 10). It then stops blocking on the missing review and flags this withcodex_gate.idle_wait_expired. A running Codex review still blocks.
Update a repository with python3 babysit-pr-skill/sync.py path/to/repo --ref v2.2.0. See CHANGELOG.md for details.
v2.1.0
A minor release with two new settings and three fixes.
sync.pykeeps files that belong to the repository:config.json,VERSION(still rewritten),skill-source.json, and any path matching a glob in the newsync.keepsetting.BEHINDblocks a PR only when the base branch requires up-to-date branches. The newrequire_up_to_datesetting ("auto"by default, ortrue/false) controls the lookup of branch protection and rulesets.check_countno longer counts advisory PR-AF checks or expected skips, so a PR with only such checks now getsdiagnose_no_checksinstead of a timeout.- With
codex.required, a stale Codex review (of an older commit) now leads torequest_codex_reviewonce the checks are done, instead of waiting until the session timeout.
Update a repository with python3 babysit-pr-skill/sync.py path/to/repo --ref v2.1.0. See CHANGELOG.md for details.
v2.0.0
A major release: it removes the CodeRabbit gate, which no repository used.
- The watcher no longer emits
wait_coderabbit, and the snapshot has nocoderabbit_gatefield. - The
coderabbitconfig section is gone. A config file that still has it keeps working: the watcher prints the usual unknown-key warning and ignores it. Delete the section to silence the warning. - A CodeRabbit check is now an ordinary check.
Removing an action and a config key counts as a major change under the README's versioning table. Nothing else changed in how the watcher behaves.
Update a repository with python3 babysit-pr-skill/sync.py path/to/repo --ref v2.0.0.
v1.0.1
A bug-fix release.
- A PR without any check no longer breaks the watcher.
gh pr checksreports "no checks reported" with exit code 1, and the watcher now reads that as an empty check list. Other failures ofgh pr checksstill stop the poll. - An empty check set is still never ready. After the grace period, the watcher now ends the wait with the new
diagnose_no_checksaction instead of idling until the session timeout. - The
checkssummary has a newcheck_countfield.
Update a repository with python3 babysit-pr-skill/sync.py path/to/repo --ref v1.0.1.
v1.0.0
The first release of the central babysit-pr skill. It merges the copies that several repositories carried into one version, and moves every project-specific value into config.json.
Highlights:
- Project settings come from
config.jsonin the vendored skill folder. Missing keys use defaults, unknown keys only warn, and wrong types stop the watcher.--print-configshows the effective settings. - New actions:
diagnose_merge_blocked,diagnose_branch_behind,diagnose_missing_required_checks,diagnose_codex_review,request_codex_review,wait_coderabbit, andwait_pr_af. - Optional gates for CodeRabbit and for the label-triggered PR-AF review. Both are off by default.
- Hardened
ghcalls: UTF-8 output, a 60-second timeout, and fail-closed handling of GraphQL errors. sync.pyvendors a pinned version into.agents/skills/babysit-pr/, keepsconfig.json, and writesVERSION.
Add it to a repository:
git clone https://github.com/rock3r/babysit-pr-skill.git
python3 babysit-pr-skill/sync.py path/to/repo --ref v1.0.0See CHANGELOG.md for the full list.