ALEF-PAT-002

schema-validation-bypass

design × orphan · severity 6 · confidence 0.31

tool dispatcher accepts empty/malformed args and routes to runtime — runtime fails, no tool_result emitted, session enters orphan state

diagnosed in the wild

·

loading…

healed by ALEF

·

loading…

cited in posts

·

loading…

observable signature

{
  "log_regex": "\\[Tool execution was interrupted\\]"
}

verified instances (1) — from the catalog

fix archetypes

  • schema-at-dispatchcost: small

    enforce per-tool JSON Schema at the dispatcher layer; reject with explicit tool_result(is_error:true) before runtime entry

compounds with

cite as

# In a PR description / issue / RFC:
fixes pattern ALEF-PAT-002 (schema-validation-bypass)
ref: https://n50.io/patterns/002

# Machine query:
GET https://n50.io/api/patterns/002

# Scan your repo for this pattern:
npx @alef-prime/audit-agent-system . --pattern=002