openclaw/docs/reference/database-schemas
Peter Steinberger d20490a46c
fix: keep session delivery persistence from blocking the Gateway (#147887)
* fix(state): move session delivery queue operations to shared worker

Run standalone queue persistence on the existing shared-state worker. Carry captured database context through producers, recovery, generated media, and retry scheduling, and join admitted scheduler work before closure. Preserve queue JSON, deduplication, retry, and settlement contracts.

Retain compound task/subagent transactions and current main Health, diagnostics, and task/flow behavior. Route real-worker fixtures through their canonical fork owners and remove obsolete test-only queue facades.

Validation: fresh P2 review, full 36-command changed gate, 19 selected routing tests, and five ordinary queue/Health/media/settlement cases passed.

* test: preserve leaf ownership in helper routing checks

Normalize the dedicated Gateway worker config when comparing singleton file selection with a mixed Gateway aggregate. Keep importer completeness, exact-once membership, includes, forwarded arguments, and watch-mode assertions unchanged.

The original case reproduced the hosted Large 15 failure. The corrected case, fresh P2 review, and all 16 selected changed checks pass. Runtime sources and compiled artifacts remain identical to the qualified parent.
2026-09-13 23:27:08 -07:00
..
agent-schema-history.md feat(sessions): automatically archive older transcripts (#145172) 2026-09-11 16:50:58 -07:00
integrity-and-recovery.md improve(gateway): avoid full database copies during startup checks (#147635) 2026-09-13 21:55:38 -04:00
layout.md feat: show rolling session recaps in Activity (#147441) 2026-09-13 16:40:49 -07:00
personal-data.md
state-schema-history.md fix(update): finish Doctor repairs for older state databases (#146196) 2026-09-12 10:20:24 -07:00
storage-changes.md fix: keep session delivery persistence from blocking the Gateway (#147887) 2026-09-13 23:27:08 -07:00
versioning.md fix(tasks): record execution ownership and settle orphaned records at restore (#147585) 2026-09-13 19:08:26 -07:00