fix(docs): follow-up fixes for agent-docs-review non-blocking gate - #705
Conversation
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: warp-factory.
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
This PR was generated with Warp. Comment |
|
@warp-factories[bot] I'm starting a first review of this pull request. You can view the conversation on Warp. I completed the review and no human review was requested for this pull request. Comment Powered by Oz |
PR #688 merged with three unaddressed review findings. This fixes them: - publish_review_signal.py: recognize the request_changes (underscore) verdict spelling alongside 'request changes', matching verify_review_signal.py's _BLOCKING_VERDICTS and preventing an 'unsupported review verdict' crash for a valid signal spelling. - review-docs-pr/SKILL.md: the manual publishing snippet now maps every verdict (Approve, Approve with nits, Request changes) to a non-blocking COMMENT review, matching the automated publisher and the PR's stated goal that the independent agent's review never blocks merge. - ci.yml: invoke test_stale_review_requests.py in the doc_quality_policy test step so its regression coverage actually runs in CI. Adds regression tests for the request_changes spelling and updates test_publishing_snippet.py to expect COMMENT for a request-changes verdict. Ref: #688, QUALITY-2048
56c983e to
451bcf7
Compare
There was a problem hiding this comment.
Overview
This PR aligns the agent-docs review publishing path with non-blocking GitHub review events and adds coverage for the underscore request_changes signal spelling plus the stale-review test in CI.
Concerns
.agents/skills/review-docs-pr/SKILL.md:209now blurs the policy/workflow split: the GitHub review event is non-blocking, butAgent docs reviewstill fails on critical/important findings, and engineering review requests are advisory.
Verdict
Found: 0 critical, 1 important, 0 suggestions
Request changes
Comment /warp-agent-review on this pull request to retrigger a review (up to 3 times on the same pull request).
Powered by Oz
Co-Authored-By: Warp <agent@warp.dev>



Summary
PR #688 (
fix(docs): make Agent docs review the only gate) merged intomainbefore an in-progress adversarial review's findings could be pushed to its branch (the branch was deleted on merge). This follow-up PR fixes the three unaddressed findings so the non-blocking independent-review gate works as intended.Related issues
Follow-up to #688. Tracked by QUALITY-2048.
Changes
publish_review_signal.py—_REVIEW_EVENTSnow recognizes therequest_changes(underscore) verdict spelling in addition torequest changes, matchingverify_review_signal.py's_BLOCKING_VERDICTS. Previously a valid signal spelledrequest_changesraisedunsupported review verdictinstead of posting the required non-blocking comment.review-docs-pr/SKILL.md— The documented manual review-publishing snippet now maps every verdict (Approve,Approve with nits,Request changes) to a non-blockingCOMMENTreview, instead of mappingRequest changesto the merge-blockingREQUEST_CHANGESevent. Updated the surrounding prose to match.ci.yml— TheTest doc_quality_policystep now runstest_stale_review_requests.py, which previously existed but was never invoked in CI.Validation
test_request_changes_underscore_spelling_maps_to_non_blocking_commenttotest_publish_review_signal.py, proving therequest_changesspelling now publishes aCOMMENTevent instead of raising.test_publishing_snippet.py'stest_findings_and_verdict_are_still_renderedto expectevent == "COMMENT"for aRequest changesverdict (previously assertedREQUEST_CHANGES).test_publish_review_signal.py,test_stale_review_requests.py,test_agent_docs_review_workflow.py,test_verify_review_signal.py,test_policy.py,test_check_pr_contract.py,test_check_compression_contract.py,test_manifest.py,review-docs-pr/test_publishing_snippet.py.test_stale_review_requests.pyfor the first time.Follow-ups
None.