Repository navigation
feat: add agent workspace preparation profile - #21
Merged
Merged
Conversation
Owner workspaces that select a development environment could not be prepared because only the supervisor and child profiles existed. Add an agent profile with fixed owner-workspace standing (no delegation, no task_get or report duties) and accept it in both protobuf allowlists. Admission, digest, fencing and restore checks are unchanged; supervisor and child bytes and digests are identical. Signed-off-by: James Olds <12104969+oldsj@users.noreply.github.com>
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.
Adds a third native workspace preparation profile,
agent, for Mainloop owner workspaces that select a development environment. Before this, onlysupervisorandchildcould be prepared.Standing("agent"): fixed owner-workspace standing (no delegation, notask_get/reportduties, stored context grants no consent).SetupDigest("agent")=a5fb1bb1e406ff7937b9d9e2e862dff43925d4df54d4bdd9fb010d7e2825ccb3.agentis accepted inPrepareSessionWorkspaceRequest.setup_profileandNativeWorkspacePreparation.profile; unknown and empty profiles stay rejected.supervisor/childbytes and digests are identical. No schema change; existing sessions and receipts are unaffected.Deploy needs new controller, Claude and Codex payload images. Tests: harness, adapter, Session service and gRPC packages with -race; proto lint, generate and breaking-change checks pass; envtest-backed TestSandboxTemplateCatalog skipped (assets not installed).