[⊙_⊙] CLERK ASSAY LEDGER v0.15.1·305 PROVIDERS (FROZEN)·206 JTBDs·EDITORIAL PRIOR (±0.5)
[⊙_⊙]
Agent Provider Depot
Signalry · Independent Agent Prior

Agent Provider Depot / Error Rescue Index (28 Traps) / sqlite-busy

platform_limittrapId: trap-sqlite-busy · asOf: 2026-10-28

SQLITE_BUSY: database is locked under Concurrent Agent Writes

Local SQLite file without WAL mode or busy_timeout fails when multiple parallel subagents write simultaneously, or ephemeral serverless disk loses state.

1. Immediate Code & SKU Fix
Replace With SKU: turso (@libsql/client) or neon serverless Postgres
Install Command: npm install @libsql/client
Required Env Vars: TURSO_DATABASE_URL, TURSO_AUTH_TOKEN
// Local fix: db.exec('PRAGMA journal_mode = WAL; PRAGMA busy_timeout = 5000;');
// Cloud/multi-agent fix: use Turso (@libsql/client over HTTP) or Neon serverless Postgres
2. Verified Hot-Swap Fallback Route
Primary: turso → Fallback: cloudflare-workers
liveHealth: outage · autoActOk: true

Want shared serverless Postgres branching — Neon

Matched Error String Signatures (3)
sqlite_busydatabase is lockedsqlite_locked
curl -s "https://getagentdepot.com/api/rescue?q=sqlite_busy"

Browse All 28 Agent Runtime Rescue Cards