Skip to content

feat: add SQLite FTS storage backend - #4

Merged
SKTT1Ryze merged 5 commits into
mainfrom
codex/sqlite-fts-storage
Aug 27, 2026
Merged

feat: add SQLite FTS storage backend#4
SKTT1Ryze merged 5 commits into
mainfrom
codex/sqlite-fts-storage

Conversation

@SKTT1Ryze

Copy link
Copy Markdown
Collaborator

Detailed changes:

  • Add a feature-gated dyn storage compatibility layer for PostgreSQL/Elasticsearch and SQLite/FTS5.
  • Add the SQLite schema, transactional persistence and search, tests, CI, and documentation.
  • Include the complex development skill in the workspace.

Signed-off-by: chunchi.che@lexmount.com

SKTT1Ryze and others added 5 commits August 27, 2026 12:05
Detailed changes:

- Add a feature-gated dyn storage compatibility layer for PostgreSQL/Elasticsearch and SQLite/FTS5.
- Add the SQLite schema, transactional persistence and search, tests, CI, and documentation.
- Include the complex development skill in the workspace.

Signed-off-by: chunchi.che@lexmount.com

Co-Authored-By: GPT-5 <noreply@anthropic.com>
Detailed changes:

- Move Elasticsearch documents, outbox, client, and worker under the PostgreSQL storage backend.
- Keep the shared search module limited to backend-neutral contracts and projection logic.
- Preserve the dyn StorageBackend boundary so HTTP handlers do not observe search-engine differences.

Signed-off-by: chunchi.che@lexmount.com

Co-Authored-By: GPT-5 <noreply@anthropic.com>
Detailed changes:

- Replace rusqlite pooling, migrations, and relational queries with Diesel SQLite ORM.

- Keep FTS5 projection and search behind parameterized raw SQL with compile-time backend isolation.

- Add Diesel SQLite schema models and standard up/down migrations.

Signed-off-by: chunchi.che@lexmount.com

Co-Authored-By: GPT-5 <noreply@anthropic.com>
Detailed changes:

- Make StorageBackend explicitly return object-safe BoxedFuture values.

- Update PostgreSQL and SQLite implementations to box their asynchronous work.

- Remove async-trait from manifests and the lockfile.

Signed-off-by: chunchi.che@lexmount.com

Co-Authored-By: GPT-5 <noreply@anthropic.com>
Detailed changes:

- Move PostgreSQL usage persistence into the backend-specific storage module.

- Keep the shared usage module independent of concrete storage implementations.

Signed-off-by: chunchi.che@lexmount.com

Co-Authored-By: GPT-5 <noreply@anthropic.com>
@SKTT1Ryze
SKTT1Ryze merged commit 872c030 into main Aug 27, 2026
4 checks passed
@SKTT1Ryze
SKTT1Ryze deleted the codex/sqlite-fts-storage branch August 27, 2026 09:22
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