Repository navigation
Delete stored compatibility encodings - #508
Merged
Merged
Conversation
Session message inputs are stored only as the public
agent.session.input.message event, so the {"text"} branches in Item
projection and Runtime dispatch go, and the recovery fixture and tests
submit the public shape.
Items are stored with their wire encoding: MarshalStored folds into
MarshalJSON, and replayed child Items compare against the same bytes.
Sessions always freeze a model provider at creation, so the execution
guards for Sessions stored without one, ErrModelProviderRequired and its
handlers are deleted.
This was referenced Oct 7, 2026
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
Three pre-release compatibility paths are deleted. None of them has a producer any more. This is part of the AGENTS.md alignment (T3c in the architecture audit).
{"text": …}stored input.agent.session.input.messageevent (api/inputs.go).items/inputs.goandexecution/message_input.godrop theirTextbranches.Item.MarshalStored.MarshalJSON), so there is one Item encoding.payload = candidate::jsonb).ErrModelProviderRequired, its worker outcome and failure branches, and its 400 mapping.sessions-events.mdsentence is removed (en and zh).Behaviour
{"text"}input no longer projects or dispatches. Nothing writes it.model_provider_requiredfailure code stays readable for existing rows. Only its producers are gone.Checks
go build ./..., module vet and gofmt.-runlimited to the diagnostics, session and error-mapping tests;tests/integration738 passed, plus the fixed tests and the official-client tests rerun with the pinned SDK.official_client.py,check-names.py, and the website translation and build tests.Net: non-test −57 lines, test −97 lines.
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.