feat(skills): approve a work through a pull request #136
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/pull-request-approval"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Recommendation 2. You asked twice to approve a piece of work once and judge it as a PR, but no gate offered that.
This PR is narrower than the original plan for a "light lane". A draft review found that lane's savings came only from dropping the security and documentation reviews, which have to stay, and from merging a gate that small changes already merge. You chose to narrow the work, and the cost goal moves to recommendation 3, trimming
AGENTS.md.What changed
get-approvaloffers to approve the work through a pull request. Choosing it passes every later gate, anddeliveropens the PR.designstill asks its decisions.run-change, and only when no go-without-approval instruction already covers the gate.document-reviewerreviews them alone and takes onchange-reviewer's two checks, drift from the work file and an oversized diff, so no check is lost.diagnosealready proved a reproduction on main and it lands unchanged,execute-plandoesn't prove it again.How to verify
bash tests/verify-agent-config.sh(252),bash tests/check-work-folder.sh(46),.agents/hooks/shellcheck.sh repo,prettier --check '**/*.md',scripts/verify-agent-config.shandgit diff --check mainall pass on the tip. No test covers the workflows' prose.Not run yet:
Considerations
document-reviewertaking over drift and diff size when it reviews alone, and when the PR option is offered.Eval comparison, this branch against main (
ae346e7), one attempt per case:README.md. On main the agent made five reviewer calls: a docs audit, then two rounds of change review plus document review. On this branch it made two: the audit and one document review.The change, security and documentation reviews of this branch have not run yet.
Reviews done: change, security and documentation, in two rounds. The fixes are pushed as two
fixup!commits.Fixed:
delivernow skips the automatic PR for such a branch, andget-approvalpoints its promise at the same exception inAGENTS.md.change-reviewerwas skipped, so its drift and diff-size checks could silently drop. Its handoff now says so.change-revieweris now skipped only on a work's own prose-only branch, so others' PRs keep their correctness checks.In round 2 every finding was confirmed closed, with no new medium or high finding. All checks pass on
784af38.Left for you:
784af38ea8todc129e7f4e