Skip to content

imreview: state the preflight-failure behavior explicitly (#53) - #101

Merged
tzhouam merged 2 commits into
mainfrom
fix/imreview-preflight-failure-explicit
Aug 25, 2026
Merged

imreview: state the preflight-failure behavior explicitly (#53)#101
tzhouam merged 2 commits into
mainfrom
fix/imreview-preflight-failure-explicit

Conversation

@tzhouam

@tzhouam tzhouam commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

What

One sentence added to the imreview prompt (both synced copies): when the import/version
compatibility preflight fails on a non-docs change, skip tests, continue the source
review, and record the skipped validation as an explicit verification gap in the final
report.

Why

#53 reported the default review running ut/e2e in an environment that cannot run them
(Windows). The behavior was already implied by "run targeted tests after the preflight
passes
", but the failure branch was never stated, so hosts could reasonably block or
retry instead of degrading gracefully. This makes the existing design explicit; tests stay
default-on where the environment supports them (per the maintainer's comment in #53).

Files

  • plugins/infermatrix-copilot/skills/imreview/SKILL.md
  • integrations/cursor/imreview.md (synced copy)
  • test/test_imreview_output_contract.py — pins the new sentence in both copies

Verification

  • pytest test/test_imreview_output_contract.py — green
  • full offline suite — green

Closes #53.

🤖 Generated with Claude Code

https://claude.ai/code/session_0165QsXAeLVPrKfj8Yk5zns3

tzhouam and others added 2 commits August 25, 2026 13:09
The skill mandates an import/version compatibility preflight before pytest
but never said what happens when it fails on a non-docs change. Say it:
skip tests, keep reviewing source, and record the skipped validation as an
explicit verification gap in the final report. Both prompt copies updated,
and the output-contract test pins the sentence.

Closes #53.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0165QsXAeLVPrKfj8Yk5zns3
@tzhouam
tzhouam merged commit 00b4069 into main Aug 25, 2026
2 checks passed
@tzhouam
tzhouam deleted the fix/imreview-preflight-failure-explicit branch August 25, 2026 07:34
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.

[Suggestion] default review may not need to run e2e or ut test

1 participant