feat(cua): add delegated-run provider#679
Closed
coygeek wants to merge 6 commits into
Closed
Conversation
Register the CUA delegated-run provider with non-secret config, provider-prefixed flags, safe local-only API URL handling, generated metadata, and foundation tests. Keep lifecycle and bridge behavior non-mutating and explicitly deferred so later plan branches can add claims, doctor probing, and run execution without changing the provider contract.
Implement the PLAN-02 CUA SDK bridge contract, conservative local claim helpers, and bridge-backed non-mutating doctor checks. The bridge uses JSON stdin/stdout through Runtime.Exec, maps Crabbox credentials only into the child process environment, and runs from a trusted cache directory to avoid repository-controlled Python imports.
Add the CUA delegated-run backend for warmup, fresh run, retained reuse, list, status, stop, cleanup, and archive sync through the Python SDK bridge.\n\nDocument the completed provider contract, add guarded live-smoke classification, and cover lifecycle, ownership, sync, timeout, env-forwarding, and cleanup behavior with focused tests.
Contributor
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: feat(cua): add delegated-run provider This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
Contributor
Author
|
Duplicate of #678 |
This was referenced Jul 3, 2026
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.
Summary
scripts/live-cua-smoke.shcoverage with explicit skip/environment/quota/validation/cleanup classificationsVerification
go test -count=1 ./internal/providers/cua ./internal/providers/all ./internal/cligo test -count=1 ./...go vet ./...node scripts/generate-provider-matrix.mjsnode scripts/check-provider-matrix.mjsbash scripts/check-docs.shgo build -trimpath -o /tmp/crabbox-cua-integrated ./cmd/crabbox(cd /tmp && /tmp/crabbox-cua-integrated providers)(cd /tmp && /tmp/crabbox-cua-integrated doctor --provider cua --json)classified local environment as blocked because the CUA Python SDK is not installedscripts/live-cua-smoke.shclassifiedskipped reason=missing_CRABBOX_CUA_LIVEwith no live resources createdautoreview --mode branch --base origin/main --engine copilot --model autoreported no accepted/actionable findingsNotes
gpt-5.5was quota-blocked during closeout; Claude fallback was unavailable because Claude Code was not logged in. The structured Copilot AutoReview fallback passed cleanly.openclaw/crabboxwas denied for the authenticated account, so this branch is published from the fork.