Skip to content

review-pr-local: mark comment/testing guideline violations as IMPORTANT - #14907

Merged
acarl005 merged 3 commits into
masterfrom
quality-1563-review-pr-local-hardening
Aug 11, 2026
Merged

review-pr-local: mark comment/testing guideline violations as IMPORTANT#14907
acarl005 merged 3 commits into
masterfrom
quality-1563-review-pr-local-hardening

Conversation

@warp-agent-staging

@warp-agent-staging warp-agent-staging Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Description

Companion to warpdotdev/common-skills#50. A minimal, repo-specific addition to .agents/skills/review-pr-local/SKILL.md: two short clauses appended to the existing testing bullet and the existing commenting bullet (the latter added by #14902) under ## Repo-specific style and recurring review patterns, noting that a confirmed violation of either should be treated as ⚠️ [IMPORTANT], not a nit. Nothing else changed — no new sections, no changes to .agents/skills/rust-unit-tests/SKILL.md, and #14902's original comment-audit bullet is otherwise untouched.

git diff origin/master --stat: 1 file changed, 2 insertions(+), 2 deletions(-).

Prompted by two real issues that slipped through a review-pr + review-pr-local pass on PR #13405: a transformation-comment violation in app/src/util/windows.rs (plus other AGENTS.md comment issues), and a "regression test" in app/src/system/info_tests.rs that only exercised a private helper instead of the call site where the historical bug lived.

Linear: QUALITY-1563

Linked Issue

  • N/A — skill-only documentation change, not tied to a GitHub issue.
  • Not user-visible; no screenshots/video applicable.

Testing

Doc-only change — no code changed, so no automated/manual app testing applies.

Validated together with warpdotdev/common-skills#50's specialization-contract repair via fresh subagents with no prior knowledge of the expected findings, run repeatedly with no scripted loading of this companion skill (each reviewer had to discover it on its own). Result across 3 final independent runs: the companion was discovered unprompted in all 3, confirming the core-skill specialization mechanism works; of the three original PR #13405 findings, the transformation-comment violation surfaced in 2 of 3 runs (⚠️ IMPORTANT), while the redundant/duplicated comment and the regression-test call-site gap did not surface in any of the 3 runs at this final state. The regression-test gap specifically has no corresponding content anywhere in this file or in rust-unit-tests/SKILL.md right now, so it isn't expected to surface until/unless that content is added here — see warpdotdev/common-skills#50's description for the full tallies, verbatim review.json, and validator output.

Screenshots / Videos

N/A — skill documentation change only.

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

Conversation: https://staging.warp.dev/conversation/ed29a745-bc15-4653-8e60-7ae1d25ec9da
Run: https://oz.staging.warp.dev/runs/019fedeb-6452-7cb8-b1a5-08c41f3f37c6

This PR was generated with Oz.

Move the AGENTS.md comment audit out of the general pattern list into
its own mandatory, rule-by-rule checklist step, and cross-reference
rust-unit-tests's "test through the public API" rule specifically for
regression tests. Also add a short Regression Test Adequacy note to
rust-unit-tests.

QUALITY-1563

Co-Authored-By: Warp Agent <agent@warp.dev>
oz-agent and others added 2 commits August 10, 2026 23:25
…erfactual

Match the core skill's strengthened regression-test-adequacy wording:
require naming the assertion that would fail if the exact buggy code
reappeared at its real call site, not just that the test executes that
call site.

QUALITY-1563

Co-Authored-By: Warp Agent <agent@warp.dev>
Per requester feedback, scale back the warp-side change: revert
rust-unit-tests/SKILL.md entirely, and revert review-pr-local's
mandatory comment-audit section and testing cross-reference back to
master (leaving #14902's existing comment-audit bullet untouched).
Add only a short clause to the existing testing bullet and the
existing commenting bullet under 'Repo-specific style and recurring
review patterns' noting that confirmed violations should be treated
as IMPORTANT, not a nit.

QUALITY-1563

Co-Authored-By: Warp Agent <agent@warp.dev>
@warp-agent-staging warp-agent-staging Bot changed the title review-pr-local: promote comment audit to mandatory checklist step review-pr-local: mark comment/testing guideline violations as IMPORTANT Aug 10, 2026
@acarl005
acarl005 marked this pull request as ready for review August 11, 2026 01:05
@warp-agent-staging
warp-agent-staging Bot marked this pull request as draft August 11, 2026 01:15
@acarl005
acarl005 marked this pull request as ready for review August 11, 2026 01:17
@acarl005
acarl005 enabled auto-merge (squash) August 11, 2026 01:20
@acarl005
acarl005 merged commit 5d68870 into master Aug 11, 2026
93 of 102 checks passed
@acarl005
acarl005 deleted the quality-1563-review-pr-local-hardening branch August 11, 2026 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants