Skip to content

fix(docs): hide pr-review signal in the manual publishing snippet too - #687

Draft
warp-factories[bot] wants to merge 1 commit into
mainfrom
fix/hide-review-signal-manual-publish-path
Draft

fix(docs): hide pr-review signal in the manual publishing snippet too#687
warp-factories[bot] wants to merge 1 commit into
mainfrom
fix/hide-review-signal-manual-publish-path

Conversation

@warp-factories

@warp-factories warp-factories Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #686. That PR hid the [SIGNAL:pr-review] record behind an HTML comment in publish_review_signal.py (the automated agent-docs-review.yml path), but left the manual/interactive publishing snippet documented in review-docs-pr/SKILL.md ("Publishing a GitHub review") rendering the same record under a visible ## Review signal heading. Any review published through that documented manual path (i.e. not through the GitHub Actions workflow) still leaks the machine-readable signal into GitHub's rendered PR body — the exact behavior #686 set out to fix.

Linear: QUALITY-2013

Changes

  • Wraps the [SIGNAL:pr-review] record in the manual publishing snippet in an HTML comment and removes its visible ## Review signal heading, matching publish_review_signal.py.
  • Adds a regression test (review-docs-pr/test_publishing_snippet.py) that extracts the documented snippet from SKILL.md and runs it against a stub, confirming the signal is hidden and still parseable. Verified this test fails against the pre-fix snippet and passes after the fix.
  • Wires the new test into CI (docs-technical-references job).

Validation

  • python3 .agents/skills/review-docs-pr/test_publishing_snippet.py — passed (3 tests).
  • python3 .agents/skills/doc_quality_policy/test_verify_review_signal.py — passed (14 tests).
  • python3 .agents/skills/doc_quality_policy/test_publish_review_signal.py — passed (4 tests).
  • Full doc_quality_policy test suite — passed.
  • python3 .agents/skills/style_lint/style_lint.py --changed — no issues.

PR #686 hid the [SIGNAL:pr-review] record behind an HTML comment in
publish_review_signal.py (the automated agent-docs-review.yml path) but
left the manual/interactive publishing snippet documented in
review-docs-pr/SKILL.md rendering the same record under a visible
"## Review signal" heading. A review published via that documented path
(i.e. not through the GitHub Actions workflow) still leaked the
machine-readable signal into GitHub's rendered PR body.

Wrap the signal in an HTML comment in the documented snippet too, matching
publish_review_signal.py's format, and add a regression test that extracts
the documented snippet and runs it to guard against the two paths drifting
out of sync again.
@vercel

vercel Bot commented Sep 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Sep 4, 2026 8:43pm UTC

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants