Compiler ErrorsOverview

Compiler Error Reference

Every validation error the Causet compiler (causet-compiler) can report — 190 codes across 11 categories. Each entry shows what triggers it, what happens if it’s left unfixed, a minimal broken example, and the fix.

Status: Available today. These codes are checked by causet build validate / causet build compile, which run entirely on your machine — no Causet Cloud account required. Each one prints the VERR_* code, the offending field path, and a message inline in your terminal; use this page to look up what the code means and how to fix it.

How to read a code

Every code starts with VERR_ (validation error). The prefix after that roughly maps to the DSL block it validates — VERR_DECISION_* comes from decisions:, VERR_ENVELOPE_* from commit_envelopes:, VERR_PROJECTION_*-style codes from projections:, and so on. Codes are grouped below by what they check, not strictly by prefix, since a few (like VERR_OWNERSHIP or VERR_SCOPE) predate that convention.

This reference covers the Product DSL (app.causet / causet.product.yaml) validated by causet-compiler. It does not cover HTTP/gRPC errors from the runtime service itself — see Debugging for that.

Categories

SectionCodesCovers
Core, Fields & Paths18Structural DSL errors — malformed YAML, unrecognised rule constructs, undeclared or misused fields, and invalid field paths.
Operations & Arrays21Errors from the ops: list inside a rule — wrong operation for a field’s type, and array-specific type checks.
Determinism & Compatibility9Expressions that would make replay non-deterministic, plus binary/schema compatibility checks between compiler versions.
Events, Intents & Sagas17Errors from the events:, intents:, and sagas: blocks, plus general Product DSL structural checks.
Scope & Execution Plan12Cross-stream field ownership and scope boundaries, plus errors from the compiled execution plan.
Commit Envelopes21Errors from the commit_envelopes: block — the two-phase-commit macro used to coordinate atomic changes across multiple entities.
Projections42Errors from the projections: block — shard keys, lookups, resolvers, partitioning, and the runtime contract projections must satisfy.
Queries & Relationships6Errors from the queries: block’s runtime contract, and from relationships: definitions.
Listeners12Errors from the listeners: block — cross-stream event subscriptions.
AI Decisions & Prompts19Errors from the decisions: and prompts: blocks, and from op: decision call sites in rules.
AI Memory & Providers13Errors from the memories: block (vector memory) and the providers: block (model backends).

Full index

Every code, alphabetically, linking straight to its entry.

CodeCategorySection
VERR_AMBIGUOUS_INTENT_HANDLERIntent ErrorsEvents, Intents & Sagas
VERR_ARITHMETIC_TARGET_NOT_NUMERICOperation CorrectnessOperations & Arrays
VERR_ARRAY_EXPECTEDArray Type ValidationOperations & Arrays
VERR_BINARY_VERSION_MISMATCHBinary CompatibilityDeterminism & Compatibility
VERR_CROSS_PLATFORM_ACCESSScope & Cross-Stream SafetyScope & Execution Plan
VERR_CROSS_STREAM_EVENT_ILLEGALEvent ErrorsEvents, Intents & Sagas
VERR_DECISION_EMITS_NOT_FOUNDAI DecisionsAI Decisions & Prompts
VERR_DECISION_EVENT_CONTRACTAI DecisionsAI Decisions & Prompts
VERR_DECISION_MEMORY_NOT_FOUNDAI DecisionsAI Decisions & Prompts
VERR_DECISION_MISSING_EMITSAI DecisionsAI Decisions & Prompts
VERR_DECISION_MISSING_EXECUTORAI DecisionsAI Decisions & Prompts
VERR_DECISION_MISSING_INPUTAI DecisionsAI Decisions & Prompts
VERR_DECISION_MISSING_OUTPUTAI DecisionsAI Decisions & Prompts
VERR_DECISION_MISSING_PROMPTAI DecisionsAI Decisions & Prompts
VERR_DECISION_MISSING_PROVIDERAI DecisionsAI Decisions & Prompts
VERR_DECISION_NOT_SIDE_EFFECTAI DecisionsAI Decisions & Prompts
VERR_DECISION_OP_INPUT_TYPE_MISMATCHAI DecisionsAI Decisions & Prompts
VERR_DECISION_OP_MISSING_INPUTAI DecisionsAI Decisions & Prompts
VERR_DECISION_OP_MISSING_REFAI DecisionsAI Decisions & Prompts
VERR_DECISION_OP_REF_NOT_FOUNDAI DecisionsAI Decisions & Prompts
VERR_DECISION_OP_UNKNOWN_INPUTAI DecisionsAI Decisions & Prompts
VERR_DECISION_PROMPT_NOT_FOUNDAI DecisionsAI Decisions & Prompts
VERR_DECISION_SCHEMA_INVALIDAI DecisionsAI Decisions & Prompts
VERR_DUPLICATECore StructureCore, Fields & Paths
VERR_EMIT_CIRCULAR_CHAINListenersListeners
VERR_ENVELOPE_EVENT_NOT_IN_REGISTRYCommit EnvelopesCommit Envelopes
VERR_ENVELOPE_INVALID_CAUSAL_MODECommit EnvelopesCommit Envelopes
VERR_ENVELOPE_INVALID_START_ACTIONCommit EnvelopesCommit Envelopes
VERR_ENVELOPE_INVALID_STATECommit EnvelopesCommit Envelopes
VERR_ENVELOPE_INVALID_TIMEOUTCommit EnvelopesCommit Envelopes
VERR_ENVELOPE_MISSING_CURSOR_FIELDCommit EnvelopesCommit Envelopes
VERR_ENVELOPE_MISSING_LIFECYCLECommit EnvelopesCommit Envelopes
VERR_ENVELOPE_MISSING_LIFECYCLE_EVENTCommit EnvelopesCommit Envelopes
VERR_ENVELOPE_MISSING_START_ACTIONCommit EnvelopesCommit Envelopes
VERR_ENVELOPE_MISSING_STATECommit EnvelopesCommit Envelopes
VERR_ENVELOPE_MISSING_TIMEOUTCommit EnvelopesCommit Envelopes
VERR_ENVELOPE_NO_PARTICIPANTSCommit EnvelopesCommit Envelopes
VERR_ENVELOPE_PARTICIPANT_DUPLICATE_NAMECommit EnvelopesCommit Envelopes
VERR_ENVELOPE_PARTICIPANT_INVALID_STATECommit EnvelopesCommit Envelopes
VERR_ENVELOPE_PARTICIPANT_INVALID_STRATEGYCommit EnvelopesCommit Envelopes
VERR_ENVELOPE_PARTICIPANT_NO_ENTITY_EXPRCommit EnvelopesCommit Envelopes
VERR_ENVELOPE_PARTICIPANT_NO_NAMECommit EnvelopesCommit Envelopes
VERR_ENVELOPE_PARTICIPANT_NO_PENDING_PATHCommit EnvelopesCommit Envelopes
VERR_ENVELOPE_PARTICIPANT_NO_STATECommit EnvelopesCommit Envelopes
VERR_ENVELOPE_PARTICIPANT_NO_STRATEGYCommit EnvelopesCommit Envelopes
VERR_ENVELOPE_PARTICIPANT_NO_VISIBLE_PATHCommit EnvelopesCommit Envelopes
VERR_EVENTEvent ErrorsEvents, Intents & Sagas
VERR_EVENT_IMMUTABLE_VIOLATIONEvent ErrorsEvents, Intents & Sagas
VERR_EVENT_INTENT_NAME_COLLISIONEvent ErrorsEvents, Intents & Sagas
VERR_EVENT_NOT_DECLAREDEvent ErrorsEvents, Intents & Sagas
VERR_EVENT_SCHEMA_MISMATCHEvent ErrorsEvents, Intents & Sagas
VERR_EXECUTION_PLAN_EMITS_MALFORMEDExecution PlanScope & Execution Plan
VERR_EXECUTION_PLAN_INTENT_STREAMExecution PlanScope & Execution Plan
VERR_EXECUTION_PLAN_NON_DETERMINISTICExecution PlanScope & Execution Plan
VERR_EXECUTION_PLAN_TARGET_STREAM_UNKNOWNExecution PlanScope & Execution Plan
VERR_EXPRESSIONExpressions & DeterminismDeterminism & Compatibility
VERR_EXTERNAL_STATE_READExpressions & DeterminismDeterminism & Compatibility
VERR_FIELD_NOT_DECLAREDField CorrectnessCore, Fields & Paths
VERR_FIELD_OWNERSHIP_VIOLATIONField CorrectnessCore, Fields & Paths
VERR_FIELD_SCOPE_MISMATCHField CorrectnessCore, Fields & Paths
VERR_FIND_WHERE_NOT_BOOLEANOperation CorrectnessOperations & Arrays
VERR_FOREACH_NOT_ITERABLEOperation CorrectnessOperations & Arrays
VERR_FORK_VIOLATIONScope & Cross-Stream SafetyScope & Execution Plan
VERR_GLOBAL_WRITE_VIOLATIONScope & Cross-Stream SafetyScope & Execution Plan
VERR_IF_CONDITION_NOT_BOOLEANOperation CorrectnessOperations & Arrays
VERR_ILLEGAL_CROSS_STREAM_WRITEScope & Cross-Stream SafetyScope & Execution Plan
VERR_ILLEGAL_ROOT_WRITEPath CorrectnessCore, Fields & Paths
VERR_IMMUTABLE_FIELD_WRITEField CorrectnessCore, Fields & Paths
VERR_INTENT_EVENT_CONFLICTIntent ErrorsEvents, Intents & Sagas
VERR_INTENT_NOT_DECLAREDIntent ErrorsEvents, Intents & Sagas
VERR_INTENT_SCHEMA_MISMATCHIntent ErrorsEvents, Intents & Sagas
VERR_INVALID_ARRAY_READArray Type ValidationOperations & Arrays
VERR_INVALID_ARRAY_WRITEArray Type ValidationOperations & Arrays
VERR_INVALID_DEFAULT_VALUEField CorrectnessCore, Fields & Paths
VERR_INVALID_ELEMENT_PATHArray Type ValidationOperations & Arrays
VERR_INVALID_FOR_EACHArray Type ValidationOperations & Arrays
VERR_INVALID_ITEM_FIELD_TYPEArray Type ValidationOperations & Arrays
VERR_INVALID_ITEM_TYPEArray Type ValidationOperations & Arrays
VERR_INVALID_JSON_PATHPath CorrectnessCore, Fields & Paths
VERR_IR_OP_UNKNOWNCore StructureCore, Fields & Paths
VERR_LISTENER_CIRCULAR_CHAINListenersListeners
VERR_LISTENER_DUPLICATE_ALIASListenersListeners
VERR_LISTENER_EMPTY_MUTATEListenersListeners
VERR_LISTENER_EVENT_NOT_FOUNDListenersListeners
VERR_LISTENER_FIELD_NOT_FOUNDListenersListeners
VERR_LISTENER_INVALID_LOOKUPListenersListeners
VERR_LISTENER_INVALID_OPListenersListeners
VERR_LISTENER_INVALID_TARGETListenersListeners
VERR_LISTENER_NON_DETERMINISTICListenersListeners
VERR_LISTENER_OP_TYPE_MISMATCHListenersListeners
VERR_LISTENER_RESOLVE_STREAM_NOT_FOUNDListenersListeners
VERR_MEMORY_EVENT_NOT_FOUNDAI MemoryAI Memory & Providers
VERR_MEMORY_MISSING_CONTENTAI MemoryAI Memory & Providers
VERR_MEMORY_MISSING_EMBEDDINGAI MemoryAI Memory & Providers
VERR_MEMORY_MISSING_PARTITION_BYAI MemoryAI Memory & Providers
VERR_MEMORY_MISSING_SOURCE_EVENTSAI MemoryAI Memory & Providers
VERR_MEMORY_PARTITION_FIELD_MISSINGAI MemoryAI Memory & Providers
VERR_MEMORY_UNKNOWN_VARIABLEAI MemoryAI Memory & Providers
VERR_MERGE_TARGET_NOT_OBJECTOperation CorrectnessOperations & Arrays
VERR_MISSING_FIELDCore StructureCore, Fields & Paths
VERR_MISSING_ITEM_FIELDArray Type ValidationOperations & Arrays
VERR_MISSING_LOCK_FOR_CROSS_STREAMScope & Cross-Stream SafetyScope & Execution Plan
VERR_MODE_UNKNOWNCore StructureCore, Fields & Paths
VERR_MUTABLE_EVENT_DERIVATIONExpressions & DeterminismDeterminism & Compatibility
VERR_NON_DETERMINISTIC_EXPRESSIONExpressions & DeterminismDeterminism & Compatibility
VERR_OP_UNKNOWNCore StructureCore, Fields & Paths
VERR_OWNERSHIPScope & Cross-Stream SafetyScope & Execution Plan
VERR_PATH_INVALIDPath CorrectnessCore, Fields & Paths
VERR_PATH_NOT_RESOLVABLEPath CorrectnessCore, Fields & Paths
VERR_PATH_SCOPE_MISMATCHPath CorrectnessCore, Fields & Paths
VERR_PREFLIGHT_SIDE_EFFECTOperation CorrectnessOperations & Arrays
VERR_PRODUCT_EVENT_REFProduct DSLEvents, Intents & Sagas
VERR_PRODUCT_FIELD_TYPEProduct DSLEvents, Intents & Sagas
VERR_PRODUCT_INTENT_IN_RULEProduct DSLEvents, Intents & Sagas
VERR_PRODUCT_STATE_REFProduct DSLEvents, Intents & Sagas
VERR_PRODUCT_STRUCTUREProduct DSLEvents, Intents & Sagas
VERR_PROJECTION_AGGREGATE_DERIVE_FIELD_MISSINGProjection Runtime-ContractProjections
VERR_PROJECTION_AGGREGATE_EVENT_FIELD_INVALIDProjection Runtime-ContractProjections
VERR_PROJECTION_AGGREGATE_FIELD_MISSING_TYPEProjection Runtime-ContractProjections
VERR_PROJECTION_COMPLEXITY_EXCEEDEDProjection Lookup SafetyProjections
VERR_PROJECTION_COST_TOO_HIGHProjection Lookup SafetyProjections
VERR_PROJECTION_DUPLICATE_TABLE_PK_CONFLICTProjection Runtime-ContractProjections
VERR_PROJECTION_FIELD_TYPE_UNKNOWNProjection Runtime-ContractProjections
VERR_PROJECTION_INDEX_COLUMN_MISSINGProjection Runtime-ContractProjections
VERR_PROJECTION_INDEX_TYPE_MISMATCHProjection Runtime-ContractProjections
VERR_PROJECTION_LOOKUP_AGGREGATION_VIOLATIONProjection Lookup SafetyProjections
VERR_PROJECTION_LOOKUP_BUCKET_VIOLATIONProjection Lookup SafetyProjections
VERR_PROJECTION_LOOKUP_DYNAMIC_VIOLATIONProjection Lookup SafetyProjections
VERR_PROJECTION_LOOKUP_FANOUT_VIOLATIONProjection Lookup SafetyProjections
VERR_PROJECTION_LOOKUP_FIELD_NOT_FOUNDProjection Runtime-ContractProjections
VERR_PROJECTION_LOOKUP_FIELD_PATH_MISSING_STATEProjection Runtime-ContractProjections
VERR_PROJECTION_LOOKUP_LIMIT_EXCEEDEDProjection Lookup SafetyProjections
VERR_PROJECTION_LOOKUP_NESTED_VIOLATIONProjection Lookup SafetyProjections
VERR_PROJECTION_PARTITION_FIELD_MISSINGProjection PartitioningProjections
VERR_PROJECTION_PARTITION_FIELD_NOT_IN_PKProjection PartitioningProjections
VERR_PROJECTION_PARTITION_HASH_COUNT_REQUIREDProjection PartitioningProjections
VERR_PROJECTION_PARTITION_HASH_COUNT_TOO_HIGHProjection PartitioningProjections
VERR_PROJECTION_PARTITION_INVALID_FIELD_TYPEProjection PartitioningProjections
VERR_PROJECTION_PARTITION_INVALID_STRATEGYProjection PartitioningProjections
VERR_PROJECTION_PARTITION_KEY_UPDATE_CONFLICTProjection PartitioningProjections
VERR_PROJECTION_PARTITION_RANGE_INTERVAL_INVALIDProjection PartitioningProjections
VERR_PROJECTION_PARTITION_RANGE_INTERVAL_REQUIREDProjection PartitioningProjections
VERR_PROJECTION_PARTITION_RANGE_PRECREATE_NEGATIVEProjection PartitioningProjections
VERR_PROJECTION_PARTITION_STRAY_FIELDProjection PartitioningProjections
VERR_PROJECTION_PARTITION_TABLE_CONFLICTProjection PartitioningProjections
VERR_PROJECTION_RESOLVER_CIRCULARProjection ResolverProjections
VERR_PROJECTION_RESOLVER_DUPLICATE_ALIASProjection ResolverProjections
VERR_PROJECTION_RESOLVER_ENTITY_NOT_FOUNDProjection ResolverProjections
VERR_PROJECTION_RESOLVER_INVALID_PATHProjection ResolverProjections
VERR_PROJECTION_RESOLVER_KEY_INVALIDProjection ResolverProjections
VERR_PROJECTION_RESOLVER_KEY_NOT_FOUNDProjection ResolverProjections
VERR_PROJECTION_RESOLVER_RESERVED_ALIASProjection ResolverProjections
VERR_PROJECTION_RESOLVER_UNDEFINED_ALIASProjection ResolverProjections
VERR_PROJECTION_SHARD_INVALID_COUNTProjection ShardProjections
VERR_PROJECTION_SHARD_INVALID_LOCATIONProjection ShardProjections
VERR_PROJECTION_SHARD_NON_DETERMINISTICProjection ShardProjections
VERR_PROJECTION_TABLE_PRIMARY_KEY_CONFLICTProjection Runtime-ContractProjections
VERR_PROJECTION_TIER_VIOLATIONProjection Lookup SafetyProjections
VERR_PROMPT_MISSING_INSTRUCTIONSAI PromptsAI Decisions & Prompts
VERR_PROMPT_UNKNOWN_VARIABLEAI PromptsAI Decisions & Prompts
VERR_PROVIDER_DUPLICATEAI ProvidersAI Memory & Providers
VERR_PROVIDER_INVALID_TIMEOUTAI ProvidersAI Memory & Providers
VERR_PROVIDER_MISSING_EXECUTORAI ProvidersAI Memory & Providers
VERR_PROVIDER_MISSING_MODELAI ProvidersAI Memory & Providers
VERR_PROVIDER_NOT_FOUNDAI ProvidersAI Memory & Providers
VERR_PROVIDER_UNKNOWN_EXECUTORAI ProvidersAI Memory & Providers
VERR_PUSH_TARGET_NOT_ARRAYOperation CorrectnessOperations & Arrays
VERR_QUERY_INPUT_PARAM_UNDECLAREDQuery Runtime-ContractQueries & Relationships
VERR_QUERY_OPERATOR_TYPE_MISMATCHQuery Runtime-ContractQueries & Relationships
VERR_QUERY_WINDOW_ALLOWED_INVALIDQuery Runtime-ContractQueries & Relationships
VERR_QUERY_WINDOW_VALUE_INVALIDQuery Runtime-ContractQueries & Relationships
VERR_RELATIONSHIP_EMIT_EVENT_DUPLICATERelationshipsQueries & Relationships
VERR_RELATIONSHIP_STREAM_NOT_FOUNDRelationshipsQueries & Relationships
VERR_REMOVE_REQUIRED_ARRAYArray Type ValidationOperations & Arrays
VERR_REMOVE_TARGET_INVALIDOperation CorrectnessOperations & Arrays
VERR_RESOURCE_REFPath CorrectnessCore, Fields & Paths
VERR_RULESET_EMPTYCore StructureCore, Fields & Paths
VERR_RULESET_YAML_INVALIDCore StructureCore, Fields & Paths
VERR_SAGAWorkflows (Sagas)Events, Intents & Sagas
VERR_SCHEMA_SHAPE_MISMATCHArray Type ValidationOperations & Arrays
VERR_SCOPEScope & Cross-Stream SafetyScope & Execution Plan
VERR_SCOPE_ISOLATION_VIOLATIONScope & Cross-Stream SafetyScope & Execution Plan
VERR_SET_TYPE_MISMATCHOperation CorrectnessOperations & Arrays
VERR_SORT_TARGET_NOT_SORTABLEOperation CorrectnessOperations & Arrays
VERR_SPEL_FORBIDDEN_FUNCTIONExpressions & DeterminismDeterminism & Compatibility
VERR_UNHANDLED_INTENTIntent ErrorsEvents, Intents & Sagas
VERR_UNSERIALIZABLE_EXPRESSIONBinary CompatibilityDeterminism & Compatibility
VERR_UNSET_REQUIRED_FIELDOperation CorrectnessOperations & Arrays
VERR_UNSTABLE_RESOURCE_REFERENCEExpressions & DeterminismDeterminism & Compatibility
VERR_UNSUPPORTED_OP_IN_BINARYBinary CompatibilityDeterminism & Compatibility