Skip to content

Type Alias: VocabularyRefusalCode

@kortexya/reasoninglayer


@kortexya/reasoninglayer / VocabularyRefusalCode

VocabularyRefusalCode = "vocabulary_plugin_unavailable" | "vocabulary_persistence_unavailable" | "authz_relations_unprovisioned" | "vocabulary_actor_required" | "vocabulary_authority_denied" | "vocabulary_authority_undetermined" | "vocabulary_separation_of_duties" | "idempotency_key_required" | "idempotency_key_malformed" | "idempotency_key_reused" | "if_match_required" | "invalid_records" | "invalid_request" | "stale_baseline" | "rebase_not_needed" | "rebase_conflict" | "active_release_changed" | "candidate_state_conflict" | "candidate_closed" | "revision_not_head" | "content_hash_mismatch" | "assessment_missing" | "assessment_incomplete" | "assessment_blocked" | "review_missing" | "findings_not_acknowledged" | "approval_not_current" | "approval_authority_revoked" | "plugin_context_changed" | "materialized_vocabulary_drift" | "vocabulary_not_committed" | "vocabulary_outcome_unconfirmed" | "no_committed_outcome" | "governed_sort_write_refused" | "read_budget_exceeded"

Defined in: src/types/vocabulary.ts:46

The closed code of a vocabulary refusal (VocabularyRefusalResponse.code).

Every vocabulary 4xx except 404 (an unknown record) and 412 (a stale If-Match) carries one of these codes, and so do the 503 refusals and the activation 500 materialized_vocabulary_drift. A 404 of GET /requests/{operation}/{key} carries no_committed_outcome.

invalid_request arrives with 400 (a body that is not JSON, a malformed path, query value or If-Match), 413 (a body over the size limit), 415 (not application/json) or 422 (a body that does not deserialize, or a field out of bounds).