---
title: Error codes
description: Every RelKit error and warning code, what it means and what to do next.
sidebar:
  icon: triangle-alert
---

{/* Generated by apps/docs/scripts/generate.ts. Do not edit. */}

Every error and warning RelKit prints starts with a `RELKIT_*` code and ends with a link to that code's page. Each page says what happened and what to do next.

| Code                                                                                                                          | Problem                                                              |
| ----------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |
| [`RELKIT_ADD_API_UNAVAILABLE`](/docs/errors/relkit-add-api-unavailable)                                                       | Scaffolding support could not be loaded                              |
| [`RELKIT_ADD_CANCELLED`](/docs/errors/relkit-add-cancelled)                                                                   | relkit add was cancelled                                             |
| [`RELKIT_ADD_COLLISION`](/docs/errors/relkit-add-collision)                                                                   | Added code would overwrite existing code                             |
| [`RELKIT_ADD_INSTALLATION_FAILED`](/docs/errors/relkit-add-installation-failed)                                               | Dependency installation failed after relkit add                      |
| [`RELKIT_ADD_INVALID_PROJECT`](/docs/errors/relkit-add-invalid-project)                                                       | Project cannot be extended by relkit add                             |
| [`RELKIT_ADD_UNSUPPORTED_SOURCE_SHAPE`](/docs/errors/relkit-add-unsupported-source-shape)                                     | Source file is too customized to edit                                |
| [`RELKIT_ADD_USAGE`](/docs/errors/relkit-add-usage)                                                                           | Invalid relkit add arguments                                         |
| [`RELKIT_ADD_VALIDATION_FAILED`](/docs/errors/relkit-add-validation-failed)                                                   | Project check failed after relkit add                                |
| [`RELKIT_AGENT_ACCESS_DENIED`](/docs/errors/relkit-agent-access-denied)                                                       | Agent tool call was refused                                          |
| [`RELKIT_AGENT_CANCELLED`](/docs/errors/relkit-agent-cancelled)                                                               | Agent run was cancelled                                              |
| [`RELKIT_AGENT_CONTROL_INVALID`](/docs/errors/relkit-agent-control-invalid)                                                   | Agent is missing the approve control                                 |
| [`RELKIT_AGENT_DEADLINE_INVALID`](/docs/errors/relkit-agent-deadline-invalid)                                                 | Agent timeout or deadline is invalid                                 |
| [`RELKIT_AGENT_INPUT_VALIDATION`](/docs/errors/relkit-agent-input-validation)                                                 | Agent input is invalid                                               |
| [`RELKIT_AGENT_INVOCATION_FAILED`](/docs/errors/relkit-agent-invocation-failed)                                               | Agent run failed                                                     |
| [`RELKIT_AGENT_JSON_INVALID`](/docs/errors/relkit-agent-json-invalid)                                                         | Agent value is not plain JSON                                        |
| [`RELKIT_AGENT_LIMIT_INVALID`](/docs/errors/relkit-agent-limit-invalid)                                                       | Agent size limit is invalid                                          |
| [`RELKIT_AGENT_MODEL_ERROR`](/docs/errors/relkit-agent-model-error)                                                           | Model returned an error                                              |
| [`RELKIT_AGENT_MODEL_UNAVAILABLE`](/docs/errors/relkit-agent-model-unavailable)                                               | Agent model is not available                                         |
| [`RELKIT_AGENT_OUTPUT_VALIDATION`](/docs/errors/relkit-agent-output-validation)                                               | Agent output is invalid                                              |
| [`RELKIT_AGENT_RESPONSE_LIMIT`](/docs/errors/relkit-agent-response-limit)                                                     | Agent value is too large                                             |
| [`RELKIT_AGENT_RESUME_UNAVAILABLE`](/docs/errors/relkit-agent-resume-unavailable)                                             | No agent run is waiting                                              |
| [`RELKIT_AGENT_RUN_FAILED`](/docs/errors/relkit-agent-run-failed)                                                             | Agent run failed                                                     |
| [`RELKIT_AGENT_RUN_PENDING`](/docs/errors/relkit-agent-run-pending)                                                           | Agent thread is waiting for approval                                 |
| [`RELKIT_AGENT_STEP_LIMIT`](/docs/errors/relkit-agent-step-limit)                                                             | Agent hit its step limit                                             |
| [`RELKIT_AGENT_TIMEOUT`](/docs/errors/relkit-agent-timeout)                                                                   | Agent run timed out                                                  |
| [`RELKIT_AGENT_TOOL_DENIED`](/docs/errors/relkit-agent-tool-denied)                                                           | Agent tool call was denied                                           |
| [`RELKIT_AGENT_TOOL_FAILED`](/docs/errors/relkit-agent-tool-failed)                                                           | Agent tool call failed                                               |
| [`RELKIT_AGENT_TOOL_INVALID`](/docs/errors/relkit-agent-tool-invalid)                                                         | Agent tool is invalid                                                |
| [`RELKIT_AGENT_TOOL_LIMIT`](/docs/errors/relkit-agent-tool-limit)                                                             | Agent hit its tool-call limit                                        |
| [`RELKIT_AGENT_TOOL_UNKNOWN`](/docs/errors/relkit-agent-tool-unknown)                                                         | Agent called an unknown tool                                         |
| [`RELKIT_APP_DUPLICATE`](/docs/errors/relkit-app-duplicate)                                                                   | More than one app config is exported                                 |
| [`RELKIT_APPLICATION_BUILD_UNAVAILABLE`](/docs/errors/relkit-application-build-unavailable)                                   | No build for createRelkit                                            |
| [`RELKIT_APPLICATION_NOT_RUNNING`](/docs/errors/relkit-application-not-running)                                               | No application is running                                            |
| [`RELKIT_APPROVAL_DENIED`](/docs/errors/relkit-approval-denied)                                                               | Tool call was denied                                                 |
| [`RELKIT_APPROVAL_INVALID`](/docs/errors/relkit-approval-invalid)                                                             | Approval request is invalid                                          |
| [`RELKIT_APPROVAL_REQUIRED`](/docs/errors/relkit-approval-required)                                                           | Tool call needs approval                                             |
| [`RELKIT_APPROVAL_STATE_INVALID`](/docs/errors/relkit-approval-state-invalid)                                                 | Approval cannot change to this state                                 |
| [`RELKIT_ARTIFACT_WRITE_FAILED`](/docs/errors/relkit-artifact-write-failed)                                                   | Generated files could not be written                                 |
| [`RELKIT_AUTH_DUPLICATE`](/docs/errors/relkit-auth-duplicate)                                                                 | Better Auth is set up more than once                                 |
| [`RELKIT_AUTH_SCHEMA_MISMATCH`](/docs/errors/relkit-auth-schema-mismatch)                                                     | The database schema does not match the installed Better Auth release |
| [`RELKIT_BOUNDARY_ANALYSIS_LIMIT`](/docs/errors/relkit-boundary-analysis-limit)                                               | Dynamic import cannot be checked                                     |
| [`RELKIT_BUCKET_CAPABILITY_UNSUPPORTED`](/docs/errors/relkit-bucket-capability-unsupported)                                   | Bucket provider does not support this operation                      |
| [`RELKIT_BUCKET_CURSOR_INVALID`](/docs/errors/relkit-bucket-cursor-invalid)                                                   | Bucket list cursor or limit is not valid                             |
| [`RELKIT_BUCKET_DEPENDENCY_UNDECLARED`](/docs/errors/relkit-bucket-dependency-undeclared)                                     | Bucket is not declared on this function                              |
| [`RELKIT_BUCKET_KEY_INVALID`](/docs/errors/relkit-bucket-key-invalid)                                                         | Bucket key is not valid                                              |
| [`RELKIT_BUCKET_POLICY_INVALID`](/docs/errors/relkit-bucket-policy-invalid)                                                   | Bucket object breaks the bucket policy                               |
| [`RELKIT_BUCKET_PROFILE_DUPLICATE`](/docs/errors/relkit-bucket-profile-duplicate)                                             | Bucket profile is used twice                                         |
| [`RELKIT_BUCKET_PROVIDER_UNAVAILABLE`](/docs/errors/relkit-bucket-provider-unavailable)                                       | Bucket provider is missing an operation                              |
| [`RELKIT_BUCKET_STATE_INVALID`](/docs/errors/relkit-bucket-state-invalid)                                                     | Local bucket storage is not usable                                   |
| [`RELKIT_BUILD_FAILED`](/docs/errors/relkit-build-failed)                                                                     | Build failed                                                         |
| [`RELKIT_BUILD_LOCAL_DURABLE_PROVIDER`](/docs/errors/relkit-build-local-durable-provider)                                     | Production build uses the local provider for durable work            |
| [`RELKIT_BUILD_USAGE`](/docs/errors/relkit-build-usage)                                                                       | Invalid relkit build arguments                                       |
| [`RELKIT_CACHE_CAPABILITY_UNSUPPORTED`](/docs/errors/relkit-cache-capability-unsupported)                                     | Cache provider does not support this operation                       |
| [`RELKIT_CACHE_DEPENDENCY_UNDECLARED`](/docs/errors/relkit-cache-dependency-undeclared)                                       | Cache is not declared on this function                               |
| [`RELKIT_CACHE_INCREMENT_UNSUPPORTED`](/docs/errors/relkit-cache-increment-unsupported)                                       | Cache increment needs a numeric value                                |
| [`RELKIT_CACHE_KEY_INVALID`](/docs/errors/relkit-cache-key-invalid)                                                           | Cache key is not valid JSON                                          |
| [`RELKIT_CACHE_POLICY_INVALID`](/docs/errors/relkit-cache-policy-invalid)                                                     | Cache operation breaks the cache policy                              |
| [`RELKIT_CACHE_PROVIDER_UNAVAILABLE`](/docs/errors/relkit-cache-provider-unavailable)                                         | Cache provider is missing an operation                               |
| [`RELKIT_CACHE_SCHEMA_VALIDATION`](/docs/errors/relkit-cache-schema-validation)                                               | Cache key or value does not match its schema                         |
| [`RELKIT_CACHE_STATE_INVALID`](/docs/errors/relkit-cache-state-invalid)                                                       | Local cache snapshot is not usable                                   |
| [`RELKIT_CACHE_TTL_POLICY`](/docs/errors/relkit-cache-ttl-policy)                                                             | Cache TTL is not valid                                               |
| [`RELKIT_CACHE_VALUE_INVALID`](/docs/errors/relkit-cache-value-invalid)                                                       | Cache value is not valid JSON                                        |
| [`RELKIT_CANCELLED`](/docs/errors/relkit-cancelled)                                                                           | Operation was cancelled                                              |
| [`RELKIT_CANDIDATE_ACTIVATION_MISMATCH`](/docs/errors/relkit-candidate-activation-mismatch)                                   | Reloaded app does not match the build                                |
| [`RELKIT_CANDIDATE_API_VERSION_UNSUPPORTED`](/docs/errors/relkit-candidate-api-version-unsupported)                           | Reloaded app uses an unsupported internal API                        |
| [`RELKIT_CANDIDATE_ENVIRONMENT_NOT_READY`](/docs/errors/relkit-candidate-environment-not-ready)                               | Reloaded app environment is not ready                                |
| [`RELKIT_CANDIDATE_GENERATION_MISMATCH`](/docs/errors/relkit-candidate-generation-mismatch)                                   | Reloaded app reported the wrong version                              |
| [`RELKIT_CANDIDATE_GENERATOR_VERSION_UNSUPPORTED`](/docs/errors/relkit-candidate-generator-version-unsupported)               | Reloaded app was built by a different RelKit version                 |
| [`RELKIT_CANDIDATE_GRAPH_HASH_MISMATCH`](/docs/errors/relkit-candidate-graph-hash-mismatch)                                   | Reloaded app does not match its graph                                |
| [`RELKIT_CANDIDATE_GRAPH_VERSION_UNSUPPORTED`](/docs/errors/relkit-candidate-graph-version-unsupported)                       | Reloaded app uses an unsupported graph version                       |
| [`RELKIT_CANDIDATE_HEALTH_TIMEOUT`](/docs/errors/relkit-candidate-health-timeout)                                             | Reloaded app did not become healthy in time                          |
| [`RELKIT_CANDIDATE_MANIFEST_VERSION_UNSUPPORTED`](/docs/errors/relkit-candidate-manifest-version-unsupported)                 | Reloaded app uses an unsupported manifest version                    |
| [`RELKIT_CANDIDATE_PROVIDER_NOT_READY`](/docs/errors/relkit-candidate-provider-not-ready)                                     | Reloaded app services are not ready                                  |
| [`RELKIT_CANDIDATE_RESPONSE_INVALID`](/docs/errors/relkit-candidate-response-invalid)                                         | Reloaded app returned an invalid health response                     |
| [`RELKIT_CHECK_FAILED`](/docs/errors/relkit-check-failed)                                                                     | Project check failed                                                 |
| [`RELKIT_CHECK_USAGE`](/docs/errors/relkit-check-usage)                                                                       | Invalid relkit check arguments                                       |
| [`RELKIT_CLI_CANCELLED`](/docs/errors/relkit-cli-cancelled)                                                                   | Command menu was cancelled                                           |
| [`RELKIT_CLI_CLEANUP_FAILED`](/docs/errors/relkit-cli-cleanup-failed)                                                         | Cleanup failed after the command finished                            |
| [`RELKIT_CLI_USAGE`](/docs/errors/relkit-cli-usage)                                                                           | Invalid relkit arguments                                             |
| [`RELKIT_CLIENT_CONTRACT_DRIFT`](/docs/errors/relkit-client-contract-drift)                                                   | Generated client is out of date                                      |
| [`RELKIT_CLIENT_CONTRACT_INVALID`](/docs/errors/relkit-client-contract-invalid)                                               | Client contract is invalid                                           |
| [`RELKIT_CLIENT_CONTRACT_MISSING`](/docs/errors/relkit-client-contract-missing)                                               | No client contract in the output directory                           |
| [`RELKIT_CLIENT_CONTRACT_TOO_LARGE`](/docs/errors/relkit-client-contract-too-large)                                           | Client contract is too large                                         |
| [`RELKIT_CLIENT_PROTOCOL_UNSUPPORTED`](/docs/errors/relkit-client-protocol-unsupported)                                       | Client contract version is not supported                             |
| [`RELKIT_CLIENT_PULL_FAILED`](/docs/errors/relkit-client-pull-failed)                                                         | Client contract download failed                                      |
| [`RELKIT_CLIENT_URL_INVALID`](/docs/errors/relkit-client-url-invalid)                                                         | Client base URL is not HTTP or HTTPS                                 |
| [`RELKIT_CLIENT_USAGE`](/docs/errors/relkit-client-usage)                                                                     | Invalid relkit client arguments                                      |
| [`RELKIT_COMMAND_UNAVAILABLE`](/docs/errors/relkit-command-unavailable)                                                       | Command is not implemented                                           |
| [`RELKIT_CONFIG_APPLICATION_BEHAVIOR`](/docs/errors/relkit-config-application-behavior)                                       | Tooling config has an invalid value                                  |
| [`RELKIT_CONFIG_EXCLUDE_INVALID`](/docs/errors/relkit-config-exclude-invalid)                                                 | Exclude setting is invalid                                           |
| [`RELKIT_CONFIG_INSPECTOR_INVALID`](/docs/errors/relkit-config-inspector-invalid)                                             | Inspector settings are invalid                                       |
| [`RELKIT_CONFIG_KEY_NOT_ALLOWED`](/docs/errors/relkit-config-key-not-allowed)                                                 | Unknown tooling config setting                                       |
| [`RELKIT_CONFIG_LEGACY_KEY`](/docs/errors/relkit-config-legacy-key)                                                           | Tooling config uses a removed setting                                |
| [`RELKIT_CONFIG_PATH_INVALID`](/docs/errors/relkit-config-path-invalid)                                                       | Config path is invalid                                               |
| [`RELKIT_CONFIG_PATH_OUTSIDE_ROOT`](/docs/errors/relkit-config-path-outside-root)                                             | Config path points outside the project                               |
| [`RELKIT_CONFIG_PORT_INVALID`](/docs/errors/relkit-config-port-invalid)                                                       | Port is out of range                                                 |
| [`RELKIT_CONFIG_ROOT_INVALID`](/docs/errors/relkit-config-root-invalid)                                                       | Project folder or config is invalid                                  |
| [`RELKIT_CONFIG_SOURCE_INVALID`](/docs/errors/relkit-config-source-invalid)                                                   | Source setting is invalid                                            |
| [`RELKIT_CONVENTION_DIRECTORY`](/docs/errors/relkit-convention-directory)                                                     | Definition is outside its usual folder                               |
| [`RELKIT_CONVENTION_EXPORT`](/docs/errors/relkit-convention-export)                                                           | Definition file has no default export                                |
| [`RELKIT_CONVENTION_ID_STYLE`](/docs/errors/relkit-convention-id-style)                                                       | ID does not use the recommended style                                |
| [`RELKIT_CONVENTION_MULTIPLE_KINDS`](/docs/errors/relkit-convention-multiple-kinds)                                           | File defines several kinds of things                                 |
| [`RELKIT_CONVENTION_SUFFIX`](/docs/errors/relkit-convention-suffix)                                                           | File name lacks the recommended suffix                               |
| [`RELKIT_CREATE_API_UNAVAILABLE`](/docs/errors/relkit-create-api-unavailable)                                                 | Project generator could not be loaded                                |
| [`RELKIT_CREATE_CANCELLED`](/docs/errors/relkit-create-cancelled)                                                             | Project creation was cancelled                                       |
| [`RELKIT_CREATE_CLI_UNAVAILABLE`](/docs/errors/relkit-create-cli-unavailable)                                                 | RelKit CLI missing in the new project                                |
| [`RELKIT_CREATE_DESTINATION_EXISTS`](/docs/errors/relkit-create-destination-exists)                                           | Destination directory already exists                                 |
| [`RELKIT_CREATE_DESTINATION_INVALID`](/docs/errors/relkit-create-destination-invalid)                                         | Destination path is invalid                                          |
| [`RELKIT_CREATE_DESTINATION_NOT_EMPTY`](/docs/errors/relkit-create-destination-not-empty)                                     | Destination directory is not empty                                   |
| [`RELKIT_CREATE_DESTINATION_UNSAFE`](/docs/errors/relkit-create-destination-unsafe)                                           | Destination path is unsafe                                           |
| [`RELKIT_CREATE_FAILED`](/docs/errors/relkit-create-failed)                                                                   | Project creation failed                                              |
| [`RELKIT_CREATE_NAME_INVALID`](/docs/errors/relkit-create-name-invalid)                                                       | Project name is not a valid package name                             |
| [`RELKIT_CREATE_TEMPLATE_INVALID`](/docs/errors/relkit-create-template-invalid)                                               | Project template is invalid                                          |
| [`RELKIT_CREATE_TEMPLATE_MISSING`](/docs/errors/relkit-create-template-missing)                                               | Project template not found                                           |
| [`RELKIT_CREATE_UNTESTED`](/docs/modules/cli/relkit-create-untested)                                                          | Project combination has not been tested                              |
| [`RELKIT_CREATE_USAGE`](/docs/errors/relkit-create-usage)                                                                     | Invalid create arguments                                             |
| [`RELKIT_DB_CONFIG`](/docs/errors/relkit-db-config)                                                                           | Invalid database migration configuration                             |
| [`RELKIT_DB_DEPENDENCY`](/docs/errors/relkit-db-dependency)                                                                   | Drizzle is not installed                                             |
| [`RELKIT_DB_HISTORY`](/docs/errors/relkit-db-history)                                                                         | Migration history is missing or incompatible                         |
| [`RELKIT_DB_MIGRATE_FAILED`](/docs/errors/relkit-db-migrate-failed)                                                           | Database migration failed                                            |
| [`RELKIT_DEPENDENCY_ADAPTER_MISSING`](/docs/errors/relkit-dependency-adapter-missing)                                         | Integration package is not installed                                 |
| [`RELKIT_DEPENDENCY_INITIALIZATION_FAILED`](/docs/errors/relkit-dependency-initialization-failed)                             | Integration package failed to start                                  |
| [`RELKIT_DEPENDENCY_MISSING`](/docs/errors/relkit-dependency-missing)                                                         | Required package is not installed                                    |
| [`RELKIT_DEPENDENCY_NOT_CONFIGURED`](/docs/errors/relkit-dependency-not-configured)                                           | Dependency is not configured                                         |
| [`RELKIT_DEPENDENCY_VERSION_UNSUPPORTED`](/docs/errors/relkit-dependency-version-unsupported)                                 | Installed package version is not supported                           |
| [`RELKIT_DEPLOY_BUILD_FAILED`](/docs/errors/relkit-deploy-build-failed)                                                       | Build failed before deployment                                       |
| [`RELKIT_DEPLOY_CHECK_FAILED`](/docs/errors/relkit-deploy-check-failed)                                                       | Project check failed before deployment                               |
| [`RELKIT_DEPLOY_CONFIGURATION_MISSING`](/docs/errors/relkit-deploy-configuration-missing)                                     | Deployment configuration is missing                                  |
| [`RELKIT_DEPLOY_FAILED`](/docs/errors/relkit-deploy-failed)                                                                   | Deployment failed                                                    |
| [`RELKIT_DEPLOY_GRAPH_INVALID`](/docs/errors/relkit-deploy-graph-invalid)                                                     | Application graph cannot be deployed                                 |
| [`RELKIT_DEPLOY_GRAPH_VERSION_UNSUPPORTED`](/docs/errors/relkit-deploy-graph-version-unsupported)                             | Application graph version is not supported                           |
| [`RELKIT_DEPLOY_INIT_CONFLICT`](/docs/errors/relkit-deploy-init-conflict)                                                     | relkit deploy init would overwrite a different file                  |
| [`RELKIT_DEPLOY_LIVE_OBJECT_UNSUPPORTED`](/docs/errors/relkit-deploy-live-object-unsupported)                                 | Graph contains a live object                                         |
| [`RELKIT_DEPLOY_PLAN_INVALID`](/docs/errors/relkit-deploy-plan-invalid)                                                       | Saved deployment plan is not valid JSON                              |
| [`RELKIT_DEPLOY_PROFILE_UNSUPPORTED`](/docs/errors/relkit-deploy-profile-unsupported)                                         | Provider profile does not support a feature                          |
| [`RELKIT_DEPLOY_ROLE_INVALID`](/docs/errors/relkit-deploy-role-invalid)                                                       | Deployment has more than one integration for a role                  |
| [`RELKIT_DEPLOY_ROLE_MISSING`](/docs/errors/relkit-deploy-role-missing)                                                       | Deployment is missing a required integration                         |
| [`RELKIT_DEPLOY_SECRET_UNSUPPORTED`](/docs/errors/relkit-deploy-secret-unsupported)                                           | Graph contains a secret value                                        |
| [`RELKIT_DEPLOY_USAGE`](/docs/errors/relkit-deploy-usage)                                                                     | Invalid relkit deploy arguments                                      |
| [`RELKIT_DEPLOYMENT_PLAN_INVALID`](/docs/errors/relkit-deployment-plan-invalid)                                               | Deployment plan is invalid                                           |
| [`RELKIT_DEPLOYMENT_PLAN_VERSION_UNSUPPORTED`](/docs/errors/relkit-deployment-plan-version-unsupported)                       | Deployment plan version is not supported                             |
| [`RELKIT_DEPRECATED_APP_PACKAGE`](/docs/errors/relkit-deprecated-app-package)                                                 | @relkit/app is deprecated                                            |
| [`RELKIT_DEPRECATED_BETTER_AUTH_OPTIONS`](/docs/errors/relkit-deprecated-better-auth-options)                                 | Better Auth options are deprecated                                   |
| [`RELKIT_DEPRECATED_TASK_LOGGING`](/docs/errors/relkit-deprecated-task-logging)                                               | logging of a task is deprecated                                      |
| [`RELKIT_DESCRIPTOR_IDENTITY_CONFLICT`](/docs/errors/relkit-descriptor-identity-conflict)                                     | Definition has conflicting IDs                                       |
| [`RELKIT_DESCRIPTOR_INVALID`](/docs/errors/relkit-descriptor-invalid)                                                         | Definition is invalid                                                |
| [`RELKIT_DEV_COMPILE_FAILED`](/docs/errors/relkit-dev-compile-failed)                                                         | Project has errors at dev startup                                    |
| [`RELKIT_DEV_USAGE`](/docs/errors/relkit-dev-usage)                                                                           | Invalid relkit dev arguments                                         |
| [`RELKIT_DOCKER_ARGUMENT_INVALID`](/docs/errors/relkit-docker-argument-invalid)                                               | Docker setting is invalid                                            |
| [`RELKIT_DOCKER_CANCELLED`](/docs/errors/relkit-docker-cancelled)                                                             | Docker operation was cancelled                                       |
| [`RELKIT_DOCKER_COMMAND_FAILED`](/docs/errors/relkit-docker-command-failed)                                                   | Docker command failed                                                |
| [`RELKIT_DOCKER_COMMAND_TIMEOUT`](/docs/errors/relkit-docker-command-timeout)                                                 | Docker command timed out                                             |
| [`RELKIT_DOCKER_HEALTH_FAILED`](/docs/errors/relkit-docker-health-failed)                                                     | Docker container is unhealthy                                        |
| [`RELKIT_DOCKER_HEALTH_TIMEOUT`](/docs/errors/relkit-docker-health-timeout)                                                   | Docker container did not become healthy                              |
| [`RELKIT_DOCKER_OUTPUT_LIMIT`](/docs/errors/relkit-docker-output-limit)                                                       | Docker output is too large                                           |
| [`RELKIT_DOCKER_RESPONSE_INVALID`](/docs/errors/relkit-docker-response-invalid)                                               | Docker returned unexpected data                                      |
| [`RELKIT_DOCKER_UNAVAILABLE`](/docs/errors/relkit-docker-unavailable)                                                         | Docker is not available                                              |
| [`RELKIT_DOCTOR_FAILED`](/docs/errors/relkit-doctor-failed)                                                                   | relkit doctor could not finish                                       |
| [`RELKIT_DOCTOR_USAGE`](/docs/errors/relkit-doctor-usage)                                                                     | Invalid relkit doctor arguments                                      |
| [`RELKIT_DOMAIN_BOUNDARY`](/docs/errors/relkit-domain-boundary)                                                               | Import crosses a domain boundary                                     |
| [`RELKIT_DOMAIN_INVALID`](/docs/errors/relkit-domain-invalid)                                                                 | Domain is set up incorrectly                                         |
| [`RELKIT_DRAIN_STATE_INVALID`](/docs/errors/relkit-drain-state-invalid)                                                       | Previous app version could not be stopped                            |
| [`RELKIT_DRAIN_TOKEN_MISMATCH`](/docs/errors/relkit-drain-token-mismatch)                                                     | Reload targeted the wrong app version                                |
| [`RELKIT_DUPLICATE_ID`](/docs/errors/relkit-duplicate-id)                                                                     | ID is used twice                                                     |
| [`RELKIT_EARLY_TELEMETRY_OVERFLOW`](/docs/errors/relkit-early-telemetry-overflow)                                             | Some early telemetry was dropped                                     |
| [`RELKIT_EFFECT_MQ_RUNTIME_UNBOUND`](/docs/errors/relkit-effect-mq-runtime-unbound)                                           | effect-mq jobs are not connected                                     |
| [`RELKIT_EFFECT_MQ_WORKER_MUST_BE_REGISTERED_BEFORE_USE`](/docs/errors/relkit-effect-mq-worker-must-be-registered-before-use) | effect-mq worker registered too late                                 |
| [`RELKIT_ENV_FAILED`](/docs/errors/relkit-env-failed)                                                                         | relkit env could not finish                                          |
| [`RELKIT_ENV_INVALID`](/docs/errors/relkit-env-invalid)                                                                       | Environment module has no definition                                 |
| [`RELKIT_ENV_NOT_FOUND`](/docs/errors/relkit-env-not-found)                                                                   | Environment file not found                                           |
| [`RELKIT_ENV_UNKNOWN`](/docs/errors/relkit-env-unknown)                                                                       | Unknown environment variable                                         |
| [`RELKIT_ENV_USAGE`](/docs/errors/relkit-env-usage)                                                                           | Invalid relkit env arguments                                         |
| [`RELKIT_ENVIRONMENT_INVALID`](/docs/errors/relkit-environment-invalid)                                                       | Environment variables are invalid at startup                         |
| [`RELKIT_ERROR_ID_REQUIRED`](/docs/errors/relkit-error-id-required)                                                           | Error has no ID                                                      |
| [`RELKIT_EVALUATOR_BUN_RUNTIME_REQUIRED`](/docs/errors/relkit-evaluator-bun-runtime-required)                                 | A source file imports a module that needs Bun                        |
| [`RELKIT_EVALUATOR_IMPORT_FAILED`](/docs/errors/relkit-evaluator-import-failed)                                               | A source file failed to load                                         |
| [`RELKIT_EVALUATOR_PROCESS_FAILED`](/docs/errors/relkit-evaluator-process-failed)                                             | Could not start the file loader                                      |
| [`RELKIT_EVALUATOR_PROTOCOL_INVALID`](/docs/errors/relkit-evaluator-protocol-invalid)                                         | File loader returned an unreadable result                            |
| [`RELKIT_EVALUATOR_REQUEST_INVALID`](/docs/errors/relkit-evaluator-request-invalid)                                           | File loader received an invalid request                              |
| [`RELKIT_EVALUATOR_ROOT_INVALID`](/docs/errors/relkit-evaluator-root-invalid)                                                 | File loader ran in the wrong folder                                  |
| [`RELKIT_EVALUATOR_SIDE_EFFECT`](/docs/errors/relkit-evaluator-side-effect)                                                   | Source file does work when imported                                  |
| [`RELKIT_EVALUATOR_TIMEOUT`](/docs/errors/relkit-evaluator-timeout)                                                           | Loading source files timed out                                       |
| [`RELKIT_EVENT_ADMIN_ACTION_FAILED`](/docs/errors/relkit-event-admin-action-failed)                                           | Event action failed                                                  |
| [`RELKIT_EVENT_ADMIN_CURSOR_INVALID`](/docs/errors/relkit-event-admin-cursor-invalid)                                         | Event query cursor is not valid                                      |
| [`RELKIT_EVENT_ADMIN_DELIVERY_INVALID`](/docs/errors/relkit-event-admin-delivery-invalid)                                     | Event delivery ID is not valid                                       |
| [`RELKIT_EVENT_ADMIN_MODE_INVALID`](/docs/errors/relkit-event-admin-mode-invalid)                                             | Event admin mode is not valid                                        |
| [`RELKIT_EVENT_ADMIN_MUTATION_DISABLED`](/docs/errors/relkit-event-admin-mutation-disabled)                                   | Event changes are turned off                                         |
| [`RELKIT_EVENT_ADMIN_NOT_FOUND`](/docs/errors/relkit-event-admin-not-found)                                                   | Event delivery was not found                                         |
| [`RELKIT_EVENT_ADMIN_PROTOCOL_MISMATCH`](/docs/errors/relkit-event-admin-protocol-mismatch)                                   | Event tools are on different versions                                |
| [`RELKIT_EVENT_ADMIN_QUERY_INVALID`](/docs/errors/relkit-event-admin-query-invalid)                                           | Event query is not valid                                             |
| [`RELKIT_EVENT_ADMIN_REQUEST_INVALID`](/docs/errors/relkit-event-admin-request-invalid)                                       | Event action request is not valid                                    |
| [`RELKIT_EVENT_ADMIN_STATE_INELIGIBLE`](/docs/errors/relkit-event-admin-state-ineligible)                                     | Event delivery cannot be retried                                     |
| [`RELKIT_EVENT_DEPENDENCY_UNDECLARED`](/docs/errors/relkit-event-dependency-undeclared)                                       | Event is not declared on this function                               |
| [`RELKIT_EVENT_FUNCTION_OPTION_INVALID`](/docs/errors/relkit-event-function-option-invalid)                                   | Event function sets an unsupported option                            |
| [`RELKIT_EVENT_FUNCTION_RESULT_INVALID`](/docs/errors/relkit-event-function-result-invalid)                                   | Event function returns a value                                       |
| [`RELKIT_EVENT_FUNCTION_TARGET_INVALID`](/docs/errors/relkit-event-function-target-invalid)                                   | Event function is called directly                                    |
| [`RELKIT_EVENT_LOG_STATE_INVALID`](/docs/errors/relkit-event-log-state-invalid)                                               | Local event log is damaged                                           |
| [`RELKIT_EVENT_MATERIALIZATION_INVALID`](/docs/errors/relkit-event-materialization-invalid)                                   | Events could not be set up at startup                                |
| [`RELKIT_EVENT_NAME_UNKNOWN`](/docs/errors/relkit-event-name-unknown)                                                         | Event is not defined                                                 |
| [`RELKIT_EVENT_PAYLOAD_VALIDATION`](/docs/errors/relkit-event-payload-validation)                                             | Event payload is invalid                                             |
| [`RELKIT_EVENT_PROFILE_UNKNOWN`](/docs/errors/relkit-event-profile-unknown)                                                   | Event profile is not configured                                      |
| [`RELKIT_EVENT_PROVIDER_UNAVAILABLE`](/docs/errors/relkit-event-provider-unavailable)                                         | Event provider cannot publish                                        |
| [`RELKIT_EVENT_ROUTER_STATE_INVALID`](/docs/errors/relkit-event-router-state-invalid)                                         | Local event delivery state is damaged                                |
| [`RELKIT_EVENT_TARGET_INCOMPATIBLE`](/docs/errors/relkit-event-target-incompatible)                                           | Event trigger targets a regular function                             |
| [`RELKIT_EVENT_TRIGGER_ID_COLLISION`](/docs/errors/relkit-event-trigger-id-collision)                                         | Event trigger ID is already taken                                    |
| [`RELKIT_FUNCTION_ERROR_UNUSED`](/docs/errors/relkit-function-error-unused)                                                   | Function declares an error it never raises                           |
| [`RELKIT_GENERATED_FUNCTION_UNBOUND`](/docs/errors/relkit-generated-function-unbound)                                         | Agent function has no runtime                                        |
| [`RELKIT_GRAPH_FAILED`](/docs/errors/relkit-graph-failed)                                                                     | relkit graph could not finish                                        |
| [`RELKIT_GRAPH_FUNCTION_DUPLICATE`](/docs/errors/relkit-graph-function-duplicate)                                             | Function ID is used twice                                            |
| [`RELKIT_GRAPH_HASH_INVALID`](/docs/errors/relkit-graph-hash-invalid)                                                         | Expected graph hash has the wrong format                             |
| [`RELKIT_GRAPH_HASH_MISMATCH`](/docs/errors/relkit-graph-hash-mismatch)                                                       | Graph hash does not match                                            |
| [`RELKIT_GRAPH_ID_COLLISION`](/docs/errors/relkit-graph-id-collision)                                                         | Two parts of the app share an ID                                     |
| [`RELKIT_GRAPH_INTERRUPTED`](/docs/errors/relkit-graph-interrupted)                                                           | Agent is waiting for input                                           |
| [`RELKIT_GRAPH_INVALID`](/docs/errors/relkit-graph-invalid)                                                                   | Application graph is invalid                                         |
| [`RELKIT_GRAPH_MANIFEST_MISMATCH`](/docs/errors/relkit-graph-manifest-mismatch)                                               | Build files are out of sync                                          |
| [`RELKIT_GRAPH_NOT_FOUND`](/docs/errors/relkit-graph-not-found)                                                               | Application graph file not found                                     |
| [`RELKIT_GRAPH_USAGE`](/docs/errors/relkit-graph-usage)                                                                       | Invalid relkit graph arguments                                       |
| [`RELKIT_GRAPH_VERSION_UNSUPPORTED`](/docs/errors/relkit-graph-version-unsupported)                                           | Application graph version is not supported                           |
| [`RELKIT_ID_INFERENCE_AMBIGUOUS`](/docs/errors/relkit-id-inference-ambiguous)                                                 | ID cannot be worked out from the source                              |
| [`RELKIT_ID_INVALID`](/docs/errors/relkit-id-invalid)                                                                         | ID is not valid                                                      |
| [`RELKIT_INNGEST_EVENT_INVALID`](/docs/errors/relkit-inngest-event-invalid)                                                   | Inngest event is missing RelKit data                                 |
| [`RELKIT_INNGEST_SCHEDULE_DEFINITION_INVALID`](/docs/errors/relkit-inngest-schedule-definition-invalid)                       | Inngest schedule is incomplete                                       |
| [`RELKIT_INPUT_VALIDATION`](/docs/errors/relkit-input-validation)                                                             | Input is invalid                                                     |
| [`RELKIT_INSPECTION_INCOMPLETE`](/docs/errors/relkit-inspection-incomplete)                                                   | Inspector data is incomplete                                         |
| [`RELKIT_INSPECTOR_ACTION_FAILED`](/docs/errors/relkit-inspector-action-failed)                                               | Inspector action failed                                              |
| [`RELKIT_INSPECTOR_ACTION_GENERATION_UNAVAILABLE`](/docs/errors/relkit-inspector-action-generation-unavailable)               | Inspector has no active app build                                    |
| [`RELKIT_INSPECTOR_ACTION_NOT_FOUND`](/docs/errors/relkit-inspector-action-not-found)                                         | Inspector action target not found                                    |
| [`RELKIT_INSPECTOR_ACTION_PROTOCOL_MISMATCH`](/docs/errors/relkit-inspector-action-protocol-mismatch)                         | Inspector and app versions differ                                    |
| [`RELKIT_INSPECTOR_ACTION_REQUEST_INVALID`](/docs/errors/relkit-inspector-action-request-invalid)                             | Inspector action request is invalid                                  |
| [`RELKIT_INSPECTOR_ACTION_STATE_INELIGIBLE`](/docs/errors/relkit-inspector-action-state-ineligible)                           | Item cannot take this action now                                     |
| [`RELKIT_INSPECTOR_ACTION_TARGET_INVALID`](/docs/errors/relkit-inspector-action-target-invalid)                               | Inspector action target is invalid                                   |
| [`RELKIT_INSPECTOR_ACTION_UNSUPPORTED`](/docs/errors/relkit-inspector-action-unsupported)                                     | Action is not supported by this provider                             |
| [`RELKIT_INSPECTOR_ACTIONS_DISABLED`](/docs/errors/relkit-inspector-actions-disabled)                                         | Inspector actions are turned off                                     |
| [`RELKIT_INSPECTOR_ACTIONS_UNAVAILABLE`](/docs/errors/relkit-inspector-actions-unavailable)                                   | Inspector actions are not available                                  |
| [`RELKIT_INSPECTOR_API_VERSION_UNSUPPORTED`](/docs/errors/relkit-inspector-api-version-unsupported)                           | Inspector API version not supported                                  |
| [`RELKIT_INSPECTOR_APPROVAL_STATE_INELIGIBLE`](/docs/errors/relkit-inspector-approval-state-ineligible)                       | Approval is no longer pending                                        |
| [`RELKIT_INSPECTOR_ENVIRONMENT_MISMATCH`](/docs/errors/relkit-inspector-environment-mismatch)                                 | Inspector is pointed at another environment                          |
| [`RELKIT_INSPECTOR_GENERATION_NOT_ACTIVE`](/docs/errors/relkit-inspector-generation-not-active)                               | App changed since the Inspector loaded                               |
| [`RELKIT_INSPECTOR_GRAPH_UNAVAILABLE`](/docs/errors/relkit-inspector-graph-unavailable)                                       | App graph is not available                                           |
| [`RELKIT_INSPECTOR_IDEMPOTENCY_CONFLICT`](/docs/errors/relkit-inspector-idempotency-conflict)                                 | Action ID reused for a different action                              |
| [`RELKIT_INSPECTOR_INTERNAL`](/docs/errors/relkit-inspector-internal)                                                         | Inspector endpoint error                                             |
| [`RELKIT_INSPECTOR_INVALID`](/docs/errors/relkit-inspector-invalid)                                                           | Inspector package is broken                                          |
| [`RELKIT_INSPECTOR_JOBS_CURSOR_INVALID`](/docs/errors/relkit-inspector-jobs-cursor-invalid)                                   | Inspector jobs cursor is invalid                                     |
| [`RELKIT_INSPECTOR_JOBS_FILTER_INVALID`](/docs/errors/relkit-inspector-jobs-filter-invalid)                                   | Inspector jobs filter is invalid                                     |
| [`RELKIT_INSPECTOR_JOBS_FILTER_UNSUPPORTED`](/docs/errors/relkit-inspector-jobs-filter-unsupported)                           | Jobs filter not supported by this provider                           |
| [`RELKIT_INSPECTOR_JOBS_FORBIDDEN`](/docs/errors/relkit-inspector-jobs-forbidden)                                             | Inspector jobs access denied                                         |
| [`RELKIT_INSPECTOR_JOBS_NOT_FOUND`](/docs/errors/relkit-inspector-jobs-not-found)                                             | Job not found in the Inspector                                       |
| [`RELKIT_INSPECTOR_JOBS_OPERATION_INVALID`](/docs/errors/relkit-inspector-jobs-operation-invalid)                             | Inspector jobs request is invalid                                    |
| [`RELKIT_INSPECTOR_JOBS_OPERATION_UNSUPPORTED`](/docs/errors/relkit-inspector-jobs-operation-unsupported)                     | Job action not supported by this provider                            |
| [`RELKIT_INSPECTOR_JOBS_UNAVAILABLE`](/docs/errors/relkit-inspector-jobs-unavailable)                                         | Jobs are not available in the Inspector                              |
| [`RELKIT_INSPECTOR_MISSING`](/docs/errors/relkit-inspector-missing)                                                           | Inspector is not installed                                           |
| [`RELKIT_INSPECTOR_NOT_FOUND`](/docs/errors/relkit-inspector-not-found)                                                       | Inspector item not found                                             |
| [`RELKIT_INSPECTOR_PROTOCOL_UNSUPPORTED`](/docs/errors/relkit-inspector-protocol-unsupported)                                 | Inspector protocol not supported                                     |
| [`RELKIT_INSPECTOR_QUERY_INVALID`](/docs/errors/relkit-inspector-query-invalid)                                               | Inspector query is invalid                                           |
| [`RELKIT_INSPECTOR_RUNTIME_UNAVAILABLE`](/docs/errors/relkit-inspector-runtime-unavailable)                                   | Inspector cannot reach the runtime                                   |
| [`RELKIT_INSPECTOR_UNAUTHORIZED`](/docs/errors/relkit-inspector-unauthorized)                                                 | Inspector request is not authorized                                  |
| [`RELKIT_INSPECTOR_USAGE`](/docs/errors/relkit-inspector-usage)                                                               | Invalid relkit inspector arguments                                   |
| [`RELKIT_INTERNAL_ERROR`](/docs/errors/relkit-internal-error)                                                                 | Unexpected internal error                                            |
| [`RELKIT_INTERRUPTED`](/docs/errors/relkit-interrupted)                                                                       | Command was interrupted                                              |
| [`RELKIT_JOB_ACCESS_DENIED`](/docs/errors/relkit-job-access-denied)                                                           | Job access denied                                                    |
| [`RELKIT_JOB_ADMIN_ACTION_FAILED`](/docs/errors/relkit-job-admin-action-failed)                                               | Job action failed                                                    |
| [`RELKIT_JOB_ADMIN_CANCELLED`](/docs/errors/relkit-job-admin-cancelled)                                                       | Job was cancelled by a local action                                  |
| [`RELKIT_JOB_ADMIN_CURSOR_INVALID`](/docs/errors/relkit-job-admin-cursor-invalid)                                             | Job query cursor is not valid                                        |
| [`RELKIT_JOB_ADMIN_DEAD_LETTERED`](/docs/errors/relkit-job-admin-dead-lettered)                                               | Job was dead-lettered by a local action                              |
| [`RELKIT_JOB_ADMIN_INSTANCE_INVALID`](/docs/errors/relkit-job-admin-instance-invalid)                                         | Job ID is not valid                                                  |
| [`RELKIT_JOB_ADMIN_MODE_INVALID`](/docs/errors/relkit-job-admin-mode-invalid)                                                 | Job admin mode is not valid                                          |
| [`RELKIT_JOB_ADMIN_MUTATION_DISABLED`](/docs/errors/relkit-job-admin-mutation-disabled)                                       | Job changes are turned off                                           |
| [`RELKIT_JOB_ADMIN_NOT_FOUND`](/docs/errors/relkit-job-admin-not-found)                                                       | Job was not found                                                    |
| [`RELKIT_JOB_ADMIN_PROTOCOL_MISMATCH`](/docs/errors/relkit-job-admin-protocol-mismatch)                                       | Job tools are on different versions                                  |
| [`RELKIT_JOB_ADMIN_QUERY_INVALID`](/docs/errors/relkit-job-admin-query-invalid)                                               | Job query is not valid                                               |
| [`RELKIT_JOB_ADMIN_REQUEST_INVALID`](/docs/errors/relkit-job-admin-request-invalid)                                           | Job action request is not valid                                      |
| [`RELKIT_JOB_ADMIN_STATE_INELIGIBLE`](/docs/errors/relkit-job-admin-state-ineligible)                                         | Job cannot change from its current state                             |
| [`RELKIT_JOB_BINDING_INVALID`](/docs/errors/relkit-job-binding-invalid)                                                       | Task has unclear job bindings                                        |
| [`RELKIT_JOB_CAPABILITY_UNSUPPORTED`](/docs/errors/relkit-job-capability-unsupported)                                         | Jobs service lacks a needed feature                                  |
| [`RELKIT_JOB_CONTROL_UNKNOWN`](/docs/errors/relkit-job-control-unknown)                                                       | Job control result is unknown                                        |
| [`RELKIT_JOB_CURSOR_INVALID`](/docs/errors/relkit-job-cursor-invalid)                                                         | Job cursor is invalid                                                |
| [`RELKIT_JOB_DEAD_LETTERED`](/docs/errors/relkit-job-dead-lettered)                                                           | Job run moved to the dead-letter state                               |
| [`RELKIT_JOB_FAILURE`](/docs/errors/relkit-job-failure)                                                                       | Job failed with an undeclared error                                  |
| [`RELKIT_JOB_LEASE_EXPIRED`](/docs/errors/relkit-job-lease-expired)                                                           | Job worker lease expired on the last attempt                         |
| [`RELKIT_JOB_LOCATOR_INVALID`](/docs/errors/relkit-job-locator-invalid)                                                       | Run ID is not valid                                                  |
| [`RELKIT_JOB_NAME_INVALID`](/docs/errors/relkit-job-name-invalid)                                                             | Job name is invalid or taken                                         |
| [`RELKIT_JOB_OBSERVATION_TIMEOUT`](/docs/errors/relkit-job-observation-timeout)                                               | Reading job status timed out                                         |
| [`RELKIT_JOB_OPERATION_EXPOSURE_INVALID`](/docs/errors/relkit-job-operation-exposure-invalid)                                 | Job client settings are invalid                                      |
| [`RELKIT_JOB_PROTOCOL_UNSUPPORTED`](/docs/errors/relkit-job-protocol-unsupported)                                             | Jobs protocol version not supported                                  |
| [`RELKIT_JOB_PUBLIC_CONTRACT_STALE`](/docs/errors/relkit-job-public-contract-stale)                                           | Client job contract is out of date                                   |
| [`RELKIT_JOB_QUEUE_STATE_INVALID`](/docs/errors/relkit-job-queue-state-invalid)                                               | Local job queue is damaged                                           |
| [`RELKIT_JOB_RECEIPT_INVALID`](/docs/errors/relkit-job-receipt-invalid)                                                       | Job provider returned an invalid confirmation                        |
| [`RELKIT_JOB_REPLAY_ADVISORY`](/docs/errors/relkit-job-replay-advisory)                                                       | Task may not resume safely after a retry                             |
| [`RELKIT_JOB_RESOURCES_UNSUPPORTED`](/docs/errors/relkit-job-resources-unsupported)                                           | Task resources are invalid                                           |
| [`RELKIT_JOB_RESULT_UNAVAILABLE`](/docs/errors/relkit-job-result-unavailable)                                                 | Job result is not available                                          |
| [`RELKIT_JOB_RUN_NOT_FOUND`](/docs/errors/relkit-job-run-not-found)                                                           | Job run not found                                                    |
| [`RELKIT_JOB_SCHEDULE_INVALID`](/docs/errors/relkit-job-schedule-invalid)                                                     | Job schedule is invalid                                              |
| [`RELKIT_JOB_SCHEMA_PROJECTION_UNSAFE`](/docs/errors/relkit-job-schema-projection-unsafe)                                     | Job or task schema cannot be stored safely                           |
| [`RELKIT_JOB_STORE_STATE_INVALID`](/docs/errors/relkit-job-store-state-invalid)                                               | Local job store is not usable                                        |
| [`RELKIT_JOB_STREAM_GAP`](/docs/errors/relkit-job-stream-gap)                                                                 | Job stream skipped items                                             |
| [`RELKIT_JOB_STREAM_OVERFLOW`](/docs/errors/relkit-job-stream-overflow)                                                       | Job stream exceeded its limit                                        |
| [`RELKIT_JOB_STREAM_UNSUPPORTED`](/docs/errors/relkit-job-stream-unsupported)                                                 | Job streams are not available                                        |
| [`RELKIT_JOB_SUBMISSION_CANCELLED`](/docs/errors/relkit-job-submission-cancelled)                                             | Job submission was cancelled                                         |
| [`RELKIT_JOB_SUBMISSION_FAILED`](/docs/errors/relkit-job-submission-failed)                                                   | Job submission failed                                                |
| [`RELKIT_JOB_SUBMISSION_UNKNOWN`](/docs/errors/relkit-job-submission-unknown)                                                 | Job submission result is unknown                                     |
| [`RELKIT_JOB_TASK_INVALID`](/docs/errors/relkit-job-task-invalid)                                                             | Job does not point at a task                                         |
| [`RELKIT_JOB_TASK_OPTION_UNSUPPORTED`](/docs/errors/relkit-job-task-option-unsupported)                                       | Jobs backend does not enforce a task limit                           |
| [`RELKIT_JOB_VERSION_INCOMPATIBLE`](/docs/errors/relkit-job-version-incompatible)                                             | Job and task versions do not match                                   |
| [`RELKIT_JOB_WATCH_ABORTED`](/docs/errors/relkit-job-watch-aborted)                                                           | Job watch was interrupted                                            |
| [`RELKIT_JOB_WATCH_DISPOSED`](/docs/errors/relkit-job-watch-disposed)                                                         | Job watch was already disposed                                       |
| [`RELKIT_JOB_WATCH_READ_TIMEOUT`](/docs/errors/relkit-job-watch-read-timeout)                                                 | Job watch read timed out                                             |
| [`RELKIT_JOB_WATCH_UNAVAILABLE`](/docs/errors/relkit-job-watch-unavailable)                                                   | Job run has no ID to watch                                           |
| [`RELKIT_JOB_WORKER_IMMUTABLE_CONFLICT`](/docs/errors/relkit-job-worker-immutable-conflict)                                   | Job worker file already exists with different content                |
| [`RELKIT_JOBS_FAILED`](/docs/errors/relkit-jobs-failed)                                                                       | relkit jobs could not finish                                         |
| [`RELKIT_JOBS_MANIFEST_GRAPH_MISMATCH`](/docs/errors/relkit-jobs-manifest-graph-mismatch)                                     | Jobs build files are out of sync                                     |
| [`RELKIT_JOBS_MANIFEST_INVALID`](/docs/errors/relkit-jobs-manifest-invalid)                                                   | Jobs manifest is invalid                                             |
| [`RELKIT_JOBS_REQUEST_FAILED`](/docs/errors/relkit-jobs-request-failed)                                                       | Jobs request to the server failed                                    |
| [`RELKIT_JOBS_RUNTIME_UNBOUND`](/docs/errors/relkit-jobs-runtime-unbound)                                                     | Jobs runtime is not available here                                   |
| [`RELKIT_JOBS_SERVICE_UNAVAILABLE`](/docs/errors/relkit-jobs-service-unavailable)                                             | Job service is not available                                         |
| [`RELKIT_JOBS_USAGE`](/docs/errors/relkit-jobs-usage)                                                                         | Invalid relkit jobs arguments                                        |
| [`RELKIT_LAYOUT_ACTIVE_DEV`](/docs/errors/relkit-layout-active-dev)                                                           | Dev server is running during layout migration                        |
| [`RELKIT_LAYOUT_CHECK_FAILED`](/docs/errors/relkit-layout-check-failed)                                                       | Project check failed during layout migration                         |
| [`RELKIT_LAYOUT_CONCURRENT_EDIT`](/docs/errors/relkit-layout-concurrent-edit)                                                 | Files changed during layout migration                                |
| [`RELKIT_LAYOUT_CONFLICT`](/docs/errors/relkit-layout-conflict)                                                               | Layout migration has conflicts                                       |
| [`RELKIT_LAYOUT_CONTRACT_CHANGED`](/docs/errors/relkit-layout-contract-changed)                                               | Layout migration would change app behavior                           |
| [`RELKIT_LAYOUT_DESTINATION_EXISTS`](/docs/errors/relkit-layout-destination-exists)                                           | Layout migration target already exists                               |
| [`RELKIT_LAYOUT_DIRTY`](/docs/errors/relkit-layout-dirty)                                                                     | Files to migrate have uncommitted changes                            |
| [`RELKIT_LAYOUT_FAILED`](/docs/errors/relkit-layout-failed)                                                                   | Layout migration failed                                              |
| [`RELKIT_LAYOUT_GIT_UNAVAILABLE`](/docs/errors/relkit-layout-git-unavailable)                                                 | Git status could not be read                                         |
| [`RELKIT_LAYOUT_INVALID_PROJECT`](/docs/errors/relkit-layout-invalid-project)                                                 | Not a RelKit project                                                 |
| [`RELKIT_LAYOUT_PROCESS_INSPECTION_UNAVAILABLE`](/docs/errors/relkit-layout-process-inspection-unavailable)                   | Running processes could not be checked                               |
| [`RELKIT_LAYOUT_RECEIPT_INVALID`](/docs/errors/relkit-layout-receipt-invalid)                                                 | Layout migration record is invalid                                   |
| [`RELKIT_LAYOUT_RECOVERY_CONFLICT`](/docs/errors/relkit-layout-recovery-conflict)                                             | Rollback kept a later edit                                           |
| [`RELKIT_LAYOUT_TYPECHECK_FAILED`](/docs/errors/relkit-layout-typecheck-failed)                                               | Type check failed during layout migration                            |
| [`RELKIT_LAYOUT_USAGE`](/docs/errors/relkit-layout-usage)                                                                     | Invalid relkit migrate arguments                                     |
| [`RELKIT_LOCAL_CHECK_FAILED`](/docs/errors/relkit-local-check-failed)                                                         | Project check failed before starting local services                  |
| [`RELKIT_LOCAL_DURABLE_STATE_IN_CONTAINER`](/docs/errors/relkit-local-durable-state-in-container)                             | Production image refused the local provider for durable work         |
| [`RELKIT_LOCAL_FAILED`](/docs/errors/relkit-local-failed)                                                                     | relkit local could not finish                                        |
| [`RELKIT_LOCAL_INVALID`](/docs/errors/relkit-local-invalid)                                                                   | Local services setup is invalid                                      |
| [`RELKIT_LOCAL_LEASE_BUSY`](/docs/errors/relkit-local-lease-busy)                                                             | Local project is busy                                                |
| [`RELKIT_LOCAL_LEASE_HELD`](/docs/errors/relkit-local-lease-held)                                                             | Local services are in use by another session                         |
| [`RELKIT_LOCAL_LEASE_INVALID`](/docs/errors/relkit-local-lease-invalid)                                                       | Local project lock is damaged                                        |
| [`RELKIT_LOCAL_OVERRIDE_INVALID`](/docs/errors/relkit-local-override-invalid)                                                 | Local provider settings are invalid                                  |
| [`RELKIT_LOCAL_OVERRIDE_STALE`](/docs/errors/relkit-local-override-stale)                                                     | Local provider settings are out of date                              |
| [`RELKIT_LOCAL_PROVIDER_STATE_INVALID`](/docs/errors/relkit-local-provider-state-invalid)                                     | Local state folder is not usable                                     |
| [`RELKIT_LOCAL_SERVICE_NOT_FOUND`](/docs/errors/relkit-local-service-not-found)                                               | Local service is not declared                                        |
| [`RELKIT_LOCAL_SERVICE_PLAN_VERSION_UNSUPPORTED`](/docs/errors/relkit-local-service-plan-version-unsupported)                 | Local service plan is from another version                           |
| [`RELKIT_LOCAL_SERVICE_STATE_VERSION_UNSUPPORTED`](/docs/errors/relkit-local-service-state-version-unsupported)               | Local service state is from another version                          |
| [`RELKIT_LOCAL_STATE_INVALID`](/docs/errors/relkit-local-state-invalid)                                                       | Local state is invalid                                               |
| [`RELKIT_LOCAL_TASK_SLEEP`](/docs/errors/relkit-local-task-sleep)                                                             | Task paused for a durable sleep                                      |
| [`RELKIT_LOCAL_USAGE`](/docs/errors/relkit-local-usage)                                                                       | Invalid relkit local arguments                                       |
| [`RELKIT_MANIFEST_GENERATOR_UNSUPPORTED`](/docs/errors/relkit-manifest-generator-unsupported)                                 | Build was made by another RelKit version                             |
| [`RELKIT_MANIFEST_HANDLER_DUPLICATE`](/docs/errors/relkit-manifest-handler-duplicate)                                         | Function is registered twice in the build                            |
| [`RELKIT_MANIFEST_HANDLER_EXTRA`](/docs/errors/relkit-manifest-handler-extra)                                                 | Build registers an unknown function                                  |
| [`RELKIT_MANIFEST_HANDLER_INVALID`](/docs/errors/relkit-manifest-handler-invalid)                                             | Build has an invalid function entry                                  |
| [`RELKIT_MANIFEST_HANDLER_MISSING`](/docs/errors/relkit-manifest-handler-missing)                                             | Function has no handler in the build                                 |
| [`RELKIT_MANIFEST_MIDDLEWARE_MISMATCH`](/docs/errors/relkit-manifest-middleware-mismatch)                                     | Middleware does not match the build                                  |
| [`RELKIT_MANIFEST_MIDDLEWARE_MISSING`](/docs/errors/relkit-manifest-middleware-missing)                                       | Middleware is missing from the build                                 |
| [`RELKIT_MANIFEST_RAW_ROUTE_MISSING`](/docs/errors/relkit-manifest-raw-route-missing)                                         | Raw route has no handler                                             |
| [`RELKIT_MANIFEST_TRANSFORM_MISSING`](/docs/errors/relkit-manifest-transform-missing)                                         | Request transform is missing from the build                          |
| [`RELKIT_MANIFEST_VERSION_UNSUPPORTED`](/docs/errors/relkit-manifest-version-unsupported)                                     | Build format is not supported                                        |
| [`RELKIT_MAPPING_INCOMPATIBLE`](/docs/errors/relkit-mapping-incompatible)                                                     | Route request does not match the function input                      |
| [`RELKIT_MCP_APPROVAL_REQUIRED`](/docs/errors/relkit-mcp-approval-required)                                                   | MCP tool needs approval                                              |
| [`RELKIT_MCP_NO_SESSION`](/docs/errors/relkit-mcp-no-session)                                                                 | No development session is running                                    |
| [`RELKIT_MCP_SERVER_MISSING`](/docs/errors/relkit-mcp-server-missing)                                                         | MCP server package is not installed                                  |
| [`RELKIT_MCP_SESSION_AMBIGUOUS`](/docs/errors/relkit-mcp-session-ambiguous)                                                   | More than one development session is running                         |
| [`RELKIT_MCP_SESSION_LOST`](/docs/errors/relkit-mcp-session-lost)                                                             | Development session stopped answering                                |
| [`RELKIT_MCP_USAGE`](/docs/errors/relkit-mcp-usage)                                                                           | Invalid relkit mcp arguments                                         |
| [`RELKIT_METHOD_INVALID`](/docs/errors/relkit-method-invalid)                                                                 | HTTP method is invalid                                               |
| [`RELKIT_MIDDLEWARE_INPUT_INCOMPATIBLE`](/docs/errors/relkit-middleware-input-incompatible)                                   | Middleware input does not match the route                            |
| [`RELKIT_MIDDLEWARE_OUTPUT_INCOMPATIBLE`](/docs/errors/relkit-middleware-output-incompatible)                                 | Middleware output does not match the route                           |
| [`RELKIT_MIGRATE_CONCURRENT_EDIT`](/docs/errors/relkit-migrate-concurrent-edit)                                               | A file changed while relkit migrate was writing                      |
| [`RELKIT_MIGRATE_CONTRACT_UNAVAILABLE`](/docs/errors/relkit-migrate-contract-unavailable)                                     | The client contract could not be read                                |
| [`RELKIT_MIGRATE_DIRTY`](/docs/errors/relkit-migrate-dirty)                                                                   | Files to migrate have uncommitted changes                            |
| [`RELKIT_MIGRATE_INVALID_PROJECT`](/docs/errors/relkit-migrate-invalid-project)                                               | relkit migrate needs a project folder                                |
| [`RELKIT_MIGRATE_RECEIPT_INVALID`](/docs/errors/relkit-migrate-receipt-invalid)                                               | Migration record is invalid                                          |
| [`RELKIT_MIGRATE_RECOVERY_CONFLICT`](/docs/errors/relkit-migrate-recovery-conflict)                                           | Rollback kept a later edit                                           |
| [`RELKIT_MIGRATE_USAGE`](/docs/errors/relkit-migrate-usage)                                                                   | Invalid relkit migrate arguments                                     |
| [`RELKIT_MISSING_MIDDLEWARE`](/docs/errors/relkit-missing-middleware)                                                         | Middleware is not defined                                            |
| [`RELKIT_MISSING_TARGET`](/docs/errors/relkit-missing-target)                                                                 | Reference does not point at anything                                 |
| [`RELKIT_MISSING_TRANSFORM`](/docs/errors/relkit-missing-transform)                                                           | Request transform is not found                                       |
| [`RELKIT_MODEL_PROVIDER_CONFIGURATION_INVALID`](/docs/errors/relkit-model-provider-configuration-invalid)                     | Model provider settings are invalid                                  |
| [`RELKIT_MODEL_PROVIDER_DEFAULT_MISSING`](/docs/errors/relkit-model-provider-default-missing)                                 | Model provider has no default model                                  |
| [`RELKIT_MODEL_PROVIDER_ENVIRONMENT_INVALID`](/docs/errors/relkit-model-provider-environment-invalid)                         | Model provider environment is not set up                             |
| [`RELKIT_MODEL_PROVIDER_MODEL_UNAVAILABLE`](/docs/errors/relkit-model-provider-model-unavailable)                             | Model is not available                                               |
| [`RELKIT_MODEL_PROVIDER_REGISTRY_INVALID`](/docs/errors/relkit-model-provider-registry-invalid)                               | Agent has no active model provider                                   |
| [`RELKIT_MODEL_PROVIDER_UNKNOWN`](/docs/errors/relkit-model-provider-unknown)                                                 | Model provider is not configured                                     |
| [`RELKIT_MODEL_PROVIDER_UNSUPPORTED`](/docs/errors/relkit-model-provider-unsupported)                                         | Model provider is not supported                                      |
| [`RELKIT_MODEL_SELECTOR_INVALID`](/docs/errors/relkit-model-selector-invalid)                                                 | Model selector is invalid                                            |
| [`RELKIT_NATIVE_SUSPENSION`](/docs/errors/relkit-native-suspension)                                                           | Execution paused by the provider                                     |
| [`RELKIT_NORMALIZATION_FAILED`](/docs/errors/relkit-normalization-failed)                                                     | Checking the app failed unexpectedly                                 |
| [`RELKIT_OBSERVABILITY_INTERNAL`](/docs/errors/relkit-observability-internal)                                                 | Observability endpoint error                                         |
| [`RELKIT_OBSERVABILITY_NOT_FOUND`](/docs/errors/relkit-observability-not-found)                                               | Trace or record not found                                            |
| [`RELKIT_OBSERVABILITY_QUERY_INVALID`](/docs/errors/relkit-observability-query-invalid)                                       | Observability query is not valid                                     |
| [`RELKIT_OBSERVABILITY_QUERY_PROTOCOL_MISMATCH`](/docs/errors/relkit-observability-query-protocol-mismatch)                   | Observability query is from another version                          |
| [`RELKIT_OBSERVABILITY_STREAM_CLOSED`](/docs/errors/relkit-observability-stream-closed)                                       | Observability stream is closed                                       |
| [`RELKIT_OBSERVABILITY_STREAM_CURSOR_EXPIRED`](/docs/errors/relkit-observability-stream-cursor-expired)                       | Stream cursor is too old                                             |
| [`RELKIT_OBSERVABILITY_STREAM_CURSOR_FUTURE`](/docs/errors/relkit-observability-stream-cursor-future)                         | Stream cursor is ahead of the stream                                 |
| [`RELKIT_OBSERVABILITY_STREAM_INVALID`](/docs/errors/relkit-observability-stream-invalid)                                     | Observability stream request is not valid                            |
| [`RELKIT_OBSERVABILITY_UNAUTHORIZED`](/docs/errors/relkit-observability-unauthorized)                                         | Observability request is not authorized                              |
| [`RELKIT_OBSERVABILITY_UNAVAILABLE`](/docs/errors/relkit-observability-unavailable)                                           | Observability data is not available                                  |
| [`RELKIT_OUTPUT_VALIDATION`](/docs/errors/relkit-output-validation)                                                           | Output is invalid                                                    |
| [`RELKIT_PATH_INVALID`](/docs/errors/relkit-path-invalid)                                                                     | Route or middleware path is invalid                                  |
| [`RELKIT_PENDING_CAPACITY`](/docs/errors/relkit-pending-capacity)                                                             | Too many pending job submissions                                     |
| [`RELKIT_PENDING_RECOVERY_UNAVAILABLE`](/docs/errors/relkit-pending-recovery-unavailable)                                     | Pending job cannot be retried                                        |
| [`RELKIT_PENDING_REQUEST_MISMATCH`](/docs/errors/relkit-pending-request-mismatch)                                             | Operation ID reused with a different request                         |
| [`RELKIT_PROFILE_INVALID`](/docs/errors/relkit-profile-invalid)                                                               | Profile name is invalid                                              |
| [`RELKIT_PROGRESS_AFTER_SETTLEMENT`](/docs/errors/relkit-progress-after-settlement)                                           | Progress sent after the function finished                            |
| [`RELKIT_PROGRESS_TOO_LARGE`](/docs/errors/relkit-progress-too-large)                                                         | Progress update is too large                                         |
| [`RELKIT_PROGRESS_VALIDATION`](/docs/errors/relkit-progress-validation)                                                       | Progress update is invalid                                           |
| [`RELKIT_PROJECT_CLI_INVALID`](/docs/errors/relkit-project-cli-invalid)                                                       | The installed CLI package is damaged                                 |
| [`RELKIT_PROJECT_CLI_REQUIRED`](/docs/errors/relkit-project-cli-required)                                                     | The project does not install the RelKit CLI                          |
| [`RELKIT_PROJECT_CLI_VERSION`](/docs/errors/relkit-project-cli-version)                                                       | The project's CLI version differs from relkit                        |
| [`RELKIT_PROJECT_REQUIRED`](/docs/errors/relkit-project-required)                                                             | The command was run outside a project                                |
| [`RELKIT_PROVIDER_ABORTED`](/docs/errors/relkit-provider-aborted)                                                             | Provider startup was cancelled                                       |
| [`RELKIT_PROVIDER_CONFIGURATION_INVALID`](/docs/errors/relkit-provider-configuration-invalid)                                 | Provider connection settings are invalid                             |
| [`RELKIT_PROVIDER_CONSTRUCTION_FAILED`](/docs/errors/relkit-provider-construction-failed)                                     | Provider failed to start                                             |
| [`RELKIT_PROVIDER_FAILURE`](/docs/errors/relkit-provider-failure)                                                             | Provider operation failed                                            |
| [`RELKIT_PROVIDER_INTEGRATION_INVALID`](/docs/errors/relkit-provider-integration-invalid)                                     | Provider integration is invalid                                      |
| [`RELKIT_PROVIDER_INTEGRATION_MISSING`](/docs/errors/relkit-provider-integration-missing)                                     | No integration for a provider                                        |
| [`RELKIT_PROVIDER_METADATA_INVALID`](/docs/errors/relkit-provider-metadata-invalid)                                           | Provider details in the build are invalid                            |
| [`RELKIT_PROVIDER_OVERRIDE_STATE_VERSION_UNSUPPORTED`](/docs/errors/relkit-provider-override-state-version-unsupported)       | Provider override state is from another version                      |
| [`RELKIT_PROVIDER_PROFILE_UNKNOWN`](/docs/errors/relkit-provider-profile-unknown)                                             | Provider profile is not available                                    |
| [`RELKIT_PROVIDER_READINESS_FAILED`](/docs/errors/relkit-provider-readiness-failed)                                           | Provider health check failed                                         |
| [`RELKIT_PROVIDER_RELEASE_FAILED`](/docs/errors/relkit-provider-release-failed)                                               | Provider failed to shut down                                         |
| [`RELKIT_PROVIDER_RELEASE_SOURCE_REQUIRED`](/docs/errors/relkit-provider-release-source-required)                             | Provider works only locally                                          |
| [`RELKIT_PROVIDER_RUNTIME_INVALID`](/docs/errors/relkit-provider-runtime-invalid)                                             | Provider does not fit the job type                                   |
| [`RELKIT_PULUMI_WORKSPACE_INVALID`](/docs/errors/relkit-pulumi-workspace-invalid)                                             | Pulumi workspace settings are invalid                                |
| [`RELKIT_RATE_LIMIT_INVALID`](/docs/errors/relkit-rate-limit-invalid)                                                         | Rate limit settings are invalid                                      |
| [`RELKIT_RATE_LIMIT_STORE_INVALID`](/docs/errors/relkit-rate-limit-store-invalid)                                             | Rate limit store is not a usable cache                               |
| [`RELKIT_RATE_LIMIT_STORE_REQUIRED`](/docs/errors/relkit-rate-limit-store-required)                                           | Rate limit needs a shared store                                      |
| [`RELKIT_RATE_LIMIT_STORE_UNAVAILABLE`](/docs/errors/relkit-rate-limit-store-unavailable)                                     | Rate-limit store is not usable                                       |
| [`RELKIT_RECURSION_DENIED`](/docs/errors/relkit-recursion-denied)                                                             | Function called itself in a loop                                     |
| [`RELKIT_RETRY_INVALID`](/docs/errors/relkit-retry-invalid)                                                                   | Retry settings are invalid                                           |
| [`RELKIT_ROUTE_AUTH_UNAVAILABLE`](/docs/errors/relkit-route-auth-unavailable)                                                 | A route requires a session, but the app has no Better Auth service   |
| [`RELKIT_ROUTE_COLLISION`](/docs/errors/relkit-route-collision)                                                               | Two routes use the same path                                         |
| [`RELKIT_ROUTE_EXPORT_METHOD`](/docs/errors/relkit-route-export-method)                                                       | Route export is not an HTTP method                                   |
| [`RELKIT_ROUTE_FILE_REQUIRED`](/docs/errors/relkit-route-file-required)                                                       | Route is outside the routes folder                                   |
| [`RELKIT_ROUTE_LEGACY_TRANSPORT`](/docs/errors/relkit-route-legacy-transport)                                                 | Route sets its own method and path                                   |
| [`RELKIT_ROUTE_MODULE_TYPE`](/docs/errors/relkit-route-module-type)                                                           | Route file exports are invalid                                       |
| [`RELKIT_ROUTE_RESERVED_PATH`](/docs/errors/relkit-route-reserved-path)                                                       | Route uses a reserved path                                           |
| [`RELKIT_ROUTE_RESPONSE_INCOMPATIBLE`](/docs/errors/relkit-route-response-incompatible)                                       | Route response does not match its function                           |
| [`RELKIT_RUNTIME_ACTIVATION_FINGERPRINT_INVALID`](/docs/errors/relkit-runtime-activation-fingerprint-invalid)                 | Build fingerprint is missing or stale                                |
| [`RELKIT_RUNTIME_INTEGRATION_IDENTITY_INVALID`](/docs/errors/relkit-runtime-integration-identity-invalid)                     | Integration package does not match                                   |
| [`RELKIT_RUNTIME_INTEGRATION_METADATA_INVALID`](/docs/errors/relkit-runtime-integration-metadata-invalid)                     | Integration details are invalid                                      |
| [`RELKIT_RUNTIME_INTEGRATION_PACKAGE_MISSING`](/docs/errors/relkit-runtime-integration-package-missing)                       | Integration package is missing                                       |
| [`RELKIT_RUNTIME_INTEGRATION_PLAN_REFERENCE_INVALID`](/docs/errors/relkit-runtime-integration-plan-reference-invalid)         | Integration plan does not match the build                            |
| [`RELKIT_RUNTIME_INTEGRATION_PLAN_VERSION_UNSUPPORTED`](/docs/errors/relkit-runtime-integration-plan-version-unsupported)     | Runtime integration plan version is not supported                    |
| [`RELKIT_RUNTIME_INTEGRATION_REGISTRATION_DUPLICATE`](/docs/errors/relkit-runtime-integration-registration-duplicate)         | Two integrations provide the same feature                            |
| [`RELKIT_SCHEMA_UNAVAILABLE`](/docs/errors/relkit-schema-unavailable)                                                         | Schema has no JSON Schema                                            |
| [`RELKIT_SERVICE_LAYOUT`](/docs/errors/relkit-service-layout)                                                                 | Service files are in the wrong place                                 |
| [`RELKIT_SOURCE_LOCATION_INVALID`](/docs/errors/relkit-source-location-invalid)                                               | Source location is invalid                                           |
| [`RELKIT_SOURCE_RESOLUTION`](/docs/errors/relkit-source-resolution)                                                           | Import cannot be resolved                                            |
| [`RELKIT_START_BUILD_MISSING`](/docs/errors/relkit-start-build-missing)                                                       | No build to start                                                    |
| [`RELKIT_START_USAGE`](/docs/errors/relkit-start-usage)                                                                       | Invalid relkit start arguments                                       |
| [`RELKIT_STREAM_ALREADY_CONSUMED`](/docs/errors/relkit-stream-already-consumed)                                               | Stream was already read                                              |
| [`RELKIT_STREAM_CONSUMER_IDLE`](/docs/errors/relkit-stream-consumer-idle)                                                     | Stream was not read in time                                          |
| [`RELKIT_STREAM_FAILED`](/docs/errors/relkit-stream-failed)                                                                   | Stream ended with an error                                           |
| [`RELKIT_STREAM_ITEM_ENCODING`](/docs/errors/relkit-stream-item-encoding)                                                     | Stream item cannot be sent as JSON                                   |
| [`RELKIT_STREAM_ITEM_TOO_LARGE`](/docs/errors/relkit-stream-item-too-large)                                                   | Stream item is too large                                             |
| [`RELKIT_STREAM_ITEM_VALIDATION`](/docs/errors/relkit-stream-item-validation)                                                 | Stream item is invalid                                               |
| [`RELKIT_TASK_BLOCKING_WAIT_UNSUPPORTED`](/docs/errors/relkit-task-blocking-wait-unsupported)                                 | Task cannot wait for another task's result                           |
| [`RELKIT_TASK_EMISSION_ABORTED`](/docs/errors/relkit-task-emission-aborted)                                                   | Task progress update was cancelled                                   |
| [`RELKIT_TASK_EXECUTION_INVALID`](/docs/errors/relkit-task-execution-invalid)                                                 | Task run does not match the build                                    |
| [`RELKIT_TASK_FAILED`](/docs/errors/relkit-task-failed)                                                                       | Task failed with a non-error value                                   |
| [`RELKIT_TASK_INPUT_INVALID`](/docs/errors/relkit-task-input-invalid)                                                         | Task input does not match its schema                                 |
| [`RELKIT_TASK_INPUT_TOO_LARGE`](/docs/errors/relkit-task-input-too-large)                                                     | Task input is too large                                              |
| [`RELKIT_TASK_INPUT_WIRE_NON_IDENTITY`](/docs/errors/relkit-task-input-wire-non-identity)                                     | Task `inputWire` changes the input                                   |
| [`RELKIT_TASK_OUTPUT_INVALID`](/docs/errors/relkit-task-output-invalid)                                                       | Task output does not match its schema                                |
| [`RELKIT_TASK_OUTPUT_TOO_LARGE`](/docs/errors/relkit-task-output-too-large)                                                   | Task output is too large                                             |
| [`RELKIT_TASK_PROGRESS_INVALID`](/docs/errors/relkit-task-progress-invalid)                                                   | Progress update does not match its schema                            |
| [`RELKIT_TASK_PROGRESS_PERSISTENCE`](/docs/errors/relkit-task-progress-persistence)                                           | Progress update was not saved                                        |
| [`RELKIT_TASK_PROGRESS_RETENTION`](/docs/errors/relkit-task-progress-retention)                                               | Progress update belongs to an old attempt                            |
| [`RELKIT_TASK_PROGRESS_TOO_LARGE`](/docs/errors/relkit-task-progress-too-large)                                               | Progress update is too large                                         |
| [`RELKIT_TASK_RUNTIME_UNAVAILABLE`](/docs/errors/relkit-task-runtime-unavailable)                                             | Task-backed jobs are not supported yet                               |
| [`RELKIT_TASK_STREAM_INVALID`](/docs/errors/relkit-task-stream-invalid)                                                       | Stream item or name is not valid                                     |
| [`RELKIT_TASK_STREAM_PERSISTENCE`](/docs/errors/relkit-task-stream-persistence)                                               | Stream item was not saved                                            |
| [`RELKIT_TASK_STREAM_RETENTION`](/docs/errors/relkit-task-stream-retention)                                                   | Stream item belongs to an old attempt                                |
| [`RELKIT_TASK_STREAM_TOO_LARGE`](/docs/errors/relkit-task-stream-too-large)                                                   | Stream item is too large                                             |
| [`RELKIT_TASK_WIRE_INVALID`](/docs/errors/relkit-task-wire-invalid)                                                           | Job data is not in a supported format                                |
| [`RELKIT_TELEMETRY_EXPORTER_FAILED`](/docs/errors/relkit-telemetry-exporter-failed)                                           | Telemetry exporter failed                                            |
| [`RELKIT_TIMEOUT`](/docs/errors/relkit-timeout)                                                                               | Operation timed out                                                  |
| [`RELKIT_TOOL_ARGUMENT_VALIDATION`](/docs/errors/relkit-tool-argument-validation)                                             | Tool arguments are invalid                                           |
| [`RELKIT_TOOL_FAILED`](/docs/errors/relkit-tool-failed)                                                                       | Tool call failed                                                     |
| [`RELKIT_TOOL_NOT_ALLOWED`](/docs/errors/relkit-tool-not-allowed)                                                             | Tool is not allowed here                                             |
| [`RELKIT_TOOL_TARGET_INCOMPATIBLE`](/docs/errors/relkit-tool-target-incompatible)                                             | Tool target does not match                                           |
| [`RELKIT_TOOL_UNKNOWN`](/docs/errors/relkit-tool-unknown)                                                                     | Tool is not registered                                               |
| [`RELKIT_TRANSFORM_ID_COLLISION`](/docs/errors/relkit-transform-id-collision)                                                 | Transform ID is used twice                                           |
| [`RELKIT_TRIGGER_SCOPE_MISMATCH`](/docs/errors/relkit-trigger-scope-mismatch)                                                 | Trigger.dev run belongs to another scope                             |
| [`RELKIT_TRIGGER_SDK_UNAVAILABLE`](/docs/errors/relkit-trigger-sdk-unavailable)                                               | Trigger.dev SDK is not installed                                     |
| [`RELKIT_TRIGGER_SUBSCRIPTION_CURSOR_UNSUPPORTED`](/docs/errors/relkit-trigger-subscription-cursor-unsupported)               | Trigger.dev cannot resume from a cursor                              |
| [`RELKIT_TRIGGER_TASK_FACTORY_UNAVAILABLE`](/docs/errors/relkit-trigger-task-factory-unavailable)                             | Trigger.dev SDK has no task function                                 |
| [`RELKIT_TYPESCRIPT_COMPILER_FAILED`](/docs/errors/relkit-typescript-compiler-failed)                                         | TypeScript compiler could not run                                    |
| [`RELKIT_UNEXPECTED_DEFECT`](/docs/errors/relkit-unexpected-defect)                                                           | Unexpected internal error                                            |
| [`RELKIT_UNKNOWN_COMMAND`](/docs/errors/relkit-unknown-command)                                                               | Unknown relkit command                                               |
| [`RELKIT_VERCEL_CRONS_OUT_OF_DATE`](/docs/errors/relkit-vercel-crons-out-of-date)                                             | Vercel cron entries do not match the schedules                       |
| [`RELKIT_VERCEL_LOCAL_DURABLE_STATE`](/docs/errors/relkit-vercel-local-durable-state)                                         | Vercel build refused the local provider for durable work             |
| [`RELKIT_VERCEL_REALTIME_PROVIDER_REQUIRED`](/docs/errors/relkit-vercel-realtime-provider-required)                           | Realtime channel on Vercel needs an external provider                |
| [`RELKIT_WORKERS_PROVIDER_UNSUPPORTED`](/docs/errors/relkit-workers-provider-unsupported)                                     | Provider does not run on Cloudflare Workers                          |
| [`RELKIT_WORKERS_SQLITE_UNSUPPORTED`](/docs/errors/relkit-workers-sqlite-unsupported)                                         | SQLite database on Cloudflare Workers                                |
