{"version":"2.1.3","anchor":"unreachable-permission-rules-detection","canonical_anchor":"unreachable-permission-rules-detection","heading":"Unreachable Permission Rules Detection","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.3\/e\/unreachable-permission-rules-detection","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.3","markdown":"### Unreachable Permission Rules Detection\n\n**What**\n\nThe `\/doctor` command now detects and displays permission rules that will never be applied due to being shadowed by broader rules.\n\n**Usage**\n\n`\/doctor` Look for the \"Unreachable Rules\" section showing:\n\n- Which rules are shadowed\n- Which broader rule is shadowing them\n- How to fix the configuration\n\n**Details**\n\n- Detects allow rules shadowed by ask rules\n- Detects allow rules shadowed by deny rules\n- Shows the source of conflicting rules (project settings, policy, etc.)\n- Provides specific fix suggestions\n\n**Evidence**\n\n`xKA()` at line 302515 (checks for `shadowedBy` and builds unreachable rules list), `jg2()` at line 416765 (renders `\"Unreachable Rules\"` UI component with `shadowType` of `\"ask\"` or `\"deny\"`)"}