# LEN-0210 — Invariant Lens

## Ontology Metadata

Code: LEN-0210
Version: LEN-0210@0.1.0
Ontology release: 0.1.0
Updated: 2026-05-10T00:00:00Z
Canonical URL: /workbench/lenses/invariant-lens/

## Summary

Verifies that declared invariants are structurally enforceable and not contradicted by observed structure.

## Primary Pattern Matches

- PAT-0330 — Invariant Breakage
  - URL: /workbench/patterns/invariant-breakage/
  - Summary: A structural condition where an observed state violates a declared invariant that is supposed to remain true.
- PAT-0160 — Schema Breakage
  - URL: /workbench/patterns/schema-breakage/
  - Summary: A structural condition where an instance, graph, payload, or object violates the type, shape, or rule requirements of a declared schema.
- PAT-0390 — Threshold Breach
  - URL: /workbench/patterns/threshold-breach/
  - Summary: A structural condition where an observed metric, value, state, or condition exceeds a declared quantitative or qualitative threshold.

## Secondary Pattern Matches

- PAT-0100 — Authority Collision
  - URL: /workbench/patterns/authority-collision/
  - Summary: A structural condition where multiple authorities claim governance over the same region without a declared precedence or resolution rule.

## Related Issues

- ISS-0064 — Action Triggered by Confidence Score
  - URL: /workbench/issues/action-triggered-by-confidence-score/
  - Summary: A confidence score, certainty label, risk level, or probability-like value triggers an action without enough approval, calibration, or authority control.
- ISS-0115 — Agent Gets Conflicting Tool Authority
  - URL: /workbench/issues/agent-gets-conflicting-tool-authority/
  - Summary: An agent receives conflicting authority signals about whether, when, or how it may use a tool, connector, function, or integration.
- ISS-0026 — AI Output Breaks Parser
  - URL: /workbench/issues/ai-output-breaks-parser/
  - Summary: The AI output causes a parser, validator, importer, or structured-output consumer to fail.
- ISS-0088 — Approval Depends on Output That Needs Approval
  - URL: /workbench/issues/approval-depends-on-output-that-needs-approval/
  - Summary: A required approval depends on an AI output or workflow result that itself cannot be produced or trusted until approval is granted.
- ISS-0035 — Conflicting Instructions From Different Authorities
  - URL: /workbench/issues/conflicting-instructions-from-different-authorities/
  - Summary: Instructions from different sources, roles, policies, prompts, tools, or workflow authorities conflict without a clear rule for which one governs.
- ISS-0097 — Downstream Steps Magnify Hallucinated Claim
  - URL: /workbench/issues/downstream-steps-magnify-hallucinated-claim/
  - Summary: A hallucinated or unsupported claim from an AI output is reused by later workflow steps until it becomes more influential than the evidence supports.
- ISS-0027 — Duplicate Fields With Same Meaning
  - URL: /workbench/issues/duplicate-fields-with-same-meaning/
  - Summary: The AI returns multiple fields, labels, sections, or structured elements that carry the same meaning and create ambiguity about which one should be used.
- ISS-0066 — Duplicate Output Sections
  - URL: /workbench/issues/duplicate-output-sections/
  - Summary: The AI repeats sections, headings, blocks, or output areas in a way that creates redundancy, confusion, or downstream handling problems.
- ISS-0028 — Format Rule Too Weak
  - URL: /workbench/issues/format-rule-too-weak/
  - Summary: The format instruction is too vague, incomplete, or optional to reliably produce output that satisfies the expected structure.
- ISS-0023 — Hallucinated Fields
  - URL: /workbench/issues/hallucinated-fields/
  - Summary: The AI adds fields, keys, attributes, columns, or structured elements that were not declared, requested, or allowed by the expected schema.
- ISS-0039 — Hidden Rule Overrides Visible Instruction
  - URL: /workbench/issues/hidden-rule-overrides-visible-instruction/
  - Summary: A hidden, upstream, system, policy, tool, or product rule changes or overrides the visible instruction the user expects the AI to follow.
- ISS-0036 — Human Review and Automation Disagree
  - URL: /workbench/issues/human-review-and-automation-disagree/
  - Summary: A human review result and an automated AI or workflow result disagree without a declared rule for resolving the difference.
- ISS-0021 — Invalid JSON Output
  - URL: /workbench/issues/invalid-json-output/
  - Summary: The AI returns malformed JSON or structured output that cannot be parsed.
- ISS-0022 — Missing Required Fields
  - URL: /workbench/issues/missing-required-fields/
  - Summary: The AI returns structured output that omits fields required by the schema, workflow, parser, form, or downstream consumer.
- ISS-0025 — Nested Fields Do Not Match
  - URL: /workbench/issues/nested-fields-do-not-match/
  - Summary: The AI returns nested structured fields whose internal shape, hierarchy, parent-child relationship, or contained values do not match the expected structure.
- ISS-0018 — Output Breaks the Next Step
  - URL: /workbench/issues/output-breaks-the-next-step/
  - Summary: The AI output looks acceptable by itself but cannot be used by the next tool, workflow step, parser, reviewer, or downstream consumer.
- ISS-0060 — Output Exceeds Length Limit
  - URL: /workbench/issues/output-exceeds-length-limit/
  - Summary: The AI output exceeds a declared length, token, word, character, section, field, or size limit.
- ISS-0083 — Parallel Reviews Never Agree
  - URL: /workbench/issues/parallel-reviews-never-agree/
  - Summary: Parallel AI, human, workflow, or tool reviews keep producing different results without resolving into a shared decision state.
- ISS-0016 — Permissions Conflict After Being Combined
  - URL: /workbench/issues/permissions-conflict-after-being-combined/
  - Summary: Permissions, approvals, roles, policies, or authority rules that seem valid separately conflict when combined in the same workflow or AI action.
- ISS-0090 — Policy Decision Depends on Itself
  - URL: /workbench/issues/policy-decision-depends-on-itself/
  - Summary: A policy decision requires the outcome of the same policy decision before it can be made.
- ISS-0065 — Risk Score Triggers Wrong Escalation
  - URL: /workbench/issues/risk-score-triggers-wrong-escalation/
  - Summary: A risk score, severity label, confidence value, or threshold result triggers the wrong escalation path.
- ISS-0095 — Risk Signal Escalates Beyond Evidence
  - URL: /workbench/issues/risk-signal-escalates-beyond-evidence/
  - Summary: A risk signal, warning, score, or concern escalates farther than the available evidence supports.
- ISS-0037 — Same Case Has Conflicting Policies
  - URL: /workbench/issues/same-case-has-conflicting-policies/
  - Summary: The same case appears to be governed by multiple policies, rules, or standards that point to incompatible outcomes.
- ISS-0091 — Schema Reference Loops Without Base Case
  - URL: /workbench/issues/schema-reference-loops-without-base-case/
  - Summary: A schema, field, type, object, or structured reference points through a loop without a base case that allows validation or interpretation to resolve.
- ISS-0102 — Severity Increases Without New Evidence
  - URL: /workbench/issues/severity-increases-without-new-evidence/
  - Summary: The severity, risk, confidence, or escalation level increases even though no new evidence has been added.
- ISS-0107 — Single Field Carries Too Many Obligations
  - URL: /workbench/issues/single-field-carries-too-many-obligations/
  - Summary: One field, label, score, status, or structured value is expected to carry too many meanings, decisions, or workflow obligations.
- ISS-0098 — Small Issue Keeps Escalating
  - URL: /workbench/issues/small-issue-keeps-escalating/
  - Summary: A small issue, warning, uncertainty, or correction keeps increasing in severity, scope, or workflow impact across later steps.
- ISS-0017 — Tool Call Contract Mismatch
  - URL: /workbench/issues/tool-call-contract-mismatch/
  - Summary: The AI or agent calls a tool with names, arguments, types, modes, or shapes that do not match the declared tool interface.
- ISS-0110 — Tool Rules and Prompt Rules Conflict
  - URL: /workbench/issues/tool-rules-and-prompt-rules-conflict/
  - Summary: Tool, connector, function, or MCP rules conflict with prompt instructions, causing the AI or agent to face incompatible requirements.
- ISS-0006 — Validation Result Changes on Retry
  - URL: /workbench/issues/validation-result-changes-on-retry/
  - Summary: A validation, grading, review, classification, or pass/fail result changes after retry even though the input and declared validation rules did not change.
- ISS-0024 — Wrong Field Types
  - URL: /workbench/issues/wrong-field-types/
  - Summary: The AI returns fields with values whose types do not match the expected schema, such as strings where numbers, booleans, arrays, objects, or enums are required.
