You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The jetbrains-inspection skill and helper guidance should be hardened so agents cannot confidently treat ambiguous JetBrains inspection runs as clean readiness evidence.
A quick red-lane test on 2026-06-20 reproduced two relevant problems:
The maintained WebStorm red-lane smoke in cbusillo/jetbrains-inspection-api failed to confirm RED for an intentionally broken fixture.
Manual helper invocation can still produce GREEN/0 findings in a setup where the fixture is intentionally broken, depending on route/profile/scope selection.
Implementation issue filed in the plugin/helper repo:
The skill is used during readiness/closeout flows. If route, worktree, session, profile, or scope ambiguity can resolve to GREEN, agents may report false confidence while inspecting the wrong project, stale project, parent git worktree, or a default profile that does not exercise expected findings.
The user concern was specifically that worktrees and session setup allow false greens. The quick test supports that concern.
Evidence
WebStorm red-lane smoke failed to confirm RED
From /Users/cbusillo/Developer/jetbrains-inspection-api:
STATUS: clean
VERDICT: GREEN reason=no_matching_findings
SUMMARY: clean=True total_problems=0 problems_shown=0
The fixture contains an intentional duplicate JSON property, so this is at minimum a warning that default profile/scope invocations can be misleading for proof-lane tests.
Route/worktree inference hazard
When targeting the nested fixture by repo path, the helper normalized the target to the parent git worktree:
This required explicit --project-path, --worktree-path, and --no-worktree-check to target the fixture. The skill should warn agents away from trusting inferred route results in nested worktree/project situations.
Desired Skill / Helper Guidance Changes
Strengthen the skill text around GREEN evidence:
GREEN is valid only when the exact worktree/project route, scope, and profile are known and fresh.
If helper route diagnostics mention parent worktree normalization, unmatched open projects, stale session, missing profile, or inspection_trigger_empty_model, the result is UNKNOWN and not readiness evidence.
Make red-lane smoke a recommended health check before relying on JetBrains inspection for high-confidence readiness, especially after helper/plugin changes.
Add explicit guidance for nested projects and linked worktrees:
pass --project-path / --worktree-path when inspecting a nested project or non-root fixture;
do not use --no-worktree-check for normal repo readiness unless intentionally proving a nested fixture or documented exception;
do not report GREEN if the helper had to fall back to a parent worktree or another open project.
Consider adding a skill command or documented recipe for red-lane verification across products:
Summary
The
jetbrains-inspectionskill and helper guidance should be hardened so agents cannot confidently treat ambiguous JetBrains inspection runs as clean readiness evidence.A quick red-lane test on 2026-06-20 reproduced two relevant problems:
cbusillo/jetbrains-inspection-apifailed to confirm RED for an intentionally broken fixture.Implementation issue filed in the plugin/helper repo:
Why This Matters
The skill is used during readiness/closeout flows. If route, worktree, session, profile, or scope ambiguity can resolve to GREEN, agents may report false confidence while inspecting the wrong project, stale project, parent git worktree, or a default profile that does not exercise expected findings.
The user concern was specifically that worktrees and session setup allow false greens. The quick test supports that concern.
Evidence
WebStorm red-lane smoke failed to confirm RED
From
/Users/cbusillo/Developer/jetbrains-inspection-api:Observed:
Key fields:
{ "product": "webstorm", "verdict": "UNKNOWN", "verdict_reason": "inspection_trigger_empty_model", "total_problems": 0, "profile_resolved_name": "RedLane", "suspicious_empty_model": true }IntelliJ red-lane smoke confirmed RED
Observed:
So RED is possible in the helper ecosystem; the issue is not just that all inspections are clean.
Manual false-green hazard
Manual invocation against the WebStorm fixture without
--profile RedLanereturned GREEN:Observed:
The fixture contains an intentional duplicate JSON property, so this is at minimum a warning that default profile/scope invocations can be misleading for proof-lane tests.
Route/worktree inference hazard
When targeting the nested fixture by repo path, the helper normalized the target to the parent git worktree:
while the actual open WebStorm project was:
This required explicit
--project-path,--worktree-path, and--no-worktree-checkto target the fixture. The skill should warn agents away from trusting inferred route results in nested worktree/project situations.Desired Skill / Helper Guidance Changes
inspection_trigger_empty_model, the result is UNKNOWN and not readiness evidence.--project-path/--worktree-pathwhen inspecting a nested project or non-root fixture;--no-worktree-checkfor normal repo readiness unless intentionally proving a nested fixture or documented exception;./scripts/dogfood-red-lane-smoke.sh --product intellij./scripts/dogfood-red-lane-smoke.sh --product webstormAcceptance Criteria
jetbrains-inspection-apismoke script.