UC-015

UC-015: Schema Drift on Connector Response

Layer: B — Dispatch Enforcement Threat: Schema Drift / Untrusted Connector Drift

Scenario

A connector returns a response whose schema does not match the pinned output contract. Fields are added, removed, or type-changed.

Expected Behavior

  • Output schema mismatch → ERR_CONNECTOR_CONTRACT_DRIFT
  • Execution halts at output validation
  • Signed receipt produced with drift error

Pass Criteria

  • Error code: ERR_CONNECTOR_CONTRACT_DRIFT
  • Receipt: signed with OutputHash mismatch recorded
  • No result propagated to caller