Repository navigation
Delete obligatory Runtime capabilities and Core's capability twin - #515
Merged
Merged
Conversation
Streaming, usage, resume, steering, durable Turns and input receipts, execution controls, tool observations and preparation were either required for every execution or never read. Remove them from AgentKindCapabilities, from every producer and from Core's admission checks; the shared Turn lifecycle stays enforced by agent/contracttest, and a platform that cannot run a Harness reports it unavailable (Codex without text verbosity). Core now reads proto.SupportedAgentKind and IsSupported() directly, so runtimedevice.KindCapabilities, runtimedevice.SupportedAgentKind, the heartbeat field-by-field mapping and the unread Heartbeat fields go away.
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.
proto.AgentKindCapabilitiesloses the nine fields that were either required for every execution or never read:streaming,usage,resume,steering,durable_turns,durable_input_receipts,execution_controls,tool_observationsandpreparation.agent/contracttest. A platform where a Harness cannot meet it reports the Harness unavailable: Codex without text verbosity (non-Unix) now returnsavailable: falseinstead of an available kind that Core rejected on every execution. The self-hosted platform table now says so (en + zh).proto.SupportedAgentKindandIsSupported()directly.runtimedevice.KindCapabilities,runtimedevice.SupportedAgentKind, the heartbeat's field-by-field mapping and the unreadHeartbeatfields are deleted, and admission drops the obligatory checks.runtime-protocol.mdandharness-onboarding.md(en + zh) describe the obligation.The wire version is unchanged here; the final cutover merge bumps it once. Architecture audit 20-P3 and 20-P4 (lane R1). Net −370 lines.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.