Skip to content

Type Alias: VocabularyRefusalCode

@kortexya/reasoninglayer


@kortexya/reasoninglayer / VocabularyRefusalCode

VocabularyRefusalCode = "compatibility_evidence_undecodable" | "source_observation_incomplete" | "source_scope_missing" | "source_observation_policy_mismatch" | "source_identity_unavailable" | "source_identity_ambiguous" | "source_comparison_failed" | "source_comparison_resource_stop" | "reparent_terms_nonconformant" | "proposal_model_failed" | "idempotency_request_in_progress" | "proposal_model_unavailable" | "source_text_digest_mismatch" | "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" | "assessment_not_established" | "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" | "cursor_mismatch" | "format_unsupported" | "source_too_large" | "source_file_not_found" | "import_incomplete" | "import_too_large" | "import_already_committed" | "import_baseline_stale" | "reconciliation_undecided" | "invalid_decision" | "migration_plan_stale" | "invalid_disposition" | "sparql_unsupported" | "vocabulary_sparql_unavailable" | "sparql_deadline" | "export_unrepresentable" | "profile_layer_invalid" | "conformance_shape_invalid" | "layer_target_unresolved" | "crosswalk_invalid" | "run_too_large" | "crosswalk_run_state_conflict" | "run_incomplete" | "run_not_reviewed" | "conformance_not_accepted" | "run_view_stale" | "run_already_admitted" | "conformance_run_mismatch" | "output_declaration_refused" | "cq_suite_empty" | "theory_not_assessed" | "theory_baseline_stale" | "theory_statement_refused" | "theory_publication_mismatch" | "theory_activation_incomplete" | "run_not_resumable" | "run_resume_mismatch" | "unit_not_approved" | "unit_unclassified" | "unit_stale" | "dependency_missing" | "dependency_incompatible" | "formal_target_unreleased" | "record_version_conflict" | "unit_version_conflict" | "unit_content_mismatch" | "unit_unresolved" | "unit_unchanged" | "unit_other_revision" | "unit_withheld" | "unit_removed" | "unit_owner_invalid" | "review_level_not_met" | "reviewer_is_author" | "profile_assessment_stale" | "change_request_state" | "label_reuse_unreviewed" | "historical_context_unavailable" | "authority_revocation_not_found" | "domain_pack_context_changed" | "domain_pack_store_moved" | "domain_packs_unavailable" | "entity_not_found" | "export_tampered" | "historical_record_unavailable" | "identity_authority_revoked" | "identity_basis_unsupported" | "identity_conflict" | "identity_decision_contradicts" | "identity_decision_not_found" | "identity_entity_exists" | "identity_key_on_target" | "identity_members_invalid" | "identity_members_overlap" | "identity_non_principal" | "identity_premises_changed" | "identity_recompute_limit" | "identity_supersedes_invalid" | "identity_undetermined" | "job_finished" | "admission_target_not_operational" | "operational_roots_changed" | "job_kind_not_available" | "job_kind_engine_only" | "job_not_found" | "job_parameters_invalid" | "migration_dependents" | "migration_effect_conflict" | "migration_entity_effect" | "migration_incomplete" | "migration_not_assessed" | "migration_premises_changed" | "migration_read_restricted" | "provenance_not_a_dataset" | "provenance_not_found" | "explain_not_found" | "concept_not_found" | "recovery_target_active" | "recovery_unresolved" | "restore_format_unsupported" | "restore_identity_unverified" | "restore_plugin_mismatch" | "restore_reference_unavailable" | "restore_remap_inconsistent" | "restore_sort_unavailable" | "restore_too_large" | "software_agent_unavailable" | "source_contributions_undetermined" | "source_drift_detected" | "source_record_file_shared" | "source_record_not_found" | "source_registered"

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

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).

admission_target_not_operational (409): the admission’s target sort, or the value_sort of a nested contribution, is below no operational root, so it cannot hold admitted data; nothing was written. operational_roots_changed (409): a sort write moved a target into or out of an operational root between the admission’s proofs and its commit; retrying proves the admission again on the current roots. explain_not_found (404): the tenant holds no term with this id that the caller may read, and no derivation of one; a hidden term is answered exactly as an absent one. concept_not_found (404): the active release holds no concept with this id. job_kind_engine_only (422): the job kind is created by the engine only (an invalidation job follows a maintenance step over its declared budget, an activation or a rebuild); nothing was written. compatibility_evidence_undecodable (500): a stored compatibility block of an assessment the route reads does not decode into its typed evidence (an engine defect); nothing is answered.

The source-observation routes (captureSourceScope, declareSourceInventory, compareSourceInventories) add: source_observation_incomplete (422): a capture did not observe the whole artifact, or a declared member has no captured scope; nothing was published. source_scope_missing (409): a declared inventory or scope has no complete capture. source_observation_policy_mismatch (409): the declared policy does not fit the inventories or their observations. source_identity_unavailable (422): a record has no declared identity. source_identity_ambiguous (422): a record has several. source_comparison_failed (422): a native comparison statement failed or was not complete. source_comparison_resource_stop (503): the comparison stopped at a declared bound; no answer exists.