API Reference@use-crux/coreIndex Lints
injection.deep_schema_chain
What it checks
Crux emits this finding when a prompt input field is contributed through an injection path deeper than one direct hop.
Why it matters
Deeply injected schema requirements are harder to discover from the prompt surface and easier to miss in callers, eval cases, and replay fixtures.
How to fix
Move important input requirements closer to the prompt, reduce composition depth, or document why the deep injection path is intentional.
When to suppress
Suppress when the deep composition is intentional and documented:
// crux-lint-disable-next-line injection.deep_schema_chain -- tenant context intentionally contributes branch-specific locale dataRule metadata
- Rule id:
injection.deep_schema_chain - Category:
composition - Maturity:
preview - Default profiles:
strict - Default severity:
info