Root Cause
user_prompts.prompt_text stores entire UserPromptSubmit payloads verbatim (~990KB average, duplicated in sdk_sessions.user_prompt), with no retention policy, size cap, or VACUUM, causing databases to grow to 100+ GB. Separately, the SQLite connection runs with busy_timeout=0, so any write under lock contention immediately fails and the observation is silently dropped. These are distinct but both SQLite data-integrity bugs.
Tracked Items
Issues
PRs
Resolution
This is the canonical tracking issue for this root cause. Individual issues and PRs listed above will be closed in favor of this one.
Root Cause
user_prompts.prompt_textstores entireUserPromptSubmitpayloads verbatim (~990KB average, duplicated insdk_sessions.user_prompt), with no retention policy, size cap, or VACUUM, causing databases to grow to 100+ GB. Separately, the SQLite connection runs withbusy_timeout=0, so any write under lock contention immediately fails and the observation is silently dropped. These are distinct but both SQLite data-integrity bugs.Tracked Items
Issues
PRs
Resolution
This is the canonical tracking issue for this root cause. Individual issues and PRs listed above will be closed in favor of this one.