Repository navigation
docs(skills): route qq-mode to playbooks and add PR skills - #480
Conversation
qq-mode now picks a playbook (bug-fix, feature, refactor, investigate, resume) or a skill, states how far each kind of request authorizes the agent to go, and says how to brief sub-agents, which cannot load skills. open-pr, babysit-pr, and land-pr carry a branch from commit to merge. babysit-pr ships pr-status.sh, which reports merge readiness as JSON: checks, unresolved review threads, conflicts, and whether Codex finished a clean review of the current head. land-pr merges only that head. review-diff checks a diff against the repository's rules before it ships. design-skill-or-pack now states what QQ's loader does not do. gh joins the dev shell because the PR skills need it.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7ceb3d5779
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Paginated comments and reactions printed one JSON array per page, which made jq fail and the script exit 2. Review threads stopped at 100, so a later open thread could report ready. A PR URL from another repository read threads and Codex state from the checkout's repository instead. Slurp every page, page the thread query, and take owner and repo from the PR URL.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 381d29ece4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
gh api -F turns a value such as 2026, true, or null into a number, boolean, or null, so a repository with that name failed the String! variable. Pass owner and name with -f.
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 00a54290f5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…g CI Rerunning a run tests the same old head, and a rebase cannot be pushed without the force-push the skill forbids. Merge origin/main and push so CI runs on the updated head; rerun only a suspected flake.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 169879fade
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Review threads with large comments made the jq argument exceed the per-argument limit, so the script exited 2. Write each response to a temporary file and read it with --slurpfile.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e006a84878
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
open-pr told the agent to create a fresh branch at origin/main, which left the finished commits behind. Check the current branch instead, and create the worktree in qq-mode when a change starts.
Change
Agents get a small set of skills, modeled on pstack, for taking a task from the request to a merged PR.
qq-modeis now a router. It picks a playbook (bug-fix,feature,refactor,investigate,resume) or a skill. It states how far each kind of request lets the agent go (answer, commit, push and open a PR, merge), and how to brief sub-agents, which cannot load skills.open-prcommits, runs the gate, pushes, and opens a ready PR that follows the template.babysit-prdrives a PR to merge-ready. Itspr-status.shreports readiness as JSON: conflicts, checks, unresolved review threads, and whether Codex reviewed the current head with no findings and a 👍.land-prmerges with--squash --match-head-commit, so only the head that was checked can land.review-diffchecks a diff against theAGENTS.mdrules before it ships.design-skill-or-packnow says what the loader does not do (no bundled-file listing, no skills in sub-agents,/namelasts one run) and fixes its claim that commands are never disclosed.ghjoins the dev shell.Verification
verify-qqhome: the catalog lists all eight skills,load_skill qq-modereturns the router, andread_file .qq/skills/qq-mode/playbooks/bug-fix.mdreturns the playbook.pr-status.shagainst live PRs: feat(mobile): add isolated native targets and Android debug CI (M2) #384 reports the failing check, 1 thread, and the failed Codex run; fix(core): recover context overflow without manual compaction #371 reports 6 threads and unresolved Codex findings; a merged PR is not ready. Replaying refactor(core): classify shell policy once per decision #472's data as open reports ready (exit 0); the same data without the 👍 is not ready (exit 1).cargo xtask check: passed on 7ceb3d5.Known impact
qq-modeis shorter. Its rules about authority, Codex 👍, and stopping at the user's boundary moved intoqq-mode§2,babysit-pr, andland-pr.