Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion integrations/cursor/imreview.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ Before pytest, run a short import/version compatibility preflight. Bind every
validation command and result to the head SHA and an environment fingerprint;
reuse an environment only when its dependency fingerprint matches. After the
preflight passes, run targeted tests and low-cost static checks alongside the
source review.
source review. If the preflight fails, skip tests, continue the source review,
and record the skipped validation as an explicit verification gap in the final
report.
Stop when every changed semantic path has a supported finding or an explicit
no-issue conclusion; do not add searches only for confidence.
After source review independently verifies and freezes its candidate findings,
Expand Down
4 changes: 3 additions & 1 deletion plugins/infermatrix-copilot/skills/imreview/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ Before pytest, run a short import/version compatibility preflight. Bind every
validation command and result to the head SHA and an environment fingerprint;
reuse an environment only when its dependency fingerprint matches. After the
preflight passes, run targeted tests and low-cost static checks alongside the
source review.
source review. If the preflight fails, skip tests, continue the source review,
and record the skipped validation as an explicit verification gap in the final
report.
Stop when every changed semantic path has a supported finding or an explicit
no-issue conclusion; do not add searches only for confidence.
After source review independently verifies and freezes its candidate findings,
Expand Down
4 changes: 4 additions & 0 deletions test/test_imreview_output_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ def test_imreview_returns_github_style_findings(prompt_path: Path) -> None:
assert "before reading knowledge, searching source, or running tests" in prompt
assert "bounded `rg` searches" in prompt
assert "import/version compatibility preflight" in prompt
assert (
"If the preflight fails, skip tests, continue the source review, "
"and record the skipped validation as an explicit verification gap"
) in prompt
assert "head SHA and an environment fingerprint" in prompt
assert "at the pinned head SHA" in prompt
assert "fetch the PR head ref" in prompt
Expand Down
Loading