refactor: define SDK conversation host boundary#255
Merged
roackb2 merged 1 commit intoJul 19, 2026
Merged
Conversation
roackb2
force-pushed
the
codex/sdk-onboarding-test-adapters
branch
from
July 19, 2026 02:45
4f9e529 to
8f7fc3c
Compare
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.
Stack
codex/headless-conversation-agent)8f7fc3c5 refactor: organize SDK conversation hostsmainSummary
runQuickstartConversationClias the tiny console evaluation and integration hostsrc/core/chat/engineintosrc/sdk/conversation/{headless,console}src/sdk/conversation/runtimeas their single owner for starter defaults and credential preflightTesting surface decision
This final diff does not introduce
@roackb2/heddle/testing,src/testing, or public in-memory persistence adapters.Persistence-only test adapters did not provide a complete deterministic agent-testing story, while the default file backend already supports zero-database startup. A coherent test harness can be reconsidered after concrete adopter demand; this PR does not create a permanent public API for a theoretical convenience.
Ownership boundary
src/core/chat/engine: persisted conversation semantics and reusable domain servicessrc/sdk/conversation/runtime: shared SDK-host defaults and credential preflightsrc/sdk/conversation/headless: structured in-process application servicesrc/sdk/conversation/console: temporary readline and text SDK hostsrc/cli-v2,src/server,src/web-v2: Heddle product interfaces and workflowsVerification
yarn test: 121 unit files / 717 tests; 34 integration files / 310 testsyarn typecheckyarn lintyarn build