Repository navigation
feat(openshell): run brokered inference on sandboxed nodes - #168458
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesAdds OpenShell commands for brokered worker inference and optional shared canonical agent files. Example: Run openai/gpt-4.1-mini inside the native-worker OpenShell sandbox.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR adds a useful optional integration, with no actionable introduced defects found and a green current-head CI gate. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe OpenShell plugin translates operator configuration into sandbox and node setup, while existing Gateway, File Transfer, and OpenShell owners enforce placement, file access, and brokered provider requests. flowchart LR
CLI[Worker CLI] --> OpenShell[OpenShell sandbox lifecycle]
OpenShell --> Node[Paired OpenClaw node]
CLI --> Gateway[Gateway placement owner]
Gateway --> Node
Gateway --> Files[File Transfer owner]
Files --> Node
Node --> Broker[OpenShell credential broker]
Broker --> Provider[Model provider]
Technical reviewBest possible solution: Land the optional plugin integration with its documented deployment prerequisites and existing authority owners preserved. Do we have a high-confidence way to reproduce the issue? This is a feature addition; the supplied live reports exercise its shipped commands and resulting inference and file behavior. Is this the best way to solve the issue? The implementation fits the existing plugin boundary and reuses placement, pairing, configuration mutation, File Transfer, and broker owners without introducing a parallel inference protocol. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against cd719ef1c8f3. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +907, Tests +1264, Docs +342, Generated 0. Total +2513 across 18 files. Added test files: 3. View PR surface stats
Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (13 earlier review cycles; latest 8 shown)
Reviewed October 17, 2026, 10:26 AM ET / 14:26 UTC (Revision 14). |
dceb3d2 to
7a688df
Compare
225ec22 to
c89bc66
Compare
10f275f to
9131246
Compare
AWS Podman/OpenShell live feature validation — October 15Tested PR head Passed
Observations and limits
|
9131246 to
581829c
Compare
|
Merge-ready at No accepted implementation blockers remain. Production changes stay within the optional OpenShell plugin; existing sandbox-only defaults are unchanged, with no database migration or shared worker/File Transfer contract changes. The automated cross-agent prompt concern was rejected after tracing exact workspace projection and Gateway-prepared prompts and checking the existing boundary tests. The older ClawSweeper stable-upgrade proof request remains an explicit evidence gap, not a demonstrated regression or merge blocker: no changed existing-state contract was identified. |
581829c to
3359c7d
Compare
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Provision dedicated broker-attached native workers through OpenShell and bind optional canonical agent files through the existing File Transfer owner. Preserve explicit policy restrictions, private pairing, and required-worker failure behavior with focused CLI/bootstrap and runtime authority coverage. Co-authored-by: sallyom <[email protected]> OpenClaw-Publication: 5588eb80-4e62-4b2c-9142-7a6d4aff5d77
3359c7d to
72d2d26
Compare
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Merged via squash.
|
…168458) Provision dedicated broker-attached native workers through OpenShell and bind optional canonical agent files through the existing File Transfer owner. Preserve explicit policy restrictions, private pairing, and required-worker failure behavior with focused CLI/bootstrap and runtime authority coverage. OpenClaw-Publication: 5588eb80-4e62-4b2c-9142-7a6d4aff5d77 Co-authored-by: sallyom <[email protected]>
What Problem This Solves
Run native worker inference behind OpenShell's credential broker without requiring OCE or Kubernetes, with optional canonical agent files shared across its sessions.
User Impact
Opt-in
openclaw openshell worker create/run/configurecommands provision a dedicated broker-attached sandbox through OpenShell, enroll its ordinary OpenClaw node, and configure the existing paired-device worker-inference profile. Docker and Podman use the same OpenShell gateway/CLI contract; neither engine is managed directly by this plugin. Existing sandbox-only behavior stays unchanged.Optional
worker.agentWorkspace: { agentId, remoteRoot }now binds one configured agent to an existing private directory on the paired node through File Transfer. Both Gateway and worker sessions use that canonical document owner; ordinary coding tools still use each session's task workspace. Setup never seeds or synchronizes documents, copies private Gateway state, widens node-command approvals, or overrides an existing File Transfer policy. Prepare the directory/files and review the existing grants before applying the binding.Scope and important limits: one configured model, a qualified operator-supplied Node/OpenClaw image, and a foreground node host. OpenShell v0.1.3+ provider profiles, executable/endpoint policy, egress enforcement, and real provider credentials remain operator-owned.
worker runowns a dedicated sandbox and stops the entire sandbox on exit/cancellation; cleanup failures explicitly report that the remote node may remain active.configure --required --applyaffects all Gateway sessions and blocks turns when its worker is unavailable. No production deployment, release or production configuration was changed by this task. Assistant-run qualification used no real provider credentials; Sally’s separately reported live test below used her real OpenAI integration.Historical standalone Docker E2E passed on October 10, including broker authorization, revocation, and confirmed remote cancellation. It uses a synthetic OpenAI-compatible HTTPS upstream, not a paid model account. Separately, Sally's October 15 report records Podman/OpenShell 0.1.4 and real OpenAI fresh-install feature validation at
9131246f6309; its exercised plugin source matches this head. This is contributor-reported proof, not a new assistant-run test, and explicitly does not establish installed stable-to-candidate preservation.Compatibility and operator actions
No breaking change was found in the existing sandbox-only
mirror/remoteflow whenworkeris absent: its schema fields/defaults, backend and SSH/mirror paths are preserved; CLI registration launches nothing. This PR adds no core/SDK API, database migration, dependency, or worker-protocol change. The new worker mode is not a drop-in plugin upgrade for older Gateway/node builds.cloudWorkers.requiredProfile; its strict OpenShell plugin schema also rejects the newworkerblock. Installing this plugin alone does not backport core capabilities. Use matching qualified Gateway/node builds and their supported Node version; generic plugin host/API metadata is not worker-mode qualification.plugins.entries.openshell.config.worker. Older Gateways do not interpretsettings.inferenceas a local-inference requirement. The October 17 cell below proves installed v2026.10.4 core/plugin preservation with boundary-fixtured optional worker configuration; live remote binding after upgrade and cross-version data downgrade remain unqualified.openai-completions,openai-responses, oranthropic-messages, with broker environment placeholders and correct CA trust—not every provider/auth adapter. The runner is foreground and stops the entire dedicated sandbox on exit.--required --applyaffects all Gateway sessions; unavailable workers block turns. Rotation requires a new node process, and model/state changes are not silently overwritten.The October 17 installed-upgrade cell establishes v2026.10.4 core/plugin preservation separately from the fresh-install cells. Live post-upgrade agentWorkspace binding and every provider/platform combination remain outside that proof; gaps are not inferred failures. Setup and rollback guidance records these boundaries; the source-bound historical Docker evidence below remains unchanged.
Why This Change Was Made
Use existing owners instead of adding another provider or inference protocol:
--no-auto-providers, then owns attachment readiness throughsandbox provider attach --wait.connect --target-filewith a private stdin handoff; reconnect usesnode run. The Gateway profile derives the exact device ID from read-onlynode identity --jsoninside the selected sandbox, optionally checks an expected ID, preserves unrelated config, and refuses conflicting bindings.Current OpenShell calls the real provider endpoint, not the retired workspace inference route. API/CLI contracts were inspected at released NVIDIA/OpenShell v0.1.3 (
e1f3c82caa3ed3b65de22889ae7ef32a774878ef). Placeholder-format checks and provider readiness are not cryptographic custody attestation or upstream model probes; the deployment trust contract remains explicit.The original default-off worker option adds 15 plugin config fields; the optional agent-workspace binding adds 3 more (18 total over the pinned main base). Canonical config-baseline outputs were regenerated; this growth is intentional, not an unrelated baseline waiver.
Evidence
October 17 rebase and v2026.10.4 installed-upgrade receipt
Installed core-and-plugin preservation passed. Optional worker configuration passed with the external OpenShell identity query fixtured; this is not a live OpenShell/agentWorkspace upgrade qualification. Earlier failed/interrupted .10.3 attempts below remain historical, not substituted evidence. No merge or auto-merge was performed.
Exact candidate:
72d2d262be1691e33030872433988304144fcd7a, tree0fd48734bb75170abb97beb47bf598fe5655a6bd, rebased from3359c7d0fe3042e3c02a191d71d901f46cae6f3aonto main23f8eb5c0e33ed7e4c9cd84a3fbb193cc40548ee. One commit, Sally credit/publication marker preserved. Only the generated baseline hash conflicted; canonical regeneration retained +18 plugin fields. All production/test blobs and 15/16 nongenerated PR files are unchanged; the remaining documentation blob incorporates main’s canonical ClawHub locator spelling. Later main0f2545d81d31b77020fa3aa4c7344d672dcc75fccomposed without conflicts.Fresh checks: 123/123 tests in eight files (45.51s wrapper wall), extension production/test types, typed lint on ten files, formatting, config baseline and whitespace passed. Canonical full build/package/integrity verification passed in 295.61s; the plugin was built separately through the prepublish plugin artifact owner. Exact-head CI 39038587398 succeeded; final readback: 43 successful and 53 skipped check runs, no pending/failed checks, all three applicable commit-status gates successful, GitHub MERGEABLE / CLEAN, OPEN/non-draft. No formal change-request review or requested reviewer is recorded.
Executed preservation cell
[email protected], commit383c124cc32ffee3f8e56f549b88da94d269a4af, serving build2026.10.4-release-383c124cc32f-2026-10-15T17-18-22.749Z; separately installed released@openclaw/[email protected]through its normal npm plugin owner, with registry integrity/identity assertions. The released plugin has no worker API..10.4core package from this head; installed and serving build2026.10.4-72d2d262be16-2026-10-17T13-55-54.191Z. No version relabeling, custom bundled plugin distribution, altered admission policy, or fabricated update result.openclaw update --tag <candidate-core.tgz> --yes --json, followed by independentopenclaw update status --json; candidateopenclaw plugins install npm-pack:<candidate-plugin.tgz> --force, managed-service restart, runtime plugin inspection and Gatewayplugins.list. Placeholder paths in this public receipt replace private artifact locations.0b65be8c-3037-4b11-9b3f-8ba1db61135findependently read back finished/succeeded. Candidate plugin install exit 0, 25.382s; all 8 archive payload files matched installed bytes and the serving Gateway activated OpenShell. Core and plugin restarts changed the service PID; readiness returned HTTP 200 and the exact serving build matched. Full cell 701s, exit 0, within the unchanged 1125s envelope. PASS was emitted only after service/process cleanup settled.AGENTS.mdandnotes/upgrade.mdfor each of two agents) stayed byte-identical. Both agents’ durable session IDs and entire returned transcript messages matched across core activation, plugin restart and optional setup. Incognito history disappeared as required and its marker was absent from retained state/backups.openclaw openshell worker configure upgrade-proof --worker-profile upgrade-proof --applyexited 0 in 22.974s. It added only the intended optional device/inference profile; no required profile, model/auth edits or credential-fingerprint changes. One exact external OpenShell node-identity request was allowed by the fixture; no transport calls occurred during baseline setup, either upgrade boundary or restart. Documents/transcripts/config remained correct after the subsequent candidate restart.Scope limit: the optional setup uses a synthetic identity, not a paired node. This cell does not exercise
worker.agentWorkspace, File Transfer remote reads/writes, OpenShell sandbox creation, broker egress or inference after upgrade. Sally’s separately reported live fresh-install feature proof remains distinct. If the requested “optional setup” means live remote agent-workspace binding on the upgraded installation, that portion remains unqualified; this receipt must not be treated as closing it. No stored-data incompatibility was observed in this installed-preservation cell, but it is not universal platform/provider/downgrade proof.Redacted artifact, environment and cleanup identities
62e320d0a09178d323c1690fa371c78c211f84743d25da217ef4097596fce720.2c29a341576e17006068a951ff39f58a5b2d246026f0e2186faefebe856b1eed; manifest SHA-2563db6497ff7cd70d1c5ee3a2ac8400179c8aeb66f7f4e552b70d4052140dbbe4b. Candidate-bound plugin registry manifest:8f5ee77b0b8a4681e1122ba681645da4ef97c580d274657bbecdf12560e5135f.2c950523a9689c6c61aa8fb6616ea726e58ef444e8fc6f2e50606a3651a14634; stock-runner adapter:04734847a815d1f48d6871a0d3138de7b755417d22479ad13657627156bb901b. Source capsule verified all 57,143 blob identities before adding the two task-only fixtures. No product source/test files were changed for this proof.c7a.2xlarge; observed 8 CPUs / 16,371,781,632 bytes RAM. Leasecbx_6fb4d73d9fd1, proof runrun_0fcc468d0db66586150e98ca1e549758. Docker default AppArmor/seccomp/cgroup namespace; canonical bare-image runner and disposable non-root account, isolated HOME/prefix/state/workspaces and native runtime volume. The service manager is the repository’s standard lifecycle fixture; updater, package/plugin owners, Gateway and storage are real.ba2d1f28565b11992b1bea8157c1bcec2b81ec2a785011ee3b096ba287516cf7,3305282efd2c5c290e90f2fb5802e1b9f6bf6fbfb76d31b7d89f5e2da79bcb4c,ee849cf80c2839064a6de6f0d6d9cb95e3ff039d3fef24e519f6b261116ca73f,306dc87d5a55d33cbb6f73ee40326ea76d3de9ce0b5e48e90cc65622ced0bfd8.f00fdf63be9d67d57878393de312f6f3bd7613912ffd332e0fe66eef0c2e56c7. Raw config/logs are not published; credential values, private endpoints, paths and connection details are omitted from this receipt.Requested rebase and merge-blocker report — October 16
Published
3359c7d0fe3042e3c02a191d71d901f46cae6f3a, tree643df03ee23f6c2792a285cfebd7a668deaa6faa, on pinned main288e65080aaaba1b4e760368779bd8a0d20cf22c. Started from Sally's live remote head581829c7eae40a9ea829de1579bfcf68fce07a8e, not the older local branch. The existing one-commit shape, co-author trailer and publication marker were retained. No merge, auto-merge, readiness transition or separate landing-worktree mutation.docs/.generated/config-baseline.counts.jsonanddocs/.generated/config-baseline.sha256. Regenerated canonically from the new base and feature schema; the intentional plugin delta remains +18 paths.e11881224c11bdea2e07c1bfa15fd70e3da2a2bacomposed without conflicts.Final exact-head checks: CI run 38957973590 completed successfully for
3359c7d0fe3042e3c02a191d71d901f46cae6f3a. Complete check readback: 46 successful, 65 skipped, zero pending/failed/cancelled/timed-out. GitHub reports MERGEABLE / CLEAN, OPEN/non-draft, one commit, no formal reviews/requested reviewers/review decision. The requiredopenclaw/ci-gateis green; this does not substitute for maintainer judgment on the advisory qualification item below.Remaining qualification distinction: no PR-specific incompatible database record, schema change, session format or protocol change has been identified. The refreshed ClawSweeper review targets this exact head and again lists no actionable findings, but retains its requested v2026.10.4-to-candidate core-and-plugin upgrade/preservation/optional-setup proof. That is a review/qualification gap for maintainer disposition, not a demonstrated data-migration defect. The recovered installed v2026.10.3 →
10f275f9aa8dcore update succeeded with managed restart/readiness/exact build verification, but full preservation, separate candidate-plugin replacement and optional setup were not completed; the interrupted third attempt has no recoverable terminal proof. Those limitations are not silently promoted to a new-head pass.Requested final rebase and blocker check — October 15 (16:58 request)
Rebased the existing single commit from
10f275f9aa8dd0947205acc52a7f930fe37cece0onto pinned main7285b93504a9453c4fbd03ff2281f8da33e9a40d. Published head9131246f6309a2d9aae682f86c55b0e3b340a91b, tree27e5f60f6489e6b34b58cb7d0110e41eee73094a. GitHub readback: one commit, OPEN, non-draft, mergeable. No merge/auto-merge/readiness transition.docs/.generated/config-baseline.sha256conflicted. Both configuration baseline outputs were regenerated canonically; the intended +18 plugin paths remain unchanged.index.test.tsmigration from polling to the authoritative plugin-retirement promise was retained automatically. The complete base-relative range comparison contains no new feature behavior or permission change. The single squashed commit, trimmed tests, Sally co-author and publication marker remain intact.Merge-gate distinction: the effective rules returned by GitHub require
openclaw/ci-gate; the new head's checks and automatic review are running. The current rules require zero general approving reviews and code-owner review where applicable; none of these 18 paths matches the current CODEOWNERS entries. GitHub reports no formal latest reviews, requested reviewers or review decision. This does not waive any enforced check or later owner/security requirement.The older ClawSweeper comment
6098113740still says “blocked before merge” for upgrade/preservation qualification, but was last updated October 13 forc89bc66069cdand lists no findings. Treat it as an unresolved qualification/review hold for maintainer disposition—not an identified old-record incompatibility or proof that a database migration is broken. It is distinct from the live required CI gate.Recovered historical upgrade evidence (not new-head proof): the separately isolated v2026.10.3 installed updater did successfully activate
10f275f9aa8d, with managed restart, exact serving build, readiness and durablefinished/succeededstatus (runae1791af-6bbf-4c2e-bfd4-c0d63ac87254, 383.139s). Attempt 2 receipt. The task fixture then falsely matched “lease” inside “releases”; full preservation comparisons, candidate-plugin replacement and optional setup were not reached. Attempt 3's controller ended 143 without recoverable terminal proof; its lease expired and live recovery inspection confirmed no host or remaining provisioning resource. Neither attempt is a complete preservation pass. Existing sandbox-only fields/defaults remain preserved by source review; older-host/native-placement prerequisites and post-opt-in downgrade cleanup remain documented.Rebase and merge-readiness audit — October 15
Rebase published; compatibility qualification is not yet complete. Head
10f275f9aa8dd0947205acc52a7f930fe37cece0, tree27246c3751887649c030dc868480de0a819b10d3, one squashed commit on main17bea1c022a9bc90a464c7f8c2a01d784d246cb7. GitHub reports mergeable, OPEN and non-draft. No merge or auto-merge was requested or performed.Only the canonical configuration baseline outputs conflicted; regenerated them rather than selecting hashes. All 16 nongenerated PR files are byte-identical to prior published head
8b2556a8d1a73f5fcb4c8b0c4b1599c8b84ea834. The +18 plugin fields, trimmed tests, Sally credit and publication marker remain intact. Later maine106d1fa54ec11e55cbd23d17334a99e7492c2b7composed without conflict.Source review: fresh independent full-delta review at
508e3c10fb1fd2ae108e27aabd8aa7c04575a0f0(the same nongenerated PR blobs) found no P0–P2 findings. Existing sandbox-only defaults and mirror/remote owners remain unchanged by this PR. New SDK consumers match current contracts; File Transfer remains the canonical document/policy owner with no local fallback. Latest stable is now v2026.10.3, build source59cb44796b0f1f0daa0e37af8b1495abb45d9bc1; it still lacks the new native-inference/required-profile semantics. Plugin-only installation on that old host is not qualified, and rollback after opt-in still requires the documented cleanup. This is a bounded source verdict, not a guarantee across versions or deployments.Fresh final-head checks: 123/123 tests in eight existing-sandbox and worker files, 42.68s wrapper wall; extension production/test types, canonical baseline and whitespace checks passed. On the preceding
508e3c10fb1frefresh, the same 123 tests passed in 64.65s, targeted typed lint passed on 10 plugin files with zero warnings/errors, and formatting passed. Full canonical build plus package-integrity validation completed in 1530.04s on that precise earlier tree65519cbcb42ef3102799d4a59d6c9093b090ad77; it is not relabeled as a final-head full build.Genuine installed upgrade attempt — did not pass:
@openclaw/[email protected]via their normal package/plugin owners. Authored sandbox-only remote settings and unrelated config through the released CLI; created a durable session/transcript through the released Gateway and four synthetic workspace files. Captured a stopped-state backup before updating.9a7f74575b81e35a1f87eb74f5624fde97cee3b2115afc9fd2cc56ce22dcabec; plugin SHA-256406c03d31215646e9526d86d08baf82dbf65cd4f1d237430743f2162bba03acd.openclaw update --tag /proof/packages/openclaw-candidate.tgz --yes --no-restart --json. An interrupted first attempt settled failed with a stale managed-proxy authorization; its durable outcome was reconciled before retry. The retry used fresh authority and took 437.15s, exiting 1.startupzdespite the child logging readiness; the candidate was not activated. The old released core remained installed. The non-default-state/no-service fixture also cannot qualify managed-service recovery. This is an observed qualification failure, not a demonstrated OpenShell data-model defect.Probe-route control: on the unchanged released installation, the existing readiness helper and authenticated Gateway probe succeeded, while the released public
ensureGlobalUndiciEnvProxyDispatcher()plusfetchfailed for both/startupzand/readyzwithUND_ERR_SOCKETunder the same enforced proxy environment. Original config/data checks still passed afterward. This demonstrates an independent local HTTP/proxy-path failure in this venue; it does not retroactively make the candidate update pass. The inherited canary diagnostic replaces the last transport failure with a generic startup-stall message, so the exact failed canary request was not retained. No proxy, TLS or admission gate was bypassed. A qualified runner/probe route is still needed for the successful update cell.Readiness: no source-review blocker found, but the requested successful installed-release-to-candidate upgrade/preservation cell remains unproven. New-head CI was attached and running at publication; prior-head green CI is not reused as current-head success. Historical broker/authority evidence below remains source-bound, and full external Podman, real-provider and downgrade qualification remain unclaimed.
Conflict-only refresh — October 13, 15:43 UTC
Rebased the existing single commit from
c89bc66069cd79a14743f1459c8315f0be13c826onto maina55dafd57b8155ea31bb7fe97fd163acd7e3d48f. New head:8b2556a8d1a73f5fcb4c8b0c4b1599c8b84ea834; tree:babcc40fe9cf5a0a13c32246634e6be7c5e4e2bd. The branch still contains one commit, retaining Sally's co-author trailer, publication marker and the previously trimmed tests.docs/.generated/config-baseline.counts.jsonanddocs/.generated/config-baseline.sha256. Regenerated both through the canonical generator; the intentional plugin-schema delta remains +18 fields.0538c07d971655f1e7cbe66279112f608595ecd6completed without conflicts, so the tested base was retained.Requested rebase and squash — October 13
Rebased onto main
cf66264e598fd98718cff54a9fa378fbeb80d35aand squashed the eight PR commits into one: c89bc66069cd, tree9f7c83f558a56d8e70259072d0396ad37cbdcfb2. Sally's co-author credit and the publication marker are preserved. GitHub readback confirms one commit, no merge conflict, OPEN and non-draft; no merge or readiness transition was performed.Only the generated configuration-baseline hash conflicted. Both canonical baseline outputs were regenerated, preserving the new base plus this PR's intentional 18 plugin fields. All 16 nongenerated PR files—including implementation, documentation and trimmed tests—are byte-identical to the prior published head
225ec22581c3. Prior independent reviews remain attached to their actual source; this mechanical replay introduces no additional implementation change.7f4197068b3d: root-test type shards passed (combined production/test/root type run 258.57s); typed lint passed for all touched plugin production/tests and the E2E, with zero warnings/errors; changed-file formatting passed. These receipts are not relabeled as final-base broad CI.Broad CI is left to the newly published head. Full external Podman broker, real-provider and stable-upgrade qualification remain unclaimed.
Requested test trimming — October 12
225ec22581c3 is test-only: 43 net lines removed relative to
7661c1e7cc77(11 added, 54 removed across four test files). The workspace E2E shrank 690 → 656 lines. Compared with the original PR base3eff8f0e249b, total added test lines are now 1,264, rather than 1,307; this is not a claim that the whole PR is net-negative. Production code, schemas, permissions, and behavior are unchanged.credentialEnvomission assertion.--boundaries instead of absolute global-prefix offsets; prompt tests retain node/root/tool identifiers without fixing connective prose.Fresh validation: 13/13 focused tests across the three changed plugin-test files passed (33.40s wrapper wall). The retained E2E passed 1/1, 83.291s test / 144.47s wrapper wall in the same isolated rootless Podman fixture route (Node 24.21.0, pnpm 12.9.0). These are measured costs, not a speedup claim: wrapper time includes preparation and varies with cache/load. The E2E remains opt-in; discovery alone is not proof it ran.
Extension-test and root-test types, formatting, plugin boundaries, and applicable ratchets passed. Targeted typed lint passed (three plugin-test files 17.8s, E2E 14.6s), and script lint passed (34.7s), all with zero warnings/errors. Fresh independent P0–P2 autoreview of the complete trim delta was scoped-clean.
check:changedremains non-green only at the previously documented dead-export scan: 60 untouched finding files, verified unchanged from the prior head (158.60s overall); no exclusion or baseline weakening was added.Tested commit/tree:
225ec22581c330281c563c6b7c65a96e5bdbebdf/893785797f2aba00e15896010c2be97896c6cb9f. Retained runtime test, blob58c63b7eac6e4fda7b66885fa8f5f4423f3675ac. The fixed external OpenShell/model fixtures and existing qualification limitations are unchanged; this does not add live broker, full Podman, real-provider, or stable-upgrade proof. No merge or readiness transition.Current retained authority receipts
Earlier source-bound proof below remains historical, including the broader sibling/reconfigure scenarios intentionally trimmed from the ongoing regression.
Workspace grant authority qualification — October 12
Passed the requested allowed / forbidden / revoked-access qualification. This is a test-only update: 7661c1e7cc77, tested tree
716f7460fd1245c04afad5d5386b4b0ce4087f88, integration test blob2b96f44658cb62bf9145ca645fd91398eec124d0. Production behavior is unchanged from8973cf66304b; no policy bypass or other production defect was found in these cases.AGENTS.mdand a workspace memory document. Session B sees the canonical edit. This is not a hand-built substitute policy.POLICY_DENIED, with zero target-path node frames, including zero preflight frames, and unchanged target bytes.config.patchwith an exact-path deny for the previously readable/writable memory document. Successful runtime application is awaited;config.getconfirms matching applied/resolved revisions. Gateway PID and operator connection remain unchanged. A fresh native turn in the same agent session and task workspace repeats that read/write: both returnPOLICY_DENIED, dispatch no target-path/preflight frame, and preserve the previously edited bytes. Other canonical document reads continue to work. This proves new-operation revocation, not erasure of previously read conversation content or cancellation of a syscall already executing.Why this establishes denial before node filesystem I/O: the existing wire fixture records every request before handler dispatch. Positive controls observe two real frames each (one preflight, one operation) and actual file effects. Denied attempts observe none—not merely zero writes after a filesystem-reading preflight. The production File Transfer policy gate precedes preflight and dispatch. The test separately reads canaries to verify their bytes; these claims concern the denied File Transfer requests, not all shell/OS access.
Execution: isolated rootless Podman, Node 24.21.0, pnpm 12.9.0; real Gateway/native worker processes and production File Transfer owners behind the paired-node wire fixture. OpenShell transport/identity and model HTTP remain fixed external fixtures. No paid inference, real provider key, OCE, or production configuration was used. This is not new live external OpenShell/Podman broker qualification.
# Inside the isolated fixture container with a writable /sandbox/proof: OPENCLAW_TEST_OPENSHELL_ROOT=/sandbox/proof node scripts/run-vitest.mjs run --config test/vitest/vitest.e2e.config.ts test/e2e/qa-lab/runtime/openshell-agent-workspace.e2e.test.ts --maxWorkers=1Passing run: 1/1 test, 89.695s test time / 142.42s wrapper wall, exit 0. The release-E2E tier is intentional: this combines persisted CLI setup, native execution, live config application, and retained session authority in one reused fixture rather than booting a process fleet per case. The first attempt exposed a fixture comparison of JSON-escaped versus decoded multiline text; it was corrected. A separate host/container artifact-lock collision was resolved by serializing the owners, without clearing an active lock or bypassing admission.
Root test types and typed E2E lint passed (0 errors, lint 15.3s); script lint passed (0 errors, 36.2s); changed-file format, boundary/ratchet, package, and coercion checks passed.
check:changedstill stops at the same 60 untouched dead-export files, verified unchanged from the prior head (116.77s overall); this is not an aggregate-green claim. Fresh independent P0–P2 autoreview of the final test delta was scoped-clean. Task container cleanup was confirmed.Redacted terminal receipts from the passing run
Still separate: stable-to-candidate data/upgrade compatibility and full external OpenShell/Podman/real-provider qualification remain unclaimed. No merge or readiness transition was performed.
Canonical agent workspace — October 12
Implemented in 8973cf66304b, on prior head
7a688dfc37167b1e0ccc8a6fadbb81e2eb2bd91e. The plugin composes File Transfer's existing workspace service and file tools; there is no new core/SDK runtime, bidirectional synchronization, or OCE dependency. Setup, editing semantics, and retirement are documented.runtime-localinference; A fetched and wrote canonicalAGENTS.md, B fetched the edit and received it in its actual model bootstrap request. Gateway document RPC read the same content; the local decoy remained unchanged. Offline access failed rather than reading the decoy. Removing onlyrequiredProfileand restarting retained the mapping and remote content.check:changedstopped at existing dead-export findings in 60 untouched files, all verified byte-identical to the prior head/pinned base; no guard exclusion was added. The full build also reported the existing Control UI chat-boot request advisory (36 versus 35) without a nonzero build exit. No UI source changed.Stable-to-candidate upgrade/data compatibility remains unqualified, as noted by the existing review; this addition does not claim to clear that pre-merge gap. No merge, deployment, real provider credentials or production configuration change was requested or performed.
Rebase and compatibility audit — October 11 (22:48 request)
Rebased the four original commits from
dceb3d219afed4bc863fde568fb0103c90e97446onto pinned main3eff8f0e249b64dffe1f029b13df014da3b8e55d, retaining their authorship, Sally co-author trailers, and the empty publication-marker commit. Final head:7a688dfc37167b1e0ccc8a6fadbb81e2eb2bd91e; tree:8ffa8ec73cf2fc399e5a65d636b9d2e121eb43ae.docs/.generated/config-baseline.sha256had a content conflict; regenerated both canonical baseline outputs. Counts: core 2499, channel 4031, plugin 4542 (the same intentional +15 plugin fields over main). Original feature code/tests are byte-identical to the pre-rebase head; the additional commit documents compatibility, rollback, and upstream OpenShell migration requirements.check:changedis not wholly green: dead-export findings in 60 untouched files, all byte-identical to pinned main. The full docs anchor audit found one unrelated existing release-page anchor error (releases/2026.10.1.md→/providers/openai/runtimes#agents-api-mvp); both endpoint files are unchanged from main. No exclusions or unrelated repairs were introduced.git diff --checkpassed. The broader extension-lint failure from the prior rebase (unchanged Crabbox file: 717 lines versus 700) was not rerun; its source/rule inputs are identical. These results do not claim aggregate-green validation or green hosted CI.An independent read-only audit of the complete rebased diff and released v2026.10.1/v2026.9.9 API sources found no new missing public SDK dependency or existing-sandbox regression; the older-host feature limitation above is explicit. Its recommended documentation clarification is included. No live AWS rerun was needed for the generated-only conflict and documentation changes. The October 10 Docker proof remains historical, not proof of this new main base or green hosted CI.
Historical standalone qualification — October 10 (passed)
Live-tested runtime tree:
c1d17e880e773c421b94487980061492f104a10e, committed asfa9106345391525c01679f8873397bd90204c29f. The package was built from8bf2d7c51d62fb2089c0f36d6447c560e4eb8f9fplus that exact reviewed patch. Pre-rebase head6003d3d131598de28d887f401d88220ab5b73a57adds only the image-tool prerequisites documentation; runtime source is identical. No protocol, dependency, or core/SDK change.Environment: configured direct AWS Crabbox, small
c7a.2xlargeVM; Ubuntu 26.04.1, Linux7.0.0-1014-aws, Docker 29.8.2, host Node 24.19.0, workload Node 26.8.2, released OpenShell v0.1.3 (e1f3c82caa3ed3b65de22889ae7ef32a774878ef). No OCE/Kubernetes, IAM instance profile, secret hydration, or production keys. The complete released unprivileged enforcement probe passed before building: Landlock ABI 8, zero capabilities, no-new-privileges, runtime-default AppArmor/seccomp, and successful allow/deny primitives.Passing security E2E run — 77.190s remote command, exit 0. The preceding basic E2E also passed in 70.113s. These are actual installed commands and real OpenShell/Node/Gateway processes, not mocked OpenShell calls.
worker create,worker run, andworker configure --worker-profile ... --required --applyfrom neutral working directories. Pairing succeeded; configuration read back the selected sandbox node identity; the recorded required placement was active withinference: worker.writetool produced the expected worker file and the completed assistant marker appeared in canonical Gateway history; the turn completedok. A separate approved-executable control request also authenticated correctly.sandbox provider detach --wait, a new native turn using the retained placeholder reached terminal error with no additional upstream request and zero Gateway chat-inference fallback requests. The fallback canary deliberately distinguishes auxiliary embedding requests; native worker placement does not move every auxiliary model service.cbx_9e897aba8c50was independently verified released withhasHost:false. Both earlier Testbox leases were already completed.Candidate tarball SHA-256:
a4d48b2cf7cf3d5bf74bdf7d90ca0848c9751a0bf9c3231393f872bdc98115b9. Canonical packaging/install phase: 465.075s; candidate image phase: 78.380s. Image qualification completes package lifecycle work before switching to the non-root runtime user and supplies Git plus POSIX process tooling. Only the exact pinned Gateway endpoint uses TLS passthrough; model-provider TLS inspection and credential substitution remain enabled.Defect found and repaired by live testing
The original
configure --profilecollided with OpenClaw’s global configuration-profile option and was consumed before the plugin. The actual installed command failed its required-option check. It now uses--worker-profileconsistently in code, tests, and documentation, without a competing root-parser exception or a legacy alias for the unreleased broken interface.Earlier evidence and remaining limits
7fd04290b18b6ea956c7e87f8d6aefa9d3a229f0/ tree9502f76503c728fa93ad1e7fb9e34e935077568dused basee3415ea8c5543462464b02fb422551aeb32c491d, containing the merged worker-inference stack. It included 25 focused tests, 28 existing placement/native-model owner tests, SDK/plugin boundary and metadata checks, and a successful build (238.89s).tools/solid-lint/index.mjsdefault,POST_ACTIVATION_INSPECTIONS_STEP, two session-channel fixture helpers); and the initial build’s non-fatal Control UI startup-JS size warning. No guard exclusions or baseline weakening were added.ENOSYS; both Docker and rootless Podman probes failed). The supported AWS VM resolved that host-specific prerequisite without relaxing enforcement. Earlier Testbox lifecycle record is not a passing integration test.Local evidence is not a claim of green hosted CI or merge readiness. No merge or auto-merge was requested; Sally’s existing ready-for-review state is preserved.
Worked on by
Work sessions
View the OpenClaw team session