Skip to main content

Module error_codes

Module error_codes 

Source

Constants§

AMBIGUOUS_ID_PREFIX
APPROVER_LAUNDERING
ARCHIVE_RESTORE_COLLISION
ARCHIVE_SUPERSEDE_FAILED
ATTESTATION_FAILED
#626 Layer-3 (C7) — agent-attestation gate rejection on the write path. Emitted (403 FORBIDDEN) by the HTTP create-handler (src/handlers/create.rs) when a presented Ed25519 signature fails to verify against the agent’s bound public key, or when AI_MEMORY_REQUIRE_AGENT_ATTESTATION is set and the write is unsigned / the agent has no bound key. The MCP store path surfaces the same condition as a plain error string.
CONFLICT
DATABASE_ERROR
GOVERNANCE_REFUSED
INVALID_ARGUMENT
LINK_PERMISSION_DENIED
LINK_REFLECTION_CYCLE
NOT_FOUND
PENDING_ACTION_NOT_FOUND
PENDING_ACTION_STATE_INVALID
QUOTA_EXCEEDED
v0.7.0 multi-agent literal-sweep (scanner B finding F-B5.x) — per-agent / per-namespace K8 quota exceeded. Emitted by the HTTP create-handler (src/handlers/create.rs) and the equivalent MCP store path when agent_quotas enforcement trips before the canonical db::insert write. Was previously a scattered string literal at 4 production sites; centralised here as the canonical shared slug.
REFLECTION_CYCLE_DETECTED
REFLECTION_DEPTH_EXCEEDED
SQLCIPHER_MISSING_PASSPHRASE
STORE_BACKEND_UNAVAILABLE
STORE_DATABASE_ERROR
STORE_GOVERNANCE_REFUSED
STORE_NOT_FOUND
STORE_OPERATION_FAILED
STORE_UNSUPPORTED_CAPABILITY
STORE_VALIDATION_FAILED
STORE_VERSION_CONFLICT
SYNTHESIS_DEPTH_EXCEEDED
UNIQUE_CONFLICT
VALIDATION_FAILED