Skip to content

feat(harness): session data model on sqlite#8

Merged
sanchitrk merged 10 commits into
feat/harnessfrom
feat/harness-session-model
Jul 25, 2026
Merged

feat(harness): session data model on sqlite#8
sanchitrk merged 10 commits into
feat/harnessfrom
feat/harness-session-model

Conversation

@sanchitrk

Copy link
Copy Markdown
Contributor

Add session data model with tree like structure and query model.

sanchitrk and others added 10 commits July 8, 2026 19:45
Add session data model with tree like structure and query model.
…ntity (#12)

* feat(aikit)!: preserve complete tool calls across execution events

* feat(harness): session input db table for durable input prompt queue.

* wip: tweaks to the data model

* feat(harness): pluggable sandbox IO boundary for filesystem and shell

Establish SandboxFileSystem.Service and Shell as the single runtime IO
contract, so local, in-memory, SQLite-backed, Vercel, and Daytona
sandboxes are interchangeable behind the same service tags.

* feat(harness): durable sandbox instance identity and schema

Add the Sandbox instance model and its table, and repoint Project and
Session at it. Schema and identity only — no controller, no drivers, no
lifecycle.

* fix(harness): scope sandbox insert conflicts and add collectable predicate
It has no consumer and cannot have one yet: there is no garbage collector,
and Session has no delete/archive, so every sandbox that has hosted a
session is permanently rooted and the query returns nothing useful.
Keeping it now is speculative — it belongs with the collector that will
define its exact contract, alongside session lifecycle.
… seed

Migrations are DDL only; SandboxStore.ensure upserts the local row from its
canonical definition, and withFixtures composes it where Project and Session
build their database. A seeded row could never heal — the migrator skips by
high-water mark — and a reconstructible namespace's row is a cache anyway.
@sanchitrk
sanchitrk merged commit 3ece513 into feat/harness Jul 25, 2026
@sanchitrk
sanchitrk deleted the feat/harness-session-model branch July 25, 2026 08:49
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