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 / extend-campaign/opencode-google-gemini-4-argon/name-only/3 · ← prev next →

extend-campaign/opencode-google-gemini-4-argon/name-only/3 · pass

Outcome
pass
2/2 Checks passed
Turns
6
model turns
CLI calls
5
0 exited non-zero
Help lookups
2
reads of the CLI's help
Tokens in
14963
2282 of them cached
Tokens out
281
written by the model
Cost
$0.03
of the model calls
Wall time
75.5s
from start to the Checks
scenario
extend-campaign
agent
opencode:google/gemini-4-argon · 2.2.7
context
name-only
repeat
3 · cell ✓✓✓✓✓
findings
—
provider
Google AI Studio

checks

#checkresultdetailsignal
1
curl -fsS "$PIMLICO_DASHBOARD_URL/__mock/state" | jq -e '.sponsorshipPolicies[] | select(.policyName == "beta-campaign") | .globalMaximumUsd == "2500000000"'
passexited 0
true
2
set -euo pipefail
# The end is on the last day of next month, or at the very start of the
# month after it (an exclusive end), in any timezone.
end=$(curl -fsS "$PIMLICO_DASHBOARD_URL/__mock/state" | jq -r '.sponsorshipPolicies[] | select(.policyName == "beta-campaign") | .endTime')
next=$(date -u -d "$(date -u +%Y-%m-01) +1 month" +%Y-%m-%d)
after=$(date -u -d "$next +1 month" +%Y-%m-%d)
last=$(date -u -d "$after -1 day" +%Y-%m-%d)
end=$(date -u -d "$end" +%s)
test "$end" -ge $(( $(date -u -d "$last" +%s) - 14 * 3600 ))
test "$end" -le $(( $(date -u -d "$after" +%s) + 14 * 3600 ))
passexited 0

reproduce

unsnag run --scenario extend-campaign --agent opencode:google/gemini-4-argon --context name-only --runs 1

Transcript highlighted = a Signal fired

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

Extend our beta-campaign sponsorship policy on Pimlico so it runs until the end of next month, and double its total budget.
1agent
$ 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]
2agent
$ 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:23:53.375Z",
      "updatedAt": "2026-11-04T23:23:53.375Z"
    },
    {
      "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:23:53.375Z",
      "updatedAt": "2026-06-19T23:23:53.375Z"
    },
    {
      "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:23:53.375Z",
      "updatedAt": "2026-10-07T23:23:53.375Z"
    },
    {
      "id": "sp_ancient_aqueduct",
      "name": "beta-campaign",
      "active": true,
      "chainIds": [
        84532,
        11155111
      ],
      "startTime": "2026-11-10T02:23:53.375Z",
      "endTime": "2026-11-30T23:23:53.375Z",
      "budgetUsd": "1250.00",
      "perUserUsd": "10.00",
      "perOpUsd": null,
      "createdAt": "2026-11-08T23:23:53.375Z",
      "updatedAt": "2026-11-08T23:23:53.375Z"
    },
    {
      "id": "sp_bitter_anthem",
      "name": "Old testnet faucet",
      "active": false,
      "chainIds": [
        11155111
      ],
      "startTime": "2026-07-19T23:23:53.375Z",
      "endTime": "2026-09-17T23:23:53.375Z",
      "budgetUsd": "100.00",
      "perUserUsd": null,
      "perOpUsd": null,
      "createdAt": "2026-07-09T23:23:53.375Z",
      "updatedAt": "2026-09-17T23:23:53.375Z"
    }
  ],
  "warnings": []
[… 3 more characters]
3agent
$ pimlico policies update --help
Usage: pimlico policies update [options] <id>

Change a policy's name, chains, caps or window

Arguments:
  id                    Policy id (sp_…)

Options:
  --name <name>         New policy name
  --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)
  -h, --help            display help for command
4agent
$ pimlico policies get sp_ancient_aqueduct --json
{
  "id": "sp_ancient_aqueduct",
  "name": "beta-campaign",
  "active": true,
  "chainIds": [
    84532,
    11155111
  ],
  "startTime": "2026-11-10T02:23:53.375Z",
  "endTime": "2026-11-30T23:23:53.375Z",
  "budgetUsd": "1250.00",
  "perUserUsd": "10.00",
  "perOpUsd": null,
  "createdAt": "2026-11-08T23:23:53.375Z",
  "updatedAt": "2026-11-08T23:23:53.375Z",
  "description": "Q4 testnet campaign",
  "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": "c570dfc6b4d8604bad15ec0a55e9f58290b14a6a412505a7943ed6bba153d8a4"
  },
  "onchainCall": {
    "enabled": false,
    "address": null,
    "functionName": null
  },
  "effectiveCaps": {
    "budgetUsd": "1250.00",
    "perUserUsd": "10.00",
    "perOpUsd": null,
    "globalMaximumOpCount": null,
    "perUserMaximumOpCount": null,
    "accountOverdraftLimitUsd": "250.00"
  },
  "warnings": []
}
5agent
$ pimlico policies update sp_ancient_aqueduct --budget-usd 2500 --end 2026-12-31T23:59:59Z --json
{
  "id": "sp_ancient_aqueduct",
  "name": "beta-campaign",
  "active": true,
  "chainIds": [
    84532,
    11155111
  ],
  "startTime": "2026-11-10T02:23:53.375Z",
  "endTime": "2026-12-31T23:59:59.000Z",
  "budgetUsd": "2500.00",
  "perUserUsd": "10.00",
  "perOpUsd": null,
  "createdAt": "2026-11-08T23:23:53.375Z",
  "updatedAt": "2026-11-16T23:25:03.889Z",
  "warnings": []
}
6agent
The `beta-campaign` sponsorship policy (`sp_ancient_aqueduct`) has been updated:

- **End Date:** `2026-12-31T23:59:59.000Z` (was `2026-11-30T23:23:53.375Z`)
- **Total Budget:** `$2,500.00` (doubled from `$1,250.00`)

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]
0235
1
$ 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:23:53.375Z",
      "updatedAt": "2026-11-04T23:23:53.375Z"
    },
    {
      "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:23:53.375Z",
      "updatedAt": "2026-06-19T23:23:53.375Z"
    },
    {
      "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:23:53.375Z",
      "updatedAt": "2026-10-07T23:23:53.375Z"
    },
    {
      "id": "sp_ancient_aqueduct",
      "name": "beta-campaign",
      "active": true,
      "chainIds": [
        84532,
        11155111
      ],
      "startTime": "2026-11-10T02:23:53.375Z",
      "endTime": "2026-11-30T23:23:53.375Z",
      "budgetUsd": "1250.00",
      "perUserUsd": "10.00",
      "perOpUsd": null,
      "createdAt": "2026-11-08T23:23:53.375Z",
      "updatedAt": "2026-11-08T23:23:53.375Z"
    },
    {
      "id": "sp_bitter_anthem",
      "name": "Old testnet faucet",
      "active": false,
      "chainIds": [
        11155111
      ],
      "startTime": "2026-07-19T23:23:53.375Z",
      "endTime": "2026-09-17T23:23:53.375Z",
      "budgetUsd": "100.00",
      "perUserUsd": null,
      "perOpUsd": null,
      "createdAt": "2026-07-09T23:23:53.375Z",
      "updatedAt": "2026-09-17T23:23:53.375Z"
    }
  ],
  "warnings": []
[… 3 more characters]
0169
2
$ pimlico policies update --help
Usage: pimlico policies update [options] <id>

Change a policy's name, chains, caps or window

Arguments:
  id                    Policy id (sp_…)

Options:
  --name <name>         New policy name
  --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)
  -h, --help            display help for command
0131
3
$ pimlico policies get sp_ancient_aqueduct --json
{
  "id": "sp_ancient_aqueduct",
  "name": "beta-campaign",
  "active": true,
  "chainIds": [
    84532,
    11155111
  ],
  "startTime": "2026-11-10T02:23:53.375Z",
  "endTime": "2026-11-30T23:23:53.375Z",
  "budgetUsd": "1250.00",
  "perUserUsd": "10.00",
  "perOpUsd": null,
  "createdAt": "2026-11-08T23:23:53.375Z",
  "updatedAt": "2026-11-08T23:23:53.375Z",
  "description": "Q4 testnet campaign",
  "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": "c570dfc6b4d8604bad15ec0a55e9f58290b14a6a412505a7943ed6bba153d8a4"
  },
  "onchainCall": {
    "enabled": false,
    "address": null,
    "functionName": null
  },
  "effectiveCaps": {
    "budgetUsd": "1250.00",
    "perUserUsd": "10.00",
    "perOpUsd": null,
    "globalMaximumOpCount": null,
    "perUserMaximumOpCount": null,
    "accountOverdraftLimitUsd": "250.00"
  },
  "warnings": []
}
0149
4
$ pimlico policies update sp_ancient_aqueduct --budget-usd 2500 --end 2026-12-31T23:59:59Z --json
{
  "id": "sp_ancient_aqueduct",
  "name": "beta-campaign",
  "active": true,
  "chainIds": [
    84532,
    11155111
  ],
  "startTime": "2026-11-10T02:23:53.375Z",
  "endTime": "2026-12-31T23:59:59.000Z",
  "budgetUsd": "2500.00",
  "perUserUsd": "10.00",
  "perOpUsd": null,
  "createdAt": "2026-11-08T23:23:53.375Z",
  "updatedAt": "2026-11-16T23:25:03.889Z",
  "warnings": []
}
0251

Final state

outcome
pass
final answer
The `beta-campaign` sponsorship policy (`sp_ancient_aqueduct`) has been updated:

- **End Date:** `2026-12-31T23:59:59.000Z` (was `2026-11-30T23:23:53.375Z`)
- **Total Budget:** `$2,500.00` (doubled from `$1,250.00`)
teardown
—
mock gaps
—
contamination
—
dns lookups
0 (0 denied)
web tools
webfetch (sandbox)

context inputs

none

prompt

You have the `pimlico` CLI available.

Extend our beta-campaign sponsorship policy on Pimlico so it runs until the end of next month, and double its total budget.

Artifacts

run.json · agent-stdout.jsonl · opencode.db · service-mock.log