HIGH

core/unreachable-defensive-guard

Flag defensive guards against states internal code cannot produce — they hide bugs and add noise.

Decided by
review judgement
Severity means
merge is a deliberate trade-off a reviewer acknowledges. The output contract
Applies to
every file — the core standard is not scoped by stack
Reaches
19 profiles: fullstack-react-node, infra-terraform, javascript-typescript, javascript-typescript-browser, mobile-android, mobile-ios, mobile-react-native, service-dotnet, service-express, service-go, service-java, service-node, service-python, typescript-effect, web-angular, web-nextjs, web-react, web-svelte, web-vue
Defined in
standards/core.md:98

Read it in the terminal

The same facts, from the checkout you are already in — no browser, and no network.

terminal
$ npx redlinegate explain core/unreachable-defensive-guard

Where this came from

You are most likely here from a review comment. A finding names its rule and, when your repository has told Redline where the standard is published, its address:

on the pull request
Redline/HIGH [core/unreachable-defensive-guard]: …
  → …/r/core/unreachable-defensive-guard

That second line is written by redline init --docs-url and is empty until an organisation sets one — there is no default, because a link to somebody else's copy of the standard is worse than no link. See Onboard a repository.

In context

This is a core rule: it applies in every profile, and every stack extends it rather than overriding it. The core standard lists it beside everything else a reviewer is asked to consider.

Other HIGH rules in this stack