Skip to content

Sync main 1a1af99e into the cutover - #520

Merged
SaladDay merged 10 commits into
aos/cutoverfrom
aos/cutover-sync-4
Oct 7, 2026
Merged

SaladDay merged 10 commits into
aos/cutoverfrom
aos/cutover-sync-4

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

Merges the feature branch's sync of main 1a1af99 (lanes A, F, B and C) into aos/cutover, keeping R1, R3 and the Link authority.

  • Migrations renumbered above main's 000092_delete_admin_copies.sql: 000093_session_runtime_assignments.sql, 000094_sandbox_link_authority.sql.
  • The sandbox Link URL is deployment.PublicOrigin.SandboxLink() beside DaemonWebSocket(), with the same rule (wss on https, ws only on a loopback http origin, otherwise ErrNoLink); placement is byte-identical to main.
  • cmd/server takes main's PublicOrigin and ExecutionConcurrency plus the Link wiring; runtime/gateway.go takes main's dependency-only check.
  • Delete stored compatibility encodings #508's deletion of ErrModelProviderRequired carries over, including cutover's relocated SubmitInputs guard.
  • Seven zh source_hash values recomputed. proto.Version stays 0.13.0.

Checks on the merge head: go build/go vet ./..., focused tests (including cmd/server TestLayering, deployment, runtime, sessions, api, processconfig), the full Core integration package, darwin and windows daemon builds, generators with no diff, make check-names check-docs check-ci, agents-client and web tests. Also checked merged with #518: build, Codex and execution tests, and the capability integration test pass.


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

SaladDay and others added 10 commits October 7, 2026 22:59
Sync main 7bba93a into the feature branch
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.
The TypeScript client now reads the deployment bounds and Runtime release patterns from a projection that specification-contract generates from sandbox/deployment_contract.go, so Web accepts only Core's oac-runtime microsandbox reference. The Harness catalog generator projects the model-provider protocol names from internal/modelprovider, so every client copy includes chat_completions.

A shared catalog fixture lists every error code a /core/v1 or console caller can receive outside the wire vocabulary of wire-semantics.md. A Go test requires a producer for each listed code, an exact match with core-errors.md, and a catalog entry for every other code Core's error writers produce unless it never reaches an administration caller. Web tests require both locales to localize exactly those codes. The ten administration codes that were missing are now catalogued, documented and localized; the unproduced sandbox_admin_not_configured message is deleted, and the client-only sandbox_configuration_unconfirmed code is a named client constant.
# Conflicts:
#	contracts/agents-api/zh/environments.md
#	contracts/agents-api/zh/harness-onboarding.md
#	contracts/agents-api/zh/model-execution.md
#	docs/zh/configuration.md
#	internal/modelprovider/config.go
#	services/core/internal/runtimegateway/owner_test.go
#	services/core/internal/runtimegateway/session.go
#	services/core/internal/runtimegateway/session_test.go
# Conflicts:
#	contracts/agents-api/zh/environment-executor-credentials.md
#	contracts/agents-api/zh/environments.md
#	contracts/agents-api/zh/harness-onboarding.md
#	contracts/agents-api/zh/model-execution.md
#	docs/configuration.md
#	docs/zh/architecture.md
#	docs/zh/configuration.md
#	docs/zh/getting-started/operations.md
#	services/core/cmd/server/main.go
#	services/core/internal/execution/model_execution_test.go
#	services/core/internal/execution/request.go
#	services/core/internal/runtime/gateway.go
#	services/core/internal/runtimegateway/session_test.go
#	services/core/tests/integration/deployment_model_providers_http_test.go
@SaladDay
SaladDay merged commit 74221b4 into aos/cutover Oct 7, 2026
1 check passed
@SaladDay
SaladDay deleted the aos/cutover-sync-4 branch October 7, 2026 18:30
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