# Refusals and recovery

> How Orbit refuses, what each important refusal code means, what to do next, and the tools that recover stuck or failed operations.
>
> Describes Orbit 0.1.8. Web page: https://dialectic-orbit-docs.vercel.app/0.1.8/reference/refusals/

This page is for agents that hit a refusal, a failed simulation or an operation with an unknown outcome in Orbit 0.1.8. It explains the shapes a refusal takes, lists the important codes by area with the next step for each, and covers the recovery tools. The refusal's own `next`, `remediation` or `fix` text is written for the exact situation and wins over this table.

## Three rules first

1. **Branch on `code`, relay the words.** Codes are stable and machine-readable. The sentence for the person is `status_for_the_user`, `message` or `status_line`. Relay that as written; never paste a raw revert, selector or stack of technical fields to the owner.
2. **Read `retry`.** `retry: true` means waiting can change the answer: try again shortly, once. `retry: false` (or absent on a refusal of your input) means the same call gets the same answer. Change something first.
3. **"Nothing was sent." means nothing was sent.** Most refusals say it. Then there is no on-chain state to reconcile. When a refusal does not say it and a send was involved, check `list_incomplete_operations` before anything else.

## The shapes a refusal takes

### 1. A JSON-RPC error (most refusals)

```json
{ "code": -32602,
  "message": "unknown action `morpho.deposit.USDC`: not in machine `base-safe`'s rootfile (...) ...",
  "data": { "code": "unknown_action", "action": "morpho.deposit.USDC", "safe": "base-safe",
            "remediation": "call list_actions for the catalog of whitelisted actions" } }
```

- **-32602 (invalid params)** carries refusals of the call itself: your input, policy denials, simulation failures, missing setup. `data.code` names it; `data` may add `retry`, `next`, `use_instead` (`{"tool": "..."}`), `rule`, `remediation`.
- **-32603 (internal error)** is a failure on Orbit's side or a dependency's. `data.code` is `rpc_error`, `service_busy` (with `retry_after_s`), `catalog_busy`, `catalog_unavailable`, `broadcast_unknown` and similar. Honour any wait; do not hammer.
- Some hosts show only "invalid params" and drop `data`. If you cannot see `data`, re-run the call through the command line (`orbit-mcp <tool> --key value`) or read `message`, which carries the same remedy.

### 2. A tool result marked as an error

Some tools answer with a normal result flagged `isError`, whose body has `code`, `message` and often `next` (for example `package_update_required`, `permissions_update_required` from `prepare_subscription_approval`). Read it like a JSON-RPC refusal.

### 3. A successful reply that says no

Reads and multi-step tools often return a result that carries the answer as a status: `ready_to_execute: false` with `next` from `simulate_action`; `status: "not_due"` from `renew_subscription`; `executable: false` from `get_swap_quote`; `ready: false` with a `state` (such as `below_minimum`, `wrong_chain`) from `prepare_perp_order`; `stage: "plan_change_needed"` from `submit_plan_move_signature`; a `refusal` block (`code`, `status_for_the_user`, `next`) inside a failed simulation, where the module itself refused on chain. These are answers, not errors, so they carry no `data.code`: branch on the status field. Relay them and follow `next`.

| Code | Meaning | Do next |
| --- | --- | --- |
| `below_minimum` (a `state` in a `ready: false` reply from `prepare_perp_order`) | The order is under Hyperliquid's opening minimum. `in_words` states the minimum and the smallest size that clears it. | Use the smallest size it names, or skip the trade. |
| `plan_change_needed` (a `stage` in a reply from `submit_plan_move_signature`) | A plan move needs a paid plan change first. Nothing was staged, and the owner's signature was used up. | Change the plan first (`present_subscription_quote` and its approval), then give the owner the new link in `fresh_signing` (or present the move again). |

## Misreading refusals: lessons from real agents

- **A value-loss refusal from wrong units is not "venue blocked".** One agent passed `"10"` in `mgmt_params` meaning 10 USDC. That is 0.00001 USDC in base units. The simulation failed with `onchain_error_code: "max_value_loss_exceeded"` and the agent reported the venue as blocked for four days. Before concluding anything about a venue, read `in_words` (it restates the amount) and check the [units table](https://dialectic-orbit-docs.vercel.app/0.1.8/reference/calling-actions/#units).
- **"invalid params" right after naming an action usually means the name is wrong.** Copy `qualified_name` from `list_actions`; labels contain spaces.
- **A guardrail holding is not an incident.** `list_incomplete_operations` gives `disposition: "inform"` for a policy denial doing its job. Do not alarm the owner with it.
- **A partial portfolio is still an answer.** It is not a reason to stop other actions; the limits still apply to the priced parts.
- **Do not invent a cause.** If the refusal text does not say why, say what it does say and offer the next step it names.

## Refusal codes by area

### Calling and input

| Code | Meaning | Do next |
| --- | --- | --- |
| `unknown_action` | The action id is not in this Safe's root. | `list_actions`, copy `qualified_name` exactly. Never guess. |
| `unknown_param` | A param name is not one of the action's input slots. | Use the `params` names from `list_actions`. |
| `invalid_params` | The arguments could not be read (missing or unknown field, wrong type, two amounts). The message names every gap at once. | Fix every field it names. Check `mgmt_action`/`mgmt_params` vs `action`/`params`. |
| `unknown_machine` | No configured Safe by that name. | `list_safes`; use `safe` (the name), not the address. |
| `identity_shape_removed` | An older argument shape. | Call again with its `use_instead`. |
| `evaluation_timeout` | A simulate or execute stalled past Orbit's fixed evaluation deadline (the refusal's `deadline_s`). | Check `list_incomplete_operations` before retrying; do not assume nothing happened. |

### A send may already be on its way: never resend under a new key

A send that Orbit could not confirm may still land. Sending the same action again under a new `idempotency_key` can do it twice.

| Code | Where you see it | Meaning | Do next |
| --- | --- | --- | --- |
| `idempotency_key_reused` | A refusal from `execute_action` | This request key was already used for a different action. Nothing was sent. | Use a new key **for this different action only**. To retry the same action, keep its original key. |
| `send_in_flight` | `reason_code` on a `send_unconfirmed` row in `list_incomplete_operations` | A send was under way when the sender stopped. The outcome is unknown: the network may have accepted it. | Do not resend. Orbit reconciles it by checking the wallet's nonce; meanwhile check the operator's recent transactions on that network. If it stays unresolved, follow [the three remedies](https://dialectic-orbit-docs.vercel.app/0.1.8/using/operations-and-recovery/#three-remedies). |
| `send_response_lost` | `reason_code` on a `send_unconfirmed` row | The send failed without a usable answer. That is not proof it wasn't broadcast. | The same as `send_in_flight`. |

### Simulation and execution

| Code | Meaning | Do next |
| --- | --- | --- |
| `sim_failed` | The transaction would revert. `onchain_error_code` is the decoded module or venue error; `refusal` holds owner words when Orbit has them; `details.preflight_evidence` holds the evidence. At execute, `in_words` (also the message) is the plain sentence and `technical` keeps the raw text. | See the on-chain codes below. Relay `refusal.status_for_the_user` or `in_words`, never `technical`. |
| `simulation_required` | `execute_action` with no receipt, or with a receipt for a different call. | `simulate_action` the identical `call`. |
| `simulation_stale` | The receipt was already past its lifetime (`age_s`, `valid_for_s`) when `execute_action` was called. Nothing was sent. `retry: false`. | Simulate again, relay the new `in_words`, then execute within its `valid_for_s`. |
| `operator_gas_short` | The agent's wallet can't pay for this send at the fee it would actually pay. Nothing was sent. `retry: false`, with `balance_wei`, `needed_wei` and `next`. The simulation shows the same in `policy.operator_gas`. | Top up the agent's wallet on that network (see [Funding and gas](https://dialectic-orbit-docs.vercel.app/0.1.8/using/funding-and-gas/)), then simulate again. |
| `check_unavailable` | A reading Orbit needed for the check didn't come back (`rule` names it). Not the owner's limits. `retry: true`. Rule `core_read.unavailable`: no connection could read Hyperliquid's data, even after Orbit asked them all once more. | Try again in a minute, as its `next` says. If `core_read.unavailable` keeps happening, `health_check` → `core_precompile_probe` shows which connection can't read Hyperliquid data. |
| `quote_stale` | The swap quote expired before simulation. | `get_swap_quote` again. |
| `quote_not_found` | The `quote_id` is unknown to this process (often a quote from another command-line call). | Quote, simulate and execute in one session. |
| `swapper_not_configured` | The **local config** line mapping the swap adapter to its `swapperId` is missing. Registering on chain again cannot fix it. | `add_swapper_mapping` with the line the refusal gives (`config_snippet`). A config edit, not a transaction. |
| `swapper_not_registered` | The **module** has no matching on-chain targets for that swapper id. | An owner transaction (`setSwapperTargets`); relay the runbook in the message to the owner. |
| `fork_backend` | The local fork could not start or run. | Relay; `health_check` → `fork_readiness`. |
| `fork_out_of_gas` | A nested call ran out of gas in the fork preflight; the starved frame is named. | Relay; do not raise gas by hand. |
| `core_order_unverified` | A Hyperliquid order's CoreWriter intent could not be read from the simulation. Nothing was sent. | Simulate with `"backend": "fork"`; relay `message` and `workaround_text`. |
| `core_transfer_refused` | A Safe-to-Hyperliquid transfer was refused (`reason_code`, `next`, `retry`). | Follow its `next`. "Still settling": wait and retry. |
| `review_expired` | The owner's review window ended without approval. Nothing was sent. | If still wanted, simulate and execute again. |
| `broadcast_unknown` | The send's outcome is unknown; it may be on chain. | Never resend under a new key. See [recovery](#recovery-tools). |

### Mandate and policy

A policy denial is `data.code: "policy_denied"` with `rule`, `explanation` and `remediation`. It never sends anything. Relay the explanation in plain words; propose a mandate change only if the owner wants the limit changed. A refusal by the per-action cap or the action-count limit states the value hit and the limit in `policy.limit_in_words`. A reading that didn't come back is not a policy denial: it answers `check_unavailable` (above).

| Code or `rule` | Meaning | Do next |
| --- | --- | --- |
| `mandate_required`, `mainnet_mandate_required` | No signed limits cover this Safe. | `propose_global_mandate` (its `use_instead`); the owner signs. Say "limits" to the owner. |
| `data.code: "config"`, "Your signed limits don't include every wallet yet (...)" | A Safe was set up before the signed limits named it, so the fleet is mixed. Only exits run: decreases, reduce-only and close orders, and swaps into the accounting token. Nothing was sent. | `propose_global_mandate` with `carry_over: true`; the owner signs; then try again. |
| `data.code: "config"`, "This wallet isn't in your signed limits yet..." | A Safe whose setup has not started was asked to act. Nothing was sent. | Same: `propose_global_mandate` with `carry_over: true`, then the owner signs. |
| `mandate.unavailable`, `mandate.safe_not_covered`, `mandate.removed` | Limits were signed once on this Orbit, and now cannot be loaded, do not cover this Safe, or were removed. Swaps and harvests refuse too. | Relay; the owner fixes it. Do not retry. |
| `caps.per_tx`, `caps.daily_deployment` | Over the per-action or rolling daily deployment cap (the active mandate holds both). | Smaller action, or wait for the window to roll. Exits are not capped. |
| `caps.concentration`, `global.caps.concentration`, `caps.max_position_concentration_pct` | The position would exceed its share of the portfolio. | Smaller increase. |
| `chains.max_nav_allocation_pct` | Too much of the portfolio would sit on this network. | Smaller move to that network. |
| `global.caps.max_perp_leverage` (or the group leverage cap) | A perp order would take gross notional ÷ trading-account equity over the signed cap. Closing and reducing are never affected. | Smaller order, or close something first. |
| `concentration.unverifiable`, `*.nav_unverifiable`, `global.core_exposure.unverifiable` | Orbit could not measure value it needs for a percentage cap, so the increase is refused. A Hyperliquid read that no connection could answer is `core_read.unavailable` (`check_unavailable`) instead. | Retry after `get_portfolio` with `fresh: true`; relay if it persists. |
| `caps.concentration.nav_non_positive` | The measured portfolio value is zero or negative. | Relay; only exits make sense. |
| `pricing.unpriceable` | The action's value could not be priced, so caps cannot be checked. Exits are exempt. | Relay; often a missing price route. |
| `cadence.hourly`, `cadence.daily` | Over the signed action count. Declared exits are exempt. | Wait for the window. |
| `scope.allow_debt_positions` | The mandate does not allow increasing debt. Deleveraging is allowed. | Relay; a mandate change if the owner wants debt. |
| `scope.denied_position_ids` | The owner made this position untouchable, both directions. | Do not retry. |
| `severity.caution` | The curator's signed status is caution: no increases. | Exits and maintenance still run. Re-check later. |
| `severity.curator_exit_only` | Curator status exit or blacklist: only exits. | Exit if the owner's plan says so. |
| `severity.no_verified_data` | No verified feed data for a governed position, so increases fail closed. **Not** a curator risk signal. | Check the feed is running in a long-lived Orbit, the plan is paid, and the feed is reachable (`package_health`, `get_billing_status`). |
| `severity.held` | A restriction Orbit cannot prove lifted (for example a removed package's last status). | Exits still run; clears with a new signed root or new curator data. |
| `feed.exit_capacity` | The position would exceed `exit_capacity_pct` of the curator's exit-capacity estimate (the percentage is in the active mandate). | Smaller increase. |
| `staleness.l1`, `staleness.l2` | Market data is older than the signed staleness limits (measured from when Orbit last received the feed). The message ends with the data's age and the limit, or says no market data has arrived yet. Exits, repays and closes are never blocked. | Wait for a fresh feed poll; if it names a billing cause, the plan needs paying. |
| `circuit_breaker` | The loss breaker tripped: increases and outbound swaps denied, exits into the accounting currency allowed. | Derisk if needed. It resets when the window slides clean, never while the portfolio value can't be read; an escalated re-trip needs the owner (`set_execution_paused` with `reset_loss_breaker`, owner-signed). |
| `circuit_breaker.unmeasured` | An earlier action on this position could not be checked for loss, so adding to it is held. | Exits still run; the owner can lift the hold (same owner-signed reset). |
| `circuit_breaker.nav_unknown` | Portfolio value unknown, so the breaker's limit cannot be measured. `get_portfolio` → `policy.derived.breaker` shows `state: "unverifiable"`, with `open_trip`, `reason`, and `owner_reset_required` when escalated. | Refresh the portfolio; exits into the accounting currency still run. An open trip stays open until the value can be read. |
| `caps.per_target.unset` | A transfer to an owner-named recipient with no per-recipient cap. Fails closed. | The owner adds `caps.per_target` for that address. |
| `mandate.unparseable_cap` | A signed cap cannot be read at this Safe's decimals. Every action refuses. | The owner signs a corrected mandate. |
| `execution_paused` | The soft local pause is on. | `set_execution_paused` with `paused: false`, only on the owner's word. |
| `mainnet_dev_signer` | A developer signer cannot act on a live chain. | Configure a real signer. |
| `proposal_not_pending` | `based_on_proposal` is not the one pending proposal. | Reload with `get_pending_changes` and start from the current one. |
| `carry_over_alone` | `propose_global_mandate` with `carry_over: true` also got `answers`, `profile`, `overrides` or `based_on_proposal`. | Call again with `carry_over: true` alone. |
| `nothing_uncovered` | `carry_over: true`, but every Safe is already covered, or no limits are signed yet. | Nothing to carry over; without signed limits, propose them normally. |
| `proposal_pending` | Another limits proposal (`pending_id`) is already waiting for the owner. Nothing new was drafted. | The owner signs or declines that one first. |
| `carry_over_not_drafted` | The carry-over draft could not be prepared (`why`). Nothing changed. | Relay `why`. |

### On-chain module errors (`sim_failed.onchain_error_code`)

| Code | Meaning | Do next |
| --- | --- | --- |
| `max_value_loss_exceeded` | Position change vs tokens moved exceeds the module's loss bps. The `refusal` block (`loss_over_limit`) states the limit and the estimate; `get_module_state` → `loss_caps_bps` shows the configured values. | **Check units first.** Then size, oracle freshness, and the accounting pairing. |
| `invalid_instruction_proof` | The instruction is not in the on-chain root (the root may have rotated). | `health_check` → `root_matches`; `refresh_state` or `finalize_root_update`. |
| `price_feed_stale` | A price the module values with is older than its limit (refusal code `price_out_of_date`). | Do not retry now; it resumes when the price updates. |
| `price_feed_route_not_registered` | The token has no price route on the module. | An owner setting; relay. |
| `amount_out_too_low` | The swap produced less than `minOutputAmount`. The `refusal` block (`return_below_minimum`) states the expected return and the minimum. | Re-quote; reduce size. |
| `swap_failed` | The swap router reverted. | Re-quote and retry once. |
| `return_below_minimum` | The exchange's own revert was the swap's minimum, with both values known (`refusal.limit.expected_out_raw`, `refusal.limit.min_output_amount_raw`); before 0.1.8 this read `swap_failed`. `selector` and `raw` are unchanged. | Re-quote; do not retry unchanged. |
| `ongoing_cooldown` | The module's wait between actions has not passed. The `refusal` block (`wait_not_over`) states the wait and the time left. | Retry once `limit.left_s` has passed. |
| `paused` | A guardian paused the module. All operator actions are blocked on chain. | Do not retry. Tell the owner; only a guardian unpauses. |
| `suspended` | Makina's provider account suspended the module. | Do not retry. Tell the owner. |
| `recipient_not_whitelisted` | Bridge recipient not whitelisted for that network. | An owner setting. |
| `invalid_bridge_transfer_route`, `route_not_registered` | Bridge route not registered. | Check eligibility; owner setting. |
| `weiroll_execution_failed` (refusal `failed_step_refused`) | A step of the action was refused by the venue it called. When the step's own target refused with an error of its own, the reason says the market is closed to this right now. | Relay `status_for_the_user`; do not retry unchanged. |
| `unauthorized_caller` | The sender lacks the role (for example Orbit's wallet is not an operator). | `verify_setup`. |
| `transfer_from_safe_failed` | The Safe lacks balance or allowance. | `get_balances` with `fresh: true`. |

#### Refusals that state the limit hit

When the module refuses on one of its own limits, the simulation's `sim_failed` details carry a `refusal` block (also at the top level of a failed simulation's answer as `refusal`, the same object as `policy.refusal`, and of execute's) with a `code`, a `status_for_the_user` sentence that states the owner's real values (read when it was refused), a `next`, and the values themselves in `limit`. Relay `status_for_the_user` as it stands, never the raw error. Nothing was sent.

| `refusal.code` | Which limit | `limit` fields | Do next |
| --- | --- | --- | --- |
| `wait_not_over` | The module's wait between actions has not passed (`ongoing_cooldown`) | `wait` (which wait), `wait_s`, `left_s` (always a number; `left_s_is_upper_bound: true` when Orbit couldn't read the last action's time, so it is the whole wait) | Retry the same request once `left_s` (else `wait_s`) has passed. Only the owner can change the wait |
| `loss_over_limit` | The value-loss check (`max_value_loss_exceeded`) | `limit_bps`, `estimated_loss_bps` when known, `estimate_within_limit` (when true, the estimate is under the limit, for example a very small trade or a moved price, so the sentence names only the limit) | Do not retry unchanged. **Check units first**; then a smaller amount or a fresh price |
| `return_below_minimum` | The swap would return less than its floor (`amount_out_too_low`) | `expected_out_raw`, `min_output_amount_raw` | Re-quote; do not retry unchanged |

The waits themselves are also readable in advance: `get_module_state` → `cooldowns_s` (keys `instruction`, `swap`, `bridge`; configured durations, not time remaining). Which wait applies:

- **`instruction`**: WALLED only. It is keyed on the position, the commands and the direction, so it blocks repeating the same action on the same position, not a different action.
- **`swap`**: one timer for all swaps, in FENCED and WALLED.
- **`bridge`**: one timer per bridge id, in FENCED and WALLED.
- In OPEN no wait applies.

### Network and connections

| Code | Meaning | Do next |
| --- | --- | --- |
| `network_paused` | Your connection disagreed with Orbit's reference reads, so live actions on that network are paused. | `recheck_network_pause` once; if it stands, wait or suggest a trusted connection. |
| `bridge_lanes_unverified` | Orbit couldn't read this wallet's bridge settings yet, so bridge sends, compose and setup batches are refused (no batch is built). Temporary; once read, they are remembered. | Try again shortly. |
| `bridge_lanes_not_covered` | This package's bridges don't cover this wallet's module, so no bridges are offered for it. Permanent. | Don't retry; tell the owner. |
| `bridge_destination_no_safe` | The owner has no Safe that Orbit looks after on the destination network. Refused before any simulation; nothing was sent. `retry: false`. | Add that network first, or bridge to a network where the owner has a Safe. |
| `bridge_recipient_not_allowed` | The recipient is neither the owner's Safe there nor one set up for that move. `retry: false`. | Leave `recipient` out, or have the owner set it up (a recipient in `bridge_intents` that isn't a Safe there must also be allowed by the module on that network). |
| `connection_behind`, `block_already_old` | The connection is behind the network. `retry: true`. | Try again shortly. |
| rule `facts.reference_unavailable` | A reference read could not be made. `retry: true`. Nothing was done. | Try again shortly. On a result that went through, `facts_unconfirmed` is a note, not a failure. |
| `rpc_error` | A connection call failed. | Retry once; check `health_check`. |
| `service_busy` (429) | A service asked Orbit to slow down. | Honour `retry_after_s`. Do not hammer. |
| `network_busy` | A setup or package step hit a busy network. `retry: true`. | Call the same thing again. |
| `library_out_of_date` | The Safe's root changed on chain since Orbit loaded it. | `finalize_root_update` if the owner just ran a permission update; `refresh_state` if the rootfile changed. Then simulate again. |

### Packages, permissions and setup

Every setup and add-network refusal also carries plain `owner_words` for the owner; its technical sentence is in `next`.

| Code | Meaning | Do next |
| --- | --- | --- |
| `root_changed` | `prepare_checkout`: the Safe's permissions changed while the change was being prepared. | Prepare the change again. |
| `wallets_locked_by_funds` | `record_quick_setup_inputs`: money was already sent to the Safe's address, so its controlling wallets can't change before it is created. Nothing was changed. | Finish setup with the recorded wallets; the owner can change them later in the Safe app. (`wallets_unchecked`: Orbit couldn't check.) |
| `rpc_unreachable` | `run_quick_setup`: the network connection didn't answer for its chain id. Nothing was attempted. | Check the connection (`record_rpc_profile`), then run again. |
| `rate_limited` | Safe's transaction service is busy (`could_not_observe`, or `run_quick_setup` `stopped_code`); or the curator answered "Too many tries". | Follow `next`. Never repeat a registration, signature or proposal because a check was rate limited. See [Safe transaction service rate limits](https://dialectic-orbit-docs.vercel.app/0.1.8/using/setup-and-networks/#safe-transaction-service-rate-limits). |
| `setup_incomplete` | A precondition is missing. Not a simulation; nothing was sent. `gap_owners` says whose gap it is (`safe_owner`, `makina`, `curator`, `provider`). | Relay the `summary` to the right party. |
| `access_code_needed` | A fresh install has no accepted access code yet; nothing was changed. | Ask "Do you have an Orbit access code?"; `record_access_code` with the answer as typed. |
| `package_not_installed` | The action needs a package not installed for this Safe. | `install_package` (local, no signature), then compose if needed. |
| `package_not_found`, `package_no_longer_offered`, `package_chain_mismatch` | The id is unknown, retired, or for another network. | `list_packages` (with `chain`). |
| `orbit_update_required` | The package needs a newer Orbit. | Update Orbit, then try again: `self_update`, or on a Homebrew install `brew upgrade orbit-mcp` (`self_update` refuses there). As of 0.1.8 the refusal's `next` names `update_orbit`, which does not exist; use `self_update`. See [Updates](https://dialectic-orbit-docs.vercel.app/0.1.8/using/updates/). |
| `positions_hold_value`, `positions_changed` | Removing or updating a package would drop positions that hold value or changed. | Show the owner the listed positions; on their yes, restage with `confirm_positions_with_value` / `confirm_changed_positions`. |
| `removal_needs_no_signature` | None of the removed packages' positions are in the Safe's permissions, and the change carries nothing else (no added package, gas, transfer, market list or wait change). | Use `remove_package` instead: local, no batch. |
| `root_unchanged: true` (an answer) | The packages are already in the root. `settings_only` says whether some settings still need approving. | "Nothing to sign", or pass `next_action.args` to `update_checkout_draft` as given. |
| `module_cooldown_choice_needed` | The module has no wait set and nothing sets one. As of 0.1.8 stable, first setup and adding a network do not stop here: the care level (`preset`) or the source Safe's wait sets it. In practice this appears on a permissions update. | Ask its `question`, offer only its `options_seconds`; or follow its `next_action`. |
| `limits_cover_new_safe_first` | Under active signed limits that don't name this Safe, its setup batch is not prepared. Nothing was sent. When one waiting draft adds this Safe and keeps every signed rule, `limits_proposal_id` names it and `limits_ready` is true. | Sign that draft when named. Otherwise draft the limits update that adds it: `run_quick_setup` for that network, or `propose_global_mandate` with `carry_over: true`. The owner signs; then prepare the setup again. |
| `owner_start_needed` | In chat, first setup won't create the Safe until the owner has said start. Carries `gas_needed`, `operator_funding` and `next`. | Ask the owner "Start?"; after they reply, call `run_quick_setup` with `owner_started: true`. |
| `paid_access_pending` (`retry: true`) | A paid package chosen in first setup under an access code that grants its plan waits for the curator to confirm the grant for this Safe (`select_setup_packages` lists it, `install_package` and `run_quick_setup` answer this code). Nothing unconfirmed is composed or installed. | Try again later; relay `paid_access_pending_words`. Without such a code the refusal is `paid_package_not_at_onboarding`. |
| `package_unavailable_on_network` | The package has no part on this network. Carries `package_id`, `package_name`, `chain`, `chain_id` and `default_package_ids`. Nothing is saved. | Choose from that network's packages. |
| `packages_installing` (`retry: true`) | `generate_onboarding_batch` while a setup run installs the selected packages. | Wait a moment and call again. |
| `packages_not_installed` | `generate_onboarding_batch` with no setup run going, or a package whose install failed in the last run. `retry: false`. | `run_quick_setup` (its `next_action`), which installs them. |
| `package_access_needed` | A selected package waits for this Safe's package access. | Follow the package-access step (`credential_step`). |
| `settings_changed_after_send` | The settings changed after the waiting setup batch was proposed, downloaded or signed. Nothing was replaced. | Relay the words: reject it in the Safe app, or set the setup aside (`discard_setup_batch`) and choose again. |
| `simulation_unverified` (an answer field) | `generate_onboarding_batch` couldn't test-run the setup batch (`simulate_reviewed_setup`: `unverified`). Carries `code`, `owner_words`, `retry` and `next`. | Relay `owner_words`; offer to check again only when `retry` is true. |
| `private_connection_kept` | `record_rpc_profile` with `kind: "public"` on a network whose connection is the owner's own. Nothing changed. | Keep it. Only on the owner's explicit ask, call again with `replace_private: true`. |
| `plan_busy` (`retry: true`) | `run_funding_plan`: another run (the agent, a page reload, another tab) holds the plan. Not a stop. | Try again in a moment. |
| `protection_waiting_for_gas` (`retry: true`) | `enable_guardian_protection`: the approved spending plan pays the guardian's gas first, and it hasn't arrived. | Run the spending plan (its `next`), then try again. |
| `needs_gas` (status) | `prepare_watchdog`: the guardian ran out of gas. Nothing was started or sent. Carries `owner_words` and the `protection_plan` to top up. | Show the top-up; turn protection on again after the owner approves it. |
| `signer_removal_pending` | A Hyperliquid signer removal still awaits the owner. | Only on the owner's word: `discard_prepared_removal: true`. |
| `market_not_covered` | `protect_position` on a market outside the Safe's permissions. | Relay. |
| `core_account_missing` | No Hyperliquid account yet (the first USDC deposit creates it). | Deposit first. |

### Owner steps and signatures

| Code | Meaning | Do next |
| --- | --- | --- |
| `owner_signature_required` | The step needs the owner's signature from their own wallet, not only a reply in chat. Nothing was changed. | Ask again for the signing link and give it to the owner in full. |
| `confirmation_expired` | The owner's confirmation expired before it was used. Nothing was changed. | Ask again to get a fresh question and link for the owner. |
| `combined_too_long`, `combined_not_available` | The spending plan and the limits can't be signed as one message here. | Follow `next`: the two separate steps (`present_funding_plan_for_signing`, `present_mandate_for_signing`). |
| `owner_page_needed` | Before the first Safe exists, the combined approval is answered on the owner page, not from chat. | Send the owner to the owner page. |
| `limits_active_plan_not_approved` (status) | The one signature activated the limits, but the plan was not approved (for example it ran out of time). A technical failure reads "Orbit couldn't approve it just now. Try again in a moment." | Follow `next.tool`: in a first setup `open_owner_wizard` (the owner approves the plan on its own on the owner page); once a Safe exists, `present_funding_plan_for_signing`. |
| `needs_owner_signature` (status) | First call of an owner-signed step: returns `signing_link` and often `confirm`. | Paste the link in chat in full; call again with the pasted `signature` and `confirm`. |
| `owners_unreadable` | Orbit could not read the Safe's owners. Nothing changed; not a failed signature. | Try again in a moment. |
| `held_unreadable` | Orbit could not read its own saved wallets. | Try again. |
| `no_common_owner` | No single wallet controls every Safe involved. | Relay its sentence. |
| `safe_not_run_here` | The mandate names a Safe this computer does not run. | Sign on the Orbit that runs all of them. |
| `not_clearable` | `clear_failed_operation` on an attempt still running or needing a check. | Wait or resolve it first. |
| `cancel_refused` | `cancel_unresolved_send` could not cancel. | Relay the message. |

### Billing

| Code or status | Meaning | Do next |
| --- | --- | --- |
| `not_due` (status) | Nothing to renew now, or this period is already paid. | Call again on your routine. |
| `package_reinstall_required` | `renew_subscription` (as `approval_unavailable`), `prepare_subscription_approval` or `prepare_checkout`: the subscription package on this Safe is older than the version its publisher offers now. Nothing was charged. | `install_package` with `package_id` `dialectic/basic-ops-subscribe` on this Safe, then try again. |
| `read: "access_code_required"` (`get_billing_status`, `check_now`) | This key needs an access code. | Relay the message; the owner asks the Orbit team for one. |
| `charged: "unknown"` (package access payment) | Orbit couldn't confirm an earlier payment for this wallet's package access, so it will not pay again. | Do not install again. Follow the message: recover that payment (for example `acquire_credential` with the same `safe` and `revision`), or ask the Orbit team to check it. |
| "Another payment for this wallet's package access is in progress" | One payment per wallet at a time; nothing was paid now. | Try again in a minute. |
| "The earlier payment never went through; nothing was charged." | The earlier payment never went through and can't any more (its signature expired unused); nothing was charged. Orbit has lifted the block. | Installing again makes a new payment, once, as normal. |
| `funds_short` (status) | The paying Base Safe lacks free USDC for the renewal. Nothing approved or collected. | Free the shortfall within the owner's limits (for example by withdrawing from a position) or tell the owner, then renew again once it is funded. This is what the stable 0.1.8 `next` says; release candidates said only "tell the owner". |
| `approval_unavailable` (status) | The renewal approval could not be prepared; `code`, `retry` and `fix` carry the inner reason when Orbit has a typed one. | Follow `fix`. If `code` and `fix` are empty, read `reason` (see below). |
| `package_update_required` | The subscription package needs its publisher's update. Nothing charged. | Relay; nothing for the owner to do. |
| `permissions_update_required` | The installed subscription package is current, and the Safe's root was composed from an older version of it. | `compose_root`; the owner approves; prepare again. |
| `subscription_busy` | Another subscription step holds the lock. `retry: true`. | Retry shortly. |

**An older payment package on this computer.** `package_reinstall_required` (above) is the code on all three surfaces: `renew_subscription` (inside `approval_unavailable`), `prepare_subscription_approval` and `prepare_checkout`. The fix is local: `install_package` for the `package_id` it names (no signature), then try again. Do not compose a new root for this: composing would rebuild from the older copy.

`get_billing_status` reads the curator live on every call; Orbit adds no delay. The curator's index can lag a collection a little, and `indexed_as_of` shows how fresh the answer is. State `activating` means a payment went through and is not visible yet.

## Recovery tools

Read `list_incomplete_operations` by `disposition`, never by matching status strings:

| `disposition` | Meaning | Do |
| --- | --- | --- |
| `notify` | Needs a human: money may have moved, or a wanted action did not happen for a fixable reason. | Tell the owner once, plainly, with the next step. |
| `inform` | The system behaved correctly (a policy denial, an expired review, still pending). | Mention only if asked or relevant. |
| `silent` | Completed. | Nothing. |

Rows are reconciled against the chain at startup and while Orbit runs, so a status can change without a restart. Re-read rather than assume it is final.

| Tool | When | How |
| --- | --- | --- |
| `list_incomplete_operations` | After any uncertain send, after a scheduled run, when asked "what failed?". | Filter by `safe`; `notify_count`; page with `cursor` if `truncated`. |
| `list_operations` | To read closed rows and human attestations. | Filter by `status`. |
| `resolve_operation` | A row is `manual_check_required`, `send_unconfirmed` or `receipt_unconfirmed`: Orbit cannot tell if it landed. | `finding: "executed"` or `"not_executed"`, with `evidence` (a tx hash, or a nonce observation) and `attested_by`. With a tx hash Orbit re-checks the receipt itself. A blind retry may double-execute. |
| `cancel_unresolved_send` | A row has `cancel_available: true`. | Only after the user approves in chat: pass the row's `operation_id` and their reply verbatim as `user_message_quote`. It sends an empty transaction at the same nonce from Orbit's wallet so the original can never land. |
| `clear_failed_operation` | Remove an attempt that can no longer run (refused, failed to simulate, never sent, reverted, expired) from the owner's Activity. | Owner-signed: first call returns a sign link and `confirm`; call again with the signature. |
| `refresh_state` | After editing `~/.config/orbit/config.toml` or replacing a rootfile. | No arguments needed. |
| `recheck_network_pause` | After `network_paused`. | Once; omit `chain` to check all paused networks. |
| `refresh_bridge_operation` | A pending CCTP bridge needs a fresh check. | Copy the five identity values exactly from `list_operations` → `bridge_refresh`. |
| `get_confirmation` | Track a queued review by `pending_id`. | |

When a send's outcome is unknown: do not call `execute_action` again with a new `idempotency_key`. Retry with the **same** key (it returns or continues the original), or resolve or cancel the row with the tools above.

## Scheduled runs

On a routine: be quiet when there is nothing to do. On a failure, retry once, then report what failed in one plain message. Never repeat the same error every tick.
