Skill v1.0.1
currentAutomated scan100/100+5 new
name: factory-review-prs description: >- Experimental workflow for reviewing configured repositories' pull requests. Use for manual or scheduled PR triage, approval, or merge decisions. category: engineering-method source: BuilderIO/skills metadata: version: "1.0.1"
Factory Review PRs
This skill reviews a filtered queue. For one long-lived, explicitly authorized PR, use factory-babysit-pr. Read the filters and independent action policies from .agent-factory/config.yaml. Apply the optional skill_prompts.factory-review-prs entry as additional project guidance; it does not replace this skill or authorize an action disabled by policy.
Review the queue
For each candidate PR:
- Read live state from the configured host. Exclude drafts and PRs outside the
configured filters. Skip a PR with a current review unless re-review is requested by policy.
- Inspect the diff, linked issues, required checks, review threads, author
eligibility, and exact head revision. Treat bot findings as leads and preserve human review direction unless source evidence disproves it.
- Report actionable findings with file, line, impact, and a concrete fix. If
none exist, record that outcome without inventing a comment.
Unavailable or partial state is unknown, never a clean result.
Apply separate action gates
| Action | Proceed only when | |
|---|---|---|
| Review | The PR matches configured filters and has not already had the required current review. | |
| Reply or other PR write | Draft only. Put the exact text in the report; posting needs the action policy to allow it while the go-gate is off, otherwise the user's literal GO for this exact action. | |
| Approve | Report whether approval conditions hold on the exact head. Approving needs the action policy to allow it while the go-gate is off, otherwise the user's literal GO for this exact action. | |
| Merge | Report merge readiness only. Merging needs the action policy to allow it while the go-gate is off, otherwise the user's literal GO for this exact action. A never policy always wins: no GO and no gate mode overrides it. |
Host-level mergeability, one green check, or a bot approval does not prove all gates passed. Re-read the exact head and live state immediately before an approval or merge. Restart a configured soak if the head or a gate changes.
Report
For each PR, state the decision and evidence. List skipped, unavailable, and held PRs with the reason. Keep review findings separate from approvals, replies, and merge decisions.
AOS safety rules
- Configuration lives in
.agent-factory/config.yaml. If it is missing, stop and
ask the user; never create it or guess sources.
- Nothing in the config can open the AOS GO gate.
git push,gh pr merge,
gh release create and every external write (reply, comment, approval, close, status change, notification) need the action policy to allow it while the go-gate is off, otherwise the user's literal GO for that exact action. Prepare the change or draft text, show it, and stop.
- Scheduled or unattended runs are read-only. Report; do not act.
- The agent never types
gogate, never changes the gate mode and never grants itself a GO. - Connectors are whatever the host already exposes. Do not install or register
integrations or MCP servers.