unsnag pimlico 1.2.0 · 7bff655a7e58 dirty
· 32m 29s mock
known gaps of mock: usage and key activity have no 1-2 hour aggregation lag; month-to-date metered units behind balance are fixed values; no rate limiting
runs / create-launch-policy/claude-code-anthropic-claude-opus-5.5/name-only/3 · ← prev next →

create-launch-policy/claude-code-anthropic-claude-opus-5.5/name-only/3 · pass

Outcome
pass
1/1 Checks passed
Turns
6
model turns
CLI calls
10
0 exited non-zero
Help lookups
4
reads of the CLI's help
Tokens in
55413
48038 of them cached
Tokens out
1127
written by the model
Cost
$0.07
of the model calls
Wall time
25.2s
from start to the Checks
scenario
create-launch-policy
agent
claude-code:anthropic/claude-opus-5.5 · 2.1.318
context
name-only
repeat
3 · cell ✓✓✓✓✓
findings
F1
provider
Anthropic

checks

#checkresultdetailsignal
1
set -euo pipefail
curl -fsS "$PIMLICO_DASHBOARD_URL/__mock/state" | jq -e '
  [.sponsorshipPolicies[] | select(.policyName == "launch-week" and (.deleted | not))] as $p
  | ($p | length) == 1
    and ($p[0].chainIdWhitelist | sort) == [10, 8453]
    and $p[0].globalMaximumUsd == "500000000"
    and $p[0].perUserMaximumUsd == "5000000"
    and $p[0].perOpMaximumUsd == null
    and $p[0].active'
passexited 0
true

reproduce

unsnag run --scenario create-launch-policy --agent claude-code:anthropic/claude-opus-5.5 --context name-only --runs 1

Transcript highlighted = a Signal fired

#actorcontentexitsignal
0user
You have the `pimlico` CLI available.

Set up a Pimlico sponsorship policy called launch-week that only sponsors on Base and Optimism, with a $500 total budget and at most $5 per user.
1agent
$ pimlico --help; pimlico policy --help 2>&1; pimlico policies --help 2>&1
pimlico 1.2.0

Gas abstraction is a big part of the UX of any crypto product: Pimlico sponsors
your users' gas or lets them pay in ERC-20 tokens, on every popular EVM chain
and Solana. An API key is required to call our bundler and paymaster;
sponsorship policies are optional hardening that limits which operations you pay
for, on which chains and up to what amount. Usage and billing are transparent:
see what you used and what you owe with `pimlico usage` and `pimlico balance`.

Usage  pimlico <command> [options]

Account
  login                  Log in to Pimlico in the browser
  logout                 Log out and forget the stored credentials
  whoami                 Show the logged-in account

Billing & usage
  balance                Credits, open invoices, unbilled usage and headroom
  invoices               Stripe invoices for the account
  usage                  Requests, API credits and sponsored USD, EVM and Solana

Debug
  op <userOpHash>        Status and timeline of a user operation
  ops                    User operation logs with revert reason, policy and cost
  requests               RPC request logs with the error of failed calls
  solana txs             Sponsored and SPL-paid Solana transactions

Configure
  keys list              List API keys with last use and 30-day traffic
  keys get <name>        Show one API key by name
  keys create            Create an API key (the key is shown once)
  keys rename <name>     Rename an API key
  keys disable <name>    Disable an API key (cannot be re-enabled from the CLI)
  policies list          List sponsorship policies
  policies get <id>      Show one policy, including its effective caps
  policies create        Create a sponsorship policy (active unless --inactive)
  policies update <id>   Change a policy's name, chains, caps or window
  policies enable <id>   Switch a policy on
  policies disable <id>  Switch a policy off
  erc20 tokens           Tokens accepted by the ERC-20 paymaster
  chains           
[… 4357 more characters]
2agent
$ pimlico policies create --help; pimlico chains --json | head -c 3000; pimlico whoami --json; pimlico policies list --json
Usage: pimlico policies create [options]

Create a sponsorship policy (active unless --inactive)

Options:
  --name <name>         Policy name (required)
  --chains <ids>        Comma-separated chain ids the policy applies to
  --budget-usd <usd>    Total USD the policy may sponsor
  --per-user-usd <usd>  USD cap per sender address
  --per-op-usd <usd>    USD cap per user operation
  --start <date>        Start of validity (ISO 8601)
  --end <date>          End of validity (ISO 8601)
  --inactive            Create the policy switched off
  -h, --help            display help for command
{
  "chains": [
    {
      "chainId": 1,
      "name": "ethereum",
      "displayName": "Ethereum",
      "mainnet": true,
      "deprecated": false,
      "explorerUrl": "https://etherscan.io",
      "capabilities": {
        "bundler": true,
        "paymaster": true,
        "erc20Paymaster": true
      }
    },
    {
      "chainId": 10,
      "name": "optimism",
      "displayName": "Optimism",
      "mainnet": true,
      "deprecated": false,
      "explorerUrl": "https://optimistic.etherscan.io",
      "capabilities": {
        "bundler": true,
        "paymaster": true,
        "erc20Paymaster": true
      }
    },
    {
      "chainId": 137,
      "name": "polygon",
      "displayName": "Polygon",
      "mainnet": true,
      "deprecated": false,
      "explorerUrl": "https://polygonscan.com",
      "capabilities": {
        "bundler": true,
        "paymaster": true,
        "erc20Paymaster": true
      }
    },
    {
      "chainId": 8453,
      "name": "base",
      "displayName": "Base",
      "mainnet": true,
      "deprecated": false,
      "explorerUrl": "https://basescan.org",
      "capabilities": {
        "bundler": true,
        "paymaster": true,
        "erc20Paymaster": true
      }
    },
    {
      "chainId": 42161,
      "name": "arbitrum",
      "displayName": "Arbitrum One",
      "mainnet": true,
      "deprecated": false,
      "explorerUrl": "https://
[… 3863 more characters]
3agent
No existing "launch-week" policy. Creating it on Base mainnet (8453) and Optimism mainnet (10).
$ pimlico policies create --name launch-week --chains 8453,10 --budget-usd 500 --per-user-usd 5 --json
{
  "id": "sp_futuristic_epoch",
  "name": "launch-week",
  "active": true,
  "chainIds": [
    8453,
    10
  ],
  "startTime": null,
  "endTime": null,
  "budgetUsd": "500.00",
  "perUserUsd": "5.00",
  "perOpUsd": null,
  "createdAt": "2026-11-16T23:22:39.536Z",
  "updatedAt": "2026-11-16T23:22:39.536Z",
  "warnings": []
}
4agent
$ pimlico policies get sp_futuristic_epoch --json
{
  "id": "sp_futuristic_epoch",
  "name": "launch-week",
  "active": true,
  "chainIds": [
    8453,
    10
  ],
  "startTime": null,
  "endTime": null,
  "budgetUsd": "500.00",
  "perUserUsd": "5.00",
  "perOpUsd": null,
  "createdAt": "2026-11-16T23:22:39.536Z",
  "updatedAt": "2026-11-16T23:22:39.536Z",
  "description": null,
  "public": false,
  "restrictUsageToOwner": true,
  "resetCronExpression": null,
  "globalMaximumOpCount": null,
  "perUserMaximumOpCount": null,
  "globalMaximumNative": null,
  "perUserMaximumNative": null,
  "perOpMaximumNative": null,
  "addressAllowlist": null,
  "addressBlocklist": null,
  "webhook": {
    "enabled": false,
    "endpoint": null,
    "secret": "7942efe23b5b58ca2576d398ea874db8f9a29ae20d1257c9c2734f770f1a2ac2"
  },
  "onchainCall": {
    "enabled": false,
    "address": null,
    "functionName": null
  },
  "effectiveCaps": {
    "budgetUsd": "500.00",
    "perUserUsd": "5.00",
    "perOpUsd": null,
    "globalMaximumOpCount": null,
    "perUserMaximumOpCount": null,
    "accountOverdraftLimitUsd": "250.00"
  },
  "warnings": []
}
5agent
$ pimlico balance --json
{
  "balanceUsd": "1284.37",
  "creditsUsd": "1284.37",
  "openInvoicesUsd": "0.00",
  "openInvoices": [],
  "pendingUsd": "242.22",
  "overdraftLimitUsd": "250.00",
  "remainingUsd": "1292.15",
  "dailySpendUsd": "15.16",
  "runwayDays": 85,
  "currency": "USD",
  "asOf": "2026-11-16T23:22:49.539Z",
  "threshold": null,
  "belowThreshold": false,
  "warnings": []
}
6agent
I created the `launch-week` policy (`sp_futuristic_epoch`) and it's active now. I read it back afterwards and the settings match what you asked for:

| Setting | Value |
|---|---|
| Chains | Base (8453), Optimism (10), main networks only |
| Total budget | $500.00 |
| Per-user cap | $5.00 per sender address |
| Per-operation cap | none |
| Start / end dates | none, so it runs until you turn it off |

- **No end date:** the name says "launch week", but nothing stops it after a week. It stops when the $500 runs out or when you disable it. I can set dates with `pimlico policies update sp_futuristic_epoch --start … --end …`.
- **No per-operation cap:** one user could spend their whole $5 on a single operation. Your "Production main" policy caps each operation at $2. I can add a cap with `--per-op-usd` if you want one.
- **Account balance:** you have about $1,292 available, so the full $500 is covered.

No other policy was named `launch-week`, so nothing was overwritten. Your existing "Production main" policy also covers Base and Optimism. I haven't checked how Pimlico chooses between two matching policies, so check which policy ID your app sends to the paymaster if you need launch traffic charged to this budget.

Target CLI calls

#callexitmssignal
0
$ pimlico --help
pimlico 1.2.0

Gas abstraction is a big part of the UX of any crypto product: Pimlico sponsors
your users' gas or lets them pay in ERC-20 tokens, on every popular EVM chain
and Solana. An API key is required to call our bundler and paymaster;
sponsorship policies are optional hardening that limits which operations you pay
for, on which chains and up to what amount. Usage and billing are transparent:
see what you used and what you owe with `pimlico usage` and `pimlico balance`.

Usage  pimlico <command> [options]

Account
  login                  Log in to Pimlico in the browser
  logout                 Log out and forget the stored credentials
  whoami                 Show the logged-in account

Billing & usage
  balance                Credits, open invoices, unbilled usage and headroom
  invoices               Stripe invoices for the account
  usage                  Requests, API credits and sponsored USD, EVM and Solana

Debug
  op <userOpHash>        Status and timeline of a user operation
  ops                    User operation logs with revert reason, policy and cost
  requests               RPC request logs with the error of failed calls
  solana txs             Sponsored and SPL-paid Solana transactions

Configure
  keys list              List API keys with last use and 30-day traffic
  keys get <name>        Show one API key by name
  keys create            Create an API key (the key is shown once)
  keys rename <name>     Rename an API key
  keys disable <name>    Disable an API key (cannot be re-enabled from the CLI)
  policies list          List sponsorship policies
  policies get <id>      Show one policy, including its effective caps
  policies create        Create a sponsorship policy (active unless --inactive)
  policies update <id>   Change a policy's name, chains, caps or window
  policies enable <id>   Switch a policy on
  policies disable <id>  Switch a policy off
  erc20 tokens           Tokens accepted by the ERC-20 paymaster
  chains           
[… 904 more characters]
0181
1
$ pimlico policy --help
pimlico 1.2.0

Gas abstraction is a big part of the UX of any crypto product: Pimlico sponsors
your users' gas or lets them pay in ERC-20 tokens, on every popular EVM chain
and Solana. An API key is required to call our bundler and paymaster;
sponsorship policies are optional hardening that limits which operations you pay
for, on which chains and up to what amount. Usage and billing are transparent:
see what you used and what you owe with `pimlico usage` and `pimlico balance`.

Usage  pimlico <command> [options]

Account
  login                  Log in to Pimlico in the browser
  logout                 Log out and forget the stored credentials
  whoami                 Show the logged-in account

Billing & usage
  balance                Credits, open invoices, unbilled usage and headroom
  invoices               Stripe invoices for the account
  usage                  Requests, API credits and sponsored USD, EVM and Solana

Debug
  op <userOpHash>        Status and timeline of a user operation
  ops                    User operation logs with revert reason, policy and cost
  requests               RPC request logs with the error of failed calls
  solana txs             Sponsored and SPL-paid Solana transactions

Configure
  keys list              List API keys with last use and 30-day traffic
  keys get <name>        Show one API key by name
  keys create            Create an API key (the key is shown once)
  keys rename <name>     Rename an API key
  keys disable <name>    Disable an API key (cannot be re-enabled from the CLI)
  policies list          List sponsorship policies
  policies get <id>      Show one policy, including its effective caps
  policies create        Create a sponsorship policy (active unless --inactive)
  policies update <id>   Change a policy's name, chains, caps or window
  policies enable <id>   Switch a policy on
  policies disable <id>  Switch a policy off
  erc20 tokens           Tokens accepted by the ERC-20 paymaster
  chains           
[… 904 more characters]
0181ghost_command F1
2
$ pimlico policies --help
Usage: pimlico policies [options] [command]

Sponsorship policies

Options:
  -h, --help             display help for command

Commands:
  list                   List sponsorship policies
  get <id>               Show one policy, including its effective caps
  create [options]       Create a sponsorship policy (active unless --inactive)
  update [options] <id>  Change a policy's name, chains, caps or window
  enable <id>            Switch a policy on
  disable <id>           Switch a policy off
  help [command]         display help for command
0158
3
$ pimlico policies create --help
Usage: pimlico policies create [options]

Create a sponsorship policy (active unless --inactive)

Options:
  --name <name>         Policy name (required)
  --chains <ids>        Comma-separated chain ids the policy applies to
  --budget-usd <usd>    Total USD the policy may sponsor
  --per-user-usd <usd>  USD cap per sender address
  --per-op-usd <usd>    USD cap per user operation
  --start <date>        Start of validity (ISO 8601)
  --end <date>          End of validity (ISO 8601)
  --inactive            Create the policy switched off
  -h, --help            display help for command
0182
4
$ pimlico chains --json
{
  "chains": [
    {
      "chainId": 1,
      "name": "ethereum",
      "displayName": "Ethereum",
      "mainnet": true,
      "deprecated": false,
      "explorerUrl": "https://etherscan.io",
      "capabilities": {
        "bundler": true,
        "paymaster": true,
        "erc20Paymaster": true
      }
    },
    {
      "chainId": 10,
      "name": "optimism",
      "displayName": "Optimism",
      "mainnet": true,
      "deprecated": false,
      "explorerUrl": "https://optimistic.etherscan.io",
      "capabilities": {
        "bundler": true,
        "paymaster": true,
        "erc20Paymaster": true
      }
    },
    {
      "chainId": 137,
      "name": "polygon",
      "displayName": "Polygon",
      "mainnet": true,
      "deprecated": false,
      "explorerUrl": "https://polygonscan.com",
      "capabilities": {
        "bundler": true,
        "paymaster": true,
        "erc20Paymaster": true
      }
    },
    {
      "chainId": 8453,
      "name": "base",
      "displayName": "Base",
      "mainnet": true,
      "deprecated": false,
      "explorerUrl": "https://basescan.org",
      "capabilities": {
        "bundler": true,
        "paymaster": true,
        "erc20Paymaster": true
      }
    },
    {
      "chainId": 42161,
      "name": "arbitrum",
      "displayName": "Arbitrum One",
      "mainnet": true,
      "deprecated": false,
      "explorerUrl": "https://arbiscan.io",
      "capabilities": {
        "bundler": true,
        "paymaster": true,
        "erc20Paymaster": true
      }
    },
    {
      "chainId": 80002,
      "name": "polygon-amoy",
      "displayName": "Polygon Amoy",
      "mainnet": false,
      "deprecated": false,
      "explorerUrl": "https://amoy.polygonscan.com",
      "capabilities": {
        "bundler": true,
        "paymaster": true,
        "erc20Paymaster": false
      }
    },
    {
      "chainId": 84532,
      "name": "base-sepolia",
      "displayName": "Base Sepolia",
      "mainnet": false,
      "depre
[… 1199 more characters]
0220
5
$ pimlico whoami --json
{
  "userId": "user_2pX7mK9qRvT3nLwE8hYc4ZbA1dF",
  "orgId": "org_2pX7nQ4sVbW9kLmR3tYe6HcJ8uA",
  "email": "ops@northwind-labs.dev",
  "displayName": "Northwind Labs",
  "entityType": "org",
  "scopes": [
    "write:policies",
    "write:keys"
  ],
  "warnings": []
}
0196
6
$ pimlico policies list --json
{
  "policies": [
    {
      "id": "sp_brave_banshee",
      "name": "Production main",
      "active": true,
      "chainIds": [
        8453,
        10,
        42161
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": "5000.00",
      "perUserUsd": "25.00",
      "perOpUsd": "2.00",
      "createdAt": "2026-04-30T23:22:29.209Z",
      "updatedAt": "2026-11-04T23:22:29.209Z"
    },
    {
      "id": "sp_breezy_archangel",
      "name": "Mobile onboarding",
      "active": true,
      "chainIds": [
        8453
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": null,
      "perUserUsd": "5.00",
      "perOpUsd": null,
      "createdAt": "2026-06-19T23:22:29.209Z",
      "updatedAt": "2026-06-19T23:22:29.209Z"
    },
    {
      "id": "sp_amused_arclight",
      "name": "beta-promo",
      "active": true,
      "chainIds": [
        84532
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": null,
      "perUserUsd": null,
      "perOpUsd": "0.50",
      "createdAt": "2026-10-07T23:22:29.209Z",
      "updatedAt": "2026-10-07T23:22:29.209Z"
    },
    {
      "id": "sp_ancient_aqueduct",
      "name": "beta-campaign",
      "active": true,
      "chainIds": [
        84532,
        11155111
      ],
      "startTime": "2026-11-10T02:22:29.209Z",
      "endTime": "2026-11-30T23:22:29.209Z",
      "budgetUsd": "1250.00",
      "perUserUsd": "10.00",
      "perOpUsd": null,
      "createdAt": "2026-11-08T23:22:29.209Z",
      "updatedAt": "2026-11-08T23:22:29.209Z"
    },
    {
      "id": "sp_bitter_anthem",
      "name": "Old testnet faucet",
      "active": false,
      "chainIds": [
        11155111
      ],
      "startTime": "2026-07-19T23:22:29.209Z",
      "endTime": "2026-09-17T23:22:29.209Z",
      "budgetUsd": "100.00",
      "perUserUsd": null,
      "perOpUsd": null,
      "createdAt": "2026-07-09T23:22:29.209Z",
      "updatedAt": "2026-09-17T23:22:29.209Z"
    }
  ],
  "warnings": []
[… 3 more characters]
0203
7
$ pimlico policies create --name launch-week --chains 8453,10 --budget-usd 500 --per-user-usd 5 --json
{
  "id": "sp_futuristic_epoch",
  "name": "launch-week",
  "active": true,
  "chainIds": [
    8453,
    10
  ],
  "startTime": null,
  "endTime": null,
  "budgetUsd": "500.00",
  "perUserUsd": "5.00",
  "perOpUsd": null,
  "createdAt": "2026-11-16T23:22:39.536Z",
  "updatedAt": "2026-11-16T23:22:39.536Z",
  "warnings": []
}
0240
8
$ pimlico policies get sp_futuristic_epoch --json
{
  "id": "sp_futuristic_epoch",
  "name": "launch-week",
  "active": true,
  "chainIds": [
    8453,
    10
  ],
  "startTime": null,
  "endTime": null,
  "budgetUsd": "500.00",
  "perUserUsd": "5.00",
  "perOpUsd": null,
  "createdAt": "2026-11-16T23:22:39.536Z",
  "updatedAt": "2026-11-16T23:22:39.536Z",
  "description": null,
  "public": false,
  "restrictUsageToOwner": true,
  "resetCronExpression": null,
  "globalMaximumOpCount": null,
  "perUserMaximumOpCount": null,
  "globalMaximumNative": null,
  "perUserMaximumNative": null,
  "perOpMaximumNative": null,
  "addressAllowlist": null,
  "addressBlocklist": null,
  "webhook": {
    "enabled": false,
    "endpoint": null,
    "secret": "7942efe23b5b58ca2576d398ea874db8f9a29ae20d1257c9c2734f770f1a2ac2"
  },
  "onchainCall": {
    "enabled": false,
    "address": null,
    "functionName": null
  },
  "effectiveCaps": {
    "budgetUsd": "500.00",
    "perUserUsd": "5.00",
    "perOpUsd": null,
    "globalMaximumOpCount": null,
    "perUserMaximumOpCount": null,
    "accountOverdraftLimitUsd": "250.00"
  },
  "warnings": []
}
0190
9
$ pimlico balance --json
{
  "balanceUsd": "1284.37",
  "creditsUsd": "1284.37",
  "openInvoicesUsd": "0.00",
  "openInvoices": [],
  "pendingUsd": "242.22",
  "overdraftLimitUsd": "250.00",
  "remainingUsd": "1292.15",
  "dailySpendUsd": "15.16",
  "runwayDays": 85,
  "currency": "USD",
  "asOf": "2026-11-16T23:22:49.539Z",
  "threshold": null,
  "belowThreshold": false,
  "warnings": []
}
0223

Final state

outcome
pass
final answer
I created the `launch-week` policy (`sp_futuristic_epoch`) and it's active now. I read it back afterwards and the settings match what you asked for:

| Setting | Value |
|---|---|
| Chains | Base (8453), Optimism (10), main networks only |
| Total budget | $500.00 |
| Per-user cap | $5.00 per sender address |
| Per-operation cap | none |
| Start / end dates | none, so it runs until you turn it off |

- **No end date:** the name says "launch week", but nothing stops it after a week. It stops when the $500 runs out or when you disable it. I can set dates with `pimlico policies update sp_futuristic_epoch --start … --end …`.
- **No per-operation cap:** one user could spend their whole $5 on a single operation. Your "Production main" policy caps each operation at $2. I can add a cap with `--per-op-usd` if you want one.
- **Account balance:** you have about $1,292 available, so the full $500 is covered.

No other policy was named `launch-week`, so nothing was overwritten. Your existing "Production main" policy also covers Base and Optimism. I haven't checked how Pimlico chooses between two matching policies, so check which policy ID your app sends to the paymaster if you need launch traffic charged to this budget.
teardown
—
mock gaps
—
contamination
—
dns lookups
0 (0 denied)
web tools
WebFetch (sandbox) · WebSearch (provider)

context inputs

none

prompt

You have the `pimlico` CLI available.

Set up a Pimlico sponsorship policy called launch-week that only sponsors on Base and Optimism, with a $500 total budget and at most $5 per user.

Artifacts

run.json · agent-stdout.jsonl · service-mock.log · session.jsonl