From 46de0749054fe86564f85a8e2d87e48de4d5017e Mon Sep 17 00:00:00 2001 From: Chris Busillo Date: Sun, 31 May 2026 18:15:12 -0400 Subject: [PATCH] docs(skills): remove local babysit-pr copy --- .codex/skills/babysit-pr/SKILL.md | 40 ------------------------------- .github/github.json | 3 ++- 2 files changed, 2 insertions(+), 41 deletions(-) delete mode 100644 .codex/skills/babysit-pr/SKILL.md diff --git a/.codex/skills/babysit-pr/SKILL.md b/.codex/skills/babysit-pr/SKILL.md deleted file mode 100644 index 9ae3e615f01..00000000000 --- a/.codex/skills/babysit-pr/SKILL.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -name: babysit-pr -description: Watch a pull request through checks and review follow-ups without treating readiness as merge intent. ---- - -# Babysit PR - -Use this skill when asked to watch, babysit, or keep an eye on a GitHub pull -request. It is a coordination entry point for the repo's PR workflow metadata, -not an automatic merge command. - -## Workflow - -1. Read `.github/github.json`, especially `prWorkflow`, `importantWorkflows`, - `githubSignals`, and `cleanup`. -2. Identify the PR and branch with `gh pr view --json` and check whether it is - draft, mergeable, blocked, behind, or waiting on review. -3. Watch required checks with `gh pr checks --watch` or, for a known workflow, - the repo's configured wait command. -4. If checks fail, inspect the failing job and report the smallest actionable - fix. Do not mark the PR ready. -5. If checks pass, look for fresh review comments, auto-review findings, and - branch drift. Apply or report genuine findings before declaring readiness. -6. Report readiness separately from merge intent. This repo's metadata says a - ready PR still needs explicit user approval before merging. -7. After an approved merge, verify the post-merge GitHub signals configured in - `.github/github.json` when available, then clean only safe local artifacts. - -## Commands - -Useful commands: - -```sh -gh pr view --json state,isDraft,mergeStateStatus,reviewDecision,url -gh pr checks --watch -gh pr view --comments -``` - -Use `./build-fast.sh` as the local validation gate for code changes in this -repository unless the user explicitly asks for a different check. diff --git a/.github/github.json b/.github/github.json index fe5327b58d1..74e81017329 100644 --- a/.github/github.json +++ b/.github/github.json @@ -80,7 +80,8 @@ "readyStateIsMergeIntent": false, "fixTrainSettling": "Auto-review and related fixes can arrive after CI turns green; treat green and mergeable PRs as ready for a merge decision, not automatic merge intent." }, - "watchSkill": "babysit-pr" + "watchSkill": "babysit-pr", + "watchSkillSource": "shared-codex-skills" }, "release": { "intent": {