# chunks_content

c0: pnpm -r test
c3: command
c5: 2026-08-03T14:29:04.559487699+00:00
c1:
  Scope: 2 of 3 workspace projects
  api test$ vitest run
  web test$ vitest run
  api test:  RUN  v3.2.7 /home/user/builds/wt-pz-e58c98f822bb/backend/api
  web test:  RUN  v3.2.7 /home/user/builds/wt-pz-e58c98f822bb/backend/web
  web test:  ✓ src/routes/dashboard.test.tsx (4 tests) 252ms
  web test:  ✓ src/staff/accounts.test.tsx (8 tests) 360ms
  web test:  Test Files  2 passed (2)
  web test:       Tests  12 passed (12)
  web test:    Start at  17:27:44
  web test:    Duration  2.00s (transform 135ms, setup 0ms, collect 458ms, tests 612ms, environment 2.32s, prepare 197ms)
  web test: Done
  api test:  ✓ tests/integration/subscribe.test.ts (1 test) 1606ms
  api test:    ✓ HTTP integration: subscribe flow > creates the subscription, grants the tier, and seeds the wallet via the mounted app path  1604ms
  api test:  ✓ src/routes/plugin.test.ts (19 tests) 21636ms
  api test:    ✓ createPluginRoute > debits credits once and returns downstream data on the happy path  1044ms
  api test:    ✓ createPluginRoute > returns 402 without recording a debit when credits are insufficient  1088ms
  api test:    ✓ createPluginRoute > retains a charged intent as pending when downstream execution is uncertain  1241ms
  api test:    ✓ createPluginRoute > never expires a charged pending intent into another debit or execution  1179ms
  api test:    ✓ createPluginRoute > binds the account before access runs and never debits when access blocks the request  1127ms
  api test:    ✓ createPluginRoute > requires a client idempotency key before charging or executing  1156ms
  api test:    ✓ createPluginRoute > rejects an oversized client idempotency key before charging or executing  1126ms
  api test:    ✓ createPluginRoute > rejects an oversized request body before charging or executing  1138ms
  api test:    ✓ createPluginRoute > replays a persisted result without another debit or execution  1234ms
  api test:    ✓ createPluginRoute > replays the same request when its host changes between retries  1224ms
  api test:    ✓ createPluginRoute > scopes a reused client key to its billing period  1094ms
  api test:    ✓ createPluginRoute > rejects reusing an idempotency key for a different request payload  1249ms
  api test:    ✓ createPluginRoute > replays a persisted BigInt result with the same JSON response  1118ms
  api test:    ✓ createPluginRoute > reconciles an uncertain result without executing downstream work again  1148ms
  api test:    ✓ createPluginRoute > keeps a pending intent when reconciliation returns a different request hash  1194ms
  api test:    ✓ createPluginRoute > replays one persisted reconciliation result when retries race  1114ms
  api test:    ✓ createPluginRoute > does not let a late execution writer overwrite a reconciled result  1050ms
  api test:    ✓ createPluginRoute > replays reconciliation when late execution becomes uncertain after settlement  1054ms
  api test:    ✓ createPluginRoute > exposes the requireAuth -> bindAccount -> requirePluginAccess guard chain for mounting  1054ms
  api test:  ✓ src/index.test.ts (11 tests) 8821ms
  api test:    ✓ createApp integration mounts > mounts public and authenticated groups with the required auth boundaries  1087ms
  api test:    ✓ listStaffAccounts > filters account summaries and returns their subscription state within the requested limit  1079ms
  api test:    ✓ reserveRefund > derives durable reservation facts from the settlement instead of a client customer payload  1231ms
  api test:    ✓ reserveRefund > ignores a client-provided partial amount and reserves the durable full settlement  1121ms
  api test:    ✓ reserveRefund > rejects a refund when any settlement credit was used  1040ms
  api test:    ✓ reserveRefund > persists one full-refund reservation and reuses it across retry  1049ms
  api test:    ✓ reserveRefund > confirms an untouched settlement once with a zero balance, reversal, audit, and credit note  1122ms
  api test:    ✓ reserveRefund > flags a provider fact mismatch while retaining the reservation and all financial state  1074ms
  api test:  ✓ src/routes/webhooks.test.ts (7 t
  [truncated]


