Skip to content

Replace agent session storage with SQLite - #538

Merged
tallcode merged 5 commits into
mainfrom
codex/sqlite-storage
Sep 10, 2026
Merged

tallcode merged 5 commits into
mainfrom
codex/sqlite-storage

Conversation

@tallcode

Copy link
Copy Markdown
Collaborator

Summary

  • replace Agent JSONL runtime persistence with one Agent-owned SQLite database while preserving read-only legacy import
  • normalize session, message block, run, event, tool, and usage RPC contracts across Desktop, Mobile, TUI, and CLI
  • add paged history loading, stable viewport reconciliation, and explicit incomplete-response handling
  • document the final schema, product behavior, migration, backup, and failure boundaries

Validation

  • cargo fmt --all --check
  • cargo fmt --check --manifest-path desktop/src-tauri/Cargo.toml
  • cargo clippy for future-agent, future-rpc, future-cli, and future-tui with all targets and warnings denied
  • cargo clippy for desktop/src-tauri with all targets and warnings denied
  • Desktop lint and typecheck
  • Mobile lint, typecheck, and Prettier check
  • git diff checks

Test suites are delegated to GitHub Actions per repository workflow. Synthetic storage and startup tests were run during development; no personal conversations are included in fixtures.

@tallcode
tallcode enabled auto-merge (squash) September 10, 2026 03:34
@tallcode
tallcode merged commit d8ba984 into main Sep 10, 2026
12 checks passed
@tallcode
tallcode deleted the codex/sqlite-storage branch September 10, 2026 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant