chaffchaff
← rule catalog

import.broken-target

enforcedstructuralseverity: high
A deterministic fact about the artifact that asserts nothing about behavior, so it needs no eval (SPEC §6).

Claim

An @-import names a target file that does not exist, so content the author expects to be resident never loads.

Rationale

Claude Code inlines @path/to/import references (relative and absolute) at launch, skipping code spans and fenced code blocks (code.claude.com/docs/en/memory). A missing target fails silently from the author's point of view.

Fix

Fix the path, or remove the import if the target is gone for good (mechanical: remove the dead import line).

chaff explain import.broken-target: same registry, offline, from the CLI.