Skip to content

feat(workers): reuse completed project setup across cloud sessions - #143227

Merged
steipete merged 5 commits into
mainfrom
codex/prepared-project-workspaces
Sep 10, 2026
Merged

steipete merged 5 commits into
mainfrom
codex/prepared-project-workspaces

Conversation

@steipete

@steipete steipete commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Related: #134931. Follow-ups: #143372 and #143410.

What Problem This Solves

Cloud sessions can reuse a machine image yet repeat project checkout and setup. Relocating the resulting workspace or HOME breaks tools that retain absolute paths. Initial synchronization also needs to preserve setup-generated files that do not exist in the Gateway's pristine checkout.

Why This Change Was Made

Prepare admitted project content, authorized setup, and the node runtime at their final paths before capture. Keep separate pristine and completed manifests. A fresh dedicated node verifies the completed tree and binds its workspace and HOME to one session; reconnects preserve that session's edits, and retirement prevents another session from claiming the binding.

Initial sync applies session changes relative to pristine source over completed setup. Session edits win on changed paths, while untouched generated files and tracked setup edits survive. Reconciliation carries eligible output back to the Gateway. Accepted results and explicit checkpoint restores remain exact, including later deletions.

Same-commit reuse skips checkout and setup. Compatible commit changes refresh source and rerun the authorized recipe while retaining unrelated caches and HOME. Preparation is invalidated before mutation. Persisted allocation state recovers a lost capture requirement after a crash; a narrow pre-enrollment crash window can conservatively add one snapshot. Enrolled replay and replay after capture publication do not add captures. Explicit dedicated-host classification is preserved; missing or shared classification fails admission.

This publishes the complete state schema 17 contract: the node first-use binding table and five nullable Gateway lifecycle fields. The latter remain null in this slice. Ready capacity and repository-only preparation remain separate. The composition preserves the landed upload, checkpoint, compression, capture-deadline, Windows Git, and image-handoff repairs. No UI changes remain in this PR.

User Impact

Later sessions can reuse completed setup at stable paths with fresh enrollment and session isolation. Compatible source changes retain useful caches; bound-session restarts preserve edits. A fresh VM fork still takes minutes in the measured AWS case. The separate ready-pool slice targets the seconds-scale startup goal.

The native reverse-transition proof and cleanup are complete, so the foundation landing hold is lifted. Machine0 and Daytona remain unqualified. The complete schema 17 contract is maintainer-approved: older readers refuse the upgraded database, and rollback requires restoring a verified pre-upgrade backup, which excludes subsequent writes. Existing config remains valid; this slice adds no new user configuration option.

Evidence

Current head: b5e5e0cd8c1ac7ee282814cadfb74e56128c992c, composed with main 7e3a90bf5ce8959843a0758a9151fdef5d1e756e.

  • Exact-head CI passed, without a rerun. The final 100-file changed gate and 121 provider-composition tests passed. The four-file overlay repair separately passed 84 owner/sibling tests, matching regression failure, independent P2 review, and three installed Gateway/node turns covering preservation, reconciliation, and later deletion. Earlier foundation/replay/ownership coverage is retained; overlapping counts are not summed.

  • Fresh qualification of this commit passed all nine phases, including canonical build/pack, installation, 35,508 installed-file checks, a validated 7,635-entry bootstrap archive, and actual installed Gateway/transferred-worker command correlation with mock inference. A separate installed launch/restart check passed complete per-exec verification. All owned resources stopped. The inherited local fixture stops its node before the Gateway and logs a shutdown warning; this is not an error-free orderly-shutdown claim.

  • The installed published [email protected] baseline (1391f7cd, genuine schema 16) upgraded through candidate Doctor to 17 while preserving synthetic worker/credential records and additive data. New lifecycle fields remained null; the node-only table was absent after migration. The actual older Doctor refused 17 with exit 1 without changing config/database bytes. Supported backup restoration recovered schema 16 and pre-upgrade data, excluded later changes, and reached readiness with the matching binary. Both packages stayed unchanged. This covers global state, not per-agent migration or automatic package swap. An initial restored startup used default catalog fetching/shared logging; a fresh restore repeated readiness with catalog refresh disabled and task-local logging. Both attempts remain recorded.

  • Native AWS verified the repaired setup file, real Crabbox Go binary, stable workspace/HOME, session isolation, active Gateway restart, same-commit reuse, and A-to-B refresh. Seven worker turns exited zero with exact command/nonce correlation. Setup counts were 1 → 1 → 2. Cold dispatch to first observed program output was 739.622 seconds; same-commit reuse on a fresh VM took 183.368 seconds; A-to-B refresh took 503.178 seconds. These are transport-inclusive observer measurements using mock inference. Captures took 249.279 seconds and 55.688 seconds.

  • That native campaign remains failed: its 35-minute execution budget clipped return-to-A preparation to 105.428 seconds of command time, and the final session did not reach a worker command. No remote recipe error was captured. All 76 native commands and 12 local commands settled; all four instances and two snapshots were deleted within the separate cleanup bound, and frozen inputs remained unchanged. The completed cases are retained; the completed two-session B-to-A supplement below covers the missing transition on the same package.

  • The separate native AWS B-to-A supplement passed, including both actual worker commands and complete cleanup. Build count advanced 1 → 2, the second receipt identified B as its previous commit, and workspace/HOME/cache paths and the HOME marker remained stable. The second VM used the first checkpoint; generated output and the rebuilt A binary matched their exact commit and nonce. Cold B reached first observed program output in 736.038 seconds, and B-to-A refresh in 559.423 seconds; captures took 234.100 seconds and 54.236 seconds. All 43 native and 10 local commands settled, both instances and both snapshots were deleted, and source/package/harness inputs remained unchanged. Proof SHA-256: 72f91538a4b39782a160b00cc371884ba51cce17ab34fda9d155c597e1a503e9. The first supplement failed because its copied fixture lost executable mode; that failed result remains recorded. The corrected fixture verifies mode and recipe admission before allocation. Cached-seed and uploaded-seed paths converge before the same refresh owner; this is aggregate forward/reverse coverage, not a claim that the earlier full three-leg campaign passed.

@clawsweeper

clawsweeper Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation channel: voice-call Channel integration: voice-call gateway Gateway runtime agents Agent runtime and tooling extensions: codex extensions: crabbox size: XL maintainer Maintainer-authored PR labels Sep 9, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 9, 2026
@clawsweeper

clawsweeper Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 9, 2026, 7:23 PM ET / 23:23 UTC (Revision 11).

ClawSweeper review

What this changes

Cloud workers reuse completed project setup at stable workspace and HOME paths, preserve session changes, refresh compatible checkouts, and persist one-session ownership under state schema 17.

Warning

SQLite table change

This PR modifies persisted SQLite tables in src/state/openclaw-state-db-schema-additive.ts, src/state/openclaw-state-schema.sql. Prefer a design that avoids changing persisted SQLite tables. If the change is necessary, verify migration and upgrade compatibility against an existing database before merge.

Merge readiness

⛔ Blocked before merge - 5 items remain

This remains a useful, distinct implementation absent from current main. The earlier dedicated-host and setup-overlay findings are resolved; no new blocking correctness defect was established.

Priority: P2
Reviewed head: b5e5e0cd8c1ac7ee282814cadfb74e56128c992c

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch has meaningful runtime and upgrade evidence with prior defects repaired; reverse-refresh coverage remains the concrete qualification gap.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The captured body reports real installed Gateway/node and AWS runs through preparation, capture, binding, command execution, restart, and forward refresh, with seven correlated worker turns and setup counts 1→1→2. Those successful cases remain valid evidence; they do not complete the separately retained B→A qualification hold.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The captured body reports real installed Gateway/node and AWS runs through preparation, capture, binding, command execution, restart, and forward refresh, with seven correlated worker turns and setup counts 1→1→2. Those successful cases remain valid evidence; they do not complete the separately retained B→A qualification hold.
Evidence reviewed 10 items Pinned patch and current main: The complete local introduced file list was inspected against the pinned merge base. Current main still exposes pristine Git-seed preparation without completed-workspace adoption; the new preparation and node binding owners are absent there.
Current proof and explicit landing hold: The supplied body at sourceRevision cdb383db1dc2a4d40a03ce9ce41106c6d96c66cb466b0a093fcbbf8db9212f68 matches the live REST body and pinned head. It reports seven AWS worker turns, setup counts 1→1→2, stable paths, isolation, restart, and A→B refresh. B→A preparation exhausted the campaign budget before a worker command; cleanup completed and the author explicitly retains the landing hold.
Prior findings resolved: Lease normalization now preserves explicit sharedHost=false. Prepared admission still rejects omitted/shared classification. Initial synchronization overlays changes relative to pristine source, while accepted publication and checkpoint restoration use exact snapshots, addressing both retained prior findings.
Findings None None.
Security None None.

How this fits together

The Gateway prepares admitted project content and authorized setup before a cloud provider captures a reusable machine image. Fresh workers enroll, bind the prepared workspace to one session, and synchronize changes back to the Gateway.

flowchart TD
  A[Project commit and setup permission] --> B[Gateway preparation]
  B --> C[Completed workspace and HOME]
  C --> D[Provider image capture]
  D --> E[Fresh enrolled worker]
  E --> F[Verify and bind one session]
  F --> G[Run commands and reconcile files]
Loading

Before merge

  • Resolve merge risk (P1) - Publishing schema 17 prevents older builds from opening the upgraded global database; rollback requires a verified pre-upgrade backup and loses subsequent writes.
  • Resolve merge risk (P1) - Native B→A refresh remains unqualified: the campaign stopped during preparation, so successful forward refresh does not establish reverse-transition completion.
  • Complete next step (P2) - Complete the retained native B→A refresh qualification and have the author lift the explicit landing hold.
  • Review config compatibility - Confirm compatibility and upgrade impact for the changed config or default surface before merge.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

PR surface statistics unavailable: the file list is incomplete.

Review metrics

Metric Value Why it matters
Persistent contract State schema 16→17; 5 nullable Gateway columns; 1 first-use node table This publishes an older-reader boundary even though ready-pool lifecycle fields remain null.
Production versus test growth Production/tooling +2,743/−369; tests/support +3,566/−58 Production growth has a stated purpose: completed preparation, durable binding, refresh, and integration with existing transfer owners.

Stored data model

Persistent data-model change detected: database schema: src/state/openclaw-state-db-schema-additive.ts, database schema: src/state/openclaw-state-schema.sql, migration/backfill/repair: scripts/e2e/lib/upgrade-survivor/run.sh, migration/backfill/repair: src/state/openclaw-state-db-schema-repair.ts, serialized state: scripts/e2e/lib/upgrade-survivor/run.sh, unknown-data-model-change: scripts/e2e/lib/upgrade-survivor/run.sh, and 2 more. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster

Relationship: canonical
Canonical: #143227
Summary: This PR owns the completed-checkout foundation extracted from the broader cloud-worker proposal; ready capacity and public-repository admission remain separate dependent work.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Finish the retained reverse-transition qualification (recommended)
    Complete the existing B→A native proof on the frozen package before lifting the author's hold, retaining the demonstrated schema upgrade and backup-restoration evidence.
  2. Keep the foundation held
    If reverse refresh remains unresolved, leave this foundation and its dependent feature slices unlanded until the failure boundary is understood.

Technical review

Best possible solution:

Reuse completed setup through the existing provider lifecycle while preserving fixed paths, exact reconciliation, one-session ownership, and the documented schema-17 backup/recovery contract.

Do we have a high-confidence way to reproduce the issue?

Not applicable as a feature request; current main confirms pristine-seed reuse without this completed-setup capability. The reported reverse-transition timeout has not established a product defect.

Is this the best way to solve the issue?

Yes: extending the existing preparation and synchronization owners avoids a competing cache flow, and the repaired overlay preserves setup output while keeping checkpoint deletion semantics exact.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 8f6cdd32d63b.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. The captured body reports real installed Gateway/node and AWS runs through preparation, capture, binding, command execution, restart, and forward refresh, with seven correlated worker turns and setup counts 1→1→2. Those successful cases remain valid evidence; they do not complete the separately retained B→A qualification hold.

Label justifications:

  • P2: This is a bounded cloud-worker startup improvement, with no established urgent user-facing regression.
  • merge-risk: 🚨 compatibility: Schema 17 changes older-build compatibility, and the provider API gains documented prepared-workspace capabilities.
  • merge-risk: 🚨 session-state: The patch changes in-place workspace synchronization and persistent session binding, while native reverse-refresh qualification remains incomplete.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The captured body reports real installed Gateway/node and AWS runs through preparation, capture, binding, command execution, restart, and forward refresh, with seven correlated worker turns and setup counts 1→1→2. Those successful cases remain valid evidence; they do not complete the separately retained B→A qualification hold.
  • proof: sufficient: Contributor real behavior proof is sufficient. The captured body reports real installed Gateway/node and AWS runs through preparation, capture, binding, command execution, restart, and forward refresh, with seven correlated worker turns and setup counts 1→1→2. Those successful cases remain valid evidence; they do not complete the separately retained B→A qualification hold.

Evidence

What I checked:

  • Pinned patch and current main: The complete local introduced file list was inspected against the pinned merge base. Current main still exposes pristine Git-seed preparation without completed-workspace adoption; the new preparation and node binding owners are absent there. (src/gateway/worker-environments/project-preparation.ts:43, 8f6cdd32d63b)
  • Current proof and explicit landing hold: The supplied body at sourceRevision cdb383db1dc2a4d40a03ce9ce41106c6d96c66cb466b0a093fcbbf8db9212f68 matches the live REST body and pinned head. It reports seven AWS worker turns, setup counts 1→1→2, stable paths, isolation, restart, and A→B refresh. B→A preparation exhausted the campaign budget before a worker command; cleanup completed and the author explicitly retains the landing hold. (b5e5e0cd8c1a)
  • Prior findings resolved: Lease normalization now preserves explicit sharedHost=false. Prepared admission still rejects omitted/shared classification. Initial synchronization overlays changes relative to pristine source, while accepted publication and checkpoint restoration use exact snapshots, addressing both retained prior findings. (src/node-host/node-worker-transfer-client.ts:266, b5e5e0cd8c1a)
  • Authority and retirement boundaries: The transport rechecks current environment, credential, placement, node pairing, and capability before dispatch. Node storage permits one exact binding and retains retirement tombstones. Reviewed boundary cases cover wrong-session rejection before child creation, revoked pairing/ownership before dispatch, cancellation before registration commits, and rejection after retirement. (src/gateway/worker-environments/node-worker-prepared-workspace-transport.ts:116, b5e5e0cd8c1a)
  • Upgrade contract and supplied installed proof: Schema 17 adds five nullable Gateway fields and a first-use node binding table. The body reports genuine installed schema-16 migration, unchanged-byte refusal by the older Doctor, and successful pre-upgrade backup restoration. The documentation explicitly warns that restoration excludes subsequent writes. Public docs: docs/reference/database-schemas/state-schema-history.md. (docs/reference/database-schemas/state-schema-history.md:73, b5e5e0cd8c1a)
  • Released baseline: The latest supplied release, v2026.9.3, declares state schema 16; the proposed schema-17 contract is not part of that release. (src/state/openclaw-state-db-contract.ts:16, 1391f7cd2d40)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Complete the already planned native B→A refresh proof, including an observed worker command and settled cleanup, on the same frozen package.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (10 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-09T18:35:59.245Z sha ae7d8b3 :: blocked before merge. :: none
  • reviewed 2026-09-09T19:09:01.724Z sha ae7d8b3 :: blocked before merge. :: [P1] Preserve explicit dedicated-host facts before prepared admission
  • reviewed 2026-09-09T19:35:41.404Z sha 7fe35ae :: blocked before merge. :: none
  • reviewed 2026-09-09T20:05:02.334Z sha 4a7bca4 :: blocked before merge. :: none
  • reviewed 2026-09-09T20:30:05.966Z sha 4a7bca4 :: blocked before merge. :: none
  • reviewed 2026-09-09T21:41:13.077Z sha 4a7bca4 :: blocked before merge. :: [P1] [P1] Preserve completed setup output during the initial overlay
  • reviewed 2026-09-09T22:26:11.304Z sha b5e5e0c :: blocked before merge. :: none
  • reviewed 2026-09-09T22:44:07.723Z sha b5e5e0c :: blocked before merge. :: none

Prepare project setup and runtime at stable workspace and HOME paths before capture. Bind completed environments to one session, preserve edits on restart, and refresh compatible commits while retaining unrelated caches. Apply the approved complete schema 17 contract; keep ready-pool allocation and repository-only admission separate.

Preserve landed upload cancellation, checkpoint outcomes, manifest gzip, and canonical Windows Git configuration. Recover capture requirements after completed setup is replayed following a crash, using existing allocation state. An interrupted warm reuse before enrollment may conservatively capture once more.

Final integration passed 305 focused tests, the full changed gate, and scoped P2 review, with earlier broader and cross-process proof retained. Fresh installed-package and native AWS session qualification are pending; no cloud latency claim yet.
@steipete
steipete force-pushed the codex/prepared-project-workspaces branch from f8aac6f to ae7d8b3 Compare September 9, 2026 18:27
@steipete
steipete marked this pull request as ready for review September 9, 2026 18:29
@clawsweeper clawsweeper Bot added merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 9, 2026
Preserve a provider's explicit sharedHost=false result through lease normalization so prepared workspaces can register on dedicated nodes. Keep shared and unspecified hosts rejected by the existing admission guard.

Cover the actual service creation and parser boundaries, document the provider contract, and align existing dispatch, schema migration, Doctor, and native reader fixtures with the prepared-workspace change. Upgrade-survivor checks retain the exact candidate schema from its admitted tarball instead of assuming the published package's older schema.
@openclaw-barnacle openclaw-barnacle Bot added app: macos App: macos scripts Repository scripts commands Command implementations labels Sep 9, 2026
@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 9, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 9, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Sep 9, 2026
@steipete
steipete merged commit 411ea27 into main Sep 10, 2026
230 checks passed
@steipete
steipete deleted the codex/prepared-project-workspaces branch September 10, 2026 00:13
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 10, 2026
…claw#143407)

Recognize current session custody before delivery retirement re-admits a local preview. This preserves the displayed image while canonical media loads and retains the fallback for missing or replaced-session custody.

The original image detaches when an outbox history receipt precedes the live transcript event. The repaired producer preserves the original handle, pixels, and frame continuity in both receipt-first and event-first orders. Owner/sibling tests, Linux browser proof, changed checks, and independent P2 review passed.

Related: openclaw#143227, openclaw#134931
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 10, 2026
…penclaw#143227)

* feat(workers): reuse completed project setup across cloud sessions

Prepare project setup and runtime at stable workspace and HOME paths before capture. Bind completed environments to one session, preserve edits on restart, and refresh compatible commits while retaining unrelated caches. Apply the approved complete schema 17 contract; keep ready-pool allocation and repository-only admission separate.

Preserve landed upload cancellation, checkpoint outcomes, manifest gzip, and canonical Windows Git configuration. Recover capture requirements after completed setup is replayed following a crash, using existing allocation state. An interrupted warm reuse before enrollment may conservatively capture once more.

Final integration passed 305 focused tests, the full changed gate, and scoped P2 review, with earlier broader and cross-process proof retained. Fresh installed-package and native AWS session qualification are pending; no cloud latency claim yet.

* fix(workers): retain explicit dedicated host classification

Preserve a provider's explicit sharedHost=false result through lease normalization so prepared workspaces can register on dedicated nodes. Keep shared and unspecified hosts rejected by the existing admission guard.

Cover the actual service creation and parser boundaries, document the provider contract, and align existing dispatch, schema migration, Doctor, and native reader fixtures with the prepared-workspace change. Upgrade-survivor checks retain the exact candidate schema from its admitted tarball instead of assuming the published package's older schema.

* test(ui): wait for image custody before advancing handoff

The absence of an error-only send status does not show that custody was established. Wait for the canonical metadata request while the send acknowledgment is held, preserving the original image handle, pixel checks, and frame continuity assertions.

* fix(workers): preserve setup output during initial prepared sync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: macos App: macos channel: voice-call Channel integration: voice-call commands Command implementations docs Improvements or additions to documentation extensions: codex extensions: crabbox gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant