Repository navigation
Conversation
Fodesu
force-pushed
the
feat/agent-runtime-storage
branch
from
October 3, 2026 14:43
d8dc29d to
555de6c
Compare
Fodesu
force-pushed
the
feat/agent-runtime-core-22-owner
branch
2 times, most recently
from
October 3, 2026 14:55
068148c to
f05828e
Compare
Fodesu
force-pushed
the
feat/agent-runtime-storage
branch
from
October 3, 2026 14:55
555de6c to
2e9c81e
Compare
Fodesu
force-pushed
the
feat/agent-runtime-storage
branch
from
October 3, 2026 15:35
2e9c81e to
a547492
Compare
Fodesu
force-pushed
the
feat/agent-runtime-core-22-owner
branch
from
October 3, 2026 15:35
f05828e to
d9b6b68
Compare
Fodesu
marked this pull request as ready for review
October 3, 2026 16:23
Member
Author
|
Removed from the Agent Core stack: this adapter/storage layer belongs in a separate downstream agent stack. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the application-facing storage and resource adapters: configuration, prompt and input handling, compaction support, secrets, environment/workspace access, SDK conversion, and PostgreSQL/SQLite persistence for sessions, projections, executions, checkpoints, inboxes, artifacts, content, and workspaces.
Design
The storage layer preserves the event/projection split established by
agentcore. PostgreSQL uses generated query bindings and explicit tables for ledger commits, session metadata, projections, frozen content, execution records, inbox commands, workspace state, and artifacts. SQLite supplies the local equivalent with transactionally updated bindings, checkpoints, executions, inbox, ledger, redispatch, and workspace tables. Both adapters expose the higher-level ports rather than leaking SQL rows into application code.Session persistence handles inherited history and projection snapshots; content and artifact adapters keep large or immutable values addressable by digest. Execution persistence is keyed by the effect identity so retries and worker restarts remain idempotent. Inbox and redispatch records retain their own sequence/epoch invariants instead of being folded into Run state. Workspace adapters cover local directories and HTTP-backed resources, with conformance helpers shared by implementations.
The agent-side packages add canonical configuration and prompt representations, context compaction, environment resolution, secrets access, and SDK-to-model conversion. Conversion clones mutable SDK structures and normalizes tool definitions so provider-specific types do not cross the runtime boundary. Provider changes update the affected speech and completion integrations to match those adapter contracts.
Testing
Coverage includes config, compaction, local environment, prompt, secrets, SDK mirror/conversion, workspace, SQLite, PostgreSQL reopen/retention, and adapter benchmark/support tests. The branch also adds the SQL schema, migrations, queries, generated bindings, and module dependencies required by those adapters.