Repository navigation
Conversation
Persist scoped JavaScript waits and Session policy receipts, reuse existing Session/Inbox execution, and publish progressive guidance over standard MCP. Model: gpt-6
Retain encrypted workspace isolation and split runtime build entries. Keep failure-finalization evidence separate from successful completion publication, with coverage at the Fleet and Session execution boundaries. Model: gpt-6
wibus-wee
marked this pull request as draft
October 27, 2026 14:52
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
A Session needs to retain entrusted work while its Agent is idle or interrupted by a provider limit. Recurring schedules do not represent arbitrary wait conditions or preserve the identity of the interrupted conversation.
Changes
lody automationand thelody_automationMCP tool. A condition reads scoped observations viactx.read(...), returnsfalseto keep waiting, or returns{ resumeText, payload? }to continue the registering Session.@opencode/codemode2.2.0 and Effect 4.0.2. Reads are restricted to Host-owned, Session-scoped capabilities; evaluation has time, read-count, concurrency and result-size limits.flowchart TD A[Session: CLI, MCP or local Electron] --> B[Scoped local control] B --> C[Machine-local automation ledger] D[PR and Session observations] --> C C --> E[Effect runtime and CodeMode] E --> F{Condition ready?} F -->|false| C F -->|resume result| G[Persist receipt and continuation identity] G --> H[Recheck authority and source evidence] H --> I[Session admission and Inbox] I --> J[Continue the registering Session] K[Opt-in Session policies] --> GValidation
pnpm checkand a current production build are not claimed as passing.Scope and limits
Automation storage and execution are local to the Host. The Electron bridge supports the local machine only; Web and remote-machine control are not connected. Real provider quota recovery, delivery to a live Agent, automatic MCP Skill selection and all-platform packaging remain unverified by these synthetic tests. Codex high-load retry has not been migrated to the new automation policy. Existing quota-continue scheduled messages are not automatically removed and can overlap with recovery. Architecture notes remain proposed.