Harden PyCharm red-lane proof - #118
Merged
Merged
Conversation
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
.pyfallback files, and suspicious-empty-model fail-closed handlingWhy
Issue #117 showed PyCharm 2026.1 could run the maintained RedLane fixture and report
GREEN/0. The route, profile, session, indexing, and cleanup were coherent; the weakPyStatementEffectInspectionfixture simply did not produce a descriptor, and the plugin only had WebStorm-specific proof-lane guards.This patch makes PyCharm use
PyUnresolvedReferencesInspectionondefinitely_missing_symbol()and gives PyCharm the same proof-lane shape WebStorm already needed: expected target tool tracking, targetedInspectionEngine.runInspectionOnFilefallback, and capture-incomplete/UNKNOWN instead of clean when an empty model appears in the proof lane.Validation
Commit hook also ran broader checks successfully:
Live IDE proof after installing the patched plugin and restarting IDEs:
PyCharm finding evidence:
{ "inspectionType": "PyUnresolvedReferencesInspection", "severity": "error", "description": "Unresolved reference 'definitely_missing_symbol'", "source": "inspection_context" }Note: the first local PyCharm run after installing the zip still served the old in-memory plugin fingerprint and stayed GREEN/0. After restarting PyCharm, it loaded the patched plugin and produced RED. That is expected JetBrains plugin lifecycle behavior for local validation.
Refs #117
Refs #113
Refs #114