# Agents diagnostics

<!-- Generated by docs/modules/diagnostics from the package catalogs. Write a guide in docs/diagnostics/<CODE>.md instead of editing this file. -->

Each Agents error has a stable `code`. Its `docs` link opens the page of that code. This page lists all 1362 codes, and [All diagnostics](https://vitehub.dev/docs/reference/diagnostics) lists every primitive.

## Runtime errors

| Code | What happened |
| --- | --- |
| [`AGENT_R0001`](https://vitehub.dev/docs/agents/diagnostics/agent_r0001) | See the page of the code. |
| [`AGENT_R0002`](https://vitehub.dev/docs/agents/diagnostics/agent_r0002) | Agent "\<name\>" did not export a valid default agent. |
| [`AGENT_R0003`](https://vitehub.dev/docs/agents/diagnostics/agent_r0003) | Tool "\<name\>" failed with a retryable policy decision. |
| [`AGENT_R0004`](https://vitehub.dev/docs/agents/diagnostics/agent_r0004) | toAiSdkModelMessages() cannot convert a Blob synchronously. Pass the message through a model-backed Agent Driver or provide an HTTPS URL. |
| [`AGENT_R0005`](https://vitehub.dev/docs/agents/diagnostics/agent_r0005) | toAiSdkModelMessages() cannot resolve attachment callbacks synchronously. Pass the message through a model-backed Agent Driver or provide an HTTPS URL. |
| [`AGENT_R0006`](https://vitehub.dev/docs/agents/diagnostics/agent_r0006) | aiSdk({ execution: { attachments: { maxBytes } } }) must be a positive finite number. |
| [`AGENT_R0007`](https://vitehub.dev/docs/agents/diagnostics/agent_r0007) | \<type\> attachment is \<byteLength\> bytes, which exceeds maxBytes (\<maxBytes\>). |
| [`AGENT_R0008`](https://vitehub.dev/docs/agents/diagnostics/agent_r0008) | \<type\> attachment fetchData() did not return supported attachment data. |
| [`AGENT_R0009`](https://vitehub.dev/docs/agents/diagnostics/agent_r0009) | See the page of the code. |
| [`AGENT_R0010`](https://vitehub.dev/docs/agents/diagnostics/agent_r0010) | Agent output maxAttempts must be a positive integer. |
| [`AGENT_R0011`](https://vitehub.dev/docs/agents/diagnostics/agent_r0011) | See the page of the code. |
| [`AGENT_R0012`](https://vitehub.dev/docs/agents/diagnostics/agent_r0012) | See the page of the code. |
| [`AGENT_R0013`](https://vitehub.dev/docs/agents/diagnostics/agent_r0013) | See the page of the code. |
| [`AGENT_R0014`](https://vitehub.dev/docs/agents/diagnostics/agent_r0014) | access() could not apply Workspace Scope. |
| [`AGENT_R0015`](https://vitehub.dev/docs/agents/diagnostics/agent_r0015) | access() requires options. |
| [`AGENT_R0016`](https://vitehub.dev/docs/agents/diagnostics/agent_r0016) | access() requires at least one access surface. |
| [`AGENT_R0017`](https://vitehub.dev/docs/agents/diagnostics/agent_r0017) | access({ workspace }) requires an explicit workspace. |
| [`AGENT_R0018`](https://vitehub.dev/docs/agents/diagnostics/agent_r0018) | access({ workspace }) with workspace.mode: "write" is only supported for provider Agent Drivers. |
| [`AGENT_R0019`](https://vitehub.dev/docs/agents/diagnostics/agent_r0019) | access({ workspace }) could not resolve a Workspace Scope. defaultScope or resolve() must produce a Workspace Scope. |
| [`AGENT_R0020`](https://vitehub.dev/docs/agents/diagnostics/agent_r0020) | Workspace Scope "\<scope\>" requires the admin role. |
| [`AGENT_R0021`](https://vitehub.dev/docs/agents/diagnostics/agent_r0021) | Workspace Scope source grant "\<source\>" requires a Workspace Definition. |
| [`AGENT_R0022`](https://vitehub.dev/docs/agents/diagnostics/agent_r0022) | Workspace Scope path must stay inside the workspace: "\<path\>". |
| [`AGENT_R0023`](https://vitehub.dev/docs/agents/diagnostics/agent_r0023) | Workspace path does not exist: \<value\>. |
| [`AGENT_R0024`](https://vitehub.dev/docs/agents/diagnostics/agent_r0024) | Source request is not visible in the selected workspace scope or does not match a declared Source target. |
| [`AGENT_R0025`](https://vitehub.dev/docs/agents/diagnostics/agent_r0025) | browser({ command }) must be a single executable name. |
| [`AGENT_R0026`](https://vitehub.dev/docs/agents/diagnostics/agent_r0026) | browser() requires a Provider Agent Driver. |
| [`AGENT_R0027`](https://vitehub.dev/docs/agents/diagnostics/agent_r0027) | diagnostics({ \<label\> }) must be a positive duration in milliseconds. |
| [`AGENT_R0028`](https://vitehub.dev/docs/agents/diagnostics/agent_r0028) | diagnostics({ peakStepBytes }) must be a positive number of bytes. |
| [`AGENT_R0029`](https://vitehub.dev/docs/agents/diagnostics/agent_r0029) | diagnostics() requires an options object when provided. |
| [`AGENT_R0030`](https://vitehub.dev/docs/agents/diagnostics/agent_r0030) | diagnostics({ interval }) cannot exceed diagnostics({ heartbeat }). |
| [`AGENT_R0031`](https://vitehub.dev/docs/agents/diagnostics/agent_r0031) | \<label\> must be a non-empty string. |
| [`AGENT_R0032`](https://vitehub.dev/docs/agents/diagnostics/agent_r0032) | email_send to must be a non-empty email address or array of email addresses. |
| [`AGENT_R0033`](https://vitehub.dev/docs/agents/diagnostics/agent_r0033) | email_send to must be a non-empty email address or array of email addresses. |
| [`AGENT_R0034`](https://vitehub.dev/docs/agents/diagnostics/agent_r0034) | email({ recipients }) must be an array of non-empty email addresses. |
| [`AGENT_R0035`](https://vitehub.dev/docs/agents/diagnostics/agent_r0035) | email({ recipients }) must be an array of non-empty email addresses. |
| [`AGENT_R0036`](https://vitehub.dev/docs/agents/diagnostics/agent_r0036) | email_send recipient is outside the configured allowlist. |
| [`AGENT_R0037`](https://vitehub.dev/docs/agents/diagnostics/agent_r0037) | email primitive must expose send(). |
| [`AGENT_R0049`](https://vitehub.dev/docs/agents/diagnostics/agent_r0049) | fetch() responseType "\<normalized\>" is not supported in v1. Use json or text. |
| [`AGENT_R0050`](https://vitehub.dev/docs/agents/diagnostics/agent_r0050) | fetch({ tools }) requires at least one fetch tool. |
| [`AGENT_R0051`](https://vitehub.dev/docs/agents/diagnostics/agent_r0051) | fetch() tool requires a url or request returning a url. |
| [`AGENT_R0052`](https://vitehub.dev/docs/agents/diagnostics/agent_r0052) | git commands must start with `git`. |
| [`AGENT_R0053`](https://vitehub.dev/docs/agents/diagnostics/agent_r0053) | git command requires a subcommand. |
| [`AGENT_R0054`](https://vitehub.dev/docs/agents/diagnostics/agent_r0054) | git() does not accept global git flags. The tool cwd option provides repository scoping without `git -C`. |
| [`AGENT_R0055`](https://vitehub.dev/docs/agents/diagnostics/agent_r0055) | git() accepts one git command without shell composition. |
| [`AGENT_R0056`](https://vitehub.dev/docs/agents/diagnostics/agent_r0056) | git() command has an unterminated quote. |
| [`AGENT_R0057`](https://vitehub.dev/docs/agents/diagnostics/agent_r0057) | git \<subcommand\> is not available through git(). |
| [`AGENT_R0058`](https://vitehub.dev/docs/agents/diagnostics/agent_r0058) | git \<subcommand\> requires git({ mode: "write" }) or is not supported. |
| [`AGENT_R0059`](https://vitehub.dev/docs/agents/diagnostics/agent_r0059) | git read commands cannot write output files. |
| [`AGENT_R0060`](https://vitehub.dev/docs/agents/diagnostics/agent_r0060) | git \<subcommand\> option \<option\> is not available through the controlled git shell. |
| [`AGENT_R0061`](https://vitehub.dev/docs/agents/diagnostics/agent_r0061) | git fetch only accepts configured remotes, not arbitrary remote URLs. |
| [`AGENT_R0062`](https://vitehub.dev/docs/agents/diagnostics/agent_r0062) | git arguments must stay inside the workspace. |
| [`AGENT_R0063`](https://vitehub.dev/docs/agents/diagnostics/agent_r0063) | git \<value\> option \<option\> is not available through the controlled git shell. |
| [`AGENT_R0064`](https://vitehub.dev/docs/agents/diagnostics/agent_r0064) | git fetch option \<option\> is not available through the controlled git shell. |
| [`AGENT_R0065`](https://vitehub.dev/docs/agents/diagnostics/agent_r0065) | git fetch cannot update local ref destinations through the controlled git shell. |
| [`AGENT_R0066`](https://vitehub.dev/docs/agents/diagnostics/agent_r0066) | See the page of the code. |
| [`AGENT_R0067`](https://vitehub.dev/docs/agents/diagnostics/agent_r0067) | git fetch only accepts configured remotes, not arbitrary remote URLs. |
| [`AGENT_R0068`](https://vitehub.dev/docs/agents/diagnostics/agent_r0068) | git cwd must stay inside the workspace. |
| [`AGENT_R0069`](https://vitehub.dev/docs/agents/diagnostics/agent_r0069) | GitHub pull request checkout requires an exact head SHA. |
| [`AGENT_R0070`](https://vitehub.dev/docs/agents/diagnostics/agent_r0070) | existing pull request checkout does not match the expected SHA. |
| [`AGENT_R0071`](https://vitehub.dev/docs/agents/diagnostics/agent_r0071) | See the page of the code. |
| [`AGENT_R0072`](https://vitehub.dev/docs/agents/diagnostics/agent_r0072) | See the page of the code. |
| [`AGENT_R0073`](https://vitehub.dev/docs/agents/diagnostics/agent_r0073) | git write commands require a clean working tree. |
| [`AGENT_R0074`](https://vitehub.dev/docs/agents/diagnostics/agent_r0074) | git command must be a non-empty string. |
| [`AGENT_R0075`](https://vitehub.dev/docs/agents/diagnostics/agent_r0075) | git() requires a git-capable workspace session. |
| [`AGENT_R0076`](https://vitehub.dev/docs/agents/diagnostics/agent_r0076) | git() requires a git-capable workspace session. |
| [`AGENT_R0077`](https://vitehub.dev/docs/agents/diagnostics/agent_r0077) | gmail_draft requires valid email addresses. |
| [`AGENT_R0078`](https://vitehub.dev/docs/agents/diagnostics/agent_r0078) | \<label\> must be one line of non-empty text. |
| [`AGENT_R0079`](https://vitehub.dev/docs/agents/diagnostics/agent_r0079) | gmail_draft body must be non-empty text. |
| [`AGENT_R0080`](https://vitehub.dev/docs/agents/diagnostics/agent_r0080) | \<capability\>() uses Connection "\<name\>", so it requires Connections. Set vitehub({ connections: true }). |
| [`AGENT_R0082`](https://vitehub.dev/docs/agents/diagnostics/agent_r0082) | MCP server "\<server\>" uses a connection, so it requires an http or sse transport config without authProvider. |
| [`AGENT_R0083`](https://vitehub.dev/docs/agents/diagnostics/agent_r0083) | mcp({ servers }) server "\<server\>" requires channels to be an array of Channel names. |
| [`AGENT_R0084`](https://vitehub.dev/docs/agents/diagnostics/agent_r0084) | gmail_draft subject must match the original subject for a reply. Omit it to use the original subject. |
| [`AGENT_R0087`](https://vitehub.dev/docs/agents/diagnostics/agent_r0087) | gmail_draft cannot reply: the original message has no valid Message-ID header. |
| [`AGENT_R0089`](https://vitehub.dev/docs/agents/diagnostics/agent_r0089) | gmail_search max must be an integer from 1 to 50. |
| [`AGENT_R0090`](https://vitehub.dev/docs/agents/diagnostics/agent_r0090) | gmail_search query must be a string. |
| [`AGENT_R0091`](https://vitehub.dev/docs/agents/diagnostics/agent_r0091) | gmail_search query cannot contain null bytes. |
| [`AGENT_R0092`](https://vitehub.dev/docs/agents/diagnostics/agent_r0092) | \<tool\> received an unexpected Gmail response. |
| [`AGENT_R0093`](https://vitehub.dev/docs/agents/diagnostics/agent_r0093) | gmail_draft \<label\> requires at least one email address. |
| [`AGENT_R0095`](https://vitehub.dev/docs/agents/diagnostics/agent_r0095) | gmail() requires { connection?: string, operations?: Array\<"search" \| "read" \| "draft"\> }. |
| [`AGENT_R0096`](https://vitehub.dev/docs/agents/diagnostics/agent_r0096) | Input command "\<name\>" must be a lowercase stable identifier. |
| [`AGENT_R0097`](https://vitehub.dev/docs/agents/diagnostics/agent_r0097) | inputCommands({ commands }) requires a command map. |
| [`AGENT_R0098`](https://vitehub.dev/docs/agents/diagnostics/agent_r0098) | Input command "\<name\>" must be an object. |
| [`AGENT_R0099`](https://vitehub.dev/docs/agents/diagnostics/agent_r0099) | Input command "\<name\>" description must be a non-empty string. |
| [`AGENT_R0100`](https://vitehub.dev/docs/agents/diagnostics/agent_r0100) | Input command "\<name\>" channels must be non-empty Channel IDs. |
| [`AGENT_R0101`](https://vitehub.dev/docs/agents/diagnostics/agent_r0101) | inputCommands({ trigger }) must be a non-empty string. |
| [`AGENT_R0102`](https://vitehub.dev/docs/agents/diagnostics/agent_r0102) | inputCommands({ trigger }) must not contain whitespace. |
| [`AGENT_R0103`](https://vitehub.dev/docs/agents/diagnostics/agent_r0103) | inputCommands exceeded the maximum command expansion depth. |
| [`AGENT_R0104`](https://vitehub.dev/docs/agents/diagnostics/agent_r0104) | The i18n primitive must be agentI18n from vite-hub/i18n/server. |
| [`AGENT_R0114`](https://vitehub.dev/docs/agents/diagnostics/agent_r0114) | mcp({ integrity }) requires fingerprint maps keyed by configured server name. |
| [`AGENT_R0115`](https://vitehub.dev/docs/agents/diagnostics/agent_r0115) | mcp({ integrity }) references unknown server "\<server\>". |
| [`AGENT_R0116`](https://vitehub.dev/docs/agents/diagnostics/agent_r0116) | mcp({ integrity }) requires a tool fingerprint map for server "\<server\>". |
| [`AGENT_R0117`](https://vitehub.dev/docs/agents/diagnostics/agent_r0117) | mcp({ servers }) requires a server map. |
| [`AGENT_R0118`](https://vitehub.dev/docs/agents/diagnostics/agent_r0118) | workspaceJsonlMemoryStore() requires an agent workspace with write access. |
| [`AGENT_R0119`](https://vitehub.dev/docs/agents/diagnostics/agent_r0119) | workspaceJsonlMemoryStore() requires an agent workspace. |
| [`AGENT_R0120`](https://vitehub.dev/docs/agents/diagnostics/agent_r0120) | memory() stores require an explicit scope. |
| [`AGENT_R0121`](https://vitehub.dev/docs/agents/diagnostics/agent_r0121) | Memory kind "\<kind\>" is not allowed for this store. |
| [`AGENT_R0122`](https://vitehub.dev/docs/agents/diagnostics/agent_r0122) | Multiple memory stores are configured; pass `store` explicitly. |
| [`AGENT_R0123`](https://vitehub.dev/docs/agents/diagnostics/agent_r0123) | Unknown memory store "\<storeName\>". |
| [`AGENT_R0124`](https://vitehub.dev/docs/agents/diagnostics/agent_r0124) | Memory store "\<storeName\>" does not allow \<tool\>. |
| [`AGENT_R0125`](https://vitehub.dev/docs/agents/diagnostics/agent_r0125) | Memory store "\<storeName\>" does not allow writes. |
| [`AGENT_R0126`](https://vitehub.dev/docs/agents/diagnostics/agent_r0126) | openapi() requires options. |
| [`AGENT_R0127`](https://vitehub.dev/docs/agents/diagnostics/agent_r0127) | openapi({ spec }) requires an OpenAPI document URL or object. |
| [`AGENT_R0128`](https://vitehub.dev/docs/agents/diagnostics/agent_r0128) | openapi({ operations }) requires at least one allowed operationId, as a list of operationIds or a record of names to operationIds. |
| [`AGENT_R0129`](https://vitehub.dev/docs/agents/diagnostics/agent_r0129) | openapi() operationId "\<operationId\>" was not found in the OpenAPI spec. |
| [`AGENT_R0130`](https://vitehub.dev/docs/agents/diagnostics/agent_r0130) | openapi({ spec }) requires an OpenAPI document URL or object. |
| [`AGENT_R0131`](https://vitehub.dev/docs/agents/diagnostics/agent_r0131) | openapi() spec must be a JSON OpenAPI document. |
| [`AGENT_R0132`](https://vitehub.dev/docs/agents/diagnostics/agent_r0132) | openapi() requires server when the spec does not declare servers[0].url. |
| [`AGENT_R0133`](https://vitehub.dev/docs/agents/diagnostics/agent_r0133) | openapi() operation "\<operationId\>" uses \<method\>; v1 supports GET, HEAD, and POST. |
| [`AGENT_R0134`](https://vitehub.dev/docs/agents/diagnostics/agent_r0134) | Duplicate OpenAPI operationId "\<operationId\>". |
| [`AGENT_R0135`](https://vitehub.dev/docs/agents/diagnostics/agent_r0135) | openapi() operation name "\<name\>" must start with a letter and use only letters, numbers, underscores, and hyphens. |
| [`AGENT_R0136`](https://vitehub.dev/docs/agents/diagnostics/agent_r0136) | OpenAPI operationId "\<operationId\>" generates duplicate \<name\> command "\<name\>". |
| [`AGENT_R0137`](https://vitehub.dev/docs/agents/diagnostics/agent_r0137) | \<operationId\> request is invalid: \<value\> |
| [`AGENT_R0138`](https://vitehub.dev/docs/agents/diagnostics/agent_r0138) | \<operationId\> input must be an object. |
| [`AGENT_R0139`](https://vitehub.dev/docs/agents/diagnostics/agent_r0139) | \<operationId\> does not support input option\<value\>: \<value\>. |
| [`AGENT_R0140`](https://vitehub.dev/docs/agents/diagnostics/agent_r0140) | \<operationId\> path input must be an object. |
| [`AGENT_R0141`](https://vitehub.dev/docs/agents/diagnostics/agent_r0141) | \<operationId\> query input must be an object. |
| [`AGENT_R0142`](https://vitehub.dev/docs/agents/diagnostics/agent_r0142) | \<operationId\> does not declare a request body. |
| [`AGENT_R0143`](https://vitehub.dev/docs/agents/diagnostics/agent_r0143) | \<operationId\> body input must be an object when mixed with top-level body fields. |
| [`AGENT_R0144`](https://vitehub.dev/docs/agents/diagnostics/agent_r0144) | \<operationId\> does not declare a request body. |
| [`AGENT_R0145`](https://vitehub.dev/docs/agents/diagnostics/agent_r0145) | \<operationId\> requires \<location\> parameter\<value\>: \<value\>. |
| [`AGENT_R0146`](https://vitehub.dev/docs/agents/diagnostics/agent_r0146) | \<operationId\> \<location\> input must be an object. |
| [`AGENT_R0147`](https://vitehub.dev/docs/agents/diagnostics/agent_r0147) | \<operationId\> does not support \<location\> parameter\<value\>: \<value\>. |
| [`AGENT_R0148`](https://vitehub.dev/docs/agents/diagnostics/agent_r0148) | \<operationId\> requires \<location\> parameter "\<name\>". |
| [`AGENT_R0149`](https://vitehub.dev/docs/agents/diagnostics/agent_r0149) | \<operationId\> requires path parameter "\<name\>". |
| [`AGENT_R0150`](https://vitehub.dev/docs/agents/diagnostics/agent_r0150) | otlp({ endpoint }) requires a non-empty OTLP base endpoint. |
| [`AGENT_R0152`](https://vitehub.dev/docs/agents/diagnostics/agent_r0152) | otlp({ endpoint }) requires an absolute HTTP(S) OTLP base endpoint. |
| [`AGENT_R0156`](https://vitehub.dev/docs/agents/diagnostics/agent_r0156) | progressSummary({ driver }) requires an agent runtime context. |
| [`AGENT_R0157`](https://vitehub.dev/docs/agents/diagnostics/agent_r0157) | progressSummary({ driver }) requires an agent runtime context. |
| [`AGENT_R0158`](https://vitehub.dev/docs/agents/diagnostics/agent_r0158) | See the page of the code. |
| [`AGENT_R0159`](https://vitehub.dev/docs/agents/diagnostics/agent_r0159) | rateLimit({ identity }) returned no identity. |
| [`AGENT_R0160`](https://vitehub.dev/docs/agents/diagnostics/agent_r0160) | rateLimit({ identity: "run" }) could not resolve Agent Run metadata. |
| [`AGENT_R0161`](https://vitehub.dev/docs/agents/diagnostics/agent_r0161) | rateLimit({ identity: "ip" }) found none of the trustedIpHeaders on the request. |
| [`AGENT_R0162`](https://vitehub.dev/docs/agents/diagnostics/agent_r0162) | rateLimit({ limiter }) must be a RateLimiter. |
| [`AGENT_R0163`](https://vitehub.dev/docs/agents/diagnostics/agent_r0163) | Invocation context value "\<id\>" is already set. |
| [`AGENT_R0164`](https://vitehub.dev/docs/agents/diagnostics/agent_r0164) | sandbox({ commands }) requires at least one executable name. |
| [`AGENT_R0165`](https://vitehub.dev/docs/agents/diagnostics/agent_r0165) | sandbox({ commands }) accepts executable names only, not shell command strings. |
| [`AGENT_R0166`](https://vitehub.dev/docs/agents/diagnostics/agent_r0166) | sandbox_exec requires a command. |
| [`AGENT_R0167`](https://vitehub.dev/docs/agents/diagnostics/agent_r0167) | Sandbox command "\<command\>" is not allowed. |
| [`AGENT_R0168`](https://vitehub.dev/docs/agents/diagnostics/agent_r0168) | Sandbox primitive does not expose exec(). |
| [`AGENT_R0198`](https://vitehub.dev/docs/agents/diagnostics/agent_r0198) | skills({ shellExecution }) must be "read" or "write". |
| [`AGENT_R0199`](https://vitehub.dev/docs/agents/diagnostics/agent_r0199) | skills({ shellExecution }) requires an explicit workspace. |
| [`AGENT_R0200`](https://vitehub.dev/docs/agents/diagnostics/agent_r0200) | Blob asset path must be a workspace-relative path: "\<path\>". |
| [`AGENT_R0201`](https://vitehub.dev/docs/agents/diagnostics/agent_r0201) | Blob asset publication requires Blob serving or a driver that returns a public URL. |
| [`AGENT_R0202`](https://vitehub.dev/docs/agents/diagnostics/agent_r0202) | Blob asset publication returned a relative URL without an Agent request URL. |
| [`AGENT_R0203`](https://vitehub.dev/docs/agents/diagnostics/agent_r0203) | list limit must be a positive number. |
| [`AGENT_R0204`](https://vitehub.dev/docs/agents/diagnostics/agent_r0204) | Capability "blob" requires the blob primitive to be configured or @vite-hub/blob to be installed. \<value\> |
| [`AGENT_R0205`](https://vitehub.dev/docs/agents/diagnostics/agent_r0205) | blob_edit workspacePath was not found in the active Agent Workspace Session: "\<path\>". |
| [`AGENT_R0206`](https://vitehub.dev/docs/agents/diagnostics/agent_r0206) | blob_edit workspacePath requires a Workspace file system. |
| [`AGENT_R0207`](https://vitehub.dev/docs/agents/diagnostics/agent_r0207) | blob_edit attachmentId \<id\> must identify one current input attachment.\<value\> |
| [`AGENT_R0208`](https://vitehub.dev/docs/agents/diagnostics/agent_r0208) | blob_edit attachmentId \<id\> did not resolve to supported attachment data. |
| [`AGENT_R0209`](https://vitehub.dev/docs/agents/diagnostics/agent_r0209) | Unsupported blob_read operation: \<operation\> |
| [`AGENT_R0210`](https://vitehub.dev/docs/agents/diagnostics/agent_r0210) | blob_edit put accepts exactly one of attachmentId, body, or workspacePath. |
| [`AGENT_R0211`](https://vitehub.dev/docs/agents/diagnostics/agent_r0211) | blob_edit put requires attachmentId, body, or workspacePath. |
| [`AGENT_R0212`](https://vitehub.dev/docs/agents/diagnostics/agent_r0212) | Unsupported blob_edit operation: \<operation\> |
| [`AGENT_R0213`](https://vitehub.dev/docs/agents/diagnostics/agent_r0213) | Capability "db" requires the database primitive to be configured or @vite-hub/database to be installed. \<value\> |
| [`AGENT_R0214`](https://vitehub.dev/docs/agents/diagnostics/agent_r0214) | db primitive must expose raw string exec() for db_exec. |
| [`AGENT_R0215`](https://vitehub.dev/docs/agents/diagnostics/agent_r0215) | db primitive must expose raw string query() for db_query. |
| [`AGENT_R0216`](https://vitehub.dev/docs/agents/diagnostics/agent_r0216) | Database "\<database\>" is not available. |
| [`AGENT_R0217`](https://vitehub.dev/docs/agents/diagnostics/agent_r0217) | db_query only accepts one SELECT, WITH ... SELECT, or read-only introspection PRAGMA statement. |
| [`AGENT_R0218`](https://vitehub.dev/docs/agents/diagnostics/agent_r0218) | db_exec requires a rationale. |
| [`AGENT_R0219`](https://vitehub.dev/docs/agents/diagnostics/agent_r0219) | db_exec accepts exactly one SQL statement. |
| [`AGENT_R0220`](https://vitehub.dev/docs/agents/diagnostics/agent_r0220) | db_exec does not accept read-only SQL; use db_query. |
| [`AGENT_R0221`](https://vitehub.dev/docs/agents/diagnostics/agent_r0221) | db_exec requires schemaMode: "write" for DDL statements. |
| [`AGENT_R0222`](https://vitehub.dev/docs/agents/diagnostics/agent_r0222) | db_exec requires mode: "write" for data mutation statements. |
| [`AGENT_R0223`](https://vitehub.dev/docs/agents/diagnostics/agent_r0223) | db_exec only accepts data mutation or DDL SQL statements. |
| [`AGENT_R0224`](https://vitehub.dev/docs/agents/diagnostics/agent_r0224) | kv_read requires exactly one of key or prefix. |
| [`AGENT_R0225`](https://vitehub.dev/docs/agents/diagnostics/agent_r0225) | Unsupported kv_edit operation: \<operation\> |
| [`AGENT_R0229`](https://vitehub.dev/docs/agents/diagnostics/agent_r0229) | \<label\> must be a non-empty string. |
| [`AGENT_R0230`](https://vitehub.dev/docs/agents/diagnostics/agent_r0230) | \<primitive\> primitive does not expose \<name\>(). |
| [`AGENT_R0231`](https://vitehub.dev/docs/agents/diagnostics/agent_r0231) | \<primitive\> Capability store selection requires the \<value\> primitive to expose store(). |
| [`AGENT_R0232`](https://vitehub.dev/docs/agents/diagnostics/agent_r0232) | title({ driver }) requires an agent runtime context. |
| [`AGENT_R0233`](https://vitehub.dev/docs/agents/diagnostics/agent_r0233) | title({ driver }) requires an agent runtime context. |
| [`AGENT_R0234`](https://vitehub.dev/docs/agents/diagnostics/agent_r0234) | streamTranscription() requires ai.experimental_streamTranscribe. |
| [`AGENT_R0235`](https://vitehub.dev/docs/agents/diagnostics/agent_r0235) | transcribe({ maxBytes }) must be a positive finite number. |
| [`AGENT_R0236`](https://vitehub.dev/docs/agents/diagnostics/agent_r0236) | transcribe() \<source\> is \<byteLength\> bytes, which exceeds maxBytes (\<maxBytes\>). |
| [`AGENT_R0237`](https://vitehub.dev/docs/agents/diagnostics/agent_r0237) | transcribe() requires audio data, fetchData, or url. |
| [`AGENT_R0238`](https://vitehub.dev/docs/agents/diagnostics/agent_r0238) | Failed to download audio: \<status\> \<statusText\>. |
| [`AGENT_R0239`](https://vitehub.dev/docs/agents/diagnostics/agent_r0239) | transcribe() requires audio data, fetchData, or url. |
| [`AGENT_R0240`](https://vitehub.dev/docs/agents/diagnostics/agent_r0240) | transcribe() requires ai.transcribe or ai.experimental_transcribe. |
| [`AGENT_R0241`](https://vitehub.dev/docs/agents/diagnostics/agent_r0241) | transcribe({ \<option\> }) must be a safe workspace path. |
| [`AGENT_R0242`](https://vitehub.dev/docs/agents/diagnostics/agent_r0242) | transcribe({ artifacts }) requires workspace.mode: "write". |
| [`AGENT_R0243`](https://vitehub.dev/docs/agents/diagnostics/agent_r0243) | transcribe({ artifacts }) requires workspace.mode: "write". |
| [`AGENT_R0244`](https://vitehub.dev/docs/agents/diagnostics/agent_r0244) | elevenLabsScribe() requires options. |
| [`AGENT_R0245`](https://vitehub.dev/docs/agents/diagnostics/agent_r0245) | elevenLabsScribe({ apiKey }) requires a string or resolver. |
| [`AGENT_R0246`](https://vitehub.dev/docs/agents/diagnostics/agent_r0246) | elevenLabsScribe({ webhookId }) requires a non-empty webhook id. |
| [`AGENT_R0256`](https://vitehub.dev/docs/agents/diagnostics/agent_r0256) | Transcription errors require a known code. |
| [`AGENT_R0257`](https://vitehub.dev/docs/agents/diagnostics/agent_r0257) | Transcription driver must be an object. |
| [`AGENT_R0258`](https://vitehub.dev/docs/agents/diagnostics/agent_r0258) | Transcription driver name must be a safe identifier. |
| [`AGENT_R0259`](https://vitehub.dev/docs/agents/diagnostics/agent_r0259) | Transcription driver submit must be a function. |
| [`AGENT_R0260`](https://vitehub.dev/docs/agents/diagnostics/agent_r0260) | Transcription driver receive must be a function. |
| [`AGENT_R0261`](https://vitehub.dev/docs/agents/diagnostics/agent_r0261) | \<field\> must be an object. |
| [`AGENT_R0262`](https://vitehub.dev/docs/agents/diagnostics/agent_r0262) | Transcription source must be an object. |
| [`AGENT_R0263`](https://vitehub.dev/docs/agents/diagnostics/agent_r0263) | Transcription source.url must be a non-empty URL. |
| [`AGENT_R0264`](https://vitehub.dev/docs/agents/diagnostics/agent_r0264) | Transcription source.url must use HTTP or HTTPS. |
| [`AGENT_R0265`](https://vitehub.dev/docs/agents/diagnostics/agent_r0265) | Transcription source.mediaType must be a non-empty string. |
| [`AGENT_R0266`](https://vitehub.dev/docs/agents/diagnostics/agent_r0266) | Transcription source.name must be a non-empty string. |
| [`AGENT_R0267`](https://vitehub.dev/docs/agents/diagnostics/agent_r0267) | Transcription driver \<provider\> returned an invalid \<phase\> id. |
| [`AGENT_R0268`](https://vitehub.dev/docs/agents/diagnostics/agent_r0268) | See the page of the code. |
| [`AGENT_R0269`](https://vitehub.dev/docs/agents/diagnostics/agent_r0269) | webSearch({ mode: "tool" }) requires a provider name. |
| [`AGENT_R0270`](https://vitehub.dev/docs/agents/diagnostics/agent_r0270) | webSearch() requires options with mode: "tool" or mode: "model". |
| [`AGENT_R0271`](https://vitehub.dev/docs/agents/diagnostics/agent_r0271) | webSearch() mode must be "tool" or "model". |
| [`AGENT_R0272`](https://vitehub.dev/docs/agents/diagnostics/agent_r0272) | \<toolName\> does not support option\<value\>: \<value\>. |
| [`AGENT_R0273`](https://vitehub.dev/docs/agents/diagnostics/agent_r0273) | \<toolName\> input must be an object. |
| [`AGENT_R0274`](https://vitehub.dev/docs/agents/diagnostics/agent_r0274) | webSearch({ mode: "tool" }) requires @agntn/web to be installed by the application. Install @agntn/web or use webSearch({ mode: "model" }). |
| [`AGENT_R0275`](https://vitehub.dev/docs/agents/diagnostics/agent_r0275) | web_search requires a non-empty query. |
| [`AGENT_R0276`](https://vitehub.dev/docs/agents/diagnostics/agent_r0276) | web_read requires a non-empty url. |
| [`AGENT_R0277`](https://vitehub.dev/docs/agents/diagnostics/agent_r0277) | \<label\> requires at least one command. |
| [`AGENT_R0278`](https://vitehub.dev/docs/agents/diagnostics/agent_r0278) | \<label\> accepts simple executable names or absolute paths without whitespace/control characters. |
| [`AGENT_R0279`](https://vitehub.dev/docs/agents/diagnostics/agent_r0279) | \<label\> accepts simple executable names or absolute paths without whitespace/control characters. |
| [`AGENT_R0280`](https://vitehub.dev/docs/agents/diagnostics/agent_r0280) | \<label\> accepts simple executable names or absolute paths without whitespace/control characters. |
| [`AGENT_R0281`](https://vitehub.dev/docs/agents/diagnostics/agent_r0281) | \<label\> description must be a string. |
| [`AGENT_R0282`](https://vitehub.dev/docs/agents/diagnostics/agent_r0282) | \<label\> install must be a string. |
| [`AGENT_R0283`](https://vitehub.dev/docs/agents/diagnostics/agent_r0283) | \<label\> must be a positive number no greater than 2,147,483,647. |
| [`AGENT_R0284`](https://vitehub.dev/docs/agents/diagnostics/agent_r0284) | workspace_exec \<label\> must be an array of strings. |
| [`AGENT_R0285`](https://vitehub.dev/docs/agents/diagnostics/agent_r0285) | workspace_exec env must be an object with string values. |
| [`AGENT_R0286`](https://vitehub.dev/docs/agents/diagnostics/agent_r0286) | workspace_exec env keys must be valid environment variable names. |
| [`AGENT_R0287`](https://vitehub.dev/docs/agents/diagnostics/agent_r0287) | workspace_exec env cannot override PATH or loader-related variables. |
| [`AGENT_R0288`](https://vitehub.dev/docs/agents/diagnostics/agent_r0288) | workspace_exec env must be an object with string values. |
| [`AGENT_R0289`](https://vitehub.dev/docs/agents/diagnostics/agent_r0289) | workspace_exec cwd must be a string. |
| [`AGENT_R0290`](https://vitehub.dev/docs/agents/diagnostics/agent_r0290) | workspace_exec cwd must stay inside the workspace. |
| [`AGENT_R0291`](https://vitehub.dev/docs/agents/diagnostics/agent_r0291) | See the page of the code. |
| [`AGENT_R0292`](https://vitehub.dev/docs/agents/diagnostics/agent_r0292) | Workspace command "\<command\>" exited with code \<exitCode\>. |
| [`AGENT_R0293`](https://vitehub.dev/docs/agents/diagnostics/agent_r0293) | Capability command execution requires a Workspace Session host that permits processes. |
| [`AGENT_R0294`](https://vitehub.dev/docs/agents/diagnostics/agent_r0294) | Workspace command "\<command\>" exited with code \<exitCode\>. |
| [`AGENT_R0295`](https://vitehub.dev/docs/agents/diagnostics/agent_r0295) | \<toolName\> requires a command. |
| [`AGENT_R0296`](https://vitehub.dev/docs/agents/diagnostics/agent_r0296) | Workspace command "\<command\>" is not allowed. |
| [`AGENT_R0297`](https://vitehub.dev/docs/agents/diagnostics/agent_r0297) | workspaceShell({ commands }) requires mode: "write" because provider commands run in the active Workspace Session. |
| [`AGENT_R0298`](https://vitehub.dev/docs/agents/diagnostics/agent_r0298) | workspaceShell({ commands }) is available only to provider Drivers. Use sandbox() for model-backed command tools. |
| [`AGENT_R0299`](https://vitehub.dev/docs/agents/diagnostics/agent_r0299) | \<label\> must be a stable CLI name. |
| [`AGENT_R0300`](https://vitehub.dev/docs/agents/diagnostics/agent_r0300) | \<label\> must be a stable command name without whitespace. |
| [`AGENT_R0301`](https://vitehub.dev/docs/agents/diagnostics/agent_r0301) | \<label\> requires at least one command. |
| [`AGENT_R0302`](https://vitehub.dev/docs/agents/diagnostics/agent_r0302) | \<label\> must be a command object. |
| [`AGENT_R0303`](https://vitehub.dev/docs/agents/diagnostics/agent_r0303) | \<label\> must define either commands or run. |
| [`AGENT_R0304`](https://vitehub.dev/docs/agents/diagnostics/agent_r0304) | \<label\> description must be a string. |
| [`AGENT_R0305`](https://vitehub.dev/docs/agents/diagnostics/agent_r0305) | \<label\> effects must be strings. |
| [`AGENT_R0306`](https://vitehub.dev/docs/agents/diagnostics/agent_r0306) | \<label\> examples must be strings. |
| [`AGENT_R0307`](https://vitehub.dev/docs/agents/diagnostics/agent_r0307) | \<label\> input must be a Standard Schema. |
| [`AGENT_R0308`](https://vitehub.dev/docs/agents/diagnostics/agent_r0308) | \<label\> output must be a Standard Schema or output metadata object. |
| [`AGENT_R0309`](https://vitehub.dev/docs/agents/diagnostics/agent_r0309) | \<label\> output format must be "json" or "text". |
| [`AGENT_R0310`](https://vitehub.dev/docs/agents/diagnostics/agent_r0310) | \<label\> run must be a function. |
| [`AGENT_R0311`](https://vitehub.dev/docs/agents/diagnostics/agent_r0311) | Capability "\<capabilityId\>" cli must be an object. |
| [`AGENT_R0312`](https://vitehub.dev/docs/agents/diagnostics/agent_r0312) | Capability "\<capabilityId\>" cli.description must be a string. |
| [`AGENT_R0313`](https://vitehub.dev/docs/agents/diagnostics/agent_r0313) | --input must be valid JSON. |
| [`AGENT_R0314`](https://vitehub.dev/docs/agents/diagnostics/agent_r0314) | Missing value for --input. |
| [`AGENT_R0315`](https://vitehub.dev/docs/agents/diagnostics/agent_r0315) | Unknown Capability CLI option: \<arg\>. |
| [`AGENT_R0316`](https://vitehub.dev/docs/agents/diagnostics/agent_r0316) | Unknown \<name\> command: \<value\>. |
| [`AGENT_R0317`](https://vitehub.dev/docs/agents/diagnostics/agent_r0317) | Missing \<name\> subcommand. Run `<name><value> --help`. |
| [`AGENT_R0318`](https://vitehub.dev/docs/agents/diagnostics/agent_r0318) | sandbox({ commands }) requires at least one executable name. |
| [`AGENT_R0319`](https://vitehub.dev/docs/agents/diagnostics/agent_r0319) | sandbox({ commands }) accepts executable names only, not shell command strings. |
| [`AGENT_R0321`](https://vitehub.dev/docs/agents/diagnostics/agent_r0321) | \<name\>() requires an explicit workspace. |
| [`AGENT_R0322`](https://vitehub.dev/docs/agents/diagnostics/agent_r0322) | workspaceShell({ mode: "write" }) requires workspace.mode: "write". |
| [`AGENT_R0323`](https://vitehub.dev/docs/agents/diagnostics/agent_r0323) | Duplicate workspace source "\<key\>" contributed by capabilities. |
| [`AGENT_R0324`](https://vitehub.dev/docs/agents/diagnostics/agent_r0324) | access() must be the first capability so invocation access is applied before other capabilities can read scoped runtime surfaces or expose tools. |
| [`AGENT_R0325`](https://vitehub.dev/docs/agents/diagnostics/agent_r0325) | \<capabilityId\>() workspace contribution source "\<key\>" conflicts with an existing Workspace Source. |
| [`AGENT_R0326`](https://vitehub.dev/docs/agents/diagnostics/agent_r0326) | \<capabilityId\>() workspace contribution source "\<key\>" conflicts with contributed Workspace Source "\<key\>" at mount "\<value\>". |
| [`AGENT_R0327`](https://vitehub.dev/docs/agents/diagnostics/agent_r0327) | \<capabilityId\>() workspace contribution source "\<key\>" conflicts with Workspace Source "\<existingKey\>" at mount "\<value\>". |
| [`AGENT_R0328`](https://vitehub.dev/docs/agents/diagnostics/agent_r0328) | \<capabilityId\>() workspace contribution rule "\<pattern\>" conflicts with existing Workspace Rule "\<existingPattern\>". |
| [`AGENT_R0329`](https://vitehub.dev/docs/agents/diagnostics/agent_r0329) | \<capabilityId\>() workspace contribution source "\<key\>" is outside the selected Workspace Scope. |
| [`AGENT_R0330`](https://vitehub.dev/docs/agents/diagnostics/agent_r0330) | \<capabilityId\>() workspace contribution source "\<key\>" conflicts with \<label\> "\<existingKey\>" at mount "\<value\>". |
| [`AGENT_R0331`](https://vitehub.dev/docs/agents/diagnostics/agent_r0331) | \<capabilityId\>() workspace contribution source "\<key\>" conflicts with an existing Workspace path at mount "\<mountPath\>". |
| [`AGENT_R0332`](https://vitehub.dev/docs/agents/diagnostics/agent_r0332) | Workspace Scope source grant references unknown source "\<key\>". |
| [`AGENT_R0333`](https://vitehub.dev/docs/agents/diagnostics/agent_r0333) | \<capabilityId\>() workspace contribution source "\<key\>" is outside the selected Workspace Scope. |
| [`AGENT_R0334`](https://vitehub.dev/docs/agents/diagnostics/agent_r0334) | delivery.effect() requires an effect intent with a non-empty kind. |
| [`AGENT_R0335`](https://vitehub.dev/docs/agents/diagnostics/agent_r0335) | delivery.finishEffect() requires an effect intent or resolver. |
| [`AGENT_R0336`](https://vitehub.dev/docs/agents/diagnostics/agent_r0336) | \<id\>() requires a model option or an agent model. |
| [`AGENT_R0337`](https://vitehub.dev/docs/agents/diagnostics/agent_r0337) | Capability "\<id\>" telemetry.metadata() requires a metadata object. |
| [`AGENT_R0338`](https://vitehub.dev/docs/agents/diagnostics/agent_r0338) | Capability CLI "\<name\>" conflicts with an existing Agent tool. |
| [`AGENT_R0339`](https://vitehub.dev/docs/agents/diagnostics/agent_r0339) | Capability tool "\<name\>" conflicts with an existing Capability CLI. |
| [`AGENT_R0340`](https://vitehub.dev/docs/agents/diagnostics/agent_r0340) | \<id\>() requires an explicit workspace. |
| [`AGENT_R0341`](https://vitehub.dev/docs/agents/diagnostics/agent_r0341) | \<id\>() requires workspace.mode: "write". |
| [`AGENT_R0342`](https://vitehub.dev/docs/agents/diagnostics/agent_r0342) | \<id\>() requires workspace path \<path\>. |
| [`AGENT_R0343`](https://vitehub.dev/docs/agents/diagnostics/agent_r0343) | pullRequest.read() requires pull request invocation context. |
| [`AGENT_R0344`](https://vitehub.dev/docs/agents/diagnostics/agent_r0344) | GitHub pull request workspace mount must stay inside the Workspace. |
| [`AGENT_R0345`](https://vitehub.dev/docs/agents/diagnostics/agent_r0345) | Missing GitHub App \<name\>. |
| [`AGENT_R0346`](https://vitehub.dev/docs/agents/diagnostics/agent_r0346) | Missing GitHub App \<name\>. |
| [`AGENT_R0347`](https://vitehub.dev/docs/agents/diagnostics/agent_r0347) | Failed to read GitHub App privateKeyPath: \<path\> |
| [`AGENT_R0348`](https://vitehub.dev/docs/agents/diagnostics/agent_r0348) | Missing GitHub App privateKey. github.app.privateKey, github.app.privateKeyPath, VITEHUB_GITHUB_PRIVATE_KEY, or VITEHUB_GITHUB_PRIVATE_KEY_PATH is required. |
| [`AGENT_R0349`](https://vitehub.dev/docs/agents/diagnostics/agent_r0349) | GitHub App installation token response did not include token. |
| [`AGENT_R0350`](https://vitehub.dev/docs/agents/diagnostics/agent_r0350) | GitHub delivery effect failed with \<status\>. |
| [`AGENT_R0351`](https://vitehub.dev/docs/agents/diagnostics/agent_r0351) | GitHub metadata request failed with \<status\>. |
| [`AGENT_R0352`](https://vitehub.dev/docs/agents/diagnostics/agent_r0352) | See the page of the code. |
| [`AGENT_R0353`](https://vitehub.dev/docs/agents/diagnostics/agent_r0353) | See the page of the code. |
| [`AGENT_R0354`](https://vitehub.dev/docs/agents/diagnostics/agent_r0354) | See the page of the code. |
| [`AGENT_R0355`](https://vitehub.dev/docs/agents/diagnostics/agent_r0355) | GitHub App metadata did not include an ID and a slug. |
| [`AGENT_R0356`](https://vitehub.dev/docs/agents/diagnostics/agent_r0356) | GitHub Agent activity could not resolve the authenticated identity. |
| [`AGENT_R0357`](https://vitehub.dev/docs/agents/diagnostics/agent_r0357) | GitHub Agent activity requires a target with repository and issue. |
| [`AGENT_R0358`](https://vitehub.dev/docs/agents/diagnostics/agent_r0358) | GitHub Agent activity requires a target with repository and issue. |
| [`AGENT_R0359`](https://vitehub.dev/docs/agents/diagnostics/agent_r0359) | GitHub Agent activity requires GitHub authentication. |
| [`AGENT_R0360`](https://vitehub.dev/docs/agents/diagnostics/agent_r0360) | GitHub metadata request failed with \<status\>. |
| [`AGENT_R0361`](https://vitehub.dev/docs/agents/diagnostics/agent_r0361) | GitHub delivery effect failed with \<status\>. |
| [`AGENT_R0362`](https://vitehub.dev/docs/agents/diagnostics/agent_r0362) | GitHub delivery artifact publishing requires a pull request base SHA. |
| [`AGENT_R0363`](https://vitehub.dev/docs/agents/diagnostics/agent_r0363) | GitHub delivery effect failed with \<status\>. |
| [`AGENT_R0364`](https://vitehub.dev/docs/agents/diagnostics/agent_r0364) | GitHub pull request lifecycle invocations cannot update a triggering comment. |
| [`AGENT_R0365`](https://vitehub.dev/docs/agents/diagnostics/agent_r0365) | discord({ adapter: true }) requires @chat-adapter/discord to be installed. |
| [`AGENT_R0366`](https://vitehub.dev/docs/agents/diagnostics/agent_r0366) | Discord thread title update failed: \<status\>\<value\> |
| [`AGENT_R0367`](https://vitehub.dev/docs/agents/diagnostics/agent_r0367) | GitHub pull request activity initialization failed. |
| [`AGENT_R0368`](https://vitehub.dev/docs/agents/diagnostics/agent_r0368) | GitHub pull request workspace requires a repository source. |
| [`AGENT_R0369`](https://vitehub.dev/docs/agents/diagnostics/agent_r0369) | GitHub pull request workspace requires a source ref. |
| [`AGENT_R0370`](https://vitehub.dev/docs/agents/diagnostics/agent_r0370) | GitHub pull request workspace requires the exact head SHA, but loading \<repository\>#\<issueNumber\> failed: \<reason\>\<tokenReason\> |
| [`AGENT_R0371`](https://vitehub.dev/docs/agents/diagnostics/agent_r0371) | channelAdapter() requires a non-empty Channel kind. |
| [`AGENT_R0372`](https://vitehub.dev/docs/agents/diagnostics/agent_r0372) | http({ path }) is not wired yet. Webhook routes are configured with webhooks.path. |
| [`AGENT_R0373`](https://vitehub.dev/docs/agents/diagnostics/agent_r0373) | telegram() accepts webhookSecret or webhooks, not both. |
| [`AGENT_R0374`](https://vitehub.dev/docs/agents/diagnostics/agent_r0374) | Telegram Channel synchronization requires telegram({ botToken }) or TELEGRAM_BOT_TOKEN. |
| [`AGENT_R0375`](https://vitehub.dev/docs/agents/diagnostics/agent_r0375) | chat.message trigger requires at least one UI message. |
| [`AGENT_R0376`](https://vitehub.dev/docs/agents/diagnostics/agent_r0376) | Durable chat error fallback timed out after \<timeout\>ms. |
| [`AGENT_R0377`](https://vitehub.dev/docs/agents/diagnostics/agent_r0377) | Durable chat error fallback resolution has already completed. |
| [`AGENT_R0378`](https://vitehub.dev/docs/agents/diagnostics/agent_r0378) | messages.delivery "manual" and messages.loading cannot be combined with messages.stream or messages.commentary. |
| [`AGENT_R0379`](https://vitehub.dev/docs/agents/diagnostics/agent_r0379) | messages.loading.updates must be "commentary". |
| [`AGENT_R0380`](https://vitehub.dev/docs/agents/diagnostics/agent_r0380) | messages.loading.intervalMs must be a positive finite number. |
| [`AGENT_R0381`](https://vitehub.dev/docs/agents/diagnostics/agent_r0381) | messages.final.delivery must be "new-message" or "placeholder". |
| [`AGENT_R0382`](https://vitehub.dev/docs/agents/diagnostics/agent_r0382) | messages.timeout must be a positive finite number. |
| [`AGENT_R0383`](https://vitehub.dev/docs/agents/diagnostics/agent_r0383) | messages.durable requires messages.loading or delivery: "manual" because a durable Workflow cannot stream the reply. |
| [`AGENT_R0384`](https://vitehub.dev/docs/agents/diagnostics/agent_r0384) | messages.durable cannot be combined with concurrency: \<concurrency\> because Workflow handoff releases the webhook lease before the Agent Invocation settles. |
| [`AGENT_R0385`](https://vitehub.dev/docs/agents/diagnostics/agent_r0385) | Missing value for \<flag\>. |
| [`AGENT_R0386`](https://vitehub.dev/docs/agents/diagnostics/agent_r0386) | --threshold must be a number. |
| [`AGENT_R0387`](https://vitehub.dev/docs/agents/diagnostics/agent_r0387) | --threshold must be a number. |
| [`AGENT_R0388`](https://vitehub.dev/docs/agents/diagnostics/agent_r0388) | Unknown option: \<arg\>. |
| [`AGENT_R0389`](https://vitehub.dev/docs/agents/diagnostics/agent_r0389) | Unexpected argument: \<arg\>. |
| [`AGENT_R0390`](https://vitehub.dev/docs/agents/diagnostics/agent_r0390) | \<arg\> cannot be empty. |
| [`AGENT_R0391`](https://vitehub.dev/docs/agents/diagnostics/agent_r0391) | --prompt cannot be empty. |
| [`AGENT_R0392`](https://vitehub.dev/docs/agents/diagnostics/agent_r0392) | -- separates Capability CLI arguments and requires --cli. |
| [`AGENT_R0393`](https://vitehub.dev/docs/agents/diagnostics/agent_r0393) | See the page of the code. |
| [`AGENT_R0394`](https://vitehub.dev/docs/agents/diagnostics/agent_r0394) | See the page of the code. |
| [`AGENT_R0395`](https://vitehub.dev/docs/agents/diagnostics/agent_r0395) | Unknown option: \<arg\>. |
| [`AGENT_R0396`](https://vitehub.dev/docs/agents/diagnostics/agent_r0396) | Pass either --prompt or message text, not both. |
| [`AGENT_R0397`](https://vitehub.dev/docs/agents/diagnostics/agent_r0397) | Pass either --cli or Agent message/trigger input, not both. |
| [`AGENT_R0398`](https://vitehub.dev/docs/agents/diagnostics/agent_r0398) | Agent Dev Loop --input must be a JSON object. |
| [`AGENT_R0399`](https://vitehub.dev/docs/agents/diagnostics/agent_r0399) | \<label\> must stay inside the workspace: "\<path\>". |
| [`AGENT_R0400`](https://vitehub.dev/docs/agents/diagnostics/agent_r0400) | publishWorkspaceArtifacts() requires an Agent delivery context with a Workspace. |
| [`AGENT_R0401`](https://vitehub.dev/docs/agents/diagnostics/agent_r0401) | Agent names cannot exceed 512 characters. |
| [`AGENT_R0402`](https://vitehub.dev/docs/agents/diagnostics/agent_r0402) | Provider Agent Evaluation model variants require a string model id; gateway descriptors and LanguageModel instances are only supported by model-backed Drivers. |
| [`AGENT_R0403`](https://vitehub.dev/docs/agents/diagnostics/agent_r0403) | Agent Evaluation variants with model or instructions require a model-backed Agent Driver. |
| [`AGENT_R0404`](https://vitehub.dev/docs/agents/diagnostics/agent_r0404) | Agent Evaluation variants with model or instructions require a model-backed Agent Driver. |
| [`AGENT_R0406`](https://vitehub.dev/docs/agents/diagnostics/agent_r0406) | defineEval() could not infer the sibling Agent Definition. The sibling Agent Definition must be passed explicitly. |
| [`AGENT_R0407`](https://vitehub.dev/docs/agents/diagnostics/agent_r0407) | defineEval() expected \<sibling\> to default export an Agent Definition. |
| [`AGENT_R0408`](https://vitehub.dev/docs/agents/diagnostics/agent_r0408) | Agent Evaluation variants with model or instructions require an Agent Definition created with defineAgent(...). |
| [`AGENT_R0409`](https://vitehub.dev/docs/agents/diagnostics/agent_r0409) | defineEval({ scenarios }) requires at least one scenario. |
| [`AGENT_R0410`](https://vitehub.dev/docs/agents/diagnostics/agent_r0410) | defineEval() requires scenarios or test. |
| [`AGENT_R0411`](https://vitehub.dev/docs/agents/diagnostics/agent_r0411) | Agent Eval test() must call t.send(...). |
| [`AGENT_R0412`](https://vitehub.dev/docs/agents/diagnostics/agent_r0412) | No completed run found to export |
| [`AGENT_R0421`](https://vitehub.dev/docs/agents/diagnostics/agent_r0421) | Agent runtime agentWorkflow() requires a name when invoked directly. A stable Workflow Definition target requires agentWorkflow("name"). |
| [`AGENT_R0422`](https://vitehub.dev/docs/agents/diagnostics/agent_r0422) | Workflow name \<name\> belongs to a discovered Agent. Another Agent cannot use it. Give this Agent its own name with agentWorkflow("other-name"), or run the discovered Agent. |
| [`AGENT_R0423`](https://vitehub.dev/docs/agents/diagnostics/agent_r0423) | Agent activity delivery failed. |
| [`AGENT_R0424`](https://vitehub.dev/docs/agents/diagnostics/agent_r0424) | Agent activity delivery could not be retained. |
| [`AGENT_R0425`](https://vitehub.dev/docs/agents/diagnostics/agent_r0425) | server/channels/\<name\> must default-export defineChannel() from vite-hub/channels. |
| [`AGENT_R0426`](https://vitehub.dev/docs/agents/diagnostics/agent_r0426) | defineAgent({ channels }) cannot be combined with the chat() capability. Move chat options to defineAgent({ messages, channels }). |
| [`AGENT_R0427`](https://vitehub.dev/docs/agents/diagnostics/agent_r0427) | Agent Driver is required unless the agent uses driver.run. |
| [`AGENT_R0428`](https://vitehub.dev/docs/agents/diagnostics/agent_r0428) | Agent Invocation output has already finished. |
| [`AGENT_R0429`](https://vitehub.dev/docs/agents/diagnostics/agent_r0429) | Agent Invocation output has already finished. |
| [`AGENT_R0430`](https://vitehub.dev/docs/agents/diagnostics/agent_r0430) | Agent names cannot exceed 512 characters. |
| [`AGENT_R0431`](https://vitehub.dev/docs/agents/diagnostics/agent_r0431) | Workspace source "\<key\>" is already defined. |
| [`AGENT_R0434`](https://vitehub.dev/docs/agents/diagnostics/agent_r0434) | Channel finish delivery effect resolvers must return an effect intent with a non-empty kind. |
| [`AGENT_R0435`](https://vitehub.dev/docs/agents/diagnostics/agent_r0435) | Durable chat error fallback delivery timed out after \<timeout\>ms. |
| [`AGENT_R0438`](https://vitehub.dev/docs/agents/diagnostics/agent_r0438) | See the page of the code. |
| [`AGENT_R0439`](https://vitehub.dev/docs/agents/diagnostics/agent_r0439) | Agent Invocation output has already finished. |
| [`AGENT_R0440`](https://vitehub.dev/docs/agents/diagnostics/agent_r0440) | Agent Invocation UI-message stream has already been created. |
| [`AGENT_R0441`](https://vitehub.dev/docs/agents/diagnostics/agent_r0441) | Agent Invocation output has already finished. |
| [`AGENT_R0442`](https://vitehub.dev/docs/agents/diagnostics/agent_r0442) | Agent Invocation output has already finished. |
| [`AGENT_R0443`](https://vitehub.dev/docs/agents/diagnostics/agent_r0443) | Agent Invocation output has already finished. |
| [`AGENT_R0444`](https://vitehub.dev/docs/agents/diagnostics/agent_r0444) | Durable Channel delivery requires this Agent invocation to start a Workflow. Disable durable delivery or remove nonportable Capabilities and configure a Workflow provider. |
| [`AGENT_R0446`](https://vitehub.dev/docs/agents/diagnostics/agent_r0446) | See the page of the code. |
| [`AGENT_R0447`](https://vitehub.dev/docs/agents/diagnostics/agent_r0447) | See the page of the code. |
| [`AGENT_R0450`](https://vitehub.dev/docs/agents/diagnostics/agent_r0450) | Instruction \<tag\> block requires a non-empty \<name\>. |
| [`AGENT_R0451`](https://vitehub.dev/docs/agents/diagnostics/agent_r0451) | See the page of the code. |
| [`AGENT_R0452`](https://vitehub.dev/docs/agents/diagnostics/agent_r0452) | See the page of the code. |
| [`AGENT_R0453`](https://vitehub.dev/docs/agents/diagnostics/agent_r0453) | Adaptive Agent capacity sample must contain a finite concurrency. |
| [`AGENT_R0454`](https://vitehub.dev/docs/agents/diagnostics/agent_r0454) | \<label\> does not support option\<value\>: \<value\>. |
| [`AGENT_R0455`](https://vitehub.dev/docs/agents/diagnostics/agent_r0455) | defineAgent({ driver.capacity }) must be an object. |
| [`AGENT_R0456`](https://vitehub.dev/docs/agents/diagnostics/agent_r0456) | defineAgent({ driver.capacity.concurrency }) must be a positive integer. |
| [`AGENT_R0457`](https://vitehub.dev/docs/agents/diagnostics/agent_r0457) | defineAgent({ driver.capacity.queue }) must be an object. |
| [`AGENT_R0458`](https://vitehub.dev/docs/agents/diagnostics/agent_r0458) | defineAgent({ driver.capacity.queue.maxPending }) must be a positive integer. |
| [`AGENT_R0459`](https://vitehub.dev/docs/agents/diagnostics/agent_r0459) | defineAgent({ driver.capacity.queue.timeout }) must be a positive finite number no greater than 2147483647. |
| [`AGENT_R0460`](https://vitehub.dev/docs/agents/diagnostics/agent_r0460) | defineAgent({ driver.capacity.adaptive }) must be an object. |
| [`AGENT_R0461`](https://vitehub.dev/docs/agents/diagnostics/agent_r0461) | defineAgent({ driver.capacity.adaptive.sample }) must be a function. |
| [`AGENT_R0462`](https://vitehub.dev/docs/agents/diagnostics/agent_r0462) | defineAgent({ driver.capacity.adaptive.fallbackConcurrency }) must be an integer between zero and concurrency. |
| [`AGENT_R0463`](https://vitehub.dev/docs/agents/diagnostics/agent_r0463) | defineAgent({ driver.capacity.adaptive.intervalMs }) must be a finite number between 100 and 2147483647. |
| [`AGENT_R0464`](https://vitehub.dev/docs/agents/diagnostics/agent_r0464) | defineAgent({ driver.capacity.adaptive.rampUp }) must be a positive integer. |
| [`AGENT_R0465`](https://vitehub.dev/docs/agents/diagnostics/agent_r0465) | defineAgent({ driver.capacity.adaptive.sampleTimeoutMs }) must be a positive finite number no greater than 2147483647. |
| [`AGENT_R0466`](https://vitehub.dev/docs/agents/diagnostics/agent_r0466) | defineAgent({ driver.env }) must contain only string or undefined values. |
| [`AGENT_R0467`](https://vitehub.dev/docs/agents/diagnostics/agent_r0467) | defineAgent({ driver.env }) must contain only string or undefined values. |
| [`AGENT_R0468`](https://vitehub.dev/docs/agents/diagnostics/agent_r0468) | defineAgent({ driver.launch }) must be a command object or resolver. |
| [`AGENT_R0469`](https://vitehub.dev/docs/agents/diagnostics/agent_r0469) | defineAgent({ driver.launch.args }) must contain only strings. |
| [`AGENT_R0470`](https://vitehub.dev/docs/agents/diagnostics/agent_r0470) | defineAgent({ driver.permissions }) must be "ask", "allow-edits", "allow-edits-unattended", or "allow-all". |
| [`AGENT_R0471`](https://vitehub.dev/docs/agents/diagnostics/agent_r0471) | defineAgent({ driver.execution }) must be an object. |
| [`AGENT_R0472`](https://vitehub.dev/docs/agents/diagnostics/agent_r0472) | defineAgent({ driver.execution.attachments }) must be an object. |
| [`AGENT_R0473`](https://vitehub.dev/docs/agents/diagnostics/agent_r0473) | defineAgent({ driver.execution.attachments.maxBytes }) must be a positive finite number. |
| [`AGENT_R0474`](https://vitehub.dev/docs/agents/diagnostics/agent_r0474) | defineAgent({ driver.model }) must be a non-empty string. |
| [`AGENT_R0475`](https://vitehub.dev/docs/agents/diagnostics/agent_r0475) | defineAgent({ driver.providerSettings }) must be an object. |
| [`AGENT_R0476`](https://vitehub.dev/docs/agents/diagnostics/agent_r0476) | defineAgent({ driver.sessionStorePath }) must be a non-empty string. |
| [`AGENT_R0477`](https://vitehub.dev/docs/agents/diagnostics/agent_r0477) | defineAgent({ driver: { kind: "\<provider\>" } }) does not support Codex option\<value\>: \<value\>. |
| [`AGENT_R0478`](https://vitehub.dev/docs/agents/diagnostics/agent_r0478) | defineAgent({ driver.credentials }) must be a string, sealed Server Env value, or resolver. |
| [`AGENT_R0479`](https://vitehub.dev/docs/agents/diagnostics/agent_r0479) | defineAgent({ driver.credentialProfile }) must be a non-empty string. |
| [`AGENT_R0480`](https://vitehub.dev/docs/agents/diagnostics/agent_r0480) | defineAgent({ driver.credentialProfile }) must start with a lowercase letter or number and contain only lowercase letters, numbers, dots, underscores, or hyphens. |
| [`AGENT_R0481`](https://vitehub.dev/docs/agents/diagnostics/agent_r0481) | defineAgent({ driver.credentialProfile }) must not use a Windows-equivalent path name. |
| [`AGENT_R0482`](https://vitehub.dev/docs/agents/diagnostics/agent_r0482) | defineAgent({ driver.credentialProfile }) requires driver.credentials. |
| [`AGENT_R0483`](https://vitehub.dev/docs/agents/diagnostics/agent_r0483) | defineAgent({ driver.sessionStorePath }) requires driver.credentialProfile when driver.credentials is configured. |
| [`AGENT_R0484`](https://vitehub.dev/docs/agents/diagnostics/agent_r0484) | defineAgent({ driver.reasoningEffort }) must be a non-empty model-advertised value. |
| [`AGENT_R0485`](https://vitehub.dev/docs/agents/diagnostics/agent_r0485) | defineAgent({ driver.reasoningSummary }) must be "auto", "concise", "detailed", or "none". |
| [`AGENT_R0486`](https://vitehub.dev/docs/agents/diagnostics/agent_r0486) | defineAgent({ driver.reasoningEffort, driver.reasoningSummary }) requires driver.model. |
| [`AGENT_R0487`](https://vitehub.dev/docs/agents/diagnostics/agent_r0487) | defineAgent({ driver.credentials }) owns the Codex shadow home and cannot be combined with providerSettings.shadowHomePath. |
| [`AGENT_R0488`](https://vitehub.dev/docs/agents/diagnostics/agent_r0488) | defineAgent({ driver.credentials }) owns CODEX_HOME and cannot be combined with driver.env.CODEX_HOME. |
| [`AGENT_R0489`](https://vitehub.dev/docs/agents/diagnostics/agent_r0489) | Codex reasoning options cannot be combined with driver.env.T3CODE_CODEX_LAUNCH_ARGS. |
| [`AGENT_R0490`](https://vitehub.dev/docs/agents/diagnostics/agent_r0490) | defineAgent({ driver: "\<driver\>" }) is not an Agent Driver. Expected codexDriver(), claudeCodeDriver(), or a custom { model }, { run }, or { ask } driver.\<hint\> |
| [`AGENT_R0491`](https://vitehub.dev/docs/agents/diagnostics/agent_r0491) | defineAgent({ driver }) must be codexDriver(), claudeCodeDriver(), or a custom driver object. |
| [`AGENT_R0492`](https://vitehub.dev/docs/agents/diagnostics/agent_r0492) | defineAgent({ driver: { kind: "\<provider\>" } }) must come from \<value\>(). Use driver: \<value\>({ ... }) from vite-hub/agent. |
| [`AGENT_R0493`](https://vitehub.dev/docs/agents/diagnostics/agent_r0493) | defineAgent({ driver }) requires exactly one of driver.model, driver.run, or driver.ask. |
| [`AGENT_R0494`](https://vitehub.dev/docs/agents/diagnostics/agent_r0494) | defineAgent({ driver.maxRetries }) must be a non-negative integer. |
| [`AGENT_R0495`](https://vitehub.dev/docs/agents/diagnostics/agent_r0495) | progressSummary({ driver }) requires a Driver that returns text. driver.ask returns Jev answers. |
| [`AGENT_R0496`](https://vitehub.dev/docs/agents/diagnostics/agent_r0496) | defineAgent({ driver.run }) must be a function. |
| [`AGENT_R0497`](https://vitehub.dev/docs/agents/diagnostics/agent_r0497) | Agent Driver is required. Expected codexDriver(), claudeCodeDriver(), or a custom { model }, { run }, or { ask } driver. |
| [`AGENT_R0498`](https://vitehub.dev/docs/agents/diagnostics/agent_r0498) | Missing value for \<flag\>. |
| [`AGENT_R0499`](https://vitehub.dev/docs/agents/diagnostics/agent_r0499) | Unknown option: \<arg\>. |
| [`AGENT_R0500`](https://vitehub.dev/docs/agents/diagnostics/agent_r0500) | Unexpected argument: \<arg\>. |
| [`AGENT_R0501`](https://vitehub.dev/docs/agents/diagnostics/agent_r0501) | Invalid Agent discovery response |
| [`AGENT_R0502`](https://vitehub.dev/docs/agents/diagnostics/agent_r0502) | Missing value for \<flag\>. |
| [`AGENT_R0503`](https://vitehub.dev/docs/agents/diagnostics/agent_r0503) | \<flag\> requires a positive integer. |
| [`AGENT_R0504`](https://vitehub.dev/docs/agents/diagnostics/agent_r0504) | Unknown option: \<argument\>. |
| [`AGENT_R0505`](https://vitehub.dev/docs/agents/diagnostics/agent_r0505) | Unexpected argument: \<argument\>. |
| [`AGENT_R0506`](https://vitehub.dev/docs/agents/diagnostics/agent_r0506) | Choose list, show, tail, export, wait-idle, cancel, undo, delete, prune, or compact. |
| [`AGENT_R0507`](https://vitehub.dev/docs/agents/diagnostics/agent_r0507) | \<action\> requires an invocation id. |
| [`AGENT_R0508`](https://vitehub.dev/docs/agents/diagnostics/agent_r0508) | Invocation inspection returned an invalid list response. |
| [`AGENT_R0509`](https://vitehub.dev/docs/agents/diagnostics/agent_r0509) | Invocation inspection returned an invalid detail response. |
| [`AGENT_R0510`](https://vitehub.dev/docs/agents/diagnostics/agent_r0510) | Invocation inspection returned an invalid observation. |
| [`AGENT_R0511`](https://vitehub.dev/docs/agents/diagnostics/agent_r0511) | Console request to \<origin\> failed: \<value\> |
| [`AGENT_R0512`](https://vitehub.dev/docs/agents/diagnostics/agent_r0512) | Agent model apiKey must be a string or sealed value. |
| [`AGENT_R0513`](https://vitehub.dev/docs/agents/diagnostics/agent_r0513) | Agent model apiKey must be non-empty when provided. |
| [`AGENT_R0514`](https://vitehub.dev/docs/agents/diagnostics/agent_r0514) | defineAgent({ driver: { model, gateway: chatgpt() } }) needs model to be a model ID, such as "gpt-5.5". List the IDs with vitehub connections models chatgpt. |
| [`AGENT_R0516`](https://vitehub.dev/docs/agents/diagnostics/agent_r0516) | Standard Schema returned invalid issues. |
| [`AGENT_R0517`](https://vitehub.dev/docs/agents/diagnostics/agent_r0517) | See the page of the code. |
| [`AGENT_R0518`](https://vitehub.dev/docs/agents/diagnostics/agent_r0518) | Standard Schema returned no value. |
| [`AGENT_R0519`](https://vitehub.dev/docs/agents/diagnostics/agent_r0519) | Timed out waiting for the Agent Channel delivery journal lock. |
| [`AGENT_R0520`](https://vitehub.dev/docs/agents/diagnostics/agent_r0520) | Lost ownership of the Agent Channel delivery journal lock. |
| [`AGENT_R0521`](https://vitehub.dev/docs/agents/diagnostics/agent_r0521) | --query requires a value. |
| [`AGENT_R0522`](https://vitehub.dev/docs/agents/diagnostics/agent_r0522) | Unknown channels history option: \<arg\> |
| [`AGENT_R0523`](https://vitehub.dev/docs/agents/diagnostics/agent_r0523) | --url must be an HTTPS origin without credentials, a path, query, or fragment. |
| [`AGENT_R0524`](https://vitehub.dev/docs/agents/diagnostics/agent_r0524) | Channel \<agent\>/\<channel\> needs a configured webhook secret before history can be exported. |
| [`AGENT_R0525`](https://vitehub.dev/docs/agents/diagnostics/agent_r0525) | Channel history deployment preflight request failed. |
| [`AGENT_R0526`](https://vitehub.dev/docs/agents/diagnostics/agent_r0526) | Channel history deployment preflight failed; expected \<agentChannelSyncProviderHeader\>: \<provider\>. |
| [`AGENT_R0527`](https://vitehub.dev/docs/agents/diagnostics/agent_r0527) | channels history requires --stage \<name\>. |
| [`AGENT_R0528`](https://vitehub.dev/docs/agents/diagnostics/agent_r0528) | channels history requires --url \<https-origin\> or vitehub({ publicUrl }). |
| [`AGENT_R0529`](https://vitehub.dev/docs/agents/diagnostics/agent_r0529) | channels history requires --output \<directory\>. |
| [`AGENT_R0530`](https://vitehub.dev/docs/agents/diagnostics/agent_r0530) | channels history requires exactly one matching Channel; found \<length\>. |
| [`AGENT_R0531`](https://vitehub.dev/docs/agents/diagnostics/agent_r0531) | Channel \<agent\>/\<channel\> requires --thread \<id\>. |
| [`AGENT_R0532`](https://vitehub.dev/docs/agents/diagnostics/agent_r0532) | Channel \<agent\>/\<channel\> has no deployed webhook route. |
| [`AGENT_R0533`](https://vitehub.dev/docs/agents/diagnostics/agent_r0533) | Channel history output already exists: \<outputDir\> |
| [`AGENT_R0534`](https://vitehub.dev/docs/agents/diagnostics/agent_r0534) | Channel history export failed with HTTP \<status\>\<value\>. |
| [`AGENT_R0535`](https://vitehub.dev/docs/agents/diagnostics/agent_r0535) | \<flag\> requires a value. |
| [`AGENT_R0536`](https://vitehub.dev/docs/agents/diagnostics/agent_r0536) | Unknown channels sync option: \<arg\> |
| [`AGENT_R0537`](https://vitehub.dev/docs/agents/diagnostics/agent_r0537) | \<label\> must be a valid HTTPS URL. |
| [`AGENT_R0538`](https://vitehub.dev/docs/agents/diagnostics/agent_r0538) | \<label\> must use HTTPS without credentials. |
| [`AGENT_R0539`](https://vitehub.dev/docs/agents/diagnostics/agent_r0539) | \<flag\> must be an HTTPS origin without credentials, a path, query, or fragment. |
| [`AGENT_R0540`](https://vitehub.dev/docs/agents/diagnostics/agent_r0540) | Channel \<agent\>/\<channel\> has no webhook registration. |
| [`AGENT_R0541`](https://vitehub.dev/docs/agents/diagnostics/agent_r0541) | Channel \<agent\>/\<channel\> has no deployed webhook route. |
| [`AGENT_R0542`](https://vitehub.dev/docs/agents/diagnostics/agent_r0542) | Channel \<agent\>/\<channel\> resolves outside the confirmed deployment origin. |
| [`AGENT_R0543`](https://vitehub.dev/docs/agents/diagnostics/agent_r0543) | See the page of the code. |
| [`AGENT_R0544`](https://vitehub.dev/docs/agents/diagnostics/agent_r0544) | Duplicate Agent name "\<name\>" cannot be synchronized. |
| [`AGENT_R0545`](https://vitehub.dev/docs/agents/diagnostics/agent_r0545) | Deployed webhook preflight request failed for \<url\>. |
| [`AGENT_R0546`](https://vitehub.dev/docs/agents/diagnostics/agent_r0546) | Deployed webhook preflight failed for \<url\>; expected \<agentChannelSyncProviderHeader\>: \<provider\>. |
| [`AGENT_R0547`](https://vitehub.dev/docs/agents/diagnostics/agent_r0547) | channels sync requires --stage \<name\>. |
| [`AGENT_R0548`](https://vitehub.dev/docs/agents/diagnostics/agent_r0548) | channels sync requires --url \<https-origin\> or vitehub({ publicUrl }) for \<provider\> Channel \<agent\>/\<channel\>. |
| [`AGENT_R0549`](https://vitehub.dev/docs/agents/diagnostics/agent_r0549) | --apply and --dry-run cannot be used together. |
| [`AGENT_R0550`](https://vitehub.dev/docs/agents/diagnostics/agent_r0550) | --apply requires --confirm-origin \<https-origin\>. |
| [`AGENT_R0551`](https://vitehub.dev/docs/agents/diagnostics/agent_r0551) | --confirm-origin must exactly match --url. |
| [`AGENT_R0552`](https://vitehub.dev/docs/agents/diagnostics/agent_r0552) | No synchronizable Channels matched the selected Agent and Channel filters. |
| [`AGENT_R0553`](https://vitehub.dev/docs/agents/diagnostics/agent_r0553) | Channels \<agent\>/\<channel\> and \<agent\>/\<channel\> target the same \<provider\> resource. |
| [`AGENT_R0554`](https://vitehub.dev/docs/agents/diagnostics/agent_r0554) | Channel \<agent\>/\<channel\> \<action\> targets \<currentOrigin\>, which does not match the confirmed deployment origin \<origin\>. |
| [`AGENT_R0555`](https://vitehub.dev/docs/agents/diagnostics/agent_r0555) | Channel \<agent\>/\<channel\> requires deletion; rerun with --allow-delete after reviewing the plan. |
| [`AGENT_R0556`](https://vitehub.dev/docs/agents/diagnostics/agent_r0556) | Provider verification failed for \<agent\>/\<channel\>; expected webhook URL \<value\>. |
| [`AGENT_R0557`](https://vitehub.dev/docs/agents/diagnostics/agent_r0557) | Channel "\<kind\>" instructions must be a non-empty string. |
| [`AGENT_R0558`](https://vitehub.dev/docs/agents/diagnostics/agent_r0558) | Channel webhooks require an adapter-backed Channel. Add adapter or invoke the Agent from an app-owned route. |
| [`AGENT_R0559`](https://vitehub.dev/docs/agents/diagnostics/agent_r0559) | Channel-local identity resolvers are only supported when an Agent defines one message-shaped Channel. Move shared identity to defineAgent({ messages: { identity } }) until Channel-scoped chat triggers land. |
| [`AGENT_R0560`](https://vitehub.dev/docs/agents/diagnostics/agent_r0560) | Channel-local messages options other than allowBots, commentary, filter, meta, metaRevision, replyToSubscribedThreads, or stream are only supported when an Agent defines one message-shaped Channel. Move shared settings to defineAgent({ messages }) until Channel-scoped chat triggers land. |
| [`AGENT_R0561`](https://vitehub.dev/docs/agents/diagnostics/agent_r0561) | \<integrityLabel\> requires ai 7.0.19 or newer. |
| [`AGENT_R0562`](https://vitehub.dev/docs/agents/diagnostics/agent_r0562) | See the page of the code. |
| [`AGENT_R0563`](https://vitehub.dev/docs/agents/diagnostics/agent_r0563) | Duplicate MCP tool name "\<name\>" after normalization. |
| [`AGENT_R0564`](https://vitehub.dev/docs/agents/diagnostics/agent_r0564) | defineAgent({ messages: { meta } }) requires a Standard Schema. |
| [`AGENT_R0565`](https://vitehub.dev/docs/agents/diagnostics/agent_r0565) | Agent channel metadata schema must return an object. |
| [`AGENT_R0566`](https://vitehub.dev/docs/agents/diagnostics/agent_r0566) | Cannot package \<packageName\> for this host. Self-hosted \<displayName\> builds support macOS and Linux on arm64 or x64. |
| [`AGENT_R0567`](https://vitehub.dev/docs/agents/diagnostics/agent_r0567) | \<packageName\> is installed, but its \<packageName\> optional dependency is missing. Reinstall dependencies on the deployment host before building. |
| [`AGENT_R0569`](https://vitehub.dev/docs/agents/diagnostics/agent_r0569) | Resumable web chat requires route.resumable.owner(). |
| [`AGENT_R0570`](https://vitehub.dev/docs/agents/diagnostics/agent_r0570) | Resumable web chat requires route.resumable.scope to be "process"; streams do not survive process replacement or cross-instance routing. |
| [`AGENT_R0571`](https://vitehub.dev/docs/agents/diagnostics/agent_r0571) | Resumable web chat owner must be a non-empty string. |
| [`AGENT_R0582`](https://vitehub.dev/docs/agents/diagnostics/agent_r0582) | Agent State queue contains an invalid entry. |
| [`AGENT_R0583`](https://vitehub.dev/docs/agents/diagnostics/agent_r0583) | Durable steered Channel delivery requires State with atomic queue replacement support. |
| [`AGENT_R0584`](https://vitehub.dev/docs/agents/diagnostics/agent_r0584) | Telegram \<method\> request failed. |
| [`AGENT_R0585`](https://vitehub.dev/docs/agents/diagnostics/agent_r0585) | Telegram \<method\> failed with HTTP \<status\>\<value\>. |
| [`AGENT_R0586`](https://vitehub.dev/docs/agents/diagnostics/agent_r0586) | Telegram webhookSecret must be 1-256 letters, numbers, underscores, or hyphens. |
| [`AGENT_R0587`](https://vitehub.dev/docs/agents/diagnostics/agent_r0587) | Telegram webhook synchronization requires a desired URL. |
| [`AGENT_R0588`](https://vitehub.dev/docs/agents/diagnostics/agent_r0588) | Telegram webhook synchronization requires a desired URL. |
| [`AGENT_R0589`](https://vitehub.dev/docs/agents/diagnostics/agent_r0589) | Telegram webhooks require an HTTPS URL. |
| [`AGENT_R0590`](https://vitehub.dev/docs/agents/diagnostics/agent_r0590) | Telegram webhook URLs support ports 443, 80, 88, and 8443. |
| [`AGENT_R0591`](https://vitehub.dev/docs/agents/diagnostics/agent_r0591) | Invalid decimal price "\<value\>". |
| [`AGENT_R0593`](https://vitehub.dev/docs/agents/diagnostics/agent_r0593) | Agent webhook queue contains an invalid delivery. |
| [`AGENT_R0594`](https://vitehub.dev/docs/agents/diagnostics/agent_r0594) | See the page of the code. |
| [`AGENT_R0595`](https://vitehub.dev/docs/agents/diagnostics/agent_r0595) | Agent Workflow inputs must contain only JSON-compatible values. |
| [`AGENT_R0596`](https://vitehub.dev/docs/agents/diagnostics/agent_r0596) | Agent Workflow inputs must contain only JSON-compatible values. |
| [`AGENT_R0597`](https://vitehub.dev/docs/agents/diagnostics/agent_r0597) | Agent Workflow inputs must contain only JSON-compatible values. |
| [`AGENT_R0598`](https://vitehub.dev/docs/agents/diagnostics/agent_r0598) | Agent Workflow inputs must contain only JSON-compatible values. |
| [`AGENT_R0599`](https://vitehub.dev/docs/agents/diagnostics/agent_r0599) | Agent Workflow inputs must contain only JSON-compatible values. |
| [`AGENT_R0601`](https://vitehub.dev/docs/agents/diagnostics/agent_r0601) | Agent Workflow inputs must contain only JSON-compatible values. |
| [`AGENT_R0604`](https://vitehub.dev/docs/agents/diagnostics/agent_r0604) | Invocation context values require a non-empty string id. |
| [`AGENT_R0605`](https://vitehub.dev/docs/agents/diagnostics/agent_r0605) | Invocation context id "\<id\>" must be a stable identifier. |
| [`AGENT_R0606`](https://vitehub.dev/docs/agents/diagnostics/agent_r0606) | Invocation context value "\<id\>" is already set. |
| [`AGENT_R0607`](https://vitehub.dev/docs/agents/diagnostics/agent_r0607) | Invalid Agent Invocation Stream event. |
| [`AGENT_R0608`](https://vitehub.dev/docs/agents/diagnostics/agent_r0608) | See the page of the code. |
| [`AGENT_R0609`](https://vitehub.dev/docs/agents/diagnostics/agent_r0609) | Invalid Agent Invocation response. |
| [`AGENT_R0610`](https://vitehub.dev/docs/agents/diagnostics/agent_r0610) | Invalid Agent Invocation list response. |
| [`AGENT_R0611`](https://vitehub.dev/docs/agents/diagnostics/agent_r0611) | Invalid Agent Invocation list cursor. |
| [`AGENT_R0612`](https://vitehub.dev/docs/agents/diagnostics/agent_r0612) | Invalid Agent Invocation remaining statuses. |
| [`AGENT_R0613`](https://vitehub.dev/docs/agents/diagnostics/agent_r0613) | Invalid Agent Invocation detail response. |
| [`AGENT_R0614`](https://vitehub.dev/docs/agents/diagnostics/agent_r0614) | Invalid Agent Invocation observation. |
| [`AGENT_R0615`](https://vitehub.dev/docs/agents/diagnostics/agent_r0615) | Invalid Agent Invocation observation page. |
| [`AGENT_R0616`](https://vitehub.dev/docs/agents/diagnostics/agent_r0616) | Invalid Agent Invocation observation cursor. |
| [`AGENT_R0617`](https://vitehub.dev/docs/agents/diagnostics/agent_r0617) | Loading older Agent Invocations was interrupted. |
| [`AGENT_R0618`](https://vitehub.dev/docs/agents/diagnostics/agent_r0618) | See the page of the code. |
| [`AGENT_R0619`](https://vitehub.dev/docs/agents/diagnostics/agent_r0619) | See the page of the code. |
| [`AGENT_R0620`](https://vitehub.dev/docs/agents/diagnostics/agent_r0620) | See the page of the code. |
| [`AGENT_R0621`](https://vitehub.dev/docs/agents/diagnostics/agent_r0621) | See the page of the code. |
| [`AGENT_R0622`](https://vitehub.dev/docs/agents/diagnostics/agent_r0622) | Agent Invocations require a non-empty invocation id. |
| [`AGENT_R0623`](https://vitehub.dev/docs/agents/diagnostics/agent_r0623) | Agent Invocations require a store with claim(), create(), get(), getSummary(), getClaimToken(), list(), release(), and update(). |
| [`AGENT_R0624`](https://vitehub.dev/docs/agents/diagnostics/agent_r0624) | Agent Invocations configuration must be "content" or "metadata". |
| [`AGENT_R0625`](https://vitehub.dev/docs/agents/diagnostics/agent_r0625) | Agent Invocations metadataContent cannot include reserved trace attributes. |
| [`AGENT_R0626`](https://vitehub.dev/docs/agents/diagnostics/agent_r0626) | Agent Invocations metadataContent entries must name content attributes. |
| [`AGENT_R0627`](https://vitehub.dev/docs/agents/diagnostics/agent_r0627) | defineAgent({ invocations }) requires a definition created by defineAgentInvocations(). |
| [`AGENT_R0628`](https://vitehub.dev/docs/agents/diagnostics/agent_r0628) | Invalid SQLite Agent Invocation table name "\<name\>". Use an alphanumeric tablePrefix. |
| [`AGENT_R0629`](https://vitehub.dev/docs/agents/diagnostics/agent_r0629) | See the page of the code. |
| [`AGENT_R0630`](https://vitehub.dev/docs/agents/diagnostics/agent_r0630) | See the page of the code. |
| [`AGENT_R0631`](https://vitehub.dev/docs/agents/diagnostics/agent_r0631) | See the page of the code. |
| [`AGENT_R0632`](https://vitehub.dev/docs/agents/diagnostics/agent_r0632) | \<message\> |
| [`AGENT_R0633`](https://vitehub.dev/docs/agents/diagnostics/agent_r0633) | SQLite Agent Invocations require url or client. |
| [`AGENT_R0634`](https://vitehub.dev/docs/agents/diagnostics/agent_r0634) | SQLite Agent Invocation \<id\> was removed by retention. |
| [`AGENT_R0635`](https://vitehub.dev/docs/agents/diagnostics/agent_r0635) | See the page of the code. |
| [`AGENT_R0636`](https://vitehub.dev/docs/agents/diagnostics/agent_r0636) | \<label\> must be an object with a non-empty string id. |
| [`AGENT_R0637`](https://vitehub.dev/docs/agents/diagnostics/agent_r0637) | \<label\> requires a non-empty string id. |
| [`AGENT_R0638`](https://vitehub.dev/docs/agents/diagnostics/agent_r0638) | \<label\>.meta must be an object when provided. |
| [`AGENT_R0639`](https://vitehub.dev/docs/agents/diagnostics/agent_r0639) | defineAgent({ invoker.profiles }) must be an ordered array. |
| [`AGENT_R0640`](https://vitehub.dev/docs/agents/diagnostics/agent_r0640) | Duplicate Agent Invoker Profile id "\<id\>" in one agent. |
| [`AGENT_R0641`](https://vitehub.dev/docs/agents/diagnostics/agent_r0641) | defineAgent({ invoker }) must be an object. |
| [`AGENT_R0642`](https://vitehub.dev/docs/agents/diagnostics/agent_r0642) | defineAgent({ invoker.resolve }) must be a function. |
| [`AGENT_R0643`](https://vitehub.dev/docs/agents/diagnostics/agent_r0643) | Unknown Agent Invoker Profile "\<requestedProfileId\>" selected for this agent. |
| [`AGENT_R0646`](https://vitehub.dev/docs/agents/diagnostics/agent_r0646) | \<type\> attachment fetchData() did not return supported attachment data. |
| [`AGENT_R0647`](https://vitehub.dev/docs/agents/diagnostics/agent_r0647) | \<field\> must be a non-empty string. |
| [`AGENT_R0648`](https://vitehub.dev/docs/agents/diagnostics/agent_r0648) | \<field\> must not be undefined. |
| [`AGENT_R0649`](https://vitehub.dev/docs/agents/diagnostics/agent_r0649) | \<field\> must be JSON serializable. |
| [`AGENT_R0650`](https://vitehub.dev/docs/agents/diagnostics/agent_r0650) | \<field\> must be a finite number. |
| [`AGENT_R0651`](https://vitehub.dev/docs/agents/diagnostics/agent_r0651) | message.createdAt must be serialized before storing. |
| [`AGENT_R0652`](https://vitehub.dev/docs/agents/diagnostics/agent_r0652) | Unsupported message role: \<role\>. |
| [`AGENT_R0653`](https://vitehub.dev/docs/agents/diagnostics/agent_r0653) | message.parts must be an array. |
| [`AGENT_R0654`](https://vitehub.dev/docs/agents/diagnostics/agent_r0654) | text part requires text. |
| [`AGENT_R0655`](https://vitehub.dev/docs/agents/diagnostics/agent_r0655) | approval-decision.approved must be a boolean. |
| [`AGENT_R0656`](https://vitehub.dev/docs/agents/diagnostics/agent_r0656) | approval-decision "\<id\>" must follow a matching approval-request. |
| [`AGENT_R0657`](https://vitehub.dev/docs/agents/diagnostics/agent_r0657) | tool-result "\<id\>" must follow a matching tool-call or approval-request. |
| [`AGENT_R0658`](https://vitehub.dev/docs/agents/diagnostics/agent_r0658) | data part requires data. |
| [`AGENT_R0659`](https://vitehub.dev/docs/agents/diagnostics/agent_r0659) | \<type\> part requires a mediaType. |
| [`AGENT_R0660`](https://vitehub.dev/docs/agents/diagnostics/agent_r0660) | audio part requires an audio/* mediaType. |
| [`AGENT_R0661`](https://vitehub.dev/docs/agents/diagnostics/agent_r0661) | image part requires an image/* mediaType. |
| [`AGENT_R0662`](https://vitehub.dev/docs/agents/diagnostics/agent_r0662) | \<type\> part requires data, fetchData, or url. |
| [`AGENT_R0663`](https://vitehub.dev/docs/agents/diagnostics/agent_r0663) | data part requires data. |
| [`AGENT_R0664`](https://vitehub.dev/docs/agents/diagnostics/agent_r0664) | Unsupported message part type: \<type\>. |
| [`AGENT_R0665`](https://vitehub.dev/docs/agents/diagnostics/agent_r0665) | serializeMessages() cannot serialize message[\<messageIndex\>].parts[\<partIndex\>].fetchData. Resolve or remove the attachment callback before serializing. |
| [`AGENT_R0666`](https://vitehub.dev/docs/agents/diagnostics/agent_r0666) | serializeMessages() cannot serialize binary data in message[\<messageIndex\>].parts[\<partIndex\>]. Resolve it to a string or URL before serializing. |
| [`AGENT_R0667`](https://vitehub.dev/docs/agents/diagnostics/agent_r0667) | Unsupported serialized messages payload. |
| [`AGENT_R0668`](https://vitehub.dev/docs/agents/diagnostics/agent_r0668) | Serialized messages must contain message records. |
| [`AGENT_R0669`](https://vitehub.dev/docs/agents/diagnostics/agent_r0669) | Generated provider file parent must not be a symbolic link: \<parent\> |
| [`AGENT_R0670`](https://vitehub.dev/docs/agents/diagnostics/agent_r0670) | Generated provider file parent must be a directory: \<parent\> |
| [`AGENT_R0671`](https://vitehub.dev/docs/agents/diagnostics/agent_r0671) | Generated provider file collides with a non-file entry: \<path\> |
| [`AGENT_R0672`](https://vitehub.dev/docs/agents/diagnostics/agent_r0672) | driver.env must resolve to an object containing only string or undefined values. |
| [`AGENT_R0673`](https://vitehub.dev/docs/agents/diagnostics/agent_r0673) | driver.env must resolve to an object containing only string or undefined values. |
| [`AGENT_R0674`](https://vitehub.dev/docs/agents/diagnostics/agent_r0674) | driver.launch must resolve to a non-empty command. |
| [`AGENT_R0675`](https://vitehub.dev/docs/agents/diagnostics/agent_r0675) | driver.launch args must contain only strings. |
| [`AGENT_R0676`](https://vitehub.dev/docs/agents/diagnostics/agent_r0676) | driver.launch is not supported on Windows because provider launchers require a POSIX executable. |
| [`AGENT_R0677`](https://vitehub.dev/docs/agents/diagnostics/agent_r0677) | Codex Driver runtime cleanup rejected without a reason. |
| [`AGENT_R0678`](https://vitehub.dev/docs/agents/diagnostics/agent_r0678) | Codex Driver credentials are missing. |
| [`AGENT_R0679`](https://vitehub.dev/docs/agents/diagnostics/agent_r0679) | Codex Driver credentials must be valid JSON. |
| [`AGENT_R0680`](https://vitehub.dev/docs/agents/diagnostics/agent_r0680) | Codex Driver credentials must contain a JSON object. |
| [`AGENT_R0681`](https://vitehub.dev/docs/agents/diagnostics/agent_r0681) | Codex Driver profile config must not be a symbolic link: \<configPath\> |
| [`AGENT_R0682`](https://vitehub.dev/docs/agents/diagnostics/agent_r0682) | Codex Driver profile config must be a singly linked file: \<configPath\> |
| [`AGENT_R0683`](https://vitehub.dev/docs/agents/diagnostics/agent_r0683) | Codex Driver profile config must not exceed \<codexCredentialConfigMaxBytes\> bytes: \<configPath\> |
| [`AGENT_R0684`](https://vitehub.dev/docs/agents/diagnostics/agent_r0684) | Refusing to remove unexpected Codex credential root: \<root\> |
| [`AGENT_R0685`](https://vitehub.dev/docs/agents/diagnostics/agent_r0685) | Codex Driver profile directory must not be a symbolic link: \<current\> |
| [`AGENT_R0686`](https://vitehub.dev/docs/agents/diagnostics/agent_r0686) | Codex Driver profile path must contain only directories: \<current\> |
| [`AGENT_R0687`](https://vitehub.dev/docs/agents/diagnostics/agent_r0687) | Codex Driver profile seed must be a singly linked file: \<seedPath\> |
| [`AGENT_R0688`](https://vitehub.dev/docs/agents/diagnostics/agent_r0688) | Codex Driver profile seed must not exceed \<codexCredentialSeedMaxBytes\> bytes: \<seedPath\> |
| [`AGENT_R0689`](https://vitehub.dev/docs/agents/diagnostics/agent_r0689) | Codex Driver profile auth must be a singly linked file: \<authPath\> |
| [`AGENT_R0690`](https://vitehub.dev/docs/agents/diagnostics/agent_r0690) | Codex Driver provisioned credentials are not supported on Windows because ViteHub cannot guarantee owner-only file access. |
| [`AGENT_R0691`](https://vitehub.dev/docs/agents/diagnostics/agent_r0691) | Codex Driver credential profile \<profile\> is unavailable until this process restarts because its previous runtime did not shut down. |
| [`AGENT_R0692`](https://vitehub.dev/docs/agents/diagnostics/agent_r0692) | Codex Driver credential profile \<profile\> is unavailable until this process restarts because its previous runtime did not shut down. |
| [`AGENT_R0693`](https://vitehub.dev/docs/agents/diagnostics/agent_r0693) | Refusing to remove unexpected Provider Agent Driver root: \<root\> |
| [`AGENT_R0694`](https://vitehub.dev/docs/agents/diagnostics/agent_r0694) | Provider Agent Driver root cleanup exited with \<value\>. |
| [`AGENT_R0695`](https://vitehub.dev/docs/agents/diagnostics/agent_r0695) | Provider Agent Driver tools require JSON Schema-compatible input validation. |
| [`AGENT_R0696`](https://vitehub.dev/docs/agents/diagnostics/agent_r0696) | Invalid schema for Agent tool "\<name\>". |
| [`AGENT_R0697`](https://vitehub.dev/docs/agents/diagnostics/agent_r0697) | Invalid input for Agent tool "\<name\>". |
| [`AGENT_R0698`](https://vitehub.dev/docs/agents/diagnostics/agent_r0698) | Invalid input for Agent tool "\<name\>": \<value\> |
| [`AGENT_R0700`](https://vitehub.dev/docs/agents/diagnostics/agent_r0700) | Provider Agent Driver workspace requires Workspace Session support. |
| [`AGENT_R0701`](https://vitehub.dev/docs/agents/diagnostics/agent_r0701) | Provider Agent Driver Workspaces require a POSIX Node host. |
| [`AGENT_R0702`](https://vitehub.dev/docs/agents/diagnostics/agent_r0702) | Provider attachment exceeds maxBytes (\<maxBytes\>). |
| [`AGENT_R0703`](https://vitehub.dev/docs/agents/diagnostics/agent_r0703) | Provider attachment URLs require application-owned fetchData() resolution. |
| [`AGENT_R0704`](https://vitehub.dev/docs/agents/diagnostics/agent_r0704) | Provider \<type\> attachment requires data or fetchData(). |
| [`AGENT_R0705`](https://vitehub.dev/docs/agents/diagnostics/agent_r0705) | Provider attachment exceeds maxBytes (\<maxBytes\>). |
| [`AGENT_R0706`](https://vitehub.dev/docs/agents/diagnostics/agent_r0706) | Provider attachment exceeds maxBytes (\<maxBytes\>). |
| [`AGENT_R0707`](https://vitehub.dev/docs/agents/diagnostics/agent_r0707) | Provider attachment exceeds maxBytes (\<maxBytes\>). |
| [`AGENT_R0708`](https://vitehub.dev/docs/agents/diagnostics/agent_r0708) | Provider Agent Drivers currently support image attachments only. |
| [`AGENT_R0709`](https://vitehub.dev/docs/agents/diagnostics/agent_r0709) | Provider Agent Drivers require a Node.js host; \<runtime\> cannot start local coding agents. |
| [`AGENT_R0710`](https://vitehub.dev/docs/agents/diagnostics/agent_r0710) | Provider Agent Drivers do not accept model-specific Provider Tools. Use Capability tools or native provider tools. |
| [`AGENT_R0711`](https://vitehub.dev/docs/agents/diagnostics/agent_r0711) | Provider Agent timeout must be no greater than 2,147,483,647 milliseconds. |
| [`AGENT_R0713`](https://vitehub.dev/docs/agents/diagnostics/agent_r0713) | driver.credentials owns CODEX_HOME and cannot be combined with resolved driver.env.CODEX_HOME. |
| [`AGENT_R0714`](https://vitehub.dev/docs/agents/diagnostics/agent_r0714) | Codex reasoning options cannot be combined with resolved driver.env.T3CODE_CODEX_LAUNCH_ARGS. |
| [`AGENT_R0715`](https://vitehub.dev/docs/agents/diagnostics/agent_r0715) | driver.sessionStorePath must be a non-empty string. |
| [`AGENT_R0716`](https://vitehub.dev/docs/agents/diagnostics/agent_r0716) | driver.providerSettings.binaryPath must be a string. |
| [`AGENT_R0718`](https://vitehub.dev/docs/agents/diagnostics/agent_r0718) | Provider Agent Driver invocation requires a prompt, user message, or image attachment. |
| [`AGENT_R0719`](https://vitehub.dev/docs/agents/diagnostics/agent_r0719) | Provider Agent Driver event stream ended before the turn completed. |
| [`AGENT_R0721`](https://vitehub.dev/docs/agents/diagnostics/agent_r0721) | Provider Agent Driver session exited before the turn completed\<value\> |
| [`AGENT_R0722`](https://vitehub.dev/docs/agents/diagnostics/agent_r0722) | Provider Agent Driver turn aborted\<value\> |
| [`AGENT_R0723`](https://vitehub.dev/docs/agents/diagnostics/agent_r0723) | Provider Agent steering did not settle before cleanup timed out. |
| [`AGENT_R0725`](https://vitehub.dev/docs/agents/diagnostics/agent_r0725) | Provider Agent Driver invocation cleanup timed out. |
| [`AGENT_R0726`](https://vitehub.dev/docs/agents/diagnostics/agent_r0726) | message |
| [`AGENT_R0727`](https://vitehub.dev/docs/agents/diagnostics/agent_r0727) | Agent Run Events require a non-empty run id. |
| [`AGENT_R0728`](https://vitehub.dev/docs/agents/diagnostics/agent_r0728) | Agent Run Events require an event with a non-empty type. |
| [`AGENT_R0729`](https://vitehub.dev/docs/agents/diagnostics/agent_r0729) | Agent Run Events require a store with append(), read(), and subscribe(). |
| [`AGENT_R0730`](https://vitehub.dev/docs/agents/diagnostics/agent_r0730) | defineAgentRunEvents() requires a store. |
| [`AGENT_R0731`](https://vitehub.dev/docs/agents/diagnostics/agent_r0731) | defineAgent({ runEvents }) requires a definition created by defineAgentRunEvents(). |
| [`AGENT_R0732`](https://vitehub.dev/docs/agents/diagnostics/agent_r0732) | createProcessAgentCapacity({ concurrency }) must be a positive integer. |
| [`AGENT_R0733`](https://vitehub.dev/docs/agents/diagnostics/agent_r0733) | createProcessAgentCapacity({ fallbackConcurrency }) must be an integer between zero and concurrency. |
| [`AGENT_R0734`](https://vitehub.dev/docs/agents/diagnostics/agent_r0734) | createProcessAgentCapacity({ intervalMs }) must be a finite number between 100 and 2147483647. |
| [`AGENT_R0735`](https://vitehub.dev/docs/agents/diagnostics/agent_r0735) | createProcessAgentCapacity({ rampUp }) must be a positive integer. |
| [`AGENT_R0736`](https://vitehub.dev/docs/agents/diagnostics/agent_r0736) | createProcessAgentCapacity({ sampleTimeoutMs }) must be a positive finite number no greater than 2147483647. |
| [`AGENT_R0737`](https://vitehub.dev/docs/agents/diagnostics/agent_r0737) | createProcessAgentCapacity({ memory.perInvocationBytes }) must be a positive finite number. |
| [`AGENT_R0738`](https://vitehub.dev/docs/agents/diagnostics/agent_r0738) | createProcessAgentCapacity({ memory.reserveBytes }) must be a non-negative finite number. |
| [`AGENT_R0739`](https://vitehub.dev/docs/agents/diagnostics/agent_r0739) | createProcessAgentCapacity({ sample }) must be a function. |
| [`AGENT_R0740`](https://vitehub.dev/docs/agents/diagnostics/agent_r0740) | createProcessAgentCapacity({ \<name\>.pausePressure }) must be between zero and one. |
| [`AGENT_R0741`](https://vitehub.dev/docs/agents/diagnostics/agent_r0741) | createProcessAgentCapacity({ \<name\>.resumePressure }) must be between zero and pausePressure. |
| [`AGENT_R0744`](https://vitehub.dev/docs/agents/diagnostics/agent_r0744) | Agent Workflow results must contain only JSON-compatible values. |
| [`AGENT_R0745`](https://vitehub.dev/docs/agents/diagnostics/agent_r0745) | See the page of the code. |
| [`AGENT_R0746`](https://vitehub.dev/docs/agents/diagnostics/agent_r0746) | See the page of the code. |
| [`AGENT_R0747`](https://vitehub.dev/docs/agents/diagnostics/agent_r0747) | Durable Agent Channel delivery "\<deliveryId\>" could not be resumed. |
| [`AGENT_R0768`](https://vitehub.dev/docs/agents/diagnostics/agent_r0768) | Agent maxBodyBytes must be a positive integer no greater than \<maximumAgentInboundBodyBytes\>. |
| [`AGENT_R0769`](https://vitehub.dev/docs/agents/diagnostics/agent_r0769) | Agent chat trigger expected a UI message stream. |
| [`AGENT_R0770`](https://vitehub.dev/docs/agents/diagnostics/agent_r0770) | Channel response stream was cancelled. |
| [`AGENT_R0771`](https://vitehub.dev/docs/agents/diagnostics/agent_r0771) | Channel response stream was cancelled. |
| [`AGENT_R0772`](https://vitehub.dev/docs/agents/diagnostics/agent_r0772) | Webhook Agent state returned an invalid backend identity. |
| [`AGENT_R0773`](https://vitehub.dev/docs/agents/diagnostics/agent_r0773) | Webhook delivery ownership concurrencyLimit must be a positive integer. |
| [`AGENT_R0774`](https://vitehub.dev/docs/agents/diagnostics/agent_r0774) | Webhook steering lost its serialized input lease. |
| [`AGENT_R0775`](https://vitehub.dev/docs/agents/diagnostics/agent_r0775) | Webhook steering lost its durable delivery lease. |
| [`AGENT_R0776`](https://vitehub.dev/docs/agents/diagnostics/agent_r0776) | Webhook delivery ownership debounce is not available with busy: "steer". |
| [`AGENT_R0777`](https://vitehub.dev/docs/agents/diagnostics/agent_r0777) | Webhook queue lease was lost during Agent execution. |
| [`AGENT_R0778`](https://vitehub.dev/docs/agents/diagnostics/agent_r0778) | Persisted webhook concurrency requires inline Agent execution. |
| [`AGENT_R0779`](https://vitehub.dev/docs/agents/diagnostics/agent_r0779) | Persisted webhook registration "\<webhookId\>" no longer exists. |
| [`AGENT_R0780`](https://vitehub.dev/docs/agents/diagnostics/agent_r0780) | Persisted webhook delivery requires rehydration, but its trigger handled the replayed request. |
| [`AGENT_R0781`](https://vitehub.dev/docs/agents/diagnostics/agent_r0781) | Persisted webhook delivery requires rehydration, but its trigger no longer provides a rehydrate callback. |
| [`AGENT_R0782`](https://vitehub.dev/docs/agents/diagnostics/agent_r0782) | Persisted webhook delivery no longer resolves to the same deliveryId. |
| [`AGENT_R0783`](https://vitehub.dev/docs/agents/diagnostics/agent_r0783) | Webhook queue completion lost its lease. |
| [`AGENT_R0784`](https://vitehub.dev/docs/agents/diagnostics/agent_r0784) | See the page of the code. |
| [`AGENT_R0785`](https://vitehub.dev/docs/agents/diagnostics/agent_r0785) | See the page of the code. |
| [`AGENT_R0786`](https://vitehub.dev/docs/agents/diagnostics/agent_r0786) | See the page of the code. |
| [`AGENT_R0787`](https://vitehub.dev/docs/agents/diagnostics/agent_r0787) | In-memory Chat State is not connected. Call connect() before using state. |
| [`AGENT_R0788`](https://vitehub.dev/docs/agents/diagnostics/agent_r0788) | Durable steered Channel delivery lost execution ownership. |
| [`AGENT_R0789`](https://vitehub.dev/docs/agents/diagnostics/agent_r0789) | See the page of the code. |
| [`AGENT_R0790`](https://vitehub.dev/docs/agents/diagnostics/agent_r0790) | Durable steered Channel delivery lost fallback ownership. |
| [`AGENT_R0791`](https://vitehub.dev/docs/agents/diagnostics/agent_r0791) | Durable steered Channel delivery pending ownership changed during recovery. |
| [`AGENT_R0792`](https://vitehub.dev/docs/agents/diagnostics/agent_r0792) | Durable steered Channel delivery queue changed while restored ownership was being claimed. |
| [`AGENT_R0793`](https://vitehub.dev/docs/agents/diagnostics/agent_r0793) | Durable steered Channel delivery lost recovered startup ownership. |
| [`AGENT_R0794`](https://vitehub.dev/docs/agents/diagnostics/agent_r0794) | Durable steered Channel delivery lost recovered startup ownership. |
| [`AGENT_R0795`](https://vitehub.dev/docs/agents/diagnostics/agent_r0795) | Durable steered Channel delivery lost recovered retry ownership. |
| [`AGENT_R0796`](https://vitehub.dev/docs/agents/diagnostics/agent_r0796) | Durable steered Channel delivery lost recovered retry ownership. |
| [`AGENT_R0797`](https://vitehub.dev/docs/agents/diagnostics/agent_r0797) | Durable steered Channel delivery pending ownership changed during failed-start restoration. |
| [`AGENT_R0798`](https://vitehub.dev/docs/agents/diagnostics/agent_r0798) | Durable steered Channel delivery lost ownership before its Agent Workflow started. |
| [`AGENT_R0799`](https://vitehub.dev/docs/agents/diagnostics/agent_r0799) | Durable steered Channel delivery could not claim its persisted Agent Workflow input. |
| [`AGENT_R0800`](https://vitehub.dev/docs/agents/diagnostics/agent_r0800) | See the page of the code. |
| [`AGENT_R0801`](https://vitehub.dev/docs/agents/diagnostics/agent_r0801) | Durable steered Channel delivery pending ownership changed during successor handoff. |
| [`AGENT_R0802`](https://vitehub.dev/docs/agents/diagnostics/agent_r0802) | Durable steered Channel delivery queue changed while its successor was being claimed. |
| [`AGENT_R0803`](https://vitehub.dev/docs/agents/diagnostics/agent_r0803) | Durable steered Channel delivery failure could not be persisted for settlement retry. |
| [`AGENT_R0804`](https://vitehub.dev/docs/agents/diagnostics/agent_r0804) | Durable steered Channel delivery pending ownership changed during settlement retry. |
| [`AGENT_R0805`](https://vitehub.dev/docs/agents/diagnostics/agent_r0805) | Durable steered Channel error delivery could not resolve its configured Chat adapter. |
| [`AGENT_R0806`](https://vitehub.dev/docs/agents/diagnostics/agent_r0806) | Durable steered Channel error fallback was not delivered before its deadline. |
| [`AGENT_R0807`](https://vitehub.dev/docs/agents/diagnostics/agent_r0807) | Durable steered Channel error fallback reservation could not be persisted. |
| [`AGENT_R0808`](https://vitehub.dev/docs/agents/diagnostics/agent_r0808) | Durable steered Channel error fallback delivery could not be checkpointed. |
| [`AGENT_R0809`](https://vitehub.dev/docs/agents/diagnostics/agent_r0809) | Durable steered Channel delivery \<deliveryId\> could not be resumed for terminal settlement. |
| [`AGENT_R0810`](https://vitehub.dev/docs/agents/diagnostics/agent_r0810) | Durable steered Channel delivery queue changed while terminal settlement progress was being recorded. |
| [`AGENT_R0811`](https://vitehub.dev/docs/agents/diagnostics/agent_r0811) | Durable steered Channel delivery queue changed during terminal settlement. |
| [`AGENT_R0812`](https://vitehub.dev/docs/agents/diagnostics/agent_r0812) | Durable steered Channel delivery pending ownership changed during terminal settlement. |
| [`AGENT_R0813`](https://vitehub.dev/docs/agents/diagnostics/agent_r0813) | Durable steered Channel delivery queue changed while its Agent Workflow input was being restored. |
| [`AGENT_R0814`](https://vitehub.dev/docs/agents/diagnostics/agent_r0814) | See the page of the code. |
| [`AGENT_R0815`](https://vitehub.dev/docs/agents/diagnostics/agent_r0815) | See the page of the code. |
| [`AGENT_R0816`](https://vitehub.dev/docs/agents/diagnostics/agent_r0816) | Chat attachment fetchData() did not return supported attachment data. |
| [`AGENT_R0817`](https://vitehub.dev/docs/agents/diagnostics/agent_r0817) | Chat attachment fetchData() failed. |
| [`AGENT_R0818`](https://vitehub.dev/docs/agents/diagnostics/agent_r0818) | See the page of the code. |
| [`AGENT_R0819`](https://vitehub.dev/docs/agents/diagnostics/agent_r0819) | See the page of the code. |
| [`AGENT_R0820`](https://vitehub.dev/docs/agents/diagnostics/agent_r0820) | Queued webhook invocation timed out after \<timeoutMs\>ms. |
| [`AGENT_R0821`](https://vitehub.dev/docs/agents/diagnostics/agent_r0821) | Durable Channel delivery requires reconstructable State across Agent Workflow custody. Configure Channel state or a generated host State provider. |
| [`AGENT_R0822`](https://vitehub.dev/docs/agents/diagnostics/agent_r0822) | Durable steered Channel delivery queue changed while its matching invocation was being coalesced. |
| [`AGENT_R0823`](https://vitehub.dev/docs/agents/diagnostics/agent_r0823) | Durable steered Channel delivery pending ownership changed during recovery. |
| [`AGENT_R0824`](https://vitehub.dev/docs/agents/diagnostics/agent_r0824) | Durable steered Channel delivery lost ownership before its Agent Workflow started. |
| [`AGENT_R0825`](https://vitehub.dev/docs/agents/diagnostics/agent_r0825) | Durable steered Channel delivery queue changed while ownership was being reclaimed. |
| [`AGENT_R0826`](https://vitehub.dev/docs/agents/diagnostics/agent_r0826) | Durable steered Channel delivery lost ownership while its Agent Workflow was starting. |
| [`AGENT_R0827`](https://vitehub.dev/docs/agents/diagnostics/agent_r0827) | Durable steered Channel delivery lost ownership while its Agent Workflow was starting. |
| [`AGENT_R0828`](https://vitehub.dev/docs/agents/diagnostics/agent_r0828) | Durable steered Channel delivery lost its persisted startup input. |
| [`AGENT_R0829`](https://vitehub.dev/docs/agents/diagnostics/agent_r0829) | Durable steered Channel delivery recovery exhausted its Workflow attempt. |
| [`AGENT_R0830`](https://vitehub.dev/docs/agents/diagnostics/agent_r0830) | Durable steered Channel delivery recovery exhausted its Workflow attempt. |
| [`AGENT_R0831`](https://vitehub.dev/docs/agents/diagnostics/agent_r0831) | Durable steered Channel delivery recovery exhausted its Workflow attempt. |
| [`AGENT_R0832`](https://vitehub.dev/docs/agents/diagnostics/agent_r0832) | Durable steered Channel delivery recovery exhausted its Workflow attempt. |
| [`AGENT_R0833`](https://vitehub.dev/docs/agents/diagnostics/agent_r0833) | Durable steered Channel delivery failure could not be persisted for settlement retry. |
| [`AGENT_R0834`](https://vitehub.dev/docs/agents/diagnostics/agent_r0834) | Durable steered Channel delivery lost fallback ownership. |
| [`AGENT_R0835`](https://vitehub.dev/docs/agents/diagnostics/agent_r0835) | Durable steered Channel delivery failure could not be persisted for settlement retry. |
| [`AGENT_R0836`](https://vitehub.dev/docs/agents/diagnostics/agent_r0836) | Durable steered Channel delivery pending ownership changed during failed Workflow startup. |
| [`AGENT_R0837`](https://vitehub.dev/docs/agents/diagnostics/agent_r0837) | Channel history provider returned an invalid result. |
| [`AGENT_R0839`](https://vitehub.dev/docs/agents/diagnostics/agent_r0839) | Chat adapter "\<adapterName\>" did not expose a webhook handler. |
| [`AGENT_R0840`](https://vitehub.dev/docs/agents/diagnostics/agent_r0840) | Channel "\<channelId\>" route must be true or an agent chat route options object. |
| [`AGENT_R0841`](https://vitehub.dev/docs/agents/diagnostics/agent_r0841) | createChannelChatRouteHandler() found multiple route-enabled Channels. Keep one route-enabled Channel per generated chat route. |
| [`AGENT_R0843`](https://vitehub.dev/docs/agents/diagnostics/agent_r0843) | Webhook concurrency ownership was lost during Agent execution. |
| [`AGENT_R0844`](https://vitehub.dev/docs/agents/diagnostics/agent_r0844) | See the page of the code. |
| [`AGENT_R0845`](https://vitehub.dev/docs/agents/diagnostics/agent_r0845) | The installed Chat SDK does not support starting listener-based Channels. |
| [`AGENT_R0846`](https://vitehub.dev/docs/agents/diagnostics/agent_r0846) | Telegram polling Channel "\<channelId\>" did not resolve a chat adapter. |
| [`AGENT_R0847`](https://vitehub.dev/docs/agents/diagnostics/agent_r0847) | Cloudflare Agent State requires the CHAT_STATE Durable Object binding. |
| [`AGENT_R0848`](https://vitehub.dev/docs/agents/diagnostics/agent_r0848) | Cloudflare Agent State is not connected. Call connect() before using state. |
| [`AGENT_R0849`](https://vitehub.dev/docs/agents/diagnostics/agent_r0849) | Invalid SQLite Agent State table name "\<candidate\>". Use an alphanumeric tablePrefix. |
| [`AGENT_R0850`](https://vitehub.dev/docs/agents/diagnostics/agent_r0850) | SQLite Agent State requires a driver. |
| [`AGENT_R0851`](https://vitehub.dev/docs/agents/diagnostics/agent_r0851) | SQLite Agent State is not connected. Call connect() before using state. |
| [`AGENT_R0852`](https://vitehub.dev/docs/agents/diagnostics/agent_r0852) | libSQL Agent State requires `url` or `client`. |
| [`AGENT_R0853`](https://vitehub.dev/docs/agents/diagnostics/agent_r0853) | libSQL Agent State is not connected. |
| [`AGENT_R0854`](https://vitehub.dev/docs/agents/diagnostics/agent_r0854) | libSQL Agent State is not connected. |
| [`AGENT_R0855`](https://vitehub.dev/docs/agents/diagnostics/agent_r0855) | libSQL Agent State clients must support transactions. |
| [`AGENT_R0856`](https://vitehub.dev/docs/agents/diagnostics/agent_r0856) | See the page of the code. |
| [`AGENT_R0857`](https://vitehub.dev/docs/agents/diagnostics/agent_r0857) | See the page of the code. |
| [`AGENT_R0858`](https://vitehub.dev/docs/agents/diagnostics/agent_r0858) | Agent stream output "ui-message-stream" requires a result with toUIMessageStream(). |
| [`AGENT_R0859`](https://vitehub.dev/docs/agents/diagnostics/agent_r0859) | OTLP/HTTP JSON telemetry batch exceeds the bounded binary budget. |
| [`AGENT_R0860`](https://vitehub.dev/docs/agents/diagnostics/agent_r0860) | OTLP/HTTP JSON Blob payload is invalid. |
| [`AGENT_R0861`](https://vitehub.dev/docs/agents/diagnostics/agent_r0861) | OTLP/HTTP JSON File payload is invalid. |
| [`AGENT_R0862`](https://vitehub.dev/docs/agents/diagnostics/agent_r0862) | OTLP/HTTP JSON telemetry payload exceeds 4 MiB. |
| [`AGENT_R0863`](https://vitehub.dev/docs/agents/diagnostics/agent_r0863) | OTLP/HTTP JSON telemetry export failed. |
| [`AGENT_R0864`](https://vitehub.dev/docs/agents/diagnostics/agent_r0864) | OTLP/HTTP JSON telemetry export returned an invalid response. |
| [`AGENT_R0865`](https://vitehub.dev/docs/agents/diagnostics/agent_r0865) | OTLP/HTTP JSON telemetry export was partially rejected. |
| [`AGENT_R0866`](https://vitehub.dev/docs/agents/diagnostics/agent_r0866) | OTLP/HTTP JSON telemetry export failed with status \<status\>. |
| [`AGENT_R0867`](https://vitehub.dev/docs/agents/diagnostics/agent_r0867) | Agent stopped after repeated workspace inspection guardrails. The requested evidence appears unavailable in the mounted workspace sources. |
| [`AGENT_R0868`](https://vitehub.dev/docs/agents/diagnostics/agent_r0868) | \<owner\> trigger names must be non-empty strings. |
| [`AGENT_R0869`](https://vitehub.dev/docs/agents/diagnostics/agent_r0869) | \<owner\> trigger "\<name\>" must be a stable local identifier. |
| [`AGENT_R0870`](https://vitehub.dev/docs/agents/diagnostics/agent_r0870) | Duplicate Agent trigger "\<id\>" from Channel "\<channelId\>". |
| [`AGENT_R0871`](https://vitehub.dev/docs/agents/diagnostics/agent_r0871) | Agent trigger "\<triggerId\>" is not defined by this agent. |
| [`AGENT_R0872`](https://vitehub.dev/docs/agents/diagnostics/agent_r0872) | See the page of the code. |
| [`AGENT_R0873`](https://vitehub.dev/docs/agents/diagnostics/agent_r0873) | Agent Dev Loop command request closed. |
| [`AGENT_R0874`](https://vitehub.dev/docs/agents/diagnostics/agent_r0874) | Hosted workspace store "\<driver\>" is not available in this runtime. |
| [`AGENT_R0875`](https://vitehub.dev/docs/agents/diagnostics/agent_r0875) | Agent Capability CLI "\<cli\>" is not defined by this agent. |
| [`AGENT_R0876`](https://vitehub.dev/docs/agents/diagnostics/agent_r0876) | Agent Dev Loop command requires an Agent with a Workspace. |
| [`AGENT_R0877`](https://vitehub.dev/docs/agents/diagnostics/agent_r0877) | Agent Invocation Stream timed out after \<timeout\>ms. |
| [`AGENT_R0878`](https://vitehub.dev/docs/agents/diagnostics/agent_r0878) | Workspace reference requires a non-empty string name. |
| [`AGENT_R0879`](https://vitehub.dev/docs/agents/diagnostics/agent_r0879) | Workspace reference does not support option\<value\>: \<value\>. |
| [`AGENT_R0880`](https://vitehub.dev/docs/agents/diagnostics/agent_r0880) | defineWorkspace requires a workspace definition. |
| [`AGENT_R0881`](https://vitehub.dev/docs/agents/diagnostics/agent_r0881) | Workspace names are inferred from definition filenames. |
| [`AGENT_R0882`](https://vitehub.dev/docs/agents/diagnostics/agent_r0882) | Workspace materialize must be one of: \<value\>. |
| [`AGENT_R0883`](https://vitehub.dev/docs/agents/diagnostics/agent_r0883) | Workspace source "\<key\>" is already defined. |
| [`AGENT_R0885`](https://vitehub.dev/docs/agents/diagnostics/agent_r0885) | Workspace instruction binding "sources" is reserved. Cover Sources with ::source blocks in Agent Driver Instructions. |
| [`AGENT_R0886`](https://vitehub.dev/docs/agents/diagnostics/agent_r0886) | Workspace instruction binding "\<key\>" must be addressable as workspace.\<key\>. |
| [`AGENT_R0887`](https://vitehub.dev/docs/agents/diagnostics/agent_r0887) | Workspace instruction binding "\<key\>" requires Workspace access. |
| [`AGENT_R0888`](https://vitehub.dev/docs/agents/diagnostics/agent_r0888) | Workspace instruction binding "\<key\>" must be a scalar value or { path }. |
| [`AGENT_R0890`](https://vitehub.dev/docs/agents/diagnostics/agent_r0890) | Capability "\<capabilityId\>" telemetry export failed. |
| [`AGENT_R0891`](https://vitehub.dev/docs/agents/diagnostics/agent_r0891) | See the page of the code. |
| [`AGENT_R0893`](https://vitehub.dev/docs/agents/diagnostics/agent_r0893) | See the page of the code. |
| [`AGENT_R0894`](https://vitehub.dev/docs/agents/diagnostics/agent_r0894) | See the page of the code. |
| [`AGENT_R0895`](https://vitehub.dev/docs/agents/diagnostics/agent_r0895) | See the page of the code. |
| [`AGENT_R0896`](https://vitehub.dev/docs/agents/diagnostics/agent_r0896) | See the page of the code. |
| [`AGENT_R0897`](https://vitehub.dev/docs/agents/diagnostics/agent_r0897) | See the page of the code. |
| [`AGENT_R0898`](https://vitehub.dev/docs/agents/diagnostics/agent_r0898) | Append and update observations cannot be combined. |
| [`AGENT_R0899`](https://vitehub.dev/docs/agents/diagnostics/agent_r0899) | Appended observations require a stable identity. |
| [`AGENT_R0900`](https://vitehub.dev/docs/agents/diagnostics/agent_r0900) | Agent Invocation observation capacity reached; evidence was not appended. |
| [`AGENT_R0901`](https://vitehub.dev/docs/agents/diagnostics/agent_r0901) | Appended observation IDs must be at most 512 characters. |
| [`AGENT_R0902`](https://vitehub.dev/docs/agents/diagnostics/agent_r0902) | Invocation store did not persist appended observation. |
| [`AGENT_R0903`](https://vitehub.dev/docs/agents/diagnostics/agent_r0903) | Models.dev pricing request failed with \<status\>. |
| [`AGENT_R0904`](https://vitehub.dev/docs/agents/diagnostics/agent_r0904) | Models.dev pricing response must be an object. |
| [`AGENT_R0905`](https://vitehub.dev/docs/agents/diagnostics/agent_r0905) | Provisioned Codex credentials require owner-only file access. |
| [`AGENT_R0906`](https://vitehub.dev/docs/agents/diagnostics/agent_r0906) | driver.credentials owns CODEX_HOME. |
| [`AGENT_R0907`](https://vitehub.dev/docs/agents/diagnostics/agent_r0907) | Agent Invocation observations.\<key\> must be an integer between \<minimum\> and \<value\>. |
| [`AGENT_R0908`](https://vitehub.dev/docs/agents/diagnostics/agent_r0908) | Agent Invocation observation byte capacity reached; appended evidence was not changed. |
| [`AGENT_R0909`](https://vitehub.dev/docs/agents/diagnostics/agent_r0909) | Agent Invocation observation byte capacity reached; evidence was not appended. |
| [`AGENT_R0910`](https://vitehub.dev/docs/agents/diagnostics/agent_r0910) | D1 Agent Invocation tablePrefix must form an SQL identifier. |
| [`AGENT_R0911`](https://vitehub.dev/docs/agents/diagnostics/agent_r0911) | \<message\> |
| [`AGENT_R0912`](https://vitehub.dev/docs/agents/diagnostics/agent_r0912) | D1 Agent Invocation byte capacity reached; evidence was not appended. |
| [`AGENT_R0913`](https://vitehub.dev/docs/agents/diagnostics/agent_r0913) | D1 Agent Invocation row byte capacity reached; evidence was not appended. |
| [`AGENT_R0914`](https://vitehub.dev/docs/agents/diagnostics/agent_r0914) | D1 Agent Invocation metadata exceeds the row byte limit while preserving appended evidence. Reduce metadata before storing this record. |
| [`AGENT_R0915`](https://vitehub.dev/docs/agents/diagnostics/agent_r0915) | D1 Agent Invocation \<id\> was removed by retention. |
| [`AGENT_R0916`](https://vitehub.dev/docs/agents/diagnostics/agent_r0916) | D1 Agent Invocation leaseMs must be a positive safe integer. |
| [`AGENT_R0917`](https://vitehub.dev/docs/agents/diagnostics/agent_r0917) | D1 Agent Invocation claimId must be at most 512 UTF-8 bytes. |
| [`AGENT_R0918`](https://vitehub.dev/docs/agents/diagnostics/agent_r0918) | D1 Agent Invocation \<id\> update exceeded 32 concurrent write retries. |
| [`AGENT_R0919`](https://vitehub.dev/docs/agents/diagnostics/agent_r0919) | See the page of the code. |
| [`AGENT_R0920`](https://vitehub.dev/docs/agents/diagnostics/agent_r0920) | See the page of the code. |
| [`AGENT_R0921`](https://vitehub.dev/docs/agents/diagnostics/agent_r0921) | See the page of the code. |
| [`AGENT_R0923`](https://vitehub.dev/docs/agents/diagnostics/agent_r0923) | A tool transform removed MCP tools and introduced \<value\> without MCP provenance. |
| [`AGENT_R0924`](https://vitehub.dev/docs/agents/diagnostics/agent_r0924) | title({ reasoningEffort }) requires an inherited Codex provider. |
| [`AGENT_R0925`](https://vitehub.dev/docs/agents/diagnostics/agent_r0925) | title({ model }) must be a non-empty string. |
| [`AGENT_R0926`](https://vitehub.dev/docs/agents/diagnostics/agent_r0926) | title({ timeoutMs }) must be an integer between 1 and 2147483647 milliseconds. |
| [`AGENT_R0927`](https://vitehub.dev/docs/agents/diagnostics/agent_r0927) | title({ reasoningEffort }) must be a non-empty model-advertised value. |
| [`AGENT_R0928`](https://vitehub.dev/docs/agents/diagnostics/agent_r0928) | Provider Agent Drivers are not included in Worker builds. They start local Codex or Claude Code processes, which require a Node.js host. |
| [`AGENT_R0929`](https://vitehub.dev/docs/agents/diagnostics/agent_r0929) | Channel "\<kind\>" message method "\<name\>" uses a reserved name. Reserved names: channel, data, kind. |
| [`AGENT_R0932`](https://vitehub.dev/docs/agents/diagnostics/agent_r0932) | Replaying Channel "\<channel\>" needs Agent Invocations to skip handled items. Configure invocations or the Console, or pass force. |
| [`AGENT_R0933`](https://vitehub.dev/docs/agents/diagnostics/agent_r0933) | Channel "\<channel\>" history requires an explicit trigger when the Channel has \<length\> triggers. |
| [`AGENT_R0934`](https://vitehub.dev/docs/agents/diagnostics/agent_r0934) | replayChannel() label must be a non-empty string of at most 512 characters. |
| [`AGENT_R0935`](https://vitehub.dev/docs/agents/diagnostics/agent_r0935) | Invalid Channel "\<channel\>" history query: \<error\> |
| [`AGENT_R0936`](https://vitehub.dev/docs/agents/diagnostics/agent_r0936) | Invalid Channel "\<channel\>" history cursor. |
| [`AGENT_R0937`](https://vitehub.dev/docs/agents/diagnostics/agent_r0937) | The Gmail Channel needs Google OAuth credentials. Set \<value\>, declare them in Server Env gmail, or pass gmail({ client }). |
| [`AGENT_R0938`](https://vitehub.dev/docs/agents/diagnostics/agent_r0938) | defineAgent({ driver.cwd }) must be a non-empty directory path or resolver. |
| [`AGENT_R0939`](https://vitehub.dev/docs/agents/diagnostics/agent_r0939) | Observability is not configured. |
| [`AGENT_R0941`](https://vitehub.dev/docs/agents/diagnostics/agent_r0941) | Forge requires Server Env credentials: \<names\>. |
| [`AGENT_R0942`](https://vitehub.dev/docs/agents/diagnostics/agent_r0942) | Forge repository \<repository\> is outside repositories. |
| [`AGENT_R0943`](https://vitehub.dev/docs/agents/diagnostics/agent_r0943) | Forge needs repositories or a pull request context that matches the forge option. |
| [`AGENT_R0944`](https://vitehub.dev/docs/agents/diagnostics/agent_r0944) | Forge file is not text. |
| [`AGENT_R0945`](https://vitehub.dev/docs/agents/diagnostics/agent_r0945) | \<name\> received invalid input. |
| [`AGENT_R0947`](https://vitehub.dev/docs/agents/diagnostics/agent_r0947) | SQLite journal mode \<requested\> was requested, but the VFS retained \<actual\>. |
| [`AGENT_R0950`](https://vitehub.dev/docs/agents/diagnostics/agent_r0950) | Agent Sandbox Home file \<path\> is generated by the provider Driver. Remove it from sandbox.home.files. |
| [`AGENT_R0951`](https://vitehub.dev/docs/agents/diagnostics/agent_r0951) | Agent Sandbox runtime \<runtime\> cannot start long-running processes. Use a Sandbox runtime with process support, such as trusted-host, crabbox, or container. |
| [`AGENT_R0952`](https://vitehub.dev/docs/agents/diagnostics/agent_r0952) | Agent Sandbox did not report an absolute HOME path. |
| [`AGENT_R0953`](https://vitehub.dev/docs/agents/diagnostics/agent_r0953) | Agent Sandbox relay received an invalid connection. |
| [`AGENT_R0954`](https://vitehub.dev/docs/agents/diagnostics/agent_r0954) | defineAgent({ sandbox }) requires a Sandbox definition with a runtime. |
| [`AGENT_R0955`](https://vitehub.dev/docs/agents/diagnostics/agent_r0955) | defineAgent({ sandbox }) requires a built-in provider Driver such as { kind: "codex" } or { kind: "claude-code" }. |
| [`AGENT_R0956`](https://vitehub.dev/docs/agents/diagnostics/agent_r0956) | defineAgent({ sandbox }) cannot be combined with driver.launch. The Sandbox starts the provider. |
| [`AGENT_R0957`](https://vitehub.dev/docs/agents/diagnostics/agent_r0957) | defineAgent({ sandbox }) cannot be combined with driver.credentials or driver.credentialProfile. Write provider credentials with sandbox.home.files or sandbox.env. |
| [`AGENT_R0958`](https://vitehub.dev/docs/agents/diagnostics/agent_r0958) | defineAgent({ sandbox }) cannot be combined with an Agent Workspace. Use sandbox.checkout or sandbox.cwd for the provider working tree. |
| [`AGENT_R0959`](https://vitehub.dev/docs/agents/diagnostics/agent_r0959) | defineAgent({ sandbox }) requires a Node.js host. Workers and Deno hosts cannot start provider Drivers. |
| [`AGENT_R0960`](https://vitehub.dev/docs/agents/diagnostics/agent_r0960) | Managed browser() cannot be used with defineAgent({ sandbox }) because the browser runs outside the Sandbox. Install the browser in the Sandbox and use browser({ runtime: "external" }). |
| [`AGENT_R0961`](https://vitehub.dev/docs/agents/diagnostics/agent_r0961) | Capability tools with defineAgent({ sandbox }) require a Sandbox runtime that shares the ViteHub network, such as trusted-host or crabbox with network: "direct". |
| [`AGENT_R0962`](https://vitehub.dev/docs/agents/diagnostics/agent_r0962) | Image attachments are not supported with defineAgent({ sandbox }) because the provider cannot read host attachment files. |
| [`AGENT_R0963`](https://vitehub.dev/docs/agents/diagnostics/agent_r0963) | defineAgent({ sandbox }) is not supported on Windows because the provider Sandbox relay requires a POSIX Node host. |
| [`AGENT_R0970`](https://vitehub.dev/docs/agents/diagnostics/agent_r0970) | defineAgent({ driver.requirements }) must be a list of command names, such as ["git", "gh"]. |
| [`AGENT_R0971`](https://vitehub.dev/docs/agents/diagnostics/agent_r0971) | defineAgent({ driver.toolchain }) must be "project" or an object with node, packageManager, or fallbackNode, such as { node: "project", packageManager: "project" }. |
| [`AGENT_R0972`](https://vitehub.dev/docs/agents/diagnostics/agent_r0972) | defineAgent({ sandbox }) cannot be combined with driver.toolchain. Declare sandbox.toolchain so the Sandbox provisions it. |
| [`AGENT_R0973`](https://vitehub.dev/docs/agents/diagnostics/agent_r0973) | Initial custom Driver cancellation state could not be persisted. |
| [`AGENT_R0974`](https://vitehub.dev/docs/agents/diagnostics/agent_r0974) | Cancellation was recorded for Agent Invocation \<id\>, but its Driver dispatch state could not be verified within five seconds. |
| [`AGENT_R0976`](https://vitehub.dev/docs/agents/diagnostics/agent_r0976) | defineAgent({ driver: { model, gateway } }) accepts only chatgpt() as gateway. For another gateway, set model: languageModel(gateway, id) from vite-hub/gateways/ai-sdk. |
| [`AGENT_R0979`](https://vitehub.dev/docs/agents/diagnostics/agent_r0979) | defineAgent({ driver.gateway }) sets \<value\>. Remove \<value\> from driver.env. |
| [`AGENT_R0981`](https://vitehub.dev/docs/agents/diagnostics/agent_r0981) | mcp({ toolOverrides }) references unknown server "\<serverName\>". |
| [`AGENT_R0982`](https://vitehub.dev/docs/agents/diagnostics/agent_r0982) | mcp({ toolOverrides }) references unknown tool "\<toolName\>" on discovered MCP server "\<name\>". |
| [`AGENT_R0983`](https://vitehub.dev/docs/agents/diagnostics/agent_r0983) | mcp({ toolOverrides }) input schemas require plain JSON Schema without transforms. |
| [`AGENT_R0991`](https://vitehub.dev/docs/agents/diagnostics/agent_r0991) | Forge sync.repositories must be a non-empty repository list. |
| [`AGENT_R0992`](https://vitehub.dev/docs/agents/diagnostics/agent_r0992) | Forge webhook sync requires token or VITEHUB_\<value\>_TOKEN. |
| [`AGENT_R0993`](https://vitehub.dev/docs/agents/diagnostics/agent_r0993) | Forge webhook sync requires webhookSecret or VITEHUB_\<value\>_WEBHOOK_SECRET. |
| [`AGENT_R0994`](https://vitehub.dev/docs/agents/diagnostics/agent_r0994) | Forge cannot manage hooks with \<verb\>. |
| [`AGENT_R0995`](https://vitehub.dev/docs/agents/diagnostics/agent_r0995) | Forge webhook sync found duplicate hooks for \<repository\> at the desired URL. Remove the duplicates before sync. |
| [`AGENT_R0996`](https://vitehub.dev/docs/agents/diagnostics/agent_r0996) | Forge webhook sync failed\<value\>: \<message\> |
| [`AGENT_R0997`](https://vitehub.dev/docs/agents/diagnostics/agent_r0997) | Forge baseUrl must be an instance URL without credentials, query, or fragment. |
| [`AGENT_R0998`](https://vitehub.dev/docs/agents/diagnostics/agent_r0998) | sandbox_exec args must be an array of no more than \<maxSandboxArgs\> strings, each no longer than \<maxSandboxArgLength\> characters. |
| [`AGENT_R0999`](https://vitehub.dev/docs/agents/diagnostics/agent_r0999) | sandbox_exec cwd must be a string. |
| [`AGENT_R1000`](https://vitehub.dev/docs/agents/diagnostics/agent_r1000) | sandbox_exec env must be an object with string values. |
| [`AGENT_R1001`](https://vitehub.dev/docs/agents/diagnostics/agent_r1001) | sandbox_exec env must contain no more than \<maxSandboxEnvironmentEntries\> entries. |
| [`AGENT_R1002`](https://vitehub.dev/docs/agents/diagnostics/agent_r1002) | sandbox_exec env cannot override PATH, NODE_OPTIONS, NODE_PATH, or loader-related variables. |
| [`AGENT_R1003`](https://vitehub.dev/docs/agents/diagnostics/agent_r1003) | sandbox_exec env values must be strings no longer than \<maxSandboxEnvironmentValueLength\> characters. |
| [`AGENT_R1004`](https://vitehub.dev/docs/agents/diagnostics/agent_r1004) | sandbox_exec timeout must be a positive integer no greater than \<maxSandboxTimeout\>. |
| [`AGENT_R1005`](https://vitehub.dev/docs/agents/diagnostics/agent_r1005) | Channel trigger "\<trigger\>" declares durableState: true, but it ran without the Channel's State. |
| [`AGENT_R1007`](https://vitehub.dev/docs/agents/diagnostics/agent_r1007) | messages.allowSilentReply requires messages.loading without delivery: "manual", because a streamed or manual reply is not held back for the final reply. |
| [`AGENT_R1011`](https://vitehub.dev/docs/agents/diagnostics/agent_r1011) | The content primitive must be the Content runtime from defineContent() with collections. |
| [`AGENT_R1012`](https://vitehub.dev/docs/agents/diagnostics/agent_r1012) | content({ collections }) names \<name\>, which is not a collection in server/content.ts. |
| [`AGENT_R1013`](https://vitehub.dev/docs/agents/diagnostics/agent_r1013) | defineAgent({ driver: { ask, gateway } }) needs a gateway that answers Jev questions. Gateway\<name\> does not. Use typesafe(), vercel(), or cloudflare() from vite-hub/gateways. |
| [`AGENT_R1014`](https://vitehub.dev/docs/agents/diagnostics/agent_r1014) | operations() found no operations. The Console plugin that `vite dev` and `console` add installs them. |
| [`AGENT_R1015`](https://vitehub.dev/docs/agents/diagnostics/agent_r1015) | The ChatGPT gateway requires ViteHub to own the Codex launch and its credentials. |
| [`AGENT_R1016`](https://vitehub.dev/docs/agents/diagnostics/agent_r1016) | The ChatGPT Connection cannot provide plan access (\<problem\>). |
| [`AGENT_R1017`](https://vitehub.dev/docs/agents/diagnostics/agent_r1017) | The ChatGPT plan usage limit was reached. |
| [`AGENT_R1018`](https://vitehub.dev/docs/agents/diagnostics/agent_r1018) | This ChatGPT account is not eligible for plan usage. |
| [`AGENT_R1019`](https://vitehub.dev/docs/agents/diagnostics/agent_r1019) | The ChatGPT plan endpoint rejected an unsupported capability. |
| [`AGENT_R1020`](https://vitehub.dev/docs/agents/diagnostics/agent_r1020) | ChatGPT plan usage is temporarily unavailable after bounded retries. |
| [`AGENT_R1021`](https://vitehub.dev/docs/agents/diagnostics/agent_r1021) | OpenAI rejected the app's ChatGPT plan configuration or request route. |
| [`AGENT_R1022`](https://vitehub.dev/docs/agents/diagnostics/agent_r1022) | ChatGPT denied plan access with HTTP 403. Codex did not preserve the provider error code. |
| [`AGENT_R1023`](https://vitehub.dev/docs/agents/diagnostics/agent_r1023) | ChatGPT plan inference failed without a provider error code. Codex can discard error codes from failed response streams. |
| [`AGENT_R1024`](https://vitehub.dev/docs/agents/diagnostics/agent_r1024) | The ChatGPT access token expired during this Invocation. |
| [`AGENT_R1026`](https://vitehub.dev/docs/agents/diagnostics/agent_r1026) | The ChatGPT gateway cannot find Codex in this app. |
| [`AGENT_R1027`](https://vitehub.dev/docs/agents/diagnostics/agent_r1027) | agent.invocations.retention.maxSize is not supported by the D1 journal, because D1 reports the size of the whole app database. Use maxAge or maxRecords, or set agent.invocations.databaseUrl to a SQLite file. |
| [`AGENT_R1028`](https://vitehub.dev/docs/agents/diagnostics/agent_r1028) | The Agent Invocation journal requires the D1 binding \<binding\> in the Worker env. Configure the Database D1 binding or set agent.invocations.databaseUrl. |
| [`AGENT_R1029`](https://vitehub.dev/docs/agents/diagnostics/agent_r1029) | The default Agent Invocation journal cannot open a file: URL in a Cloudflare Worker. |
| [`AGENT_R1030`](https://vitehub.dev/docs/agents/diagnostics/agent_r1030) | Agent invocations "database" requires ViteHub Database. Set `database` in vitehub() and run the Agent in the ViteHub server. |
| [`AGENT_R1031`](https://vitehub.dev/docs/agents/diagnostics/agent_r1031) | The default Agent Invocation journal needs the project root. Run the Agent in the ViteHub server. |
| [`AGENT_R1032`](https://vitehub.dev/docs/agents/diagnostics/agent_r1032) | VITEHUB_CONSOLE_DATABASE_URL was renamed. Set VITEHUB_AGENT_INVOCATIONS_DATABASE_URL, and VITEHUB_AGENT_INVOCATIONS_DATABASE_AUTH_TOKEN for an authenticated libSQL endpoint. |
| [`AGENT_R1033`](https://vitehub.dev/docs/agents/diagnostics/agent_r1033) | No app-wide Agent Invocation journal is installed. Call getAgentInvocations() in the ViteHub server of an app with Agents, and do not set agent.invocations to false. |
| [`AGENT_R1034`](https://vitehub.dev/docs/agents/diagnostics/agent_r1034) | inputCommands({ debug }) must be true or false. |
| [`AGENT_R1035`](https://vitehub.dev/docs/agents/diagnostics/agent_r1035) | The D1 Agent Invocation journal does not support db.transaction(). Use db.batch() for atomic writes. |
| [`AGENT_R1036`](https://vitehub.dev/docs/agents/diagnostics/agent_r1036) | The default Agent Invocation journal selected SQLite or libSQL, but the server was built without the libSQL driver. |
| [`AGENT_R1037`](https://vitehub.dev/docs/agents/diagnostics/agent_r1037) | Agent "\<name\>" owns a Workspace, but the defineAgent() options that its file exports have no workspace key. A Capability, Channel, preset, parent, or configure callback added the Workspace. Add workspace: {} to its defineAgent() options. |
| [`AGENT_R1038`](https://vitehub.dev/docs/agents/diagnostics/agent_r1038) | defineAgent({ driver.workspaceWrite }) must be an object with boolean network or packageCaches, such as { network: true, packageCaches: true }. |
| [`AGENT_R1039`](https://vitehub.dev/docs/agents/diagnostics/agent_r1039) | Agent Invocation afterSequence must be a non-negative safe integer, but it is \<value\>. |
| [`AGENT_R1040`](https://vitehub.dev/docs/agents/diagnostics/agent_r1040) | Unknown session provider \<provider\>. Use "codex" or "claude-code". |
| [`AGENT_R1041`](https://vitehub.dev/docs/agents/diagnostics/agent_r1041) | importAgentSession() needs agentName and runId. |
| [`AGENT_R1042`](https://vitehub.dev/docs/agents/diagnostics/agent_r1042) | importAgentSession() replaces an earlier import, and this store cannot delete records. |
| [`AGENT_R1043`](https://vitehub.dev/docs/agents/diagnostics/agent_r1043) | importAgentSession() cannot replace Invocation \<id\>: it is still pending or running. |
| [`AGENT_R1044`](https://vitehub.dev/docs/agents/diagnostics/agent_r1044) | Webhook registration "\<registration\>" does not verify requests, and it does not opt out of verification. |
| [`AGENT_R1045`](https://vitehub.dev/docs/agents/diagnostics/agent_r1045) | page() reaches the page over Realtime, and this build has no Realtime driver. |
| [`AGENT_R1046`](https://vitehub.dev/docs/agents/diagnostics/agent_r1046) | connectPage() has no `join`, so the page cannot join its Realtime room. |
| [`AGENT_R1047`](https://vitehub.dev/docs/agents/diagnostics/agent_r1047) | The page refused \<step\>: a deny rule of page() covers it. Nothing of this step changed. |
| [`AGENT_R1048`](https://vitehub.dev/docs/agents/diagnostics/agent_r1048) | \<step\> needs the person's approval, and the page has no way to ask them. Nothing of this step changed. |
| [`AGENT_R1049`](https://vitehub.dev/docs/agents/diagnostics/agent_r1049) | The person did not approve \<step\>. Nothing of this step changed. |
| [`AGENT_R1050`](https://vitehub.dev/docs/agents/diagnostics/agent_r1050) | The page answered page_act without applying the rules of page(), so nothing ran. Its client is older than the server. |
| [`AGENT_R1051`](https://vitehub.dev/docs/agents/diagnostics/agent_r1051) | connectPage() needs ui-sdk's `createAgent` function, so it can decide each step with the server's rules, and got something else. |
| [`AGENT_R1052`](https://vitehub.dev/docs/agents/diagnostics/agent_r1052) | page() has an invalid rule: \<problem\> |
| [`AGENT_R1053`](https://vitehub.dev/docs/agents/diagnostics/agent_r1053) | --url \<url\> \<form\>. --url is the app URL in every vitehub command. This old form stops working in the next minor version. |
| [`AGENT_R1054`](https://vitehub.dev/docs/agents/diagnostics/agent_r1054) | This page is closed. Its queued calls cannot run. |
| [`AGENT_UI_ACTION_UNKNOWN`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_action_unknown) | The spec binds the action "\<action\>". Use one of: \<known\>. |
| [`AGENT_UI_CHILDREN_NOT_ALLOWED`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_children_not_allowed) | \<type\> takes no children. |
| [`AGENT_UI_COMPONENT_NOT_ON_SURFACE`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_component_not_on_surface) | \<type\> does not render on the \<surface\> surface. Use one of: \<known\>. |
| [`AGENT_UI_COMPONENT_UNKNOWN`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_component_unknown) | The catalog has no component "\<type\>". Use one of: \<known\>. |
| [`AGENT_UI_ELEMENT_CYCLE`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_element_cycle) | The element "\<id\>" contains itself through its children. |
| [`AGENT_UI_ELEMENT_NOT_FOUND`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_element_not_found) | The spec has no element "\<id\>". |
| [`AGENT_UI_ELEMENT_REPEATED`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_element_repeated) | The element "\<id\>" appears in children more than once. |
| [`AGENT_UI_EVENT_UNKNOWN`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_event_unknown) | \<type\> has no event "\<event\>". Its events are: \<known\>. |
| [`AGENT_UI_FORM_NOT_ON_SURFACE`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_form_not_on_surface) | The form "\<form\>" does not render on the \<surface\> surface: \<problem\> |
| [`AGENT_UI_FORM_UNKNOWN`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_form_unknown) | The catalog has no form "\<form\>". Use one of: \<known\>. |
| [`AGENT_UI_PATCH_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_patch_invalid) (guide) | The patch on line \<line\> of the answer cannot build the spec: \<problem\> |
| [`AGENT_UI_PROP_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_prop_invalid) | \<type\> prop "\<prop\>" is invalid: \<problem\> |
| [`AGENT_UI_PROP_UNKNOWN`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_prop_unknown) | \<type\> has no prop "\<prop\>". Its props are: \<known\>. |
| [`AGENT_UI_SPEC_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_spec_invalid) | The spec has the wrong shape: \<problem\> |
| [`AGENT_UI_SPEC_NOT_FOUND`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_spec_not_found) (guide) | The answer has no spec patches. A spec is built from JSON patches, one on each line. |
| [`AGENT_UI_TOO_DEEP`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_too_deep) | The element tree is more than \<limit\> levels deep. |
| [`AGENT_UI_TOO_MANY_ELEMENTS`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_too_many_elements) | The spec has \<count\> elements. The limit is \<limit\>. |
| [`AGENT_UI_VERSION_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_version_unsupported) | The spec has version \<version\>. This catalog reads version 1. |
| [`MARKDOWN_TEMPLATE_R0002`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0002) | Unsafe Markdown template condition "\<value\>". |
| [`MARKDOWN_TEMPLATE_R0011`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0011) | Markdown template link binding "{{ \<path\> }}" must resolve to a safe destination. |
| [`MARKDOWN_TEMPLATE_R0012`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0012) | Markdown template link binding "{{ \<path\> }}" must resolve to a safe destination. |
| [`MARKDOWN_TEMPLATE_R0013`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0013) | Markdown template link binding "{{ \<path\> }}" must resolve to a safe destination. |
| [`MARKDOWN_TEMPLATE_R0014`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0014) | Markdown template must be a string. |
| [`MARKDOWN_TEMPLATE_R0015`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0015) | Markdown template \<value\> block must follow an if block. |
| [`MARKDOWN_TEMPLATE_R0017`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0017) | Markdown template binding "\<value\>" is not defined. |
| [`MARKDOWN_TEMPLATE_R0018`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0018) | Markdown template binding "\<path\>" must resolve to a scalar value. |
| [`MARKDOWN_TEMPLATE_R0020`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0020) | Markdown template Insert requires a markdown prop. Use :insert{:markdown="data.summary"}. |
| [`MARKDOWN_TEMPLATE_R0021`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0021) | Markdown template fragment cannot contain block Markdown when used inline. Put :insert on its own line, separated by blank lines. |
| [`MARKDOWN_TEMPLATE_R0022`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0022) | Markdown template else block does not accept a condition. |
| [`MARKDOWN_TEMPLATE_R0023`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0023) | Markdown template else block cannot be followed by another branch. |
| [`MARKDOWN_TEMPLATE_R0024`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0024) | Unsupported Markdown template condition prop "\<key\>". Use Comark-bound condition or value props. |
| [`MARKDOWN_TEMPLATE_R0025`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0025) | Markdown template \<tag\> block must follow an if block. |
| [`MARKDOWN_TEMPLATE_R0026`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0026) | Markdown template \<tag\> block cannot follow else. |
| [`MARKDOWN_TEMPLATE_R0027`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0027) | Markdown template else block does not accept a condition. |
| [`MARKDOWN_TEMPLATE_R0029`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0029) | Markdown template if block is missing a closing :: line. |
| [`MARKDOWN_TEMPLATE_R0030`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0030) | Markdown template binding "\<value\>" cannot target the HTML srcdoc sink. |
| [`MARKDOWN_TEMPLATE_R0031`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0031) | Markdown template binding "\<value\>" cannot target an HTML event-handler attribute. |
| [`MARKDOWN_TEMPLATE_R0032`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0032) | Markdown template binding "\<value\>" cannot target a style attribute. |
| [`MARKDOWN_TEMPLATE_R0033`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_r0033) | Markdown template binding "{{ \<path\> }}" cannot be a Markdown link destination. Use [label](){:href="\<path\>"}. |

## Configuration errors

| Code | What happened |
| --- | --- |
| [`AGENT_C0001`](https://vitehub.dev/docs/agents/diagnostics/agent_c0001) | Invalid agent definition. |
| [`AGENT_C0002`](https://vitehub.dev/docs/agents/diagnostics/agent_c0002) | defineCapability() requires a capability definition. |
| [`AGENT_C0003`](https://vitehub.dev/docs/agents/diagnostics/agent_c0003) | Capability definitions require a non-empty string id. |
| [`AGENT_C0004`](https://vitehub.dev/docs/agents/diagnostics/agent_c0004) | Capability id "\<id\>" must be a stable identifier. |
| [`AGENT_C0005`](https://vitehub.dev/docs/agents/diagnostics/agent_c0005) | Capability "\<capability\>" trigger names must be non-empty strings. |
| [`AGENT_C0006`](https://vitehub.dev/docs/agents/diagnostics/agent_c0006) | Capability "\<capability\>" trigger "\<name\>" must be a stable local identifier. |
| [`AGENT_C0007`](https://vitehub.dev/docs/agents/diagnostics/agent_c0007) | \<label\> mode must be "read" or "write". |
| [`AGENT_C0008`](https://vitehub.dev/docs/agents/diagnostics/agent_c0008) | defineAgent({ capabilities }) must be an ordered array. |
| [`AGENT_C0009`](https://vitehub.dev/docs/agents/diagnostics/agent_c0009) | Duplicate capability id "\<id\>" in one agent. |
| [`AGENT_C0010`](https://vitehub.dev/docs/agents/diagnostics/agent_c0010) | Invocation-resolved Capability "\<id\>" cannot contribute \<value\>. Attach definition-time behavior in a static capabilities array. |
| [`AGENT_C0011`](https://vitehub.dev/docs/agents/diagnostics/agent_c0011) | forge() requires valid forge, repositories, output limit and operations for its mode. |
| [`AGENT_C0012`](https://vitehub.dev/docs/agents/diagnostics/agent_c0012) | content() requires { collections?: string[], operations?: Array\<"read" \| "write" \| "publish"\>, policy?, user?, lease?: "override" }. |
| [`AGENT_C0013`](https://vitehub.dev/docs/agents/diagnostics/agent_c0013) | operations() requires { include: string[], approve?, user? }. |
| [`AGENT_C0014`](https://vitehub.dev/docs/agents/diagnostics/agent_c0014) | i18n() requires { operations?: Array\<"read" \| "write" \| "publish"\>, policy? }. |
| [`AGENT_UI_ENTRY_DUPLICATE`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_entry_duplicate) | The catalog has two entries named \<entry\>. |
| [`AGENT_UI_ENTRY_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_entry_invalid) | The catalog entry \<entry\> is invalid: \<problem\> |
| [`AGENT_UI_NOT_A_FORM`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_not_a_form) | The spec element "\<id\>" is not a Form that the catalog can check: \<problem\> |
| [`AGENT_UI_PROPS_ASYNC`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_props_async) | The props schema of \<entry\> returned a Promise. Spec validation is synchronous. |

## Build errors

| Code | What happened |
| --- | --- |
| [`AGENT_B0002`](https://vitehub.dev/docs/agents/diagnostics/agent_b0002) | Duplicate Agent name "\<name\>" in \<handler\> and \<handler\>. Give each Agent a unique name. |
| [`AGENT_B0005`](https://vitehub.dev/docs/agents/diagnostics/agent_b0005) | agent.providers.state.\<message\> |
| [`AGENT_B0006`](https://vitehub.dev/docs/agents/diagnostics/agent_b0006) | Agent \<label\> route conflicts with the existing route \<route\>. |
| [`AGENT_B0016`](https://vitehub.dev/docs/agents/diagnostics/agent_b0016) | Multi-Agent inspection routes require an agent route parameter. |
| [`AGENT_B0017`](https://vitehub.dev/docs/agents/diagnostics/agent_b0017) | See the page of the code. |
| [`AGENT_B0019`](https://vitehub.dev/docs/agents/diagnostics/agent_b0019) | Provider Agent Drivers (codexDriver() and claudeCodeDriver()) cannot run in a Cloudflare Worker. A server module in this Worker build calls one. |
| [`AGENT_B0020`](https://vitehub.dev/docs/agents/diagnostics/agent_b0020) | Cannot identify the owning Agent build for \<root\> because its environment does not uniquely match a resolved configuration. |
| [`AGENT_B0022`](https://vitehub.dev/docs/agents/diagnostics/agent_b0022) | Agent \<value\> uses a preset that runs a long-lived process host. \<hosting\> cannot run it; deploy with the Node server preset. |
| [`AGENT_B0023`](https://vitehub.dev/docs/agents/diagnostics/agent_b0023) | Agent \<value\> stores its process host state in Agent State. Use the sqlite, libsql, or auto Agent State provider. |
| [`AGENT_B0024`](https://vitehub.dev/docs/agents/diagnostics/agent_b0024) | Agent \<file\>: list Channels as string literals, such as channels: ['slack']. ViteHub reads them without running the module. |
| [`MARKDOWN_TEMPLATE_B0001`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_b0001) | Markdown materialization requires a relative \<markdownTemplateFileSuffix\> path, received \<templatePath\>. |
| [`MARKDOWN_TEMPLATE_B0002`](https://vitehub.dev/docs/agents/diagnostics/markdown_template_b0002) | Markdown materialization paths cannot escape or contain ambiguous segments, received \<templatePath\>. |

## Named errors

| Code | What happened |
| --- | --- |
| [`AGENT_BROWSER_CACHE_UNTRUSTED`](https://vitehub.dev/docs/agents/diagnostics/agent_browser_cache_untrusted) | Managed browser cache requires trusted ownership and permissions: \<path\> |
| [`AGENT_BROWSER_INSTALL_FAILED`](https://vitehub.dev/docs/agents/diagnostics/agent_browser_install_failed) | Browser runtime installation did not produce a Chrome executable. |
| [`AGENT_BROWSER_MANAGED_WITH_LAUNCH`](https://vitehub.dev/docs/agents/diagnostics/agent_browser_managed_with_launch) | browser({ runtime: "managed" }) cannot be used with driver.launch because the launcher may run on another filesystem. Remove runtime, or use browser({ runtime: "external" }) with a browser runtime prepared by the launcher. |
| [`AGENT_BROWSER_PLATFORM_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/agent_browser_platform_unsupported) | Managed browser() supports Linux and macOS. Use runtime: external for a prepared browser runtime. |
| [`AGENT_BROWSER_SOCKET_DIRECTORY_UNSAFE`](https://vitehub.dev/docs/agents/diagnostics/agent_browser_socket_directory_unsafe) | Browser socket directory ancestors must be private directory paths or trusted system directories. |
| [`AGENT_BUDGET_CAPACITY_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/agent_budget_capacity_unsupported) | budget capability does not support capacity; configure it on defineAgent({ budget }). |
| [`AGENT_BUDGET_LIMIT_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_budget_limit_invalid) | budget \<name\> must be a finite, non-negative number. |
| [`AGENT_BUDGET_LIMIT_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_budget_limit_missing) | budget requires tokens or usd. |
| [`AGENT_BUDGET_USD_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_budget_usd_invalid) | budget usd must be a non-negative decimal. |
| [`AGENT_CAPABILITY_EXTEND_ID_CHANGED`](https://vitehub.dev/docs/agents/diagnostics/agent_capability_extend_id_changed) | Capability "\<id\>" extend() must return a Capability with the same id. |
| [`AGENT_CAPABILITY_ID_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_capability_id_missing) | Agent layers require explicit capability definitions with stable IDs. |
| [`AGENT_CHANNEL_ACTIVITY_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_activity_unsupported) | Agent channel \<channelId\> does not support activity. |
| [`AGENT_CHANNEL_DEFINITION_NOT_FOUND`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_definition_not_found) | Agent \<agent\> lists the Channel "\<channel\>", but server/channels has no Channel with that name. Channels: \<value\>. |
| [`AGENT_CHANNEL_DELIVERY_CHANNEL_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_delivery_channel_invalid) | channelDelivery({ channel }) requires a Channel client, for example useChannel("teams"). |
| [`AGENT_CHANNEL_DELIVERY_FORMAT_EMPTY`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_delivery_format_empty) | \<name\> requires formatted text to be non-empty. |
| [`AGENT_CHANNEL_DELIVERY_MAX_CALLS_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_delivery_max_calls_invalid) | channelDelivery({ maxCalls }) must be a positive integer. |
| [`AGENT_CHANNEL_DELIVERY_MESSAGE_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_delivery_message_missing) | \<name\> requires a non-empty message. |
| [`AGENT_CHANNEL_DELIVERY_REMINDER_INSTRUCTION_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_delivery_reminder_instruction_invalid) | channelDelivery({ reminder: { instruction } }) must be a non-empty string. |
| [`AGENT_CHANNEL_DELIVERY_REMINDER_NOT_REQUIRED`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_delivery_reminder_not_required) | channelDelivery({ reminder }) requires required: true. |
| [`AGENT_CHANNEL_DELIVERY_REMINDER_TURNS_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_delivery_reminder_turns_invalid) | channelDelivery({ reminder: { turns } }) must be a positive integer. |
| [`AGENT_CHANNEL_HOST_NAME_TAKEN`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_host_name_taken) | Channel \<channel\> serves its webhooks as "\<agent\>", which is also the name of an Agent Definition. Rename the Channel folder or the Agent. |
| [`AGENT_CHANNEL_IMPORT_CYCLE`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_import_cycle) | Agent \<agent\> lists the Channel "\<channel\>", whose static imports lead back to that Agent. Use a lazy task target, agent: () =\> import('...'), or leave the Channel unlisted. Named Channels cannot statically import their owning Agent. |
| [`AGENT_CHANNEL_MESSAGE_ID_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_message_id_missing) | \<label\> did not return a root message ID. |
| [`AGENT_CHANNEL_PULL_CURSOR_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_pull_cursor_invalid) | context.pull("\<key\>") has a gap: expected cursor \<cursor\>, received \<next\>. |
| [`AGENT_CHANNEL_PULL_CURSOR_TYPE_CHANGED`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_pull_cursor_type_changed) | The saved cursor of context.pull("\<key\>") is not a \<cursorType\>. |
| [`AGENT_CHANNEL_PULL_OPTIONS_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_pull_options_invalid) | context.pull("\<key\>") needs \<need\>. |
| [`AGENT_CHANNEL_PULL_PAGE_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_pull_page_invalid) | context.pull("\<key\>") fetch must return { items, next, more } with a \<cursorType\> next cursor. |
| [`AGENT_CHANNEL_PULL_STATE_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_pull_state_missing) | Channel trigger "\<triggerId\>" can pull only with the Channel's State. Run it through the Channel's webhook route. |
| [`AGENT_CHANNEL_SKIP_REPLY_REASON_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_skip_reply_reason_missing) | \<name\> requires a non-empty reason. |
| [`AGENT_CHANNEL_STATE_DURATION_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_state_duration_invalid) | channelState.transaction() \<name\> must be a \<value\> finite number. |
| [`AGENT_CHANNEL_STATE_LOCK_BUSY`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_state_lock_busy) | Channel State lock "\<key\>" is still held after \<waitMs\> ms. |
| [`AGENT_CHANNEL_STATE_QUEUE_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_state_queue_missing) | Channel State writes with a delivery need a queue-capable State. |
| [`AGENT_CHANNEL_STATE_TRANSACTION_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_state_transaction_invalid) | channelState.transaction() needs \<need\>. |
| [`AGENT_CHANNEL_STATE_TRANSACTION_NESTED`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_state_transaction_nested) | Channel State key "\<key\>" already has a transaction in this trigger call. |
| [`AGENT_CHANNEL_TASK_HANDLED`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_task_handled) | Channel task "\<task\>" did not resolve to an invocation. |
| [`AGENT_CHANNEL_WEBHOOK_PATH_TAKEN`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_webhook_path_taken) | Channel \<channel\>: the webhook path \<path\> is already routed to \<target\>. |
| [`AGENT_CHANNELS_ADAPTER_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_channels_adapter_missing) | Channel history export could not resolve the configured Chat adapter. |
| [`AGENT_CHANNELS_CURSOR_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_channels_cursor_invalid) | The cursor is not valid. |
| [`AGENT_CHANNELS_EXPORT_TOO_LARGE`](https://vitehub.dev/docs/agents/diagnostics/agent_channels_export_too_large) | The conversation is larger than the 35 MiB limit of an export. |
| [`AGENT_CHANNELS_FORBIDDEN`](https://vitehub.dev/docs/agents/diagnostics/agent_channels_forbidden) | An Agent can read Channel conversations only when its operations() capability sets `conversations`. |
| [`AGENT_CHANNELS_HOST_UNAVAILABLE`](https://vitehub.dev/docs/agents/diagnostics/agent_channels_host_unavailable) | The transcript participants could not be read from the Agent State: \<detail\> |
| [`AGENT_CHANNELS_NO_CONVERSATIONS`](https://vitehub.dev/docs/agents/diagnostics/agent_channels_no_conversations) | Channel \<channel\> has its own history collection and no per-thread conversation. |
| [`AGENT_CHANNELS_NO_STATUS`](https://vitehub.dev/docs/agents/diagnostics/agent_channels_no_status) | Channel \<channel\> has no sync status. |
| [`AGENT_CHANNELS_NOT_FOUND`](https://vitehub.dev/docs/agents/diagnostics/agent_channels_not_found) | The Agent \<agent\> has no Channel \<channel\>. |
| [`AGENT_CHANNELS_PROVIDER_FAILED`](https://vitehub.dev/docs/agents/diagnostics/agent_channels_provider_failed) | The provider history could not be read: \<detail\> |
| [`AGENT_CHANNELS_THREAD_UNKNOWN`](https://vitehub.dev/docs/agents/diagnostics/agent_channels_thread_unknown) | The Channel has no Invocation and no transcript for the thread \<thread\>. |
| [`AGENT_CHAT_RECOVERY_INDEX_CONFLICT`](https://vitehub.dev/docs/agents/diagnostics/agent_chat_recovery_index_conflict) | Lost the interrupted chat index lock before committing. |
| [`AGENT_CONFIG_KEY_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_config_key_invalid) | Agent configKey must be a non-reserved configuration key. |
| [`AGENT_CONFIGURE_RESULT_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_configure_result_invalid) | Agent configure must return an Agent Definition created by defineAgent(). |
| [`AGENT_CONFIGURED_OPTIONS_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_configured_options_invalid) | A configured Agent requires only options defaults and a configure callback. |
| [`AGENT_CONNECTOR_ADAPTER_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/agent_connector_adapter_unsupported) | The \<label\> adapter cannot \<action\>. |
| [`AGENT_CONNECTOR_RECIPIENT_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_connector_recipient_invalid) | The \<label\> recipient is not a \<label\> thread ID. |
| [`AGENT_CONNECTOR_RECIPIENT_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_connector_recipient_missing) | \<label\> send requires a recipient. |
| [`AGENT_CONNECTOR_REPLACE_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_connector_replace_invalid) | \<label\> replace requires the idempotency key of an earlier send and its own idempotencyKey. |
| [`AGENT_CONNECTOR_REPLACE_THREAD_ROOT`](https://vitehub.dev/docs/agents/diagnostics/agent_connector_replace_thread_root) | \<label\> replace cannot delete a channel thread root. Set thread.root on the first send so the temporary message is a reply. |
| [`AGENT_CONNECTOR_THREAD_KEY_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_connector_thread_key_missing) | \<label\> thread requires a non-empty key. |
| [`AGENT_CONNECTOR_THREAD_RECIPIENT_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_connector_thread_recipient_invalid) | A \<label\> thread requires a channel recipient without a message ID. |
| [`AGENT_CONNECTOR_THREAD_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/agent_connector_thread_unsupported) | The \<name\>() Channel does not support thread in send(). |
| [`AGENT_CONSOLE_DELIVERY_INCOMPLETE`](https://vitehub.dev/docs/agents/diagnostics/agent_console_delivery_incomplete) | Console delivery requires both url and token. |
| [`AGENT_CONSOLE_DELIVERY_URL_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_console_delivery_url_invalid) | Console delivery requires an HTTP(S) URL without embedded credentials. |
| [`AGENT_CONVERSATIONS_EXPORT_ARGUMENTS_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_conversations_export_arguments_invalid) | --media needs --output \<directory\>, since attachments are files. |
| [`AGENT_CONVERSATIONS_EXPORT_DEV_SERVER_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_conversations_export_dev_server_missing) | No dev server is running for \<root\>. Start `vite dev` or pass --url \<origin\>. |
| [`AGENT_CONVERSATIONS_EXPORT_OUTPUT_EXISTS`](https://vitehub.dev/docs/agents/diagnostics/agent_conversations_export_output_exists) | The output directory already exists: \<directory\> |
| [`AGENT_CONVERSATIONS_EXPORT_PATH_UNSAFE`](https://vitehub.dev/docs/agents/diagnostics/agent_conversations_export_path_unsafe) | The server named a file outside the output directory: \<path\>. |
| [`AGENT_CUSTOM_INSTRUCTIONS_NOT_STRING`](https://vitehub.dev/docs/agents/diagnostics/agent_custom_instructions_not_string) | context.customInstructions must be a string. |
| [`AGENT_CUSTOM_INSTRUCTIONS_REFERENCE_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_custom_instructions_reference_invalid) | context.customInstructions is available only through the authored {{{ context.customInstructions }}} slot. |
| [`AGENT_CUSTOM_INSTRUCTIONS_SLOT_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_custom_instructions_slot_missing) | context.customInstructions requires a {{{ context.customInstructions }}} slot outside code in the Agent instructions. |
| [`AGENT_DISPATCH_DRY_RUN_WITH_QUEUE`](https://vitehub.dev/docs/agents/diagnostics/agent_dispatch_dry_run_with_queue) | Channel "\<channelId\>" cannot combine dispatch dryRun with queue. |
| [`AGENT_DISPATCH_ITEM_KEY_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_dispatch_item_key_missing) | Channel "\<channelId\>" dispatch items need a non-empty key. |
| [`AGENT_DISPATCH_ITEM_ORDER_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_dispatch_item_order_invalid) | Channel "\<channelId\>" dispatch item "\<key\>" needs order { key, version } with a non-empty key and a finite number version. |
| [`AGENT_DISPATCH_ITEM_REJECTED`](https://vitehub.dev/docs/agents/diagnostics/agent_dispatch_item_rejected) | Channel trigger "\<triggerId\>" rejected item "\<key\>" with HTTP \<status\>. |
| [`AGENT_DISPATCH_ITEMS_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_dispatch_items_invalid) | Channel "\<channelId\>" dispatch needs an array of items. |
| [`AGENT_DISPATCH_QUEUE_OWNERSHIP_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_dispatch_queue_ownership_invalid) | Queued dispatch needs webhook.deliveryId and webhook.concurrencyLimit (or serialize) from trigger "\<triggerId\>", without busy: "steer" or rehydrate. |
| [`AGENT_DRAIN_MS_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_drain_ms_invalid) | agent.shutdown.drainMs must be a finite number of milliseconds, 0 or more. |
| [`AGENT_EXECUTION_BUDGET_AI_SDK_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/agent_execution_budget_ai_sdk_unsupported) | Execution budgets require AI SDK wrapLanguageModel support. |
| [`AGENT_EXTENDS_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_extends_invalid) | defineAgent({ extends }) requires an Agent Definition created by defineAgent(). |
| [`AGENT_GITHUB_ACTIVITY_AGENT_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_github_activity_agent_missing) | GitHub activity session links require an Agent identity. |
| [`AGENT_GMAIL_CERTIFICATES_FAILED`](https://vitehub.dev/docs/agents/diagnostics/agent_gmail_certificates_failed) | Google OAuth certificates request failed with HTTP \<status\>. |
| [`AGENT_GMAIL_DISPATCH_FAILED`](https://vitehub.dev/docs/agents/diagnostics/agent_gmail_dispatch_failed) | Gmail message dispatch failed for \<count\> message(s); saved for retry. |
| [`AGENT_GMAIL_LOCK_LOST`](https://vitehub.dev/docs/agents/diagnostics/agent_gmail_lock_lost) | Lost the lock of the Gmail skipped messages. |
| [`AGENT_GMAIL_MAILBOX_MISMATCH`](https://vitehub.dev/docs/agents/diagnostics/agent_gmail_mailbox_mismatch) | Gmail notification belongs to another mailbox. |
| [`AGENT_GMAIL_OAUTH_REFRESH_FAILED`](https://vitehub.dev/docs/agents/diagnostics/agent_gmail_oauth_refresh_failed) | Google OAuth token refresh failed with HTTP \<status\>\<value\>. |
| [`AGENT_GMAIL_REQUEST_FAILED`](https://vitehub.dev/docs/agents/diagnostics/agent_gmail_request_failed) | \<request\> failed with HTTP \<status\>\<value\>. |
| [`AGENT_GMAIL_SYNC_BUSY`](https://vitehub.dev/docs/agents/diagnostics/agent_gmail_sync_busy) | Gmail mailbox synchronization is already running; retry polling after it completes. |
| [`AGENT_GMAIL_TOKEN_REFRESH_FAILED`](https://vitehub.dev/docs/agents/diagnostics/agent_gmail_token_refresh_failed) | Google OAuth token refresh failed\<value\>\<value\>. |
| [`AGENT_HOST_ROUTE_DUPLICATE`](https://vitehub.dev/docs/agents/diagnostics/agent_host_route_duplicate) | Agent host route already registered: \<route\> |
| [`AGENT_HOST_ROUTE_EXPORT_NAME_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_host_route_export_name_invalid) | Agent host route exportName must be a JavaScript identifier. |
| [`AGENT_HOST_ROUTE_PATH_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_host_route_path_invalid) | Agent host routes require an absolute path without query, hash, or wildcard; Workspace routes require an :id parameter. |
| [`AGENT_INLINE_INVOCATION_WORKFLOW`](https://vitehub.dev/docs/agents/diagnostics/agent_inline_invocation_workflow) | Invocation tools cannot be used with an explicit Agent Workflow. Callable tools require inline execution. |
| [`AGENT_INSTRUCTION_SLOT_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_instruction_slot_invalid) | Instruction templates require exactly one {{{ instructions }}} slot outside code. |
| [`AGENT_INSTRUCTIONS_EXTEND_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_instructions_extend_invalid) | driver.instructions extend() must return a string. |
| [`AGENT_INVOCATION_CLAIM_CONFLICT`](https://vitehub.dev/docs/agents/diagnostics/agent_invocation_claim_conflict) | Invocation already exists or is claimed. |
| [`AGENT_INVOCATION_CLAIM_UNAVAILABLE`](https://vitehub.dev/docs/agents/diagnostics/agent_invocation_claim_unavailable) | Could not acquire the Invocation execution claim. |
| [`AGENT_INVOCATION_CURSOR_REPEATED`](https://vitehub.dev/docs/agents/diagnostics/agent_invocation_cursor_repeated) | Agent Invocation listing returned a repeated pagination cursor. |
| [`AGENT_INVOCATION_ID_AMBIGUOUS`](https://vitehub.dev/docs/agents/diagnostics/agent_invocation_id_ambiguous) | The ID matches multiple Agent invocation journals. Cancel through the intended Agent's invocations.cancel(id). |
| [`AGENT_INVOCATION_STORE_TIMEOUT`](https://vitehub.dev/docs/agents/diagnostics/agent_invocation_store_timeout) | Agent Invocation \<step\> timed out after \<ms\> ms. |
| [`AGENT_INVOCATION_STORE_UNCONFIRMED`](https://vitehub.dev/docs/agents/diagnostics/agent_invocation_store_unconfirmed) | Could not \<step\>. |
| [`AGENT_INVOCATION_TOOL_NAME_TAKEN`](https://vitehub.dev/docs/agents/diagnostics/agent_invocation_tool_name_taken) | Invocation tool name already exists: \<value\>. |
| [`AGENT_INVOCATIONS_DATABASE_DRIVER_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/agent_invocations_database_driver_unsupported) | Database Agent Invocations require \<need\>. |
| [`AGENT_INVOCATIONS_DATABASE_WITHOUT_STORE`](https://vitehub.dev/docs/agents/diagnostics/agent_invocations_database_without_store) | Agent invocations accept `database` only with `store: "database"`. |
| [`AGENT_MAX_RETRIES_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_max_retries_invalid) | maxRetries must be a non-negative integer |
| [`AGENT_MCP_RETRIES_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_mcp_retries_invalid) | callMcpTool({ retries }) must be a non-negative integer. |
| [`AGENT_MCP_TOOLS_LIST_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_mcp_tools_list_invalid) | MCP tools/list must return a tools array. |
| [`AGENT_NAME_DUPLICATE`](https://vitehub.dev/docs/agents/diagnostics/agent_name_duplicate) | Duplicate Agent name "\<name\>" discovered. |
| [`AGENT_OBSERVABILITY_INSTALLED`](https://vitehub.dev/docs/agents/diagnostics/agent_observability_installed) | Observability is already installed. Close its host before installing another instance. |
| [`AGENT_OBSERVABILITY_MAX_PENDING_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_observability_max_pending_invalid) | evlog maxPending must be a positive integer. |
| [`AGENT_OPENAPI_CONNECTION_BODY_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_openapi_connection_body_invalid) | OpenAPI requests through a Connection require a string body. Serialize the request hook body before dispatch. |
| [`AGENT_PAPERCUT_DELIVERY_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_papercut_delivery_invalid) | Invalid papercut delivery envelope. |
| [`AGENT_PAPERCUT_IDENTITY_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_papercut_identity_missing) | Papercut reporting requires a persistent invocation identity. |
| [`AGENT_PAPERCUT_INDEX_OPTION_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_papercut_index_option_invalid) | createPapercutIndex({ \<name\> }) must be a positive number. |
| [`AGENT_PAPERCUT_INDEX_SIMILARITY_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_papercut_index_similarity_invalid) | createPapercutIndex({ similarity }) must be greater than 0 and at most 1. |
| [`AGENT_PAPERCUT_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_papercut_invalid) | A papercut requires an ID, timestamp and message of 1–1000 characters. |
| [`AGENT_PAPERCUT_MESSAGE_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_papercut_message_missing) | report_papercut requires a non-empty message. |
| [`AGENT_PAPERCUT_MESSAGE_TOO_LONG`](https://vitehub.dev/docs/agents/diagnostics/agent_papercut_message_too_long) | report_papercut message must be at most \<max\> characters. |
| [`AGENT_PAPERCUT_NOT_PERSISTED`](https://vitehub.dev/docs/agents/diagnostics/agent_papercut_not_persisted) | Papercut delivery acknowledgement was not persisted. |
| [`AGENT_PAPERCUT_REPORTER_CLOSED`](https://vitehub.dev/docs/agents/diagnostics/agent_papercut_reporter_closed) | Papercut reporter is closed. |
| [`AGENT_PAPERCUTS_BACKEND_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_papercuts_backend_missing) | papercuts() requires a report callback or backend. |
| [`AGENT_PAPERCUTS_CLI_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_papercuts_cli_invalid) | papercuts({ cli }) must be a boolean. |
| [`AGENT_PAPERCUTS_DEDUPE_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_papercuts_dedupe_invalid) | papercuts({ dedupe }) must be a boolean or a papercut index. |
| [`AGENT_POSTHOG_API_KEY_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_posthog_api_key_missing) | PostHog requires an API key. |
| [`AGENT_POSTHOG_DELIVERY_UNACKNOWLEDGED`](https://vitehub.dev/docs/agents/diagnostics/agent_posthog_delivery_unacknowledged) | PostHog did not acknowledge event delivery. |
| [`AGENT_POSTHOG_HOST_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_posthog_host_invalid) | PostHog requires an HTTP(S) host. |
| [`AGENT_POSTHOG_PAPERCUT_DELIVERY_FAILED`](https://vitehub.dev/docs/agents/diagnostics/agent_posthog_papercut_delivery_failed) | PostHog papercut delivery failed (\<status\>). |
| [`AGENT_POSTHOG_PAPERCUTS_API_KEY_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_posthog_papercuts_api_key_missing) | posthogPapercuts() requires an apiKey. |
| [`AGENT_PRESET_OPTION_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/agent_preset_option_unsupported) | defineAgent() has no preset or presets option. Pass the parent Agent Definition as extends, such as defineAgent({ extends: babysitter }). |
| [`AGENT_PRESET_OPTIONS_CONFLICT`](https://vitehub.dev/docs/agents/diagnostics/agent_preset_options_conflict) | Select preset options with options or a named block/tuple, not both. |
| [`AGENT_PRESET_OPTIONS_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_preset_options_invalid) | Agent \<name\> options must be an object. |
| [`AGENT_PRESET_OPTIONS_WITHOUT_CONFIGURE`](https://vitehub.dev/docs/agents/diagnostics/agent_preset_options_without_configure) | Agent options require a preset with options and configure. |
| [`AGENT_PRESET_UNKNOWN`](https://vitehub.dev/docs/agents/diagnostics/agent_preset_unknown) | Unknown Agent preset "\<name\>". Import the preset definition and pass it to extends. |
| [`AGENT_PROCESS_HOST_DRAIN_ROUTE_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_process_host_drain_route_invalid) | Process host drainRoute must be an absolute route without query, hash, or wildcard. |
| [`AGENT_PROCESS_HOST_EXPORT_NAME_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_process_host_export_name_invalid) | Process host exportName must be a JavaScript identifier. |
| [`AGENT_PROCESS_HOST_ROUTE_DUPLICATE`](https://vitehub.dev/docs/agents/diagnostics/agent_process_host_route_duplicate) | Process host route already registered: \<route\> |
| [`AGENT_PROVIDER_CHECKOUT_HEAD_CHANGED`](https://vitehub.dev/docs/agents/diagnostics/agent_provider_checkout_head_changed) | Host-prepared provider checkout HEAD changed during launch. |
| [`AGENT_PROVIDER_FILES_CONFLICTED`](https://vitehub.dev/docs/agents/diagnostics/agent_provider_files_conflicted) | Cannot overwrite conflicted generated provider files: \<value\> |
| [`AGENT_QUEUED_INPUT_NOT_JSON`](https://vitehub.dev/docs/agents/diagnostics/agent_queued_input_not_json) | Queued invocation through trigger "\<triggerId\>" needs JSON-serializable invocation input and run metadata. |
| [`AGENT_QUEUED_TASK_AGENT_CHANGED`](https://vitehub.dev/docs/agents/diagnostics/agent_queued_task_agent_changed) | Queued task "\<task\>" of trigger "\<triggerId\>" no longer runs the Agent it was accepted for. |
| [`AGENT_REPLAY_TASK_OTHER_AGENT`](https://vitehub.dev/docs/agents/diagnostics/agent_replay_task_other_agent) | Task "\<task\>" runs another Agent. Replay and dispatch() run tasks with run, or tasks of the replaying Agent; send this item through the Channel's webhook queue. |
| [`AGENT_ROUTE_NOT_STATIC`](https://vitehub.dev/docs/agents/diagnostics/agent_route_not_static) | Agent \<label\> requires a static route path. |
| [`AGENT_SKILL_NAME_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_skill_name_invalid) | Invalid Skill name "\<name\>". Use letters, digits, ".", "_", or "-". |
| [`AGENT_SLACK_CONNECTOR_ADAPTER_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_slack_connector_adapter_missing) | Sending with slack() requires an adapter, such as createSlackAdapter() from @chat-adapter/slack. |
| [`AGENT_STATE_ATOMIC_LOCK_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_state_atomic_lock_missing) | This operation requires State with atomic lease-fenced cache mutations (mutateWithLock). |
| [`AGENT_STATE_LOCK_EXPIRED`](https://vitehub.dev/docs/agents/diagnostics/agent_state_lock_expired) | Channel State lock "\<key\>" expired before its writes were committed. |
| [`AGENT_STORAGE_PREFIX_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_storage_prefix_invalid) | \<capability\>() prefix must name a non-empty key or path without "." or ".." segments, but it is \<prefix\>. |
| [`AGENT_STORAGE_PREFIX_OUTSIDE`](https://vitehub.dev/docs/agents/diagnostics/agent_storage_prefix_outside) | \<label\> \<value\> is outside the prefix \<prefix\> that this Capability allows. |
| [`AGENT_TASK_AGENT_NAME_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_task_agent_name_missing) | Task "\<task\>" of trigger "\<triggerId\>" needs an Agent with a stable non-empty name. The webhook queue stores the name with the delivery. |
| [`AGENT_TELEMETRY_QUEUE_FULL`](https://vitehub.dev/docs/agents/diagnostics/agent_telemetry_queue_full) | Agent telemetry queue is full. |
| [`AGENT_TELEMETRY_UNAVAILABLE`](https://vitehub.dev/docs/agents/diagnostics/agent_telemetry_unavailable) | Agent telemetry delivery is unavailable. |
| [`AGENT_TIMER_DURATION_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_timer_duration_invalid) | \<option\> must be a positive timer duration. |
| [`AGENT_TOOL_SCHEMA_ASYNC_VALIBOT`](https://vitehub.dev/docs/agents/diagnostics/agent_tool_schema_async_valibot) | Async Valibot Agent tool schemas cannot be converted to JSON Schema. |
| [`AGENT_TRIGGER_PREPARE_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_trigger_prepare_invalid) | Trigger "\<triggerId\>" prepare must be a function. |
| [`AGENT_TRIGGER_SERIALIZE_CONFLICT`](https://vitehub.dev/docs/agents/diagnostics/agent_trigger_serialize_conflict) | Trigger "\<triggerId\>" webhook.serialize replaces concurrencyKey and concurrencyLimit. Set only one of them. |
| [`AGENT_TRIGGER_SERIALIZE_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_trigger_serialize_invalid) | Trigger "\<triggerId\>" webhook.serialize must be a non-empty string. |
| [`AGENT_TRIGGER_TASK_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_trigger_task_invalid) | Task "\<task\>" of trigger "\<triggerId\>" \<problem\> |
| [`AGENT_TRIGGER_TASK_UNKNOWN`](https://vitehub.dev/docs/agents/diagnostics/agent_trigger_task_unknown) | Task "\<task\>" is not declared by trigger "\<triggerId\>". |
| [`AGENT_TRIGGER_TASKS_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_trigger_tasks_invalid) | Trigger "\<triggerId\>" tasks must be an object of named tasks. |
| [`AGENT_UI_STREAM_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_ui_stream_missing) | The Agent did not return a UI message stream. |
| [`AGENT_WEBHOOK_ALIAS_TARGET_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_webhook_alias_target_invalid) | Webhook aliases require an Agent name and webhook name. |
| [`AGENT_WEBHOOK_FENCE_UNAVAILABLE`](https://vitehub.dev/docs/agents/diagnostics/agent_webhook_fence_unavailable) | Webhook delivery "\<deliveryId\>" could not acquire its concurrency fence. |
| [`AGENT_WEBHOOK_HANDLED_RETRY`](https://vitehub.dev/docs/agents/diagnostics/agent_webhook_handled_retry) | Handled webhook \<phase\> returned HTTP \<status\>\<value\>. |
| [`AGENT_WEBHOOK_REHYDRATION_CHANGED`](https://vitehub.dev/docs/agents/diagnostics/agent_webhook_rehydration_changed) | Persisted webhook delivery resolved \<kind\> "\<resolved\>" instead of "\<expected\>". |
| [`AGENT_WEBHOOK_ROUTE_HOST_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/agent_webhook_route_host_unsupported) | Channel \<channel\> declares its own webhook route. Inbound Channels that no Agent lists currently require a Nitro host. |
| [`AGENT_WEBHOOK_STATE_SCOPE_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_webhook_state_scope_invalid) | Webhook registration "\<id\>" stateScope must be a non-empty string. |
| [`AGENT_WORKFLOW_REPLAY_UNSAFE`](https://vitehub.dev/docs/agents/diagnostics/agent_workflow_replay_unsafe) | \<reason\>; replay cannot safely submit this Invocation again. |
| [`AGENT_WORKSPACE_COMMAND_CWD_OUTSIDE`](https://vitehub.dev/docs/agents/diagnostics/agent_workspace_command_cwd_outside) | Workspace command cwd must stay inside the provider checkout. |
| [`AGENT_WORKSPACE_GIT_INIT_FAILED`](https://vitehub.dev/docs/agents/diagnostics/agent_workspace_git_init_failed) | Unable to initialize workspace Git repository |

## Channel and Invocation errors

| Code | What happened |
| --- | --- |
| [`AGENT_CHANNEL_HISTORY_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_history_invalid) | channelAdapter("\<kind\>", { history }) \<detail\> |
| [`AGENT_CHANNEL_HISTORY_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_history_missing) | Channel "\<channel\>" has no history. Add history to its defineChannel() or channelAdapter() options. |
| [`AGENT_CHANNEL_HISTORY_TRIGGER_UNKNOWN`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_history_trigger_unknown) | Channel "\<channel\>" history trigger must name one of the Channel triggers: \<triggers\>. |
| [`AGENT_CHANNEL_MESSAGE_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_message_invalid) | channelAdapter("\<kind\>", { \<option\> }) expects an object. |
| [`AGENT_CHANNEL_MESSAGE_METHOD_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_message_method_invalid) | Channel "\<kind\>" message method "\<name\>" must be a function or { read: true, handler }. |
| [`AGENT_CHANNEL_NOT_FOUND`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_not_found) | Agent has no Channel "\<channel\>". |
| [`AGENT_CHANNEL_ON_ADAPTER_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_on_adapter_unsupported) | The `on` handlers of a "\<kind\>" Channel need an adapter that receives webhooks, such as webhook() or stripe(). |
| [`AGENT_CHANNEL_ON_TRIGGER_NAME_TAKEN`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_on_trigger_name_taken) | "\<name\>" is the trigger that runs the `on` handlers. Give the "\<name\>" trigger another name. |
| [`AGENT_CHANNEL_ON_WEBHOOK_TRIGGER`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_on_webhook_trigger) | The `on` handlers of the "\<kind\>" Channel receive its webhook, so the trigger "\<trigger\>" cannot. Set `webhooks: []` on it to run it only through dispatch, pull, or sendChannelTrigger(). |
| [`AGENT_CHANNEL_STATE_QUEUE_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_state_queue_unsupported) | Channel "\<channel\>" State cannot \<action\>. Use durable SQLite or libSQL Agent State. |
| [`AGENT_CHANNEL_TASK_AGENT_AMBIGUOUS`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_task_agent_ambiguous) | Channel "\<channel\>" is served by more than one Agent (\<agents\>). Give the Channel one Agent. |
| [`AGENT_CHANNEL_TASK_DELAY_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_task_delay_invalid) | enqueueChannelTask() delayMs must be a non-negative integer. |
| [`AGENT_CHANNEL_TASK_KEY_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_task_key_invalid) | cancelChannelTask() needs the non-empty key that the task was enqueued with. |
| [`AGENT_CHANNEL_TASK_NAME_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_task_name_missing) | \<method\>() needs a non-empty Channel name and \<target\> name. |
| [`AGENT_CHANNEL_TASK_NOT_BEFORE_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_task_not_before_invalid) | enqueueChannelTask() notBefore must be a valid Date or a finite timestamp. |
| [`AGENT_CHANNEL_TASK_QUEUE_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_task_queue_missing) | Channel "\<channel\>" has no running webhook queue. Channel tasks need a declared Channel webhook and durable SQLite or libSQL Agent State in the same persistent Node server. Standalone serverless Schedule and API entries are not supported. |
| [`AGENT_CHANNEL_TASK_START_CONFLICT`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_task_start_conflict) | enqueueChannelTask() takes notBefore or delayMs, not both. |
| [`AGENT_CHANNEL_TASK_TRIGGER_AMBIGUOUS`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_task_trigger_ambiguous) | More than one trigger of Channel "\<channel\>" declares task "\<task\>" (\<triggers\>). Pass the trigger option. |
| [`AGENT_CHANNEL_TASK_UNDECLARED`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_task_undeclared) | No trigger of Channel "\<channel\>" declares task "\<task\>"\<value\>. |
| [`AGENT_CHANNEL_TRIGGER_UNKNOWN`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_trigger_unknown) | Channel "\<channel\>" has no trigger or `on` handler "\<trigger\>". |
| [`AGENT_CHANNEL_WEBHOOK_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_channel_webhook_missing) | Channel "\<channel\>" declares no webhook, so it has no queue for \<target\> "\<name\>". |
| [`AGENT_DISPATCH_QUEUE_UNAVAILABLE`](https://vitehub.dev/docs/agents/diagnostics/agent_dispatch_queue_unavailable) | Channel "\<channelId\>" can queue dispatched items only from its webhook route with a queue-capable State. |
| [`AGENT_DISPATCH_TRIGGER_UNKNOWN`](https://vitehub.dev/docs/agents/diagnostics/agent_dispatch_trigger_unknown) | Channel "\<channel\>" has no trigger "\<trigger\>" to dispatch to. |
| [`AGENT_FORGE_ACTIVITY_FAILED`](https://vitehub.dev/docs/agents/diagnostics/agent_forge_activity_failed) | Forge pull request activity initialization failed. |
| [`AGENT_FORGE_ACTIVITY_TARGET_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_forge_activity_target_invalid) | Forge Agent activity requires a target with repository and issue. |
| [`AGENT_FORGE_AGENT_IDENTITY_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_forge_agent_identity_missing) | Forge activity session links require an Agent identity. |
| [`AGENT_FORGE_EFFECT_FAILED`](https://vitehub.dev/docs/agents/diagnostics/agent_forge_effect_failed) | Forge delivery effect failed with \<status\>. |
| [`AGENT_FORGE_IDENTITY_UNRESOLVED`](https://vitehub.dev/docs/agents/diagnostics/agent_forge_identity_unresolved) | Forge Agent activity could not resolve the authenticated identity. |
| [`AGENT_FORGE_LIFECYCLE_UPDATE_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/agent_forge_lifecycle_update_unsupported) | Forge pull request lifecycle invocations cannot update a triggering comment. |
| [`AGENT_FORGE_METADATA_FAILED`](https://vitehub.dev/docs/agents/diagnostics/agent_forge_metadata_failed) | Forge metadata request failed with \<status\>. |
| [`AGENT_FORGE_REVIEW_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/agent_forge_review_unsupported) | GitLab has no request changes review. Use an approve or comment review. |
| [`AGENT_FORGE_WEBHOOK_SECRET_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_forge_webhook_secret_missing) | \<kind\>() requires webhookSecret or \<value\>_WEBHOOK_SECRET. |
| [`AGENT_GITHUB_PULL_REQUEST_TRIGGER_DISABLED`](https://vitehub.dev/docs/agents/diagnostics/agent_github_pull_request_trigger_disabled) | The github() Channel has the pull request trigger "\<trigger\>", but `pullRequest` is not set, so the Channel does not read pull request events. |
| [`AGENT_GMAIL_AGENT_AMBIGUOUS`](https://vitehub.dev/docs/agents/diagnostics/agent_gmail_agent_ambiguous) | gmailChannelStatus() found more than one Agent that uses this Channel: \<agents\>. Pass the `agent` option. |
| [`AGENT_GMAIL_AGENT_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_gmail_agent_missing) | pollGmailChannel() found no Agent that uses this Channel. |
| [`AGENT_GMAIL_CHANNEL_EXPECTED`](https://vitehub.dev/docs/agents/diagnostics/agent_gmail_channel_expected) | \<method\>() expects a Channel from gmail(). |
| [`AGENT_GMAIL_LABEL_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_gmail_label_missing) | Gmail label "\<name\>" does not exist. Declare it in gmail({ labels }) or create it in Gmail. |
| [`AGENT_GMAIL_OPTIONS_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_gmail_options_invalid) | gmail() \<detail\> |
| [`AGENT_GMAIL_POLL_HOST_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_gmail_poll_host_missing) | pollGmailChannel() needs the Agent webhook routes of this app in the same process, with durable Agent State: libSQL with VITEHUB_AGENT_STATE_URL or Cloudflare Durable Objects. |
| [`AGENT_INVOCATION_NOT_FOUND`](https://vitehub.dev/docs/agents/diagnostics/agent_invocation_not_found) | Agent Invocation \<id\> was not found in \<location\>. |
| [`AGENT_INVOCATIONS_COMPACT_BUSY`](https://vitehub.dev/docs/agents/diagnostics/agent_invocations_compact_busy) | \<label\> is busy. VACUUM needs the write lock, and another process held it for more than \<busyTimeoutMs\> ms. Stop the server that uses the journal, or run compact during a quiet window. |
| [`AGENT_INVOCATIONS_COMPACT_FILE_REQUIRED`](https://vitehub.dev/docs/agents/diagnostics/agent_invocations_compact_file_required) | compact rebuilds a local SQLite file. \<remote\> is a remote libSQL database, which manages its own storage. Pass --database with a local file path. |
| [`AGENT_INVOCATIONS_COMPACT_SPACE`](https://vitehub.dev/docs/agents/diagnostics/agent_invocations_compact_space) | Not enough free space to compact \<label\>. VACUUM writes a copy of the \<liveBytes\> live bytes and a journal of about the same size. |
| [`AGENT_INVOCATIONS_DATABASE_NOT_FILE`](https://vitehub.dev/docs/agents/diagnostics/agent_invocations_database_not_file) | --database for list, show, tail, export, and wait-idle reads a local SQLite file. Use --url for a deployed app. |
| [`AGENT_INVOCATIONS_DATABASE_URL_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_invocations_database_url_invalid) | The Agent Invocation journal database URL is invalid. |
| [`AGENT_INVOCATIONS_DURATION_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_invocations_duration_invalid) | \<flag\> requires a duration such as 90m, 12h, or 30d. |
| [`AGENT_INVOCATIONS_JOURNAL_FAILED`](https://vitehub.dev/docs/agents/diagnostics/agent_invocations_journal_failed) | See the page of the code. |
| [`AGENT_INVOCATIONS_JOURNAL_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_invocations_journal_missing) | No Agent Invocation journal exists at \<location\>.\<value\> |
| [`AGENT_INVOCATIONS_JOURNAL_TABLE_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_invocations_journal_table_missing) | No Agent Invocation journal table \<table\> exists in \<location\>. |
| [`AGENT_INVOCATIONS_NODE_SQLITE_MISSING`](https://vitehub.dev/docs/agents/diagnostics/agent_invocations_node_sqlite_missing) | --database reads the journal with node:sqlite, which this runtime does not provide. Run the command with Node.js 22.18 or newer, or pass --url. |
| [`AGENT_INVOCATIONS_PRUNE_CUTOFF_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_invocations_prune_cutoff_invalid) | --older-than must produce a cutoff within JavaScript's Date range. |
| [`AGENT_INVOCATIONS_SIZE_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_invocations_size_invalid) | \<flag\> requires a size such as 500MB or 3GB, a number of bytes, or a percent of the volume such as 30%. |
| [`AGENT_INVOCATIONS_TABLE_PREFIX_INVALID`](https://vitehub.dev/docs/agents/diagnostics/agent_invocations_table_prefix_invalid) | --table-prefix must be alphanumeric. |

## Errors

| Code | What happened |
| --- | --- |
| [`AGENT_INVOCATION_DRIVER_INTERRUPTED`](https://vitehub.dev/docs/agents/diagnostics/agent_invocation_driver_interrupted) | Agent Invocation \<id\> was interrupted while its Driver ran, and ViteHub did not run the Driver again. A second run could repeat model calls and tool side effects. |
| [`AGENT_INVOCATIONS_NO_DEV_SERVER`](https://vitehub.dev/docs/agents/diagnostics/agent_invocations_no_dev_server) | No dev server is running for \<root\>, so `vitehub agent invocations` has no app to read. |
| [`AGENT_RUN_CANCELLED`](https://vitehub.dev/docs/agents/diagnostics/agent_run_cancelled) | The Invocation stopped because its `abortSignal` aborted. |
| [`AGENT_RUN_FAILED`](https://vitehub.dev/docs/agents/diagnostics/agent_run_failed) | The Invocation failed. |
| [`CHANNEL_TASK_FAILED`](https://vitehub.dev/docs/agents/diagnostics/channel_task_failed) | The task "\<task\>" of Channel "\<channel\>" could not be queued or cancelled. |
| [`CHANNEL_TASK_REJECTED`](https://vitehub.dev/docs/agents/diagnostics/channel_task_rejected) | See the page of the code. |
| [`MCP_SERVER_FAILED`](https://vitehub.dev/docs/agents/diagnostics/mcp_server_failed) | The MCP server could not run tool "\<tool\>". |
| [`MCP_TOOL_CALL_FAILED`](https://vitehub.dev/docs/agents/diagnostics/mcp_tool_call_failed) | MCP tool "\<tool\>" reported an error\<value\> |
| [`MCP_TOOL_CANCELLED`](https://vitehub.dev/docs/agents/diagnostics/mcp_tool_cancelled) | The call to MCP tool "\<tool\>" was cancelled by `signal`. |
| [`MCP_TOOL_NOT_FOUND`](https://vitehub.dev/docs/agents/diagnostics/mcp_tool_not_found) | MCP tool "\<tool\>" is not available on the server, or not in the `tools` of the server entry. |
| [`MCP_TOOL_TIMEOUT`](https://vitehub.dev/docs/agents/diagnostics/mcp_tool_timeout) | MCP tool "\<tool\>" did not answer within \<timeout\> ms. |
| [`PRESETS_BABYSITTER_REPOSITORIES_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_repositories_invalid) | Babysitter filter.repository.allow lists no "owner/name" repository. |

## GitHub pull request operation errors

| Code | What happened |
| --- | --- |
| [`PRESETS_AUTO_MERGE_HEAD_UNCONFIRMED`](https://vitehub.dev/docs/agents/diagnostics/presets_auto_merge_head_unconfirmed) | GitHub did not confirm the expected pull request head. |
| [`PRESETS_AUTO_MERGE_REF_CHANGED`](https://vitehub.dev/docs/agents/diagnostics/presets_auto_merge_ref_changed) | Pull request ref changed during auto-merge admission. |
| [`PRESETS_AUTO_MERGE_UNCONFIRMED`](https://vitehub.dev/docs/agents/diagnostics/presets_auto_merge_unconfirmed) | GitHub did not confirm native auto-merge was enabled. |
| [`PRESETS_CHECKS_READ_INCOMPLETE`](https://vitehub.dev/docs/agents/diagnostics/presets_checks_read_incomplete) | GitHub could not read every check: \<warnings\> |
| [`PRESETS_COMMENT_MENTION_FORBIDDEN`](https://vitehub.dev/docs/agents/diagnostics/presets_comment_mention_forbidden) | Comments cannot contain GitHub mentions; use the guarded mention capability. |
| [`PRESETS_GITHUB_GRAPHQL_FAILED`](https://vitehub.dev/docs/agents/diagnostics/presets_github_graphql_failed) | GitHub could not complete the pull request operation. |
| [`PRESETS_GITHUB_PAGINATION_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_github_pagination_invalid) | GitHub \<detail\>. |
| [`PRESETS_GITHUB_QUERY_FAILED`](https://vitehub.dev/docs/agents/diagnostics/presets_github_query_failed) | GitHub could not complete the pull request query. |
| [`PRESETS_GITHUB_RESPONSE_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_github_response_invalid) | GitHub returned an invalid \<part\>. |
| [`PRESETS_MENTION_BODY_MENTION`](https://vitehub.dev/docs/agents/diagnostics/presets_mention_body_mention) | Mention body must not contain another mention. |
| [`PRESETS_MENTION_LOGIN_NOT_ALLOWED`](https://vitehub.dev/docs/agents/diagnostics/presets_mention_login_not_allowed) | GitHub login is not in the configured mention allowlist. |
| [`PRESETS_OPERATION_BASE_CHANGED`](https://vitehub.dev/docs/agents/diagnostics/presets_operation_base_changed) | Pull request base changed; discard this base CI comparison. |
| [`PRESETS_OPERATION_BASE_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_operation_base_missing) | This worker has no assigned base commit for CI comparison. |
| [`PRESETS_OPERATION_FILTER_MISMATCH`](https://vitehub.dev/docs/agents/diagnostics/presets_operation_filter_mismatch) | Pull request no longer matches the configured filter. |
| [`PRESETS_OPERATION_HEAD_CHANGED`](https://vitehub.dev/docs/agents/diagnostics/presets_operation_head_changed) | Pull request head changed; discard this worker's operations. |
| [`PRESETS_OPERATION_PULL_REQUEST_CLOSED`](https://vitehub.dev/docs/agents/diagnostics/presets_operation_pull_request_closed) | Pull request is no longer open and ready for repair. |
| [`PRESETS_OPERATION_UNAVAILABLE`](https://vitehub.dev/docs/agents/diagnostics/presets_operation_unavailable) | This worker has no \<operation\> operation. |
| [`PRESETS_PULL_REQUEST_BODY_CHANGED`](https://vitehub.dev/docs/agents/diagnostics/presets_pull_request_body_changed) | Pull request body changed while validating the update; retry. |
| [`PRESETS_PULL_REQUEST_BODY_MENTION`](https://vitehub.dev/docs/agents/diagnostics/presets_pull_request_body_mention) | Pull request bodies cannot add GitHub mentions; use the guarded mention capability. |
| [`PRESETS_PULL_REQUEST_INPUT_EMPTY`](https://vitehub.dev/docs/agents/diagnostics/presets_pull_request_input_empty) | \<name\> must not be empty. |
| [`PRESETS_PULL_REQUEST_UPDATE_EMPTY`](https://vitehub.dev/docs/agents/diagnostics/presets_pull_request_update_empty) | Provide a pull request title or body. |
| [`PRESETS_REPAIR_BASE_REVERTED`](https://vitehub.dev/docs/agents/diagnostics/presets_repair_base_reverted) | The merge result undoes changes that already landed on the base since this PR branched: \<files\> |
| [`PRESETS_REPAIR_CONFLICTS_UNRESOLVED`](https://vitehub.dev/docs/agents/diagnostics/presets_repair_conflicts_unresolved) | Resolve the remaining merge conflicts and call commitRepair with their file paths: \<files\> |
| [`PRESETS_REPAIR_INDEX_CHANGED`](https://vitehub.dev/docs/agents/diagnostics/presets_repair_index_changed) | Repair index changed during dependency validation. |
| [`PRESETS_REPAIR_INPUT_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_repair_input_missing) | A repair message and explicit file paths are required. |
| [`PRESETS_REPAIR_MERGE_CHANGED`](https://vitehub.dev/docs/agents/diagnostics/presets_repair_merge_changed) | Prepared merge metadata or index changed outside the host repair tools. |
| [`PRESETS_REPAIR_PATH_DIRECTORY`](https://vitehub.dev/docs/agents/diagnostics/presets_repair_path_directory) | Repair paths must name individual files. |
| [`PRESETS_REPAIR_PATH_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_repair_path_invalid) | Repair paths must name files inside the assigned checkout. |
| [`PRESETS_REPAIR_STAGED_CHANGES`](https://vitehub.dev/docs/agents/diagnostics/presets_repair_staged_changes) | Repair checkout contains unrelated staged changes. |
| [`PRESETS_REVIEW_THREAD_NOT_FOUND`](https://vitehub.dev/docs/agents/diagnostics/presets_review_thread_not_found) | Review thread does not belong to this pull request. |
| [`PRESETS_WORKFLOW_RUN_BASE_MISMATCH`](https://vitehub.dev/docs/agents/diagnostics/presets_workflow_run_base_mismatch) | Workflow run does not belong to this pull request's exact base commit. |
| [`PRESETS_WORKFLOW_RUN_HEAD_MISMATCH`](https://vitehub.dev/docs/agents/diagnostics/presets_workflow_run_head_mismatch) | Workflow run does not belong to this pull request head. |
| [`PRESETS_WORKFLOW_RUN_ID_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_workflow_run_id_invalid) | Expected a positive workflow run ID. |
| [`PRESETS_WORKSPACE_GIT_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_workspace_git_invalid) | Provider workspace must use an independent Git directory. |
| [`PRESETS_WORKSPACE_OVERLAPS_CHECKOUT`](https://vitehub.dev/docs/agents/diagnostics/presets_workspace_overlaps_checkout) | Provider workspace must be separate from prepared checkout. |

## Babysitter pass and inbox errors

| Code | What happened |
| --- | --- |
| [`PRESETS_BABYSITTER_ADMISSION_CHECK_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_admission_check_invalid) | Invalid admission.check result. Expected undefined or { reason, detail, retryAt }. |
| [`PRESETS_BABYSITTER_CHECKOUT_POOL_REPLACED`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_checkout_pool_replaced) | Refusing to clean replaced Babysitter checkout pool: \<path\> |
| [`PRESETS_BABYSITTER_CHECKOUT_POOL_UNSAFE`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_checkout_pool_unsafe) | Refusing to clean unsafe Babysitter checkout pool: \<root\> |
| [`PRESETS_BABYSITTER_GITHUB_CURSOR_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_github_cursor_invalid) | Invalid \<kind\> cursor |
| [`PRESETS_BABYSITTER_GITHUB_HEAD_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_github_head_missing) | GitHub returned no pull request head. |
| [`PRESETS_BABYSITTER_GITHUB_QUERY_FAILED`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_github_query_failed) | GitHub \<query\> query failed: \<errors\> |
| [`PRESETS_BABYSITTER_HOST_EXECUTABLE_UNAVAILABLE`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_host_executable_unavailable) | The host executable \<program\> \<problem\>. |
| [`PRESETS_BABYSITTER_INBOX_STORAGE_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_inbox_storage_missing) | PullRequestInbox requires exactly one of path or storage. |
| [`PRESETS_BABYSITTER_PROMPT_TOO_LARGE`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_prompt_too_large) | GitHubPullRequest prompt exceeds transport safety limit: \<characters\> characters, \<bytes\> UTF-8 bytes; limit \<limit\>. All review/comment bodies were retained. No truncated prompt was sent. |
| [`PRESETS_DEPENDENCY_CHECKS_INCOMPLETE`](https://vitehub.dev/docs/agents/diagnostics/presets_dependency_checks_incomplete) | Dependency checks are incomplete: \<warnings\> |
| [`PRESETS_FEEDBACK_CHANGED`](https://vitehub.dev/docs/agents/diagnostics/presets_feedback_changed) | Feedback changed during pagination. Read again from offset zero. |
| [`PRESETS_FEEDBACK_NOT_FOUND`](https://vitehub.dev/docs/agents/diagnostics/presets_feedback_not_found) | Feedback is absent or deleted from the assigned PR snapshot. |
| [`PRESETS_FEEDBACK_OFFSET_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_feedback_offset_invalid) | Feedback offset exceeds the body length. |
| [`PRESETS_FEEDBACK_VERSION_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_feedback_version_missing) | Continue with the version returned by the first feedback read. |
| [`PRESETS_SANDBOX_BUNDLE_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_sandbox_bundle_missing) | The repair Sandbox bundle is unavailable. |
| [`PRESETS_SANDBOX_COMMIT_EXPORT_FAILED`](https://vitehub.dev/docs/agents/diagnostics/presets_sandbox_commit_export_failed) | Cannot export the repair Sandbox commit: \<stderr\> |
| [`PRESETS_SANDBOX_COMMIT_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_sandbox_commit_missing) | The repair Sandbox did not return a commit SHA. |
| [`PRESETS_SANDBOX_HEAD_CHANGED`](https://vitehub.dev/docs/agents/diagnostics/presets_sandbox_head_changed) | The repair Sandbox HEAD changed during export. |
| [`PRESETS_SANDBOX_REPAIR_DESTINATION_CHANGED`](https://vitehub.dev/docs/agents/diagnostics/presets_sandbox_repair_destination_changed) | Repair destination parent changed during transfer. |
| [`PRESETS_SANDBOX_REPAIR_DESTINATION_OUTSIDE`](https://vitehub.dev/docs/agents/diagnostics/presets_sandbox_repair_destination_outside) | Repair destination parent must stay inside the checkout. |
| [`PRESETS_SANDBOX_REPAIR_FILE_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_sandbox_repair_file_missing) | The repair Sandbox file disappeared during transfer. |
| [`PRESETS_SANDBOX_REPAIR_PARENT_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_sandbox_repair_parent_invalid) | Repair Sandbox parent must be a regular directory. |
| [`PRESETS_SANDBOX_REPAIR_PATH_DIRECTORY`](https://vitehub.dev/docs/agents/diagnostics/presets_sandbox_repair_path_directory) | Repair paths must name individual files. |
| [`PRESETS_SANDBOX_REPAIR_PATH_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_sandbox_repair_path_invalid) | Repair paths must name files inside the assigned checkout. |
| [`PRESETS_SANDBOX_SYNC_FAILED`](https://vitehub.dev/docs/agents/diagnostics/presets_sandbox_sync_failed) | Cannot synchronize repair Sandbox files: \<stderr\> |

## Babysitter errors

| Code | What happened |
| --- | --- |
| [`PRESETS_BABYSITTER_AGENT_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_agent_invalid) | Babysitter runtime requires a configured Babysitter Agent Definition. |
| [`PRESETS_BABYSITTER_BASE_COMMIT_UNREADABLE`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_base_commit_unreadable) | Conflict repair requires the exact live base branch commit. |
| [`PRESETS_BABYSITTER_DIRECT_MERGE_CLAIM_LOST`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_direct_merge_claim_lost) | The direct merge claim of this pull request changed before the Babysitter could record that GitHub enqueued the merge. |
| [`PRESETS_BABYSITTER_DRIVER_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_driver_unsupported) | Babysitter requires a Codex or Claude Code driver for its isolated Git checkout. |
| [`PRESETS_BABYSITTER_EXTERNAL_STATE_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_external_state_missing) | Missing external pull-request state. |
| [`PRESETS_BABYSITTER_GITHUB_LIST_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_github_list_missing) | GitHub did not return a list for \<path\>. |
| [`PRESETS_BABYSITTER_IGNORE_AUTHORS_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_ignore_authors_invalid) | Babysitter ignoreFeedbackAuthors must list GitHub logins. |
| [`PRESETS_BABYSITTER_INSTALL_COMMAND_FAILED`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_install_command_failed) | Dependency installation failed. |
| [`PRESETS_BABYSITTER_LIFECYCLE_LABELS_CONFLICT`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_lifecycle_labels_conflict) | Configure Babysitter lifecycle labels or filter.labels, not both. |
| [`PRESETS_BABYSITTER_MAIN_REPAIR_NEEDS_PREFIX`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_main_repair_needs_prefix) | Babysitter mainRepair needs a mainRepairBranchPrefix: repair PRs are opened on branches with that prefix. |
| [`PRESETS_BABYSITTER_MERGE_QUEUE_QUERY_FAILED`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_merge_queue_query_failed) | GitHub merge queue query failed: \<errors\> |
| [`PRESETS_BABYSITTER_MINOR_ROUNDS_NEED_BUDGET`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_minor_rounds_need_budget) | Babysitter minorReviewRounds needs a reviewPushBudget: settled rounds spend that budget. |
| [`PRESETS_BABYSITTER_NO_FINDINGS_PREFIX_EMPTY`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_no_findings_prefix_empty) | Babysitter noFindingsReviews cannot contain an empty prefix. |
| [`PRESETS_BABYSITTER_STACK_REPAIR_NEEDS_DIRECT_MERGE`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_stack_repair_needs_direct_merge) | Babysitter repairStackChildren requires merge: "direct": only a direct merge stops a stack child from merging into its parent's branch. |
| [`PRESETS_BABYSITTER_TOOL_FIELD_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_tool_field_invalid) | \<key\> must be \<expected\>. |
| [`PRESETS_BABYSITTER_TOOL_FIELD_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_tool_field_missing) | Missing \<key\>. |
| [`PRESETS_BABYSITTER_TOOL_PATHS_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_tool_paths_missing) | Expected explicit repair paths. |
| [`PRESETS_BABYSITTER_TOOL_RUN_ID_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_tool_run_id_missing) | Expected a run ID. |
| [`PRESETS_BABYSITTER_TOOL_UPDATE_EMPTY`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_tool_update_empty) | Expected a title or body. |
| [`PRESETS_BABYSITTER_WAKE_REPOSITORY_UNKNOWN`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_wake_repository_unknown) | External wake repository is outside the configured repositories. |
| [`PRESETS_DAILY_PUSH_BUDGET_SPENT`](https://vitehub.dev/docs/agents/diagnostics/presets_daily_push_budget_spent) | Daily push budget spent: this PR has \<count\> repair pushes in the last 24 hours, and the next push is allowed at \<nextAt\>. |
| [`PRESETS_DEPENDENCY_PATCH_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_dependency_patch_missing) | Dependency patch \<path\> does not exist in this checkout. |
| [`PRESETS_DEPENDENCY_REFRESH_LIMIT`](https://vitehub.dev/docs/agents/diagnostics/presets_dependency_refresh_limit) | refreshDependencies already ran \<limit\> time\<value\> in this pass, the limit. |

## Labeller errors

| Code | What happened |
| --- | --- |
| [`PRESETS_BABYSITTER_ENV_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_env_missing) | The Babysitter cannot start without \<value\>. |
| [`PRESETS_BABYSITTER_OPTION_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_option_invalid) | Babysitter \<option\> must be \<expected\>. |
| [`PRESETS_BABYSITTER_PLACEMENT_CAPACITY`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_placement_capacity) | See the page of the code. |
| [`PRESETS_GITHUB_APP_OWNER_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_github_app_owner_missing) | `createGitHubAppCredentials()` got `installationId` without `owner`. An installation belongs to one repository owner. |
| [`PRESETS_LABELLER_ACTION_FLAG_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_action_flag_invalid) | Labeller \<name\> \<key\> must be a boolean. |
| [`PRESETS_LABELLER_ACTION_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_action_invalid) | Labeller action "\<label\>" must be an object. |
| [`PRESETS_LABELLER_ACTION_LABEL_UNDECLARED`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_action_label_undeclared) | Labeller action "\<label\>" refers to an undeclared label. |
| [`PRESETS_LABELLER_ACTIONS_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_actions_invalid) | Labeller actions must be an object. |
| [`PRESETS_LABELLER_BODY_LIMIT_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_body_limit_invalid) | Labeller bodyLimit must be an integer from 1 to \<max\>. |
| [`PRESETS_LABELLER_CLEANUP_AGENT_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_cleanup_agent_invalid) | cleanupLabeller() expects an Agent that extends labeller. |
| [`PRESETS_LABELLER_CLEANUP_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_cleanup_invalid) | Labeller cleanup must be an object. |
| [`PRESETS_LABELLER_CLEANUP_LABEL_NAME_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_cleanup_label_name_invalid) | Labeller cleanup rule "\<name\>" needs a label name without quotes, backslashes, or control characters. |
| [`PRESETS_LABELLER_CLEANUP_LABEL_UNDECLARED`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_cleanup_label_undeclared) | Labeller cleanup rule "\<name\>" refers to an undeclared label. |
| [`PRESETS_LABELLER_CLEANUP_OLDER_THAN_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_cleanup_older_than_invalid) | Labeller cleanup rule "\<name\>" needs olderThan as a positive whole number of days. |
| [`PRESETS_LABELLER_LABEL_COUNT_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_label_count_invalid) | Labeller labels must contain between 1 and 254 labels. |
| [`PRESETS_LABELLER_LABEL_NAME_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_label_name_invalid) | Labeller label "\<name\>" is reserved or invalid. |
| [`PRESETS_LABELLER_LABEL_SETTINGS_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_label_settings_invalid) | Labeller label "\<name\>" must be an object. |
| [`PRESETS_LABELLER_LABELS_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_labels_invalid) | Labeller labels must be an object. |
| [`PRESETS_LABELLER_MIN_CONFIDENCE_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_min_confidence_invalid) | Labeller minConfidence must be between 0 and 1. |
| [`PRESETS_LABELLER_OPTION_NOT_BOOLEAN`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_option_not_boolean) | Labeller \<key\> must be a boolean. |
| [`PRESETS_LABELLER_PATTERN_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_pattern_invalid) | Labeller patterns must be non-empty strings of at most \<max\> characters. |
| [`PRESETS_LABELLER_REGEX_ESCAPE_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_regex_escape_invalid) | Labeller regex patterns may only escape literal regex characters. |
| [`PRESETS_LABELLER_REGEX_FLAGS_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_regex_flags_invalid) | Labeller regex patterns use only bounded syntax and the i, m, s, and u flags. |
| [`PRESETS_LABELLER_REGEX_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_regex_invalid) | Labeller regex pattern is invalid. |
| [`PRESETS_LABELLER_REGEX_SYNTAX_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_regex_syntax_unsupported) | Labeller regex patterns may not use repetition or grouping. |
| [`PRESETS_LABELLER_RULE_HEADER_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_rule_header_invalid) | Labeller rule "\<name\>" has an invalid header name. |
| [`PRESETS_LABELLER_RULE_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_rule_invalid) | Labeller rule "\<name\>" must be an object. |
| [`PRESETS_LABELLER_RULE_LABEL_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_rule_label_missing) | Labeller rule "\<name\>" must declare a label before enabling actions. |
| [`PRESETS_LABELLER_RULE_LABEL_UNDECLARED`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_rule_label_undeclared) | Labeller rule "\<name\>" refers to an undeclared label. |
| [`PRESETS_LABELLER_RULE_NESTING_TOO_DEEP`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_rule_nesting_too_deep) | Labeller rules may nest at most eight not clauses. |
| [`PRESETS_LABELLER_RULES_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_labeller_rules_invalid) | Labeller rules must be an object. |
| [`PRESETS_MERGE_DRAFT_AUTHORS_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_merge_draft_authors_invalid) | Babysitter merge.markDraftsReady must be an array of GitHub logins. |
| [`PRESETS_REVIEW_CURSOR_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_review_cursor_invalid) | GitHub returned an invalid review comment cursor. |
| [`PRESETS_REVIEW_MENTION_FORBIDDEN`](https://vitehub.dev/docs/agents/diagnostics/presets_review_mention_forbidden) | Comments cannot contain GitHub mentions; use the guarded mention capability. |
| [`PRESETS_REVIEW_OUTCOME_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_review_outcome_invalid) | Review thread outcome must be one of fixed, disproved, declined, pre-existing, duplicate. |
| [`PRESETS_REVIEW_REASON_REQUIRED`](https://vitehub.dev/docs/agents/diagnostics/presets_review_reason_required) | A \<outcome\> review thread needs a one-sentence reason. |
| [`PRESETS_REVIEW_SEVERE_DECLINED`](https://vitehub.dev/docs/agents/diagnostics/presets_review_severe_declined) | A valid P0 or P1 finding cannot be declined, whatever the review push budget. |

## Review thread errors

| Code | What happened |
| --- | --- |
| [`PRESETS_BABYSITTER_STATUS_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_babysitter_status_invalid) | Babysitter status must be an object whose comment and checkRun fields are booleans. |
| [`PRESETS_CHECK_LOG_SELECTION_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_check_log_selection_invalid) | readCheckLogs got an invalid line selection: \<reason\> |
| [`PRESETS_CHECK_LOG_START_PAST_END`](https://vitehub.dev/docs/agents/diagnostics/presets_check_log_start_past_end) | startLine \<startLine\> is past the log's \<totalLines\> lines. |
| [`PRESETS_REVIEW_COMMENT_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_review_comment_missing) | Review thread has no comment to answer. |

## GitHub install and host errors

| Code | What happened |
| --- | --- |
| [`PRESETS_CHECKOUT_CLEANUP_FAILED`](https://vitehub.dev/docs/agents/diagnostics/presets_checkout_cleanup_failed) | Could not locate disposable checkout for cleanup: \<checkout\> |
| [`PRESETS_COREPACK_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_corepack_missing) | Babysitter host installation requires Corepack in PATH. Install Corepack on the trusted host; Node 25 and newer do not bundle it. |
| [`PRESETS_DEPENDENCIES_NOT_CURRENT`](https://vitehub.dev/docs/agents/diagnostics/presets_dependencies_not_current) | Dependency inputs changed or installation failed. Call refreshDependencies and rerun validation before committing. |
| [`PRESETS_DEPENDENCY_GIT_HOST_LOCAL`](https://vitehub.dev/docs/agents/diagnostics/presets_dependency_git_host_local) | Host-local Git dependencies are not allowed. |
| [`PRESETS_DEPENDENCY_GIT_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/presets_dependency_git_unsupported) | Git dependencies require preparation inside the provider sandbox. |
| [`PRESETS_DEPENDENCY_HOST_UNTRUSTED`](https://vitehub.dev/docs/agents/diagnostics/presets_dependency_host_untrusted) | Dependency downloads require a trusted HTTPS registry or forge. |
| [`PRESETS_DEPENDENCY_INPUT_SYMLINK`](https://vitehub.dev/docs/agents/diagnostics/presets_dependency_input_symlink) | Dependency inputs must not be symbolic links. |
| [`PRESETS_DEPENDENCY_INPUTS_CHANGED`](https://vitehub.dev/docs/agents/diagnostics/presets_dependency_inputs_changed) | Dependency inputs changed during installation. Call refreshDependencies again before validation. |
| [`PRESETS_DEPENDENCY_PATCH_NOT_FILE`](https://vitehub.dev/docs/agents/diagnostics/presets_dependency_patch_not_file) | Dependency patches must be regular files. |
| [`PRESETS_DEPENDENCY_PATCH_PATH_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_dependency_patch_path_invalid) | Dependency patches must reference checkout files. |
| [`PRESETS_DEPENDENCY_PATCHES_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_dependency_patches_invalid) | Dependency patches must be a path mapping. |
| [`PRESETS_DEPENDENCY_PATH_HOST_LOCAL`](https://vitehub.dev/docs/agents/diagnostics/presets_dependency_path_host_local) | Host-local dependency paths are not allowed. |
| [`PRESETS_DEPENDENCY_PATH_OUTSIDE`](https://vitehub.dev/docs/agents/diagnostics/presets_dependency_path_outside) | Host-local dependency paths must stay inside the checkout. |
| [`PRESETS_DEPENDENCY_PROTOCOL_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/presets_dependency_protocol_unsupported) | Unsupported dependency source protocol; downloads require a trusted HTTPS registry or forge. |
| [`PRESETS_DEPENDENCY_SYMLINK_OUTSIDE`](https://vitehub.dev/docs/agents/diagnostics/presets_dependency_symlink_outside) | Host-local dependency symlinks must stay inside the checkout. |
| [`PRESETS_DEPENDENCY_URL_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_dependency_url_invalid) | Dependency downloads require a trusted HTTPS URL with forward slashes. |
| [`PRESETS_GITHUB_APP_CREDENTIALS_INCOMPLETE`](https://vitehub.dev/docs/agents/diagnostics/presets_github_app_credentials_incomplete) | GitHub App appId, installationId, and privateKey must be configured together. |
| [`PRESETS_GITHUB_APP_NUMBER_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_github_app_number_invalid) | \<name\> must be a positive integer. |
| [`PRESETS_GITHUB_APP_REQUEST_FAILED`](https://vitehub.dev/docs/agents/diagnostics/presets_github_app_request_failed) | GitHub App request /app failed with \<status\>. |
| [`PRESETS_GITHUB_APP_RESPONSE_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_github_app_response_invalid) | GitHub App request /app returned a response that the host cannot read. |
| [`PRESETS_GITHUB_APP_TOKEN_FAILED`](https://vitehub.dev/docs/agents/diagnostics/presets_github_app_token_failed) | GitHub App token request failed with \<status\>. |
| [`PRESETS_GITHUB_APP_TOKEN_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_github_app_token_missing) | GitHub App token response did not include a token. |
| [`PRESETS_GITHUB_AUTH_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_github_auth_missing) | GitHub authentication is not configured. Set VITEHUB_GITHUB_TOKEN or GitHub App credentials. |
| [`PRESETS_GITHUB_DEPENDENCY_CONFLICT`](https://vitehub.dev/docs/agents/diagnostics/presets_github_dependency_conflict) | Resolve dependency conflicts in \<file\> and call refreshDependencies before validation. |
| [`PRESETS_GITHUB_HOST_APP_OWNER_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_github_host_app_owner_missing) | GitHub App owner must be configured with App credentials. |
| [`PRESETS_GITHUB_INSTALL_FAILED`](https://vitehub.dev/docs/agents/diagnostics/presets_github_install_failed) | Frozen dependency installation failed: \<detail\> |
| [`PRESETS_GITHUB_REPOSITORY_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_github_repository_invalid) | Expected a GitHub repository in owner/name form. |
| [`PRESETS_INSTALL_OUTPUT_CHANGED`](https://vitehub.dev/docs/agents/diagnostics/presets_install_output_changed) | Dependency output directory changed during installation. |
| [`PRESETS_LINKED_BIN_CHANGED`](https://vitehub.dev/docs/agents/diagnostics/presets_linked_bin_changed) | Linked dependency bin target changed during snapshot validation. |
| [`PRESETS_LINKED_BIN_GIT_METADATA`](https://vitehub.dev/docs/agents/diagnostics/presets_linked_bin_git_metadata) | Linked dependency bin targets must not read Git metadata. |
| [`PRESETS_LINKED_BIN_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_linked_bin_invalid) | Linked dependency bin targets must be file paths. |
| [`PRESETS_LINKED_BIN_NOT_FILE`](https://vitehub.dev/docs/agents/diagnostics/presets_linked_bin_not_file) | Linked dependency bin targets must be regular files. |
| [`PRESETS_LINKED_BIN_OUTSIDE`](https://vitehub.dev/docs/agents/diagnostics/presets_linked_bin_outside) | Linked dependency bin targets must stay inside the checkout. |
| [`PRESETS_LOCAL_DEPENDENCY_CONTENTS_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_local_dependency_contents_invalid) | Local dependency contents must be regular files and directories. |
| [`PRESETS_LOCKFILE_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_lockfile_missing) | Frozen dependency installation requires a supported lockfile. |
| [`PRESETS_NPM_CONFIG_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/presets_npm_config_unsupported) | Unsupported project npm configuration: \<key\>. Host-local configuration paths and package-manager extensions are not allowed. |
| [`PRESETS_NPM_VERSION_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/presets_npm_version_unsupported) | Host installation requires npm 7 or newer; older npm can execute repository onload scripts. |
| [`PRESETS_NPM_WORKSPACE_LINK_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_npm_workspace_link_invalid) | npm workspace links must reference checkout-relative paths. |
| [`PRESETS_PACKAGE_MANAGER_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/presets_package_manager_unsupported) | packageManager must select an official matching package-manager version. |
| [`PRESETS_PNPM_CONFIG_UNSUPPORTED`](https://vitehub.dev/docs/agents/diagnostics/presets_pnpm_config_unsupported) | Unsupported project pnpm configuration: \<key\>. Host-local configuration paths and package-manager extensions are not allowed. |
| [`PRESETS_PULL_REQUEST_HEAD_CHANGED`](https://vitehub.dev/docs/agents/diagnostics/presets_pull_request_head_changed) | Pull request head changed from \<expected\> to \<actual\>. |
| [`PRESETS_PULL_REQUEST_HEAD_REF_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_pull_request_head_ref_invalid) | A pull request headRef cannot start with a dash. |
| [`PRESETS_PULL_REQUEST_HEAD_REF_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_pull_request_head_ref_missing) | A pull request headRef is required when headRepository is supplied. |
| [`PRESETS_PULL_REQUEST_HEAD_SHA_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_pull_request_head_sha_invalid) | A pull request headSha must be a full Git commit SHA. |
| [`PRESETS_PULL_REQUEST_PUSH_TARGET_MISSING`](https://vitehub.dev/docs/agents/diagnostics/presets_pull_request_push_target_missing) | Pull request source repository and branch are required to push. |
| [`PRESETS_PUSH_TARGET_HEAD_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_push_target_head_invalid) | Push target did not return a full Git commit SHA. |
| [`PRESETS_PUSH_TARGET_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_push_target_invalid) | Push target must be the root of its prepared Git checkout. |
| [`PRESETS_YARN_LOCKFILE_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_yarn_lockfile_invalid) | Invalid Yarn lockfile stanza; dependency fields must be structured. |
| [`PRESETS_YARN_OUTPUT_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_yarn_output_invalid) | Yarn installation output must use a regular checkout directory. |
| [`PRESETS_YARN_PATCH_SELECTOR_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_yarn_patch_selector_invalid) | Yarn dependency patches must use project-relative ~/ selectors; parent package filesystems cannot be fingerprinted by the host. |

## Babysitter merge and review option errors

| Code | What happened |
| --- | --- |
| [`PRESETS_MERGE_BYPASS_CHECKS_INVALID`](https://vitehub.dev/docs/agents/diagnostics/presets_merge_bypass_checks_invalid) | Babysitter merge.bypassInheritedChecks must map repositories to check names. |

<!-- vitehub-docs:section-links -->
## In this section

- [Start](https://vitehub.dev/raw/docs/agents.md)
- [Define and run](https://vitehub.dev/raw/docs/agents/agent-definitions.md)
- [Instructions and tools](https://vitehub.dev/raw/docs/agents/instructions.md)
- [History and context](https://vitehub.dev/raw/docs/agents/chat-history-sessions.md)
- [Channels](https://vitehub.dev/raw/docs/agents/channels.md)
- [Inspect and evaluate](https://vitehub.dev/raw/docs/agents/observability.md)
- [Advanced](https://vitehub.dev/raw/docs/agents/agent-presets.md)
- [Recipes](https://vitehub.dev/raw/docs/agents/support-agent.md)
- [Presets](https://vitehub.dev/raw/docs/agents/presets.md)
- [Capabilities](https://vitehub.dev/raw/docs/agents/capabilities/access.md)

Next: [AGENT_CHANNELS_NO_STATUS](https://vitehub.dev/raw/docs/agents/diagnostics/agent_channels_no_status.md)

All pages: [llms.txt](https://vitehub.dev/llms.txt)
