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/skill/2 · ← prev next →

extend-campaign/opencode-google-gemini-4-argon/skill/2 · pass

Outcome
pass
2/2 Checks passed
Turns
6
model turns
CLI calls
5
1 exited non-zero
Help lookups
1
reads of the CLI's help
Tokens in
14379
1800 of them cached
Tokens out
943
written by the model
Cost
$0.03
of the model calls
Wall time
78.4s
from start to the Checks
scenario
extend-campaign
agent
opencode:google/gemini-4-argon · 2.2.7
context
skill
repeat
2 · 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 skill --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
[skill] {"id":"pimlico"}
<skill_content name="pimlico">
# Skill: pimlico

# The `pimlico` CLI

`pimlico` reads and changes the Pimlico account the user is logged in to. Every
command takes `--json`, which prints one JSON object (errors too, as
`{"error": {...}}` on stdout). Prefer `--json` when you parse output.

Exit codes: `0` ok, `1` error, `2` a threshold was breached (`balance --below`),
`3` not logged in, `75` the API is unavailable or rate-limited. On exit 3, run
`pimlico login --no-wait --json`, show the user the `url` and `code`, then call
`pimlico login --wait --json` in the same turn until `status` is not `pending`.

## Commands

| Task | Command |
| --- | --- |
| Who am I logged in as | `pimlico whoami` |
| Credits, open invoices, runway | `pimlico balance` (`--below <usd>` exits 2 under it) |
| Invoices | `pimlico invoices` (`--open` for unpaid only) |
| Traffic and spend | `pimlico usage --last 24h\|7d\|30d --group chain\|key\|day [--key <name>]` |
| One user operation | `pimlico op <userOpHash> [--chain <id>]` |
| User operation logs | `pimlico ops [--key <name>] [--chain <id>] [--status <status>] [--last 24h\|7d\|30d]` |
| RPC request logs | `pimlico requests [--key <name>] [--method <rpc method>] [--status success\|error] [--bodies]` |
| Supported chains | `pimlico chains [--mainnet\|--testnet]` (no login needed) |
| ERC-20 paymaster tokens | `pimlico erc20 tokens [--chain <id>]` |
| API keys | `pimlico keys list [--all]`, `keys get <name>`, `keys create --name <n>`, `keys rename <name> --to <n>`, `keys disable <name>` |
| Sponsorship policies | `pimlico policies list`, `policies get <sp_id>`, `policies create --name <n> …`, `policies update <sp_id> …`, `policies enable\|disable <sp_id>` |

Run `pimlico <command> --help` for every flag.

## Things to know

- **Policies are addressed by id**, not name: find the `sp_…` id with
  `pimlico policies list` first. Policy amounts are in USD
  (`--budget-usd`, `--per-user-usd`, `--per-op-usd`); `--chains` takes
  comma-separated cha
[… 1296 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:18:10.089Z",
      "updatedAt": "2026-11-04T23:18:10.089Z"
    },
    {
      "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:18:10.089Z",
      "updatedAt": "2026-06-19T23:18:10.089Z"
    },
    {
      "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:18:10.089Z",
      "updatedAt": "2026-10-07T23:18:10.089Z"
    },
    {
      "id": "sp_ancient_aqueduct",
      "name": "beta-campaign",
      "active": true,
      "chainIds": [
        84532,
        11155111
      ],
      "startTime": "2026-11-10T02:18:10.089Z",
      "endTime": "2026-11-30T23:18:10.089Z",
      "budgetUsd": "1250.00",
      "perUserUsd": "10.00",
      "perOpUsd": null,
      "createdAt": "2026-11-08T23:18:10.089Z",
      "updatedAt": "2026-11-08T23:18:10.089Z"
    },
    {
      "id": "sp_bitter_anthem",
      "name": "Old testnet faucet",
      "active": false,
      "chainIds": [
        11155111
      ],
      "startTime": "2026-07-19T23:18:10.089Z",
      "endTime": "2026-09-17T23:18:10.089Z",
      "budgetUsd": "100.00",
      "perUserUsd": null,
      "perOpUsd": null,
      "createdAt": "2026-07-09T23:18:10.089Z",
      "updatedAt": "2026-09-17T23:18:10.089Z"
    }
  ],
  "warnings": []
[… 3 more characters]
$ 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
3agent
**Analyzing Campaign Deadlines**

I'm currently verifying the end date for the `beta-campaign`, specifically focusing on `sp_ancient_aqueduct`. After cross-referencing with today's date, November 16, 2026, I've confirmed that "end of next month" refers to December 2026. My next step is to examine the specific `endTime` to ensure accuracy.
$ pimlico policies show sp_ancient_aqueduct --json
{
  "error": {
    "code": "USAGE",
    "message": "error: unknown command 'show'"
  },
  "warnings": []
}

Exit code: 1
err
4agent
$ pimlico policies get sp_ancient_aqueduct --json
{
  "id": "sp_ancient_aqueduct",
  "name": "beta-campaign",
  "active": true,
  "chainIds": [
    84532,
    11155111
  ],
  "startTime": "2026-11-10T02:18:10.089Z",
  "endTime": "2026-11-30T23:18:10.089Z",
  "budgetUsd": "1250.00",
  "perUserUsd": "10.00",
  "perOpUsd": null,
  "createdAt": "2026-11-08T23:18:10.089Z",
  "updatedAt": "2026-11-08T23:18:10.089Z",
  "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
**Checking Date-Related Behavior**

I'm currently investigating how the system date interacts with `pimlico`'s date handling. I'm considering the implications of `date` and `date -u` commands. My next step is to test the `pimlico policies update` command, specifically with a budget of 2500 USD and an end date of December 31st, 2026. I'll evaluate the process to see if I need to use the timezone flag.
$ pimlico policies update sp_ancient_aqueduct --end 2026-12-31T23:59:59Z --budget-usd 2500 --json
{
  "id": "sp_ancient_aqueduct",
  "name": "beta-campaign",
  "active": true,
  "chainIds": [
    84532,
    11155111
  ],
  "startTime": "2026-11-10T02:18:10.089Z",
  "endTime": "2026-12-31T23:59:59.000Z",
  "budgetUsd": "2500.00",
  "perUserUsd": "10.00",
  "perOpUsd": null,
  "createdAt": "2026-11-08T23:18:10.089Z",
  "updatedAt": "2026-11-16T23:19:19.301Z",
  "warnings": []
}
6agent
The `beta-campaign` sponsorship policy (`sp_ancient_aqueduct`) has been updated:

- **End Time:** `2026-12-31T23:59:59.000Z` (extended from `2026-11-30T23:18:10.089Z` to the end of next month)
- **Total Budget:** `$2,500.00` (doubled from `$1,250.00`)

Target CLI calls

#callexitmssignal
0
$ 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:18:10.089Z",
      "updatedAt": "2026-11-04T23:18:10.089Z"
    },
    {
      "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:18:10.089Z",
      "updatedAt": "2026-06-19T23:18:10.089Z"
    },
    {
      "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:18:10.089Z",
      "updatedAt": "2026-10-07T23:18:10.089Z"
    },
    {
      "id": "sp_ancient_aqueduct",
      "name": "beta-campaign",
      "active": true,
      "chainIds": [
        84532,
        11155111
      ],
      "startTime": "2026-11-10T02:18:10.089Z",
      "endTime": "2026-11-30T23:18:10.089Z",
      "budgetUsd": "1250.00",
      "perUserUsd": "10.00",
      "perOpUsd": null,
      "createdAt": "2026-11-08T23:18:10.089Z",
      "updatedAt": "2026-11-08T23:18:10.089Z"
    },
    {
      "id": "sp_bitter_anthem",
      "name": "Old testnet faucet",
      "active": false,
      "chainIds": [
        11155111
      ],
      "startTime": "2026-07-19T23:18:10.089Z",
      "endTime": "2026-09-17T23:18:10.089Z",
      "budgetUsd": "100.00",
      "perUserUsd": null,
      "perOpUsd": null,
      "createdAt": "2026-07-09T23:18:10.089Z",
      "updatedAt": "2026-09-17T23:18:10.089Z"
    }
  ],
  "warnings": []
[… 3 more characters]
0245
1
$ 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
0210
2
$ pimlico policies show sp_ancient_aqueduct --json
{
  "error": {
    "code": "USAGE",
    "message": "error: unknown command 'show'"
  },
  "warnings": []
}
1180ghost_command dismissed
nonzero_then_lookup dismissed
3
$ pimlico policies get sp_ancient_aqueduct --json
{
  "id": "sp_ancient_aqueduct",
  "name": "beta-campaign",
  "active": true,
  "chainIds": [
    84532,
    11155111
  ],
  "startTime": "2026-11-10T02:18:10.089Z",
  "endTime": "2026-11-30T23:18:10.089Z",
  "budgetUsd": "1250.00",
  "perUserUsd": "10.00",
  "perOpUsd": null,
  "createdAt": "2026-11-08T23:18:10.089Z",
  "updatedAt": "2026-11-08T23:18:10.089Z",
  "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": []
}
0190
4
$ pimlico policies update sp_ancient_aqueduct --end 2026-12-31T23:59:59Z --budget-usd 2500 --json
{
  "id": "sp_ancient_aqueduct",
  "name": "beta-campaign",
  "active": true,
  "chainIds": [
    84532,
    11155111
  ],
  "startTime": "2026-11-10T02:18:10.089Z",
  "endTime": "2026-12-31T23:59:59.000Z",
  "budgetUsd": "2500.00",
  "perUserUsd": "10.00",
  "perOpUsd": null,
  "createdAt": "2026-11-08T23:18:10.089Z",
  "updatedAt": "2026-11-16T23:19:19.301Z",
  "warnings": []
}
0234

Final state

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

- **End Time:** `2026-12-31T23:59:59.000Z` (extended from `2026-11-30T23:18:10.089Z` to the end of next month)
- **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

kindsourceplaced atofferedused
skillskills/pimlico.agents/skills/pimlicotruetrue

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