Skip to content

Delete obligatory Runtime capabilities and Core's capability twin - #515

Merged
SaladDay merged 1 commit into
aos/cutoverfrom
aos/r1-capabilities
Oct 7, 2026
Merged

SaladDay merged 1 commit into
aos/cutoverfrom
aos/r1-capabilities

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

proto.AgentKindCapabilities loses 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_observations and preparation.

  • The shared Turn lifecycle stays an undeclared obligation, enforced by agent/contracttest. A platform where a Harness cannot meet it reports the Harness unavailable: Codex without text verbosity (non-Unix) now returns available: false instead of an available kind that Core rejected on every execution. The self-hosted platform table now says so (en + zh).
  • Every producer is gone: the static declarations, mcode discovery, and the registry's Preparation derivation.
  • Core reads proto.SupportedAgentKind and IsSupported() directly. runtimedevice.KindCapabilities, runtimedevice.SupportedAgentKind, the heartbeat's field-by-field mapping and the unread Heartbeat fields are deleted, and admission drops the obligatory checks.
  • runtime-protocol.md and harness-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.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

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.
@SaladDay
SaladDay merged commit 7962c7e into aos/cutover Oct 7, 2026
@SaladDay
SaladDay deleted the aos/r1-capabilities branch October 7, 2026 17:53
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