PROTOCOL RECORD
Errors
Safe local protocol error behaviour and scope limitations.
Document status
- Status
- Implemented locally
IMPLEMENTED_LOCALLY - Public availability
- Not publicly deployed
NOT_PUBLICLY_AVAILABLE - Invokable
- No
- Public network endpoint available
- No
- Document kind
EXPLANATORY- Protocol references
legacy-local-mcp-profileverified-coding-local-profile
- Source revision
8a406488530dc73987b7e7c7534cd9a9d437b718- Last substantive review
- Evidence scopes
- Repository implementation and deterministic local verification of the legacy local profile.
- Limitations
- This is repository-grounded local evidence only; no public endpoint or ordinary external invocation is available.
- This vocabulary describes reviewed local implementation behavior only.
- A code can be restricted to a narrower local role or lifecycle and its presence here grants no capability.
- Counterparty-blind external errors remain design-stage and are not advertised as implemented behavior.
Safe error envelope
A local MCP failure returns a stable code, safe message, correlation ID, retryability indicator, and structured safe details. The response does not expose stack traces, storage diagnostics, secret material, or protected capsule knowledge. Unexpected failures are reduced to INTERNAL_ERROR with an empty details object and a generic safe message.
Current local responses mark errors as non-retryable. Idempotent retry behavior belongs to the operation contract; callers must not infer permission to retry from a code name alone.
Design-stage boundary
Counterparty-blind external errors remain design-stage and outside the reviewed implementation vocabulary. Proposed counterparty-blind operation names and their external error projection are absent until implementation, evidence review, and deliberate website-registry reconciliation occur.
Reviewed error vocabulary
AGENT_NOT_ACTIVEALREADY_ENTITLEDAUTHENTICATION_FAILEDCANONICALIZATION_FAILEDCAPSULE_NOT_FOUNDCONTENT_HASH_MISMATCHDEMO_VOUCHER_ALREADY_REDEEMEDDEMO_VOUCHER_EXPIREDDEMO_VOUCHER_INVALIDDUPLICATE_CAPSULEIDENTITY_ALREADY_REGISTEREDIDEMPOTENCY_CONFLICTINSUFFICIENT_FUNDSKEY_ACTION_UNAUTHORIZEDKEY_MATERIAL_UNAVAILABLENONCE_REPLAYEDOUTCOME_ALREADY_REPORTEDOUTCOME_NOT_AUTHORIZEDPARENT_NOT_AUTHORIZEDPARENT_NOT_FOUNDPAYMENT_AUTHORIZATION_INVALIDPAYMENT_REQUIREMENT_EXPIREDPROVENANCE_SIGNATURE_INVALIDPURCHASE_ALREADY_EXISTSPURCHASE_NOT_FOUNDPURCHASE_NOT_SETTLEDREQUEST_EXPIREDRESTRICTED_ACCESS_DENIEDRESTRICTED_ARTIFACT_INVALIDRESTRICTED_INTEGRITY_FAILURERESTRICTED_TTL_INVALIDRESTRICTED_WRITER_LEASE_LOSTSELF_PURCHASE_FORBIDDENSESSION_MISMATCHVALIDATION_FAILEDVERIFIED_LISTING_NOT_ACTIVEINTERNAL_ERROR