Skip to content

Initialize every hosted Environment - #873

Merged
SaladDay merged 1 commit into
mainfrom
initialize-every-hosted-environment
Oct 25, 2026
Merged

SaladDay merged 1 commit into
mainfrom
initialize-every-hosted-environment

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

Every openai_hosted Environment now starts initialization pending, so the Worker claims and completes it and journals agent.session.environment.pending and ready once, including when there are no files or setup. self_hosted keeps its rule.

An empty initialization sends no Runtime operation and uses no preparation cache. It adds the Harness availability check and two short transactions (claim and complete) per Session, and the first Turn waits for completion, up to one scan tick (250 ms) after the Runtime connects.

The ledger records that connected usually precedes pending and ready; the Environment contract states when each event is emitted.


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

@SaladDay
SaladDay merged commit c5d4205 into main Oct 25, 2026
19 checks passed
@SaladDay
SaladDay deleted the initialize-every-hosted-environment branch October 25, 2026 07:00
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