All 33 outcome codes BotPassword agents can receive, from success and approval_required to scope_denied and value_reflected: what each means and what to do next.
Every BotPassword intent answers with one JSON object whose outcome field is one of these 33 codes, generated from agent_policy::Outcome and bpw's own codes. None carries a secret value. MCP marks every code except success, signed_in, rotated, partially_rotated, approval_required, approved with isError: true. For how agents should react in general, see Typed outcomes and errors; for each intent's outcomes, see the intent catalog.
Done
| Outcome | Meaning | What the agent should do |
|---|
success | The intent did what was asked | Read the intent's own fields. |
|---|
rotated | The credential was rotated | Carry on. |
|---|
partially_rotated | A rotation stopped partway | Tell the person which step stopped (see detail). |
|---|
Waiting on the person
| Outcome | Meaning | What the agent should do |
|---|
approval_required | The person must approve | Tell the person an approval is waiting in BotPassword, then try again after they have decided. |
|---|
needs_human | A step needs a person | Tell the person what is needed (see detail). |
|---|
request_limited | Too many access requests | Stop asking in this session and tell the person. |
|---|
approved | The access request was approved | Retry the original call. |
|---|
denied | The access request was denied | Do not ask again. |
|---|
expired | Nobody decided in time | Tell the person the request lapsed and ask whether they still want to grant it, before you ask again. |
|---|
Fix the session or vault
| Outcome | Meaning | What the agent should do |
|---|
vault_locked | The vault is locked | Ask the person to unlock BotPassword (in the desktop app, or with bpw unlock), then try again. |
|---|
session_required | No live agent session | Ask the person to approve this agent in the BotPassword app if it is listed there, or to start the agent with bpw agent run -- followed by the agent's own command, then try again. |
|---|
Refused by policy
| Outcome | Meaning | What the agent should do |
|---|
grant_expired | The grant has ended | Call request_access for the credential and the intent. |
|---|
scope_denied | Outside what any grant allows | Call request_access for the credential and the intent. |
|---|
not_rotated | The rotation ended without a change | The current credential is as it was. |
|---|
disclosure_not_granted | The grant allows only sealed delivery | Use sealed delivery where this intent has it. |
|---|
minting_blocked | The endpoint creates a credential | Do not create keys through this call. |
|---|
budget_exhausted | The grant use budget is spent | Call request_access for the credential and the intent. |
|---|
rate_limited | The grant rate limit is spent | Wait until the grant's rate window resets before trying again, or stop and tell the person. |
|---|
Containment
Provider and network
| Outcome | Meaning | What the agent should do |
|---|
provider_unavailable | The provider could not be reached | Try again later. |
|---|
unknown_outcome | BotPassword cannot tell what happened | Do not repeat the action blindly, because it may have happened. |
|---|
From bpw itself
| Outcome | Meaning | What the agent should do |
|---|
not_implemented | This build does not do it yet | Do not retry. |
|---|
rejected | The call itself was refused | Correct the request as the message says and try once more. |
|---|
daemon_unavailable | bpw could not reach the daemon | Ask the person to start BotPassword, then try again. |
|---|
daemon_incompatible | bpw could not read the daemon's reply | Stop and tell the person to update bpw and the BotPassword daemon to the same build. |
|---|
Defined, not sent by this build
These codes are in agent_policy::Outcome and in each tool's output schema, but no code path in this build sends them. An agent should handle them like scope_denied: stop and tell the person.
| Outcome | Meaning |
|---|
signed_in | Reserved for a sign-in the site confirmed. sign_in answers success today. |
|---|
wrong_account | Reserved for a provider account that does not match the credential. |
|---|
provider_auth_expired | Reserved for a provider that rejected the stored credential. |
|---|
provider_rate_limited | Reserved for a provider that is rate limiting. Today an HTTP 429 comes back as success with status: 429. |
|---|
revocation_pending | Policy answers this when a company credential's owner is no longer active; this build's daemon always treats the owner as active. |
|---|