Add compact inspection proof contract#115
Merged
Merged
Conversation
This was referenced Jun 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a compact inspection proof contract to JetBrains inspection HTTP responses and hardens MCP output so ambiguous or contradictory inspection states do not look like clean readiness evidence.
What changed
inspection_proofandproof_failuresto plugin/API verdict-bearing responses.GREENinside the plugin verdict path./api/inspection/problemsso an older clean snapshot cannot be reported green while a newer inspection run is active.timeout,stale_results,capture_incomplete, andinspection_still_runningahead of generic proof-failure messaging.include_stale=truecached diagnostics.capture_diagnosticin raw HTTP responses, but removes it from normal MCP text output to reduce agent-context noise.Validation
Commit hook / local validation passed:
Review Notes
A review-agent pass found real issues before this PR was opened. This branch includes fixes for them:
/problemsnow includes current run state before proof/verdict calculation.inspection_proof_failed.include_stale=truekeeps requested cached findings visible for explicit diagnostics.Refs #113
Refs #114
Refs cbusillo/codex-skills#388