[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76WTPQ1VW7F8GXMJ05XK8Q2":3,"skill-same:01M76WTPQ1VW7F8GXMJ05XK8Q2":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M76WTPQ1VW7F8GXMJ05XK8Q2","babysit-pull-requests",null,"Babysit open pull requests in THIS repository through the magus merge queue, spending agent work only where code must change. Use when asked to babysit, merge or ship open pull requests until they reach main. hack\u002Fci\u002Fpull-requests.buzz decides each one's action; this skill chains the hack\u002Fdev scripts that act on it. Hand-authored, never shipped.","egladman\u002Fmagus","egladman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8713153?v=4","01M75H42QB5A4X82APZF4H44GM","Eli Gladman","01M75H42R1K59Z7JWAP621J849",3,"GPL-3.0","https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbabysit-pull-requests\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: babysit-pull-requests\ndescription: Babysit open pull requests in THIS repository through the magus merge queue, spending agent work only where code must change. Use when asked to babysit, merge or ship open pull requests until they reach main. hack\u002Fci\u002Fpull-requests.buzz decides each one's action; this skill chains the hack\u002Fdev scripts that act on it. Hand-authored, never shipped.\nmetadata:\n  source: workspace\n---\n\n# Babysitting pull requests\n\n`hack\u002Fci\u002Fpull-requests.buzz` decides; the orchestrator acts on what it prints. Never\nderive a state, an action or a model from `gh` yourself. When a record looks wrong,\nfix the pure function that produced it and its test, then run it again.\n\n## The loop\n\n1. Read the board. The queue's own page is the run summary of the latest\n   `queue-apply.yaml` run, written by its `queue dashboard` job. It lists every\n   open pull request's place in the queue, with its reason and a person's command.\n   `.\u002Fmagus buzz hack\u002Fci\u002Fpull-requests.buzz -- dashboard --all --preview --out\n   dashboard.md` renders the same page locally. The `status` records are what\n   you act on:\n\n   ```sh\n   .\u002Fmagus buzz hack\u002Fci\u002Fpull-requests.buzz -- status [--pr \u003Cn>]... [--author \u003Clogin>]\n   ```\n\n   With no selector it reads your own open pull requests; `--all` reads\n   everyone's. It prints one JSON record per pull request: `state`, `stage`,\n   `reason`, `action`, `model`, `evidence`, and sometimes `merge`.\n\n   `state` is what the checks on the head say:\n\n   - `running`: a check has not finished, or none has reported yet.\n   - `green`: every check finished and passed.\n   - `red-inherited`: every failing check and failing Go test also fails on\n     main's latest completed CI run; `evidence` names both runs.\n   - `red`: anything else; `evidence` names the failures main does not have.\n\n   The `merge-queue` status is the queue, not CI, and `state` leaves it out. It\n   stays pending on every pull request outside the queue. Its description says why:\n   `not queued: CI has not passed`, `not queued: waiting for an approving review`,\n   or `ready: ...` once only merge intent is missing. Never count it as a running\n   check or wait for it to pass.\n\n   `stage` is what else stands before a merge: `merged`, `closed`, `draft`,\n   `waiting-below`, `conflicting`, `kicked-back`, `behind`, `queued`,\n   `needs-queue`.\n\n   `merge` appears only on a `green` or `red-inherited` record whose stage allows\n   a merge. It is the person's command: hand it over, never run it.\n\n2. Take the actions that change no code, with the same selectors:\n\n   ```sh\n   .\u002Fmagus buzz hack\u002Fci\u002Fpull-requests.buzz -- apply [--pr \u003Cn>]... [--author \u003Clogin>]\n   ```\n\n   It queues a `green` stack by the label on its top and reruns a `red` that is not\n   the change's, once per head. It prints each command it ran.\n\n   - It never enables auto-merge. For a `green` pull request in no stack it prints\n     the command under `for_person`; you tell the person to run it.\n   - It never acts on `red-inherited`. Nothing in the change is broken, and the\n     queue would refuse it for main's failures.\n\n3. Run the script chain for a record yourself, without asking the person. Each\n   step is one script. Never stand in for one with raw `git`, `gh` or a hand-run\n   gate: each script already absorbs the failure that recurs there.\n\n   1. `hack\u002Fci\u002Fpull-requests.buzz -- status` names the action.\n   2. `.\u002Fmagus buzz hack\u002Fdev\u002Fbootstrap-checkout.buzz -- --here --verify-ready` makes\n      the checkout verify-ready. It builds `.\u002Fmagus` at HEAD, stops pool parents of other\n      builds, removes untracked stamped skill installs, and builds the graph and symbol\n      digest. The scripts below run it themselves. An MGS7003 naming a binary\n      built at another commit means this step did not run.\n   3. Refresh the branches the action names:\n      - `rebase-branches-onto-base`: run the record's `evidence.rebase` line. The\n        branch still carries the commits of a pull request that squash-merged below\n        it (`evidence.squashed_base`). The script rebases its own commits onto the\n        base in a fresh checkout job, gates, and force-pushes with a lease.\n      - a branch behind its base with nothing squash-merged below it: run\n        `.\u002Fmagus buzz hack\u002Fdev\u002Fmerge-base-into-branches.buzz -- --branches \u003Ca,b,c>`.\n        It merges the base into each independently. Add `--stack` when each branch\n        sits on the one before. Both scripts take local branches origin lacks.\n      - When either stops at a source conflict, it names the files and the\n        checkout; hand those to an agent of the record's model as below.\n   4. `.\u002Fmagus buzz hack\u002Fdev\u002Fbootstrap-checkout.buzz -- --here --verify-ready`, then\n      `.\u002Fmagus affected ci`, which waits for the build budget itself, gates the result once; on failure it\n      closes with each failed target's ref and cause. Fix from those, never rerun.\n   5. `.\u002Fmagus buzz hack\u002Fdev\u002Fland-commits.buzz -- --branch \u003Cname> --from \u003Cref>\n      --title \u003Ctext> --body-file \u003Cfile>` opens a pull request for commits that have\n      none, after CI's hygiene checks pass locally.\n\n   For every record the chain cannot finish whose `model` is `sonnet` or `opus`, spawn one agent of\n   that model:\n   - in its own worktree cut from the pull request's branch (`head`), never in\n     your checkout;\n   - with the record's `action`, `reason` and `evidence` as its brief;\n   - told to commit there and stop: it never pushes, queues or reruns.\n\n   An opus agent may fan out sonnet agents for mechanical parts of its work (a\n   regeneration, an import block), each in its own worktree.\n\n4. When an agent reports, check its branch with a narrow test of what it changed.\n   Then you, and only you, push it. Queuing it again is the person's: tell them\n   `gh pr merge \u003Cn> --auto --squash`, which you never run, or for a stack the\n   `merge-queue: \u003Cmethod>` label on its top pull request. A `queue: \u003Cstate>` label\n   is the queue's answer, never intent.\n\n5. Schedule the next pass with the host's wakeup about every 20 minutes (the\n   queue's validation time), or with its pull request monitor. Repeat from 1.\n   - A record with `action: none` needs no agent. It is queued, waiting on the pull\n     request below it, `running`, or `red-inherited` with a `merge` for the person.\n   - A `draft` or `closed` stage never merges on its own. Tell the person and drop\n     it from the selection.\n\nStop when every selected record's stage reads `merged`. That `status` output is the\nproof; a green check or the queue's comment is not.\n\n## The magus advice comment\n\nThe bot's advice comment runs the same advisors `.\u002Fmagus diff --impact` runs\nlocally (`localAdvisors` in cmd\u002Fmagus\u002Fdiff.go). It never blocks a merge, so it is\nnot a review comment to answer. Read it locally:\n`.\u002Fmagus diff --no-tui --impact --rev origin\u002Fmain...HEAD -o json`. A section the\ncomment shows and the local run does not is a bug in that advisor. Fix the\nadvisor in `.github\u002Factions\u002Fadvice\u002F`; don't rename code to quiet it.\n\n## Never\n\n- Never admin-merge (`gh pr merge --admin`) yourself. It skips the queue's\n  validation and ordering, so nothing checked the combination that merges. The\n  record's `merge` is for the person to run.\n- Never enable auto-merge (`gh pr merge --auto`, or the `enablePullRequestAutoMerge`\n  mutation through `gh api`). A person enables it; the repo's guard denies it. Tell the\n  person the command. `--disable-auto` and reading `autoMergeRequest` are yours.\n- Never force-push a pull request branch. Reviews and the queue's candidates name\n  commits, and a rewrite orphans both. The one rewrite is\n  `rebase-branches-onto-base.buzz` on a `rebase-branches-onto-base` record: the\n  squash already orphaned the commits it drops.\n- Never run two agents on one pull request branch at a time. One branch has one\n  agent until you have pushed its result.\n- Never rerun a red by hand after `apply` declined to. It reruns a head once; red\n  again on the same head is a real failure, and the record then says `fix`.\n","# Babysitting pull requests\n\n`hack\u002Fci\u002Fpull-requests.buzz` decides; the orchestrator acts on what it prints. Never\nderive a state, an action or a model from `gh` yourself. When a record looks wrong,\nfix the pure function that produced it and its test, then run it again.\n\n## The loop\n\n1. Read the board. The queue's own page is the run summary of the latest\n   `queue-apply.yaml` run, written by its `queue dashboard` job. It lists every\n   open pull request's place in the queue, with its reason and a person's command.\n   `.\u002Fmagus buzz hack\u002Fci\u002Fpull-requests.buzz -- dashboard --all --preview --out\n   dashboard.md` renders the same page locally. The `status` records are what\n   you act on:\n\n   ```sh\n   .\u002Fmagus buzz hack\u002Fci\u002Fpull-requests.buzz -- status [--pr \u003Cn>]... [--author \u003Clogin>]\n   ```\n\n   With no selector it reads your own open pull requests; `--all` reads\n   everyone's. It prints one JSON record per pull request: `state`, `stage`,\n   `reason`, `action`, `model`, `evidence`, and sometimes `merge`.\n\n   `state` is what the checks on the head say:\n\n   - `running`: a check has not finished, or none has reported yet.\n   - `green`: every check finished and passed.\n   - `red-inherited`: every failing check and failing Go test also fails on\n     main's latest completed CI run; `evidence` names both runs.\n   - `red`: anything else; `evidence` names the failures main does not have.\n\n   The `merge-queue` status is the queue, not CI, and `state` leaves it out. It\n   stays pending on every pull request outside the queue. Its description says why:\n   `not queued: CI has not passed`, `not queued: waiting for an approving review`,\n   or `ready: ...` once only merge intent is missing. Never count it as a running\n   check or wait for it to pass.\n\n   `stage` is what else stands before a merge: `merged`, `closed`, `draft`,\n   `waiting-below`, `conflicting`, `kicked-back`, `behind`, `queued`,\n   `needs-queue`.\n\n   `merge` appears only on a `green` or `red-inherited` record whose stage allows\n   a merge. It is the person's command: hand it over, never run it.\n\n2. Take the actions that change no code, with the same selectors:\n\n   ```sh\n   .\u002Fmagus buzz hack\u002Fci\u002Fpull-requests.buzz -- apply [--pr \u003Cn>]... [--author \u003Clogin>]\n   ```\n\n   It queues a `green` stack by the label on its top and reruns a `red` that is not\n   the change's, once per head. It prints each command it ran.\n\n   - It never enables auto-merge. For a `green` pull request in no stack it prints\n     the command under `for_person`; you tell the person to run it.\n   - It never acts on `red-inherited`. Nothing in the change is broken, and the\n     queue would refuse it for main's failures.\n\n3. Run the script chain for a record yourself, without asking the person. Each\n   step is one script. Never stand in for one with raw `git`, `gh` or a hand-run\n   gate: each script already absorbs the failure that recurs there.\n\n   1. `hack\u002Fci\u002Fpull-requests.buzz -- status` names the action.\n   2. `.\u002Fmagus buzz hack\u002Fdev\u002Fbootstrap-checkout.buzz -- --here --verify-ready` makes\n      the checkout verify-ready. It builds `.\u002Fmagus` at HEAD, stops pool parents of other\n      builds, removes untracked stamped skill installs, and builds the graph and symbol\n      digest. The scripts below run it themselves. An MGS7003 naming a binary\n      built at another commit means this step did not run.\n   3. Refresh the branches the action names:\n      - `rebase-branches-onto-base`: run the record's `evidence.rebase` line. The\n        branch still carries the commits of a pull request that squash-merged below\n        it (`evidence.squashed_base`). The script rebases its own commits onto the\n        base in a fresh checkout job, gates, and force-pushes with a lease.\n      - a branch behind its base with nothing squash-merged below it: run\n        `.\u002Fmagus buzz hack\u002Fdev\u002Fmerge-base-into-branches.buzz -- --branches \u003Ca,b,c>`.\n        It merges the base into each independently. Add `--stack` when each branch\n        sits on the one before. Both scripts take local branches origin lacks.\n      - When either stops at a source conflict, it names the files and the\n        checkout; hand those to an agent of the record's model as below.\n   4. `.\u002Fmagus buzz hack\u002Fdev\u002Fbootstrap-checkout.buzz -- --here --verify-ready`, then\n      `.\u002Fmagus affected ci`, which waits for the build budget itself, gates the result once; on failure it\n      closes with each failed target's ref and cause. Fix from those, never rerun.\n   5. `.\u002Fmagus buzz hack\u002Fdev\u002Fland-commits.buzz -- --branch \u003Cname> --from \u003Cref>\n      --title \u003Ctext> --body-file \u003Cfile>` opens a pull request for commits that have\n      none, after CI's hygiene checks pass locally.\n\n   For every record the chain cannot finish whose `model` is `sonnet` or `opus`, spawn one agent of\n   that model:\n   - in its own worktree cut from the pull request's branch (`head`), never in\n     your checkout;\n   - with the record's `action`, `reason` and `evidence` as its brief;\n   - told to commit there and stop: it never pushes, queues or reruns.\n\n   An opus agent may fan out sonnet agents for mechanical parts of its work (a\n   regeneration, an import block), each in its own worktree.\n\n4. When an agent reports, check its branch with a narrow test of what it changed.\n   Then you, and only you, push it. Queuing it again is the person's: tell them\n   `gh pr merge \u003Cn> --auto --squash`, which you never run, or for a stack the\n   `merge-queue: \u003Cmethod>` label on its top pull request. A `queue: \u003Cstate>` label\n   is the queue's answer, never intent.\n\n5. Schedule the next pass with the host's wakeup about every 20 minutes (the\n   queue's validation time), or with its pull request monitor. Repeat from 1.\n   - A record with `action: none` needs no agent. It is queued, waiting on the pull\n     request below it, `running`, or `red-inherited` with a `merge` for the person.\n   - A `draft` or `closed` stage never merges on its own. Tell the person and drop\n     it from the selection.\n\nStop when every selected record's stage reads `merged`. That `status` output is the\nproof; a green check or the queue's comment is not.\n\n## The magus advice comment\n\nThe bot's advice comment runs the same advisors `.\u002Fmagus diff --impact` runs\nlocally (`localAdvisors` in cmd\u002Fmagus\u002Fdiff.go). It never blocks a merge, so it is\nnot a review comment to answer. Read it locally:\n`.\u002Fmagus diff --no-tui --impact --rev origin\u002Fmain...HEAD -o json`. A section the\ncomment shows and the local run does not is a bug in that advisor. Fix the\nadvisor in `.github\u002Factions\u002Fadvice\u002F`; don't rename code to quiet it.\n\n## Never\n\n- Never admin-merge (`gh pr merge --admin`) yourself. It skips the queue's\n  validation and ordering, so nothing checked the combination that merges. The\n  record's `merge` is for the person to run.\n- Never enable auto-merge (`gh pr merge --auto`, or the `enablePullRequestAutoMerge`\n  mutation through `gh api`). A person enables it; the repo's guard denies it. Tell the\n  person the command. `--disable-auto` and reading `autoMergeRequest` are yours.\n- Never force-push a pull request branch. Reviews and the queue's candidates name\n  commits, and a rewrite orphans both. The one rewrite is\n  `rebase-branches-onto-base.buzz` on a `rebase-branches-onto-base` record: the\n  squash already orphaned the commits it drops.\n- Never run two agents on one pull request branch at a time. One branch has one\n  agent until you have pushed its result.\n- Never rerun a red by hand after `apply` declined to. It reruns a head once; red\n  again on the same head is a real failure, and the record then says `fix`.\n",{"name":5,"metadata":24,"description":7},{"source":25},"workspace","main","5f0df014d9eaf4aea1a930b0bd13c3338e2642de",".agents\u002Fskills\u002Fbabysit-pull-requests",0,"https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus","http:\u002F\u002Feli.gladman.cc\u002Fmagus\u002F","https:\u002F\u002Fgithub.com\u002Fegladman","eli.gladman.cc","2026-11-14 12:23:44",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add egladman\u002Fmagus --skill babysit-pull-requests",{"tool":41,"command":42},"bunx","bunx skills add egladman\u002Fmagus --skill babysit-pull-requests",{"tool":44,"command":45},"pnpm","pnpm dlx skills add egladman\u002Fmagus --skill babysit-pull-requests","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fbabysit-pull-requests\u002FSKILL.md",true,[],[50,56,62,68,74,80],{"skillNo":51,"name":52,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M76WWZ75J70NCG0TR23XDDE6","magus-workspace-rules","https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002Finternal\u002Fagent\u002Fskills\u002Fmagus-workspace-rules\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M76WWX72SY78KG03AVYFE768","magus-vcs-hygiene","https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002Finternal\u002Fagent\u002Fskills\u002Fmagus-vcs-hygiene\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M76WWTJYGRCKKXH948KN6RR3","magus-upstream-source","https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002Finternal\u002Fagent\u002Fskills\u002Fmagus-upstream-source\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M76WWRTBBAPNKM0PA2NG5Q3N","magus-upstream-docs","https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002Finternal\u002Fagent\u002Fskills\u002Fmagus-upstream-docs\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M76WWNTF03H9S5CN22QBX5ZK","magus-test-design","https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002Finternal\u002Fagent\u002Fskills\u002Fmagus-test-design\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M76WWJX1FPSWYD1RB8JXNF3C","magus-sdk","https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002Finternal\u002Fagent\u002Fskills\u002Fmagus-sdk\u002FSKILL.md",[],[]]