Repository navigation
Conversation
Served only by serve --actions; the read-only stdio mode is unchanged. Each call is one request record: lease and app checks in one transaction, the app's start/stop channel command with the request id, and the outcome correlated from Lab/state.json (by request id, or by time when the run ended first). run_program's preflight_token is optional until 5b.
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.
Base
agents; independent of other open PRs; the diff shows only this change.pa-lab could read console B but not act on it. This adds leased
run_programandstop_program(Slice 5a of the agent-integration design, fork #131). Each call is one request record in the control plane. The lease check and the app checks run in one transaction. The daemon then sends the app's existingstart/stopchannel command carrying the request id, and settles the outcome fromLab/state.json. A retry with the same request_id returns the stored result and sends nothing.serve --actions. The read-only stdio mode used by.mcp.jsonis unchanged.run_program'spreflight_tokenis optional in the v1 request until 5b bringspreflight_program. The app has no command yet that runs prechecks without starting.Testing:
python3 -m unittest discover -s lab/server/tests -t lab/server(167 tests). Newtest_actions.pyruns against the fake app: refusals, retries, a duplicate in flight, UI takeover during start and stop, lease loss, app restart between and during requests, the run ending before the response, and tickets surviving a daemon restart. No console was used.