Skip to content

Sync main 1a1af99e into the feature branch - #519

Merged
SaladDay merged 8 commits into
feature/agent-outside-sandboxfrom
aos/main-sync-4
Oct 7, 2026
Merged

SaladDay merged 8 commits into
feature/agent-outside-sandboxfrom
aos/main-sync-4

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

Merges main 1a1af99 into the feature branch: the audit's lanes A (#509), F (#508), B (#512) and C (#513), plus #500, #501 and #504.

Conflicts: modelprovider/config.go keeps main's Protocols()/Valid() and aos's routes and credential surface, and the aos tests' protocol lists call Protocols(); runtimegateway/session.go takes #501's unexported newSession, with a test-file NewSession helper for the existing call sites; four zh source_hash values recomputed. The feature branch has no aos migrations, Core variables outside processconfig, new error codes or stale #process-settings-configjson links. proto.Version stays 0.13.0.

Checks: go build/go vet ./..., focused tests (modelprovider, runtimegateway, execution, contracts/agents-api/v1, harnessconfig, TestCoreErrorCatalog), darwin and windows daemon builds, generators with no diff, make check-names check-docs check-ci, agents-client tests.


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

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
@SaladDay
SaladDay merged commit 651179e into feature/agent-outside-sandbox Oct 7, 2026
1 check passed
@SaladDay
SaladDay deleted the aos/main-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