Skip to content

Delete the guest Runtime daemon - #562

Merged
SaladDay merged 3 commits into
aos/cutoverfrom
aos/finish-guest-runtime-removal
Oct 8, 2026
Merged

SaladDay merged 3 commits into
aos/cutoverfrom
aos/finish-guest-runtime-removal

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

Every Session now runs its native Harness on an agent host, but the daemon still carried the guest executor, local workspace, bootstrap and CLI paths. Remove those paths and keep the agent-host command and the self-hosted launcher that supervises Sandbox I/O. Shared rules move to their existing protocol or capability owner; the agent host's registered Harness declarations remain unchanged.

Remove native acceptance fixtures that launch the deleted connect command and update the owning protocol and qualification documentation in English and Chinese. Their public API acceptance scenarios remain required for final cutover qualification; view tests alone do not qualify them.

Validation includes Linux build/vet, daemon/internal Darwin and Windows cross-builds, affected Go suites and race tests, adapter Node tests, runtime contract checks and repository hygiene. Independent review found no remaining in-scope defects. Historical real Claude and MiniMax qualification and identical declaration dumps were verified against unchanged adapter/agent-host code; this cleanup does not claim a new full-system live qualification.


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

Relocate the rules the agent host and launcher share with the guest:
the workspace path rule to proto, a Skill's root to agentcapabilities,
the export bounds and setup grace to agenthost, and the private-file
reader beside executorCredential.
The agent host is the only Runtime: every Harness runs in a view of the
Session's sandbox, and the sandbox serves only Sandbox I/O.

- cli: delete connect, resume, runtime-mcp-exec, status, logout and the
  guest suspend control, with the auth, placement and localworkspace
  packages. Keep install, start, agent-host, stop, logs and version.
- agent: Runtime is {Info, View}; Register composes the declaration and
  registers the kind and its view; discovery takes only the diagnostic
  writers.
- adapters: delete the local Executor factories, workspace and tool
  environment paths and the HTTP MCP bearer rendering the gateway rule
  already forbids in a view.
- dispatch: delete Router.Quiesce and Resume; suspension arrives only as
  environment_quiesce and environment_resume frames.
- claude-sdk-adapter and mcode-harness: delete tool_env, runtime MCP
  exec and the guest launcher branches.
- Docs and CI: describe the agent-host model in the Harness, Runtime
  protocol and Environment contracts, and narrow the native CI steps to
  the code that remains.
@SaladDay
SaladDay merged commit 2276ed2 into aos/cutover Oct 8, 2026
24 checks passed
@SaladDay
SaladDay deleted the aos/finish-guest-runtime-removal branch October 8, 2026 12:18
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