Skip to content

docs: consolidate Runtime, sandbox and machine protocols - #283

Merged
SaladDay merged 10 commits into
mainfrom
docs/overhaul-runtime
Sep 30, 2026
Merged

SaladDay merged 10 commits into
mainfrom
docs/overhaul-runtime

Conversation

@SaladDay

@SaladDay SaladDay commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Give the Core–Runtime wire, sandbox node protocol, machine HTTP API, managed Provider lifecycle and telemetry clear owning documents. Reduce the service README to contributor setup and keep only internal mechanisms in IMPLEMENTATION.md; merge adapter and telemetry details from superseded documents.

Independent review completed. Corrected operation-specific node success responses and compute generation arguments, Session status precedence, provider extension guidance and Agent update timestamps. Integration preserves current API mechanisms and the shared diagnostic fixture contract.

Validation passed: name guard, distribution checks, repository Markdown links, and focused Core/machine route plus Diagnostic tests. After integration with API, scripts and node diagnostic changes, the name guard, 19 distribution-manifest tests and focused API tests passed again. Code and wire definitions are unchanged.


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

@SaladDay
SaladDay merged commit 06af697 into main Sep 30, 2026
9 checks passed
… contract

Runtime observations, Session history and node host history share one
Core-key API document; collection, storage, OTLP export and provider
mapping share one internal contract. The design document, the separate
history and node host history documents are removed. Session diagnostics
keep their own contract without restated rules.
Each Harness page holds its native pin, adapter rules, failure
classification and Runtime image contents. The E2B deploy page covers the
template build and the application-managed launch; the E2B and
microsandbox helper READMEs are reference Provider adapter docs. The
microsandbox deploy page is merged into its helper README. Operator
copies, stale model-provider routes, acceptance history and restated
contracts are removed.
The protocol document gains the capability declarations with Core's
admission rule for each, the opt-ins Core sets, the active-input receipt
timers and native failure classification (from the deleted classification
contract). The Executor and Turn adapter lifecycle moves to Harness
onboarding; preparation, image and MCP restatements become links. Runtime
bootstrap names its Go projection and links every credential source.
machine-api.md is the single /api/v1 document: routes, credential kinds
including the operator device profile, node and daemon payloads and
errors. The node protocol document covers the whole Core-to-node
connection. The deployment contract lists every sandbox route and drops
placement, history and qualification prose; node diagnostics follow the
generation-managed rollout. The Sandbox Provider guide documents
RunCommandCompute, marks the shared-code registration steps as known gaps
and gains the managed lifecycle Core runs around every provider.
The service README becomes a contributor guide: commands, database, run
from source, tests and generated contracts. Operator, API and enrollment
material leaves for its owners. IMPLEMENTATION.md keeps only code-level
constraints; restated contracts, history and the sandbox chapter go to
their owners, Vault rules link to the credential guide, and Codex adapter
constraints move to the Codex Runtime page.
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