Skip to content

You are currently viewing documentation for0.1.0-alpha.2

Saved documentation for 0.1.0-alpha.2 (npm) / 0.1.0a1 (PyPI). Interactive tools use the current release. View latest documentation.

Errors

Runtime contract error taxonomy

These names describe the guard runtime specification. The implemented execution host has its own concrete response table, including admission, authentication and upstream failures. MCP uses its transport errors instead of the guard envelope. Do not infer an implemented behavior from a specification name alone.

HTTPerrorMeaning
400invalid_requestBad envelope or missing write idempotency key.
401unauthorizedInvalid credential.
403plan_limitPlan ceiling.
409drift_blockedWrite blocked by known policy.
409drift_haltedStrict policy halt.
422contract_violationNo known contract.
429rate_limitedGuard-side throttle.
5xxinternalAvailability failure; explicit client fallback rules apply.

Five decisions

Engine fault bypassed is different from policy blocked. A fail-open read can be degraded; a successful selective replacement is repaired.

DecisionMeaning
okNo actionable drift reported; this alone does not prove protection was configured.
repairedA verified selective patch was applied; bytes may change and byte_identical is false.
degradedPolicy permits the original read with a loud drift warning.
bypassedInspection unavailable or skipped; original outcome preserved.
blockedPolicy refusal; distinguish request refusal from a completed response halt.

SDK and administration errors

AgindowSetupError is deterministic misuse before a call. AgindowDriftError carries policy feedback and preserves original exceptions as cause where available. A response halt may retain a completed outcome; inspect it before taking further action. Dashboard session, permissions, retention and validation failures belong to their own administrative contracts, not this runtime taxonomy.

Continue

Keep configuration, call decisions and evidence separate.