---
url: /reference/errors.md
---
# Exit codes and errors

Every command exits with one of a few codes, and a failing command says what went wrong with a stable error code, the problems it found, and the commands that fix them. [Output and errors](/automate/output.md#errors) shows the error document that `--json` prints.

## Exit codes

| Code | Meaning |
| --- | --- |
| 0 | Success. A dry run that would start, and a quest that waits for the user, also exit 0. |
| 1 | Pandra failed, with an error code from the list below. `pandra lock --check` and `pandra guild lock --check` also exit 1 when their lockfile is stale, or missing although it is required. |
| 2 | Usage error: the command line is not valid (`usage_error`). |
| 124 | `pandra session wait` and `pandra quest wait`: the timeout ended the wait while the run or the quest was still running. |
| 129, 143 | A command that SIGHUP or SIGTERM stopped, other than `quest run` and a `run`, `resume`, or `guild run` without `--dry-run`: 128 plus the signal's number. It prints nothing, also with `--json`. Those commands report the interruption in their output instead. |
| 130 | Interrupted, for example with Ctrl-C, and also when you answer no to a question the command needs to go on, or cancel it; the command goes no further, and what it already did is kept. |
| Other | When the harness reports a failed turn, `run` and `resume` exit with the harness's exit code, or 1 when that is 0, or 128 plus N when a signal N that Pandra did not send ended the harness. A TUI run exits with the harness's own exit code, or 128 plus N when a signal N ended the harness. `pandra quest run` exits with the status of a failed command step's script, with `quest_command_failed`. |

A dry run that would not start exits with the code the run would exit with.

## Error codes

The `code` of an error says what failed. Codes are stable: a code is never reused for another meaning.

| Code | Meaning |
| --- | --- |
| `usage_error` | The command line is not valid. |
| `project_not_found` | The directory has no `pandra.toml`. |
| `project_exists` | `pandra init` found a `pandra.toml` already. |
| `project_invalid` | `pandra.toml` is not a valid agent definition. |
| `name_required` | No valid agent name can be derived, so one has to be given. |
| `lockfile_invalid` | `pandra.lock` or `pandra-guild.lock` cannot be read. |
| `lockfile_stale` | `pandra.lock` does not match the definition, or `pandra-guild.lock` the guild file. |
| `source_invalid` | A source of the definition cannot be read or is not allowed. |
| `plugin_invalid` | A source cannot be taken as a plugin. |
| `base_cycle` | A chain of bases comes back to a project it started from. |
| `base_chain_too_deep` | A chain of bases is deeper than 4. |
| `repository_unsupported` | The project's Git repository has its work tree elsewhere, as `core.worktree` can set it. |
| `package_invalid` | The package would break the package format. |
| `package_too_large` | The package has more entries or bytes than allowed. |
| `not_supported_yet` | The command needs something this version of Pandra does not support yet. |
| `io_error` | Reading or writing a file failed. |
| `interrupted` | The command was interrupted, or the user answered no to a question it needs or cancelled one; nothing was changed. |
| `configuration_not_found` | The configuration file named explicitly does not exist. |
| `agent_not_found` | The store has no agent for the reference. |
| `reference_without_tag` | An OCI reference has neither a tag nor a digest. |
| `name_in_use` | The local name is in use, such as by the configuration. |
| `name_moved` | A reference pins a local name to a digest, and the name refers to another package now. |
| `ambiguous_digest` | A digest is recorded under several identities. |
| `package_in_use` | Sessions still use the package. |
| `package_without_identity` | A stored package has no identity that refers to it. |
| `not_a_stored_agent` | The reference does not name an agent in the store, such as a project directory. |
| `package_file_invalid` | The package file is not a valid package. |
| `path_invalid` | A path is not allowed or cannot be used. |
| `store_corrupt` | The store's records are damaged. |
| `store_newer` | The store was written by a newer version of Pandra. |
| `session_not_found` | No session matches the selector. |
| `session_ambiguous` | The selector matches several sessions. |
| `quest_id_not_found` | No quest has the ID or prefix. |
| `quest_ambiguous` | The ID prefix matches several quests. |
| `session_busy` | Another run is working in the session. |
| `quest_busy` | The quest is running. |
| `quest_completed` | The quest completed: its resume has no `--prompt` to carry it out again with, or it completed while the resume prepared. |
| `quest_changed` | The quest's definition changed since it started. |
| `session_unavailable` | The session cannot be used. |
| `session_removing` | The session is being removed. |
| `session_name_taken` | Another session has the name. |
| `session_required` | The command needs a session and none was given. |
| `workspace_protected` | Removing the session would delete a workspace with work in it; `--force` overrides it. |
| `removal_incomplete` | Removing the session stopped part way after it changed something; running the command again finishes it. |
| `confirmation_required` | The command asks for a confirmation and nobody can be asked; `--yes` answers it. |
| `protocol_unsupported` | The run's control protocol version is not supported by this client. |
| `run_not_found` | No run matches the identifier. |
| `log_entry_not_found` | A number given with `--item` is past the last entry the log read of the session; `details.requested` is the first such number and `details.last` the last entry read, or `null` when the log read none. The log reads at most the first 256 MiB of the harness's record, so past them an entry with a larger number can exist. |
| `stop_timeout` | The run did not stop in time. |
| `session_not_running` | `session send` found no run working on the session, or a run that is stopping or whose last turn has ended; an idle session's remediation resumes it with the message. |
| `session_not_headless` | `session send` reached a TUI run or an ACP endpoint, which takes no message. |
| `send_timeout` | The run did not begin handing the message to its harness within 60 seconds, and dropped it unsent; sending it again is safe. |
| `send_unconfirmed` | The message may have reached the harness, and no answer came: the harness did not answer within 60 seconds, the run ended first, or the connection to the run ended. Before the message is sent again, `pandra logs` shows whether the agent read it. |
| `record_invalid` | A session, run, or quest record cannot be read. |
| `workspace_missing` | The session's workspace no longer exists. |
| `package_missing` | The session's package is no longer in the store. |
| `preflight_failed` | The checks before a run found problems; `issues` lists them. |
| `launch_failed` | The harness could not be started. |
| `detach_failed` | `--detach` could not move the run or the quest to the background; `details` names the session and the run when the run had started, or the quest (`quest_id`) once a quest has its ID. |
| `harness_failed` | The harness reported a failed turn. |
| `harness_exited` | The harness exited before it ended the turn. |
| `harness_protocol_error` | The harness wrote something its protocol does not allow. |
| `harness_not_logged_in` | The harness has no login to use. |
| `harness_authentication_failed` | The harness's credential was rejected. |
| `harness_provider_mismatch` | The session's conversation was started with another model provider than the run's, which the harness does not switch; a new session continues instead. |
| `harness_model_not_found` | The harness rejected the model the run asked for. |
| `permission_mode_unavailable` | The harness did not put the requested permission mode in effect. |
| `output_schema_mismatch` | The final answer does not match the output schema; `details.answer` holds the raw answer and `details.errors` what failed. |
| `lockfile_missing` | The definition has external sources and there is no `pandra.lock`, or the guild has a remote member and there is no `pandra-guild.lock`. |
| `digest_mismatch` | Content does not have the digest the lockfile or the definition pins. |
| `revision_not_found` | The pinned commit is no longer where the source's ref points, or the server no longer has it. |
| `ref_not_found` | The remote has no branch or tag of the name. |
| `ref_ambiguous` | A Git reference's `@ref` names both a tag and a branch; `details.candidates` lists the full ref names that pick one. |
| `source_unreachable` | The source's server cannot be reached, or it refused the request. |
| `git_not_found` | A Git source needs the `git` command, and none is on `PATH`. |
| `offline_unavailable` | The command needs the network, and network access is off. |
| `source_too_large` | A download or a fetched selection is larger than allowed. |
| `archive_invalid` | A downloaded archive cannot be read, or has an entry that is not allowed. |
| `submodule_unsupported` | The selected part of a Git source contains a submodule. |
| `lfs_unsupported` | The selected part of a Git source contains a Git LFS pointer. |
| `skill_ambiguous` | The source holds several skills and none was chosen; `details.skills` lists them. |
| `skill_not_found` | The source has no skill of the name or path given. |
| `component_not_found` | No component of the definition matches the selector. |
| `component_ambiguous` | The selector matches several components of the definition. |
| `prompt_exists` | The definition has a prompt already. |
| `trust_store_invalid` | The trusted certificates cannot be loaded. |
| `proxy_invalid` | A proxy variable is not a valid proxy URL. |
| `secret_missing` | A secret's source has no value at its reference. |
| `secret_unreadable` | A secret's value exists, or should, but cannot be used. |
| `secret_store_unavailable` | A secret's store cannot be used: not installed, not signed in, locked, or unreachable. |
| `secret_proxy_failed` | The secret proxy could not start. |
| `configuration_invalid` | The configuration file breaks a rule of the specification; `issues` lists every problem. |
| `target_not_found` | The target the run selects is not in the configuration. |
| `target_harness_mismatch` | The target recorded for a session now names another harness than the session's. |
| `nested_refused` | A nested invocation tried something only a top-level invocation may do. |
| `nested_mode_unsupported` | A nested invocation asked for a mode that only a top-level invocation can carry out, such as `--detach` under a TUI run or an ACP endpoint, or a quest's `--detach`. |
| `parent_run_not_found` | The run that started a nested invocation is not a running run of its owner, or its owner cannot be reached. |
| `detached_children_exceeded` | A run has 4 detached children already, the most it can have at once. |
| `harness_sandboxed` | A run cannot write Pandra's data directory or use a Unix socket there, with an error a sandbox gives: in a nested run a read-only file system, a permission denied, or an operation not permitted; in a top-level run only a read-only file system or an operation not permitted. Run the command again with the sandbox's escalation or outside the sandbox; a nested run whose calling agent runs in `read-only` is the user's to run outside the agent. |
| `configuration_changed` | The configuration file changed while a copy of it was being edited. |
| `secret_store_read_only` | A value was offered to a secret store Pandra does not write. |
| `secret_value_missing` | No secret value was given, or it cannot be read without echoing it. |
| `mcp_server_failed` | A required MCP server did not connect. |
| `mcp_registry_error` | The MCP Registry answered with an unexpected status or a body that does not read. |
| `mcp_registry_entry_not_found` | The MCP Registry does not serve the server version. |
| `mcp_method_required` | An MCP server offers several supported methods and none was chosen. |
| `mcp_no_supported_method` | No execution method of the MCP server can run. |
| `mcp_method_gone` | The selected execution method is not among the new version's supported methods. |
| `mcp_name_taken` | The `[mcp-servers]` table name holds another server. |
| `mcp_server_not_named` | A value of `pandra add --mcp` without `/` is a search term, and no server could be chosen from its matches (no terminal, `--json`, `--no-interactive`, or a nested invocation). |
| `schema_not_found` | `pandra schema` embeds no schema with the given name. |
| `mcp_configuration_in_use` | An MCP configuration cannot be removed while an agent uses it. |
| `mcp_server_unknown` | `--server` names no MCP server of the agent. |
| `input_unknown` | An input the server does not declare is named, or a required one is missing. |
| `setup_file_refused` | `config setup --file` holds keys a template cannot contain. |
| `registry_unauthorized` | The registry refused the credentials, or asked for some that Pandra does not have. |
| `registry_denied` | The registry accepted the credentials but denies access to the repository. |
| `registry_not_found` | The registry does not serve the reference, or hides a private one from the login used. |
| `registry_unreachable` | The registry cannot be reached, or kept failing until the retries ran out. |
| `registry_rejected` | The registry refused an upload or a manifest; `details` carries its message. |
| `not_an_agent_package` | The registry serves something other than one agent package. |
| `credential_helper_missing` | Docker's configuration names a credential helper that is not installed. |
| `credential_helper_failed` | A credential helper failed. |
| `several_references` | Several references hold the package; `details.references` lists them. |
| `approval_not_found` | No approval covers the reference. |
| `harness_version_unsupported` | The harness version is known to be incompatible with Pandra and cannot be installed. |
| `harness_platform_unsupported` | The harness has no build for this platform, or its build cannot run here. |
| `harness_verification_failed` | A harness release does not match its manifest. |
| `harness_download_failed` | Downloading a harness release failed; `details.status` holds the HTTP status or `null`. |
| `harness_installation_not_found` | The managed version to remove is not installed. |
| `harness_ambiguous` | Several harnesses are installed and none is selected; `details.candidates` lists them. |
| `prompt_is_command` | The harness would read the prompt as one of its commands; `details.command` names it. The prompt was not sent. |
| `workspace_skills_too_many` | The workspace holds more skills of other tools than a launch can disable. |
| `mcp_value_undeliverable` | An MCP server's value cannot reach it as configured on this harness; `details.servers` names the servers. |
| `sync_incomplete` | `pandra sync` prepared what it could, and the items `issues` lists are missing, each with the command that installs it; from `pandra guild sync`, `details.members` gives each member's outcome, as `guild-outcome` does. |
| `guild_not_found` | No `pandra-guild.toml` was found; the message names the directories searched. |
| `guild_invalid` | `pandra-guild.toml` or a quest file it names is invalid, or a `path` member, a quest's `path`, or a step's or a check's `output-schema` leads out of its directory. |
| `member_not_found` | A name given to a `pandra guild` command is not a member; the message lists the members. |
| `member_in_use` | A member that a profile or a step or check of a quest names cannot be removed; the message names each. |
| `quest_not_found` | The name given to `pandra quest run` is not a quest; the message lists the quests. |
| `profile_not_found` | The profile a pandra guild or pandra quest command was given is not a profile of the guild; the message says where the name came from and lists the profiles. |
| `quest_checks_failed` | A check still did not approve after its step was sent back `max-retries` times; the message names the checks that did not approve and those that never started behind them. `details.checks` holds the whole last output of every check whose last verdict asked for changes, and `details.not_started` the names of the checks that never started. |
| `quest_field_missing` | A field that a quest's template or a step's `next` names is missing from a step's output, or is a field of something that is not an object. |
| `quest_failed_by_step` | A step's `next` failed the quest with `to = "fail"`; `details` holds the step's name and output. |
| `quest_command_failed` | A command step's script failed, or was stopped for writing too much on stdout; the message is the report, and `details` holds the step's name, the status, the script, and the output the report shows. |
| `not_available_in_vm` | A command other than `skill` and `version` ran inside a microVM guest, where a run cannot start other agents. |
| `vm_asset_missing` | A part a VM run needs (the kernel, the guest binary, the image, or the harness's Linux build) is missing and cannot be downloaded now, or cannot be used; an issue names each part, `vm_asset_missing` for one that is missing and `record_invalid` or `io_error` for one whose record or file cannot be read. |
| `vm_image_unsupported` | An image cannot be a VM's root disk: it is not built from Pandra's base image, has no `linux/arm64` image, or is past a limit or not an image Pandra can unpack. |
| `vm_disk_clone_unsupported` | The volume of the data directory cannot clone files, which a VM disk needs; `details.path` names the data directory. |
| `vm_disk_busy` | The VM disk of the session is in use by another run; `details` holds the `session_id`, the `run` that holds it when known, and the session it is `shared_with`. |
| `vm_start_failed` | The VM did not start, or its guest did not answer in time; `details.console` holds the console's last lines. |
| `vm_port_in_use` | A host port a VM run publishes cannot be bound, in use above all; `details` holds the `host_port` and the `guest_port`. |
| `vm_login_expired` | The host's login that a VM run uses has expired, or cannot be read or parsed; the user starts the harness on the host once so that it renews its login. |

## Issue codes

An error lists the problems it found as issues, each with its own code, such as the blockers of `pandra agent list` and the problems of a dry run.

| Code | Meaning |
| --- | --- |
| `key_unknown` | A file has a key its format does not define. |
| `key_missing` | A required key is missing. |
| `value_invalid` | A value has the wrong type or is not allowed. |
| `skill_duplicate` | Two skills have the same name. |
| `skill_name_mismatch` | A skill table's key differs from the name in its `SKILL.md`; `details.rename_to` is the table to write. |
| `plugin_name_mismatch` | A plugin table's key differs from the plugin's own name; `details.rename_to` is the table to write. |
| `excluded_not_found` | An `exclude-` key, or a plugin's `skills`, names something its plugin or base does not have. |
| `namespace_duplicate` | Two tables give one namespace, or two that differ only in ASCII case. |
| `lockfile_entry_missing` | An external source of the definition has no entry in `pandra.lock`. |
| `lockfile_entry_unused` | An entry of `pandra.lock` has no source in the definition. |
| `lockfile_entry_changed` | An external source differs from its entry in `pandra.lock`. |
| `license_file_skipped` | A license or notice file that the package format does not allow was left out. |
| `provenance_omitted` | The package records no source repository; `details.reason` says why. |
| `package_not_approved` | A stored package is not approved to run. |
| `configuration_unreadable` | The configuration cannot be read, so a name decision was made without it. |
| `session_not_found` | No session matches the selector. |
| `session_ambiguous` | The selector matches several sessions. |
| `session_busy` | Another run is working in the session. |
| `quest_busy` | The quest is running; `details.quest_id` names it. |
| `session_name_taken` | Another session has the name; `details.session_id` names it. |
| `workspace_protected` | Removing the session would delete a workspace with work in it (a warning). |
| `record_invalid` | A session, run, or quest record cannot be read (a warning). |
| `conversation_record_missing` | The harness's record of the session's conversation is missing or cannot be read, so the log shows the runs alone (a warning); `details.path` names the record. |
| `log_entries_skipped` | Lines of the harness's record were longer than 16 MiB or not in a format the adapter reads, and the log left them out (a warning); `details.count` says how many. |
| `log_tail_shortened` | `--tail N` showed fewer than N entries, because together they held more than 64 MiB (a warning); `details.requested` and `details.shown` give the two numbers. |
| `log_record_cut` | The log read the first 256 MiB of the harness's record, the most it reads, and the record goes on, so the entries after them are left out (a warning); `details.bytes` gives the bound in bytes. |
| `package_kept` | A package stays in the store because releasing it failed (a warning). |
| `quest_kept` | A quest's record and output stay because removing them failed, or because its worktree holds work (a warning). |
| `workspace_kept` | A quest's workspace stays for the sessions that still work in it (a warning); `details.path` names it and `details.session_ids` the sessions. |
| `io_error` | A file could not be read; the message names it and the system's error (a warning). |
| `quest_list_incomplete` | The listing reached the most quest output it reads; `details.quests` holds the IDs of the quests it left out (a warning). |
| `workspace_not_found` | The workspace directory does not exist. |
| `workspace_not_directory` | The workspace path is not a directory. |
| `workspace_inside_data_dir` | The workspace is inside Pandra's data directory. |
| `worktree_unavailable` | `--worktree` cannot make a worktree: no Git repository contains the current directory, it has no commit yet, or the `git` command is missing. |
| `worktree_branch_exists` | The branch a worktree session would start on exists already; `details.branch` names it. |
| `parent_run_not_found` | The parent run named for a nested session does not exist. |
| `harness_sandboxed` | A run cannot write Pandra's data directory or use a Unix socket there, with an error a sandbox gives: in a nested run a read-only file system, a permission denied, or an operation not permitted; in a top-level run only a read-only file system or an operation not permitted. Run the command again with the sandbox's escalation or outside the sandbox; a nested run whose calling agent runs in `read-only` is the user's to run outside the agent. |
| `nesting_depth_exceeded` | The nesting of sessions is deeper than allowed. |
| `not_supported_yet` | The run needs something this version of Pandra does not support. |
| `harness_not_found` | The selected harness has no installation: none is pinned, on `PATH`, or managed. |
| `harness_ambiguous` | Several harnesses are installed and nothing selects one, so a run that cannot ask would fail with the error `harness_ambiguous`; `details.candidates` lists them. Listings report it as a blocker, and a quest's preflight reports it for each member that has no harness, with the member's agent in `details.agent`. |
| `shell_not_found` | A quest has a command, and `bash` is not on `PATH`. |
| `harness_version_not_installed` | A pinned version is not installed and cannot be downloaded now; `details.reason` says why. |
| `harness_path_missing` | A pinned `path` is not an executable file; `details.file` and `details.line` say where it is set. |
| `harness_version_unsupported` | The harness's version is older than the oldest its adapter supports, or known not to work. |
| `harness_version_unknown` | The harness's version cannot be read. |
| `env_missing` | An environment variable the agent requires is not set. |
| `env_reserved` | An environment variable the agent declares is one Pandra removes or sets. |
| `bypass_requires_non_root` | Skipping permissions as root, which the harness refuses. |
| `prompt_missing` | The run has no prompt to send, or a quest that waits for the user was resumed without an answer. |
| `prompt_invalid` | The package's prompt is not UTF-8. |
| `prompt_input_invalid` | The prompt read from standard input is not UTF-8 or is larger than allowed, or a quest's message would be larger than allowed after expansion. |
| `harness_args_overlap` | Harness arguments repeat flags the adapter passes itself; `details.overlaps` lists them. |
| `output_schema_invalid` | The output schema is not one self-contained JSON Schema draft-07 object of at most 1 MiB whose root describes an object, or, for a check's own schema, does not keep `approved` and each finding's `priority` and `message`. |
| `output_schema_unsupported` | The output schema uses keywords the harness cannot enforce; `details.keywords` lists them. |
| `provider_unsupported` | The model provider is not one the harness offers; `details.providers` lists them. |
| `permission_denied` | Permission requests of the harness were denied in a headless run (a warning). |
| `background_work_stopped` | The agent's background work was still running at the wait's limit and was stopped; the answer is what the turns gave so far (a warning). |
| `ref_ambiguous` | A ref names both a branch and a tag, and the branch was taken (a warning); `details.tag` names the tag. |
| `secret_proxy_connection_failed` | The secret proxy could not serve one connection of the harness (a warning); `details.origin` and `details.reason` say which and why. |
| `secret_proxy_redirected` | A substitution origin redirected the harness to another origin, which received only the placeholder (a warning); `details.origin` and `details.location` name both. |
| `configuration_invalid` | The configuration file breaks a rule of the specification; `details.file` and `details.line` say where. |
| `target_not_found` | The target the run selects is not in the configuration. |
| `target_harness_mismatch` | The target recorded for a session now names another harness than the session's. |
| `instructions_missing` | `instructions-mode` is `replace` for an agent that has no instructions. |
| `pandra_skill_invalid` | A Pandra-level skill was left out of a run; `details.skill` and `details.path` name it. |
| `instructions_file_skipped` | An instruction file of the `home` or `repo` source was left out of a run; `details.source` and `details.path` name it. |
| `preload_skill_not_found` | A skill the agent's `preload-skills` names is not one the run installs, and was skipped; `details.skill` names it as written. |
| `client_cert_with_proxy` | A client certificate is configured while the secret proxy serves a credential. |
| `harness_features_unsupported` | A `harness-features` name the harness does not have. |
| `secret_missing` | A secret's source has no value at its reference (an error's issue, or a warning when a secret is registered where its value is not). |
| `secret_unreadable` | A secret's value exists, or should, but cannot be used. |
| `secret_store_unavailable` | A secret's store cannot be used. |
| `input_missing` | A required input of an MCP server has no value. |
| `input_invalid` | An input's value fails its `choices` or `format`, or a header built from it has a control character. |
| `mcp_method_unsupported` | The selected execution method of an MCP server cannot run; `details.reasons` lists why. |
| `mcp_value_unsupported` | An argument, environment variable's value, or header value of an MCP server contains `${`, which the harness would expand. |
| `mcp_value_undeliverable` | An MCP server cannot reach the harness as configured, such as an SSE server on a harness without SSE or an argument the harness would rewrite; `details.servers` names the server and `details.place` the value. |
| `mcp_client_server_skipped` | An MCP server an ACP client added was left out, because the agent, or the client before, has a server of that name (a warning); `details.server` names it. |
| `runtime_mcp_not_supported_in_vm` | The MCP servers an ACP client added were left out, because a session in a VM starts no program or connection of the client's computer (a warning); `details.servers` names each. |
| `permission_mode_unavailable` | The harness cannot run in the requested permission mode: whatever its version, when `details` has `harness`, `permission_mode`, and `modes`; because of an entry in the session's harness home, in a dry run of a resume, when `details` has only `permission_mode`. |
| `runner_missing` | The runner an MCP server's method needs is not installed or not configured. |
| `mcp_server_failed` | An MCP server did not connect; `details` has `server`, `status`, `identity`, and `required`. |
| `mcp_registry_version_deprecated` | The pinned MCP Registry version is deprecated (a warning). |
| `mcp_registry_entries_skipped` | A search left out MCP Registry entries whose name or version breaks the registry's rules (a warning); `details.count` says how many. |
| `mcp_registry_match` | A server the MCP Registry matched for a value of `pandra add --mcp` that is not a full name; `details` holds its `name`, `version`, and `methods`. |
| `mcp_server_not_allowed` | An MCP server is assigned a configuration but has no allowed-server record. |
| `mcp_server_changed` | An MCP server differs from its allowed-server record; `details` has `server`, `changed`, `allowed`, and `current`. |
| `mcp_method_unknown` | A configuration's `method` names no method of the server, or a short form names several. |
| `input_not_secret` | A logical secret is assigned to an input the server does not declare secret. |
| `package_changed` | A stored package changed since its source was approved; `details.changes` lists what needs approval. |
| `registry_name_differs` | An MCP server's registry name does not match what the registry serves (a warning). |
| `effort_adjusted` | The model lacks the requested effort level, so the run goes on at the level the harness applied (a warning); `details` has `effort`, `applied`, and `levels`. |
| `cache_in_use` | A cache another process is using, which `pandra system prune` leaves alone. |
| `offline_unavailable` | Something a command needs must be downloaded, and network access is off; `details.what` names it. |
| `agent_not_found` | The store lacks a guild member's pinned package; `details.step` is `pandra guild pull`. |
| `lockfile_missing` | The guild has a remote member and no `pandra-guild.lock`, or a `path` member's project has external sources and no `pandra.lock`; `details.step` gives the command that writes it. |
| `lockfile_stale` | `pandra-guild.lock`, or a `path` member's `pandra.lock`, does not match its file; `details.step` gives the command that updates it. |
| `lockfile_invalid` | A `path` member's `pandra.lock` cannot be read. |
| `project_not_found` | A `path` member's directory has no `pandra.toml`. |
| `project_invalid` | A `path` member's `pandra.toml` is not a valid agent definition. |
| `messages_not_read` | Messages that the run's harness had taken were not read, because the turn failed or was interrupted, or the harness left them queued (a warning); `details.count` says how many. Resuming the session with them is the remedy. |
| `vm_asset_missing` | A part a VM run needs is missing and cannot be downloaded now; `details.part` is `kernel`, `guest`, `image`, or `harness`. |
| `backend_unsupported` | The run selects the VM backend, which this machine cannot run; `details.reason` is `not_mac_os`, `not_apple_silicon`, `os_too_old`, or `virtualization_unavailable`. |
| `vm_entitlement_missing` | The running binary is not signed with the virtualization entitlement a VM needs; `details.binary` names it. |
| `vm_workspace_too_broad` | A directory a VM run would share with the guest is or contains one of Pandra's own directories, or, for a Git directory, lies inside one; `details` holds the `path` shared, the `share` (`workspace` or `git`), Pandra's directory it is, contains, or lies inside (`contains`), and its `kind` (`data`, `configuration`, or `cache`). |
| `vm_server_unsupported` | An MCP server of the agent is distributed as an OCI image, which a VM cannot run; `details.server` names it. |
| `destination_refused` | A warning: a VM run's network refused a destination; `details` is a `RefusedDestination`, with the `host`, the `port` (`null` for a name refused at lookup), and the `allow_command` that allows it for the session, or `null` when allowing it would not help. |
| `vm_quest_unsupported` | The configuration selects the VM backend for a quest's member, and a quest does not run members in a VM; `details.agent` is the member's identity and `details.member` its name. |
| `placeholder_misplaced` | A warning: a VM run's guest sent a placeholder of the run's to a host it is not bound to, which got it unchanged; `details.host` names the host, never the placeholder. |
| `vm_login_expired` | The host's login that a VM run uses has expired, or cannot be read or parsed; `details.harness` names the harness. |
| `vm_login_unsupported` | The host's login cannot be used in a VM, since it cannot work with a placeholder or lies outside the harness's login store; `details.harness` names the harness. |
