Skip to content

feat: delegate managed Gateway updates to OCM - #158932

Merged
shakkernerd merged 5 commits into
mainfrom
fix/ocm-update-delegation
Sep 26, 2026
Merged

shakkernerd merged 5 commits into
mainfrom
fix/ocm-update-delegation

Conversation

@shakkernerd

@shakkernerd shakkernerd commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

An OCM-managed environment needs its installation owner to perform an update, but the Control UI and internal /update command currently stop at the native updater's external-supervision boundary.
This adds a route from the normal Gateway updater to OCM's existing update jobs and keeps the accepted job's result visible after reconnects.

User Impact

Compatible OCM-managed environments can request an update and follow the same job through progress and completion.
Package updates retain their selected channel, and source updates retain native source-checkout and channel ownership.
Unmanaged installations and requests from external chat preserve their existing updater and authorization paths.

The UI displays OCM's recorded result and recovery instructions without inventing native verification phases or offering native repair/report actions for an OCM-owned job.
Accepted jobs remain readable while another source update is unavailable, and historical outcomes survive later environment rebinding.
A failed first status read resumes through polling without submitting another update.

Why This Change Was Made

The normal update.run entrypoint calls the existing admission module for one validation and the optional OCM handoff before native update records or lifecycle work begin.
OCM remains the owner of durable jobs, installation, checkpoints, restart, verification, and recovery.
The adapter discovers OCM from its trusted executable and environment identity, validates canonical paths, excludes configuration-owned overrides and workspace dotenv values, and rechecks current requester authority immediately before submission.
A lost submission reply is reconciled using the original request ID.

This is an additive, capability-discovered integration with the OCM job protocol.
Ordinary environment activation without a manager executable preserves the native path; a recognized manager that cannot answer the capability probe returns an actionable error before any native update begins.
Released older OCM managers retain native read-only update information when their CLI explicitly rejects the unsupported job command; managed writes and explicit OCM job reads still refuse with an actionable message.
Other capability, identity, authentication, timeout, and selected-job failures remain errors.
No additional support flag, OpenClaw storage migration, or second update ledger is introduced.
The source prerequisites are the preferred-target correction in #158926, artifact/currentness correction in #158931, and retired-workspace retention correction in #159035.
All three prerequisites are now landed; the final target contains the qualified retention repair.
The recorded live fixture used the first two landed corrections and the earlier retention candidate qualified below.

Evidence

Real managed source update

One Control UI Update request created one OCM job, which completed as source-updated with a restarted Gateway in 326 seconds.
The original browser reconnected, refreshed its UI, and recorded connected success on that same job while the running build matched the selected source.
A separate read-only browser context then retrieved the same successful job through update.status and update.runs.get before and after reload, with zero further update requests and no fabricated native verification or recovery controls.
The successful recording and screenshots appear first below; the source-build wait is explicitly accelerated to 32×.

The actual executed source was 9f9ddd059f259261051ad70c5f0e3a58ad7b5221 → 939ee0b224cca04ae94971877aae387ac5bb72fb, tree cc66fbea5885bd0381210ae4d55dea71d5a6bd79, combining adapter a165ff0 with retention candidate e783d95.
The landed retention repair 31445e8 preserves the scoped files from reviewed candidate 644dc9f, qualified against the original module-only orphan input, its corrected boundary tests, and a read-only comparison of post-update retention plans: 154,803 complete entry fingerprints and 186 copy pairs match, and relocation agrees for 156,623 paths.
The post-update comparison is not represented as reconstruction of the original dependency inventory, and the successful execution is not relabeled as a run of 644dc9f.
The source-built OCM driver has identical production and build files to landed openclaw/ocm@2af4102; only unchanged test functions are reordered.
This qualifies the source-built driver, without claiming a published release artifact was tested.

The original recorder later timed out on a sidebar locator absent from Settings, after its successful terminal snapshot.
Its failed tool result is retained; late token-byte assertions did not run, and the separate readback does not establish original-session continuity.
An earlier attempt failed on the retired Webhooks dependency edge; its failed job and explicit operator recovery remain recorded, while the successful attempt includes the native retention repair.
The footer’s dirty marker comes from the updater’s temporary pnpm virtual-store override during the candidate build; the workspace is restored before clean-source and exact-source checks, followed by matching activated artifact digests.
No raw Git-status snapshot was retained at the instant Vite observed it, so this does not claim a complete inventory of transient untracked files.

Boundary and regression checks

The normal-entrypoint correction passed 25 OCM RPC cases in 17.68 seconds and 133 native updater, authority, channel, campaign, and internal-command cases in 52.08 seconds on the cloud Mac.
The final flag-removal and dotenv correction passed 30 OCM RPC cases and 43 dotenv cases in 22.34 seconds, including real sync/async loader failures reproduced before the workspace namespace policy was corrected.
The changed dotenv file passed alone in 6.67 seconds with one worker.
The 49-case UI batch passed in 4.06 seconds, including the first-read retry regression that failed before correction.

Changed-file formatting, type-aware lint, the line-cap gate, production and affected test types, UI types, i18n, config documentation, import cycles, and stylesheet checks passed.
The unchanged UI and earlier selected test-type graphs retain their original execution identity; affected backend graphs were refreshed after the routing and dotenv corrections.
The UI build passes its startup performance gate at 370,913 bytes gzip against the 371,332-byte limit, and the environment-variable inventory remains 486.
Hosted CI and applicable security checks pass on final head 8183053.
ClawSweeper reports Platinum readiness and patch quality, Diamond proof confidence, and no actionable findings on that exact head.
Independent and structured P0–P2 reviews of the final correction are clean.
The older-manager status regression failed before correction, then all 36 OCM cases passed in 17.54 seconds and 80 native status, schedule, channel, and campaign cases passed in 14.55 seconds.
The actual published OCM 0.2.47 binary also passed the unsupported-capability classification through the real client, while the handler regression proves native latest/list/get remain readable and managed writes and explicit OCM reads refuse.
Final formatting, type-aware lint, production types, canonical Gateway test types, and changed-path ratchets pass.

Earlier isolated live proof also covers package replacement, download failure, activation rollback, source no-ops, reconnects, and retained readback.
The actual published OCM 0.2.47 binary rejects the unsupported capabilities probe before mutation; that refusal does not become a native update.
The secondary browser comparison below uses the maintained UI with a mocked Gateway and intentionally ends in a recorded download failure to show first-read recovery and truthful failure rendering.
Its captured UI and projection are byte-identical in a165ff0; it sends one request, polls the same job, and requires no reconnect.

Visual evidence

Open preview

Before After
Real OCM-managed Update confirmation for the prepared source installation. The same browser shows the updated build and OCM job succeeded after reconnect.

Real Update succeeds; source-build wait shown at 32×

proof.mp4

Visual verification

  • Baseline: 9f9ddd059f259261051ad70c5f0e3a58ad7b5221 (installed state before the real Update; not a pre-feature baseline)
  • Exact head: 81830534aa5d547dd8c3ea4a7ea6817931ec7753
  • Scenario: Confirm Update once in a real OCM-managed source installation; follow its job through the source build, Gateway restart, reconnect, and successful result.
  • Runtime/build: Captured source 9f9ddd059f259261051ad70c5f0e3a58ad7b5221 → 939ee0b224cca04ae94971877aae387ac5bb72fb, tree cc66fbea5885bd0381210ae4d55dea71d5a6bd79: adapter a165ff0 + native e783d95. Chromium153.0.8010.12; source-built OCM59819133.
  • Real Update submissions: Exactly 1
  • OCM terminal result: Same accepted job succeeded; source-updated; Gateway restarted
  • Installed and running source: 939ee0b224cca04ae94971877aae387ac5bb72fb
  • Read-only reload follow-up: Same successful job before and after reload; 0 Update submissions
  • Native verification and repair: No fabricated native phases, counts, or recovery actions
  • The primary pair shows before/after states of one real operation, not a pre-feature versus post-feature comparison; both use the same 1440×1100 light-theme Settings surface.
  • The recording retains the original input, restart, reconnect, and success; the 332-second build wait is explicitly accelerated to 32×.
  • The original browser recorded connected success on the same job; a later missing-sidebar locator timed out, so the recorder is not represented as wholly passing and its skipped token-byte assertions are not claimed.
  • A separate read-only browser context verified the retained successful job through reload without submitting another update; this does not establish original-session continuity.
  • Native retention head 644dc9f is qualified by the original orphan inputs, corrected boundary tests, and read-only semantic plan comparison; actual execution remains e783d95.
  • The source-built OCM driver has identical production/build files to landed OCM 2af41021; only unchanged test functions moved.
  • All original captures and receipts are retained; no release artifact or original-session token-byte equality is claimed.
  • The captured adapter is a165ff0; the final 8183053 correction only preserves read-only status for an older unsupported manager. Compatible-manager execution, UI and result projection are unchanged, with separate boundary and published-binary proof for that correction.

Supporting first-read recovery

Before After
Pre-fix OCM update remains unresolved after its first status read fails. The corrected UI recovers the same job and displays the recorded OCM failure outcome.

One update request, automatic read recovery, and recorded result

[email protected]

Visual verification

  • Baseline: ac401f72bcb553d714a16e1b373c8bf490b75627
  • Exact head: a44dbbd07f60a7581b7c5b253c77fa8a152d4fff
  • Scenario: Start an OCM-managed update and reject its first job-status read; the UI must resume polling the accepted job without another update request or reconnect.
  • Runtime/build: Maintained Vite source harness with mocked Gateway; Chromium 153.0.8010.12; source tree 9a2d5ef83a44196da42e35ab3248052c438d50f6
  • Update submissions: Exactly 1
  • Reconnects: 0
  • Job reads: Same accepted OCM ID across all 3 reads
  • Baseline: No automatic retry during an eight-second observation window
  • Native verification and repair: No fabricated phases, counts, or native recovery actions
  • Actual pre-correction source and exact current-head source were used with matching viewport, theme, route, and fixture.
  • The source harness proves browser behavior; native installation outcomes are covered by separately retained live evidence.
  • Both browser/server lifecycles completed cleanup.
  • The recorder holds the asserted confirmation and settled result for readability; it changes no production behavior.

@clawsweeper

clawsweeper Bot commented Sep 26, 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 app: web-ui App: web-ui gateway Gateway runtime size: XL labels Sep 26, 2026
@github-actions

github-actions Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components. This comment is informational because the PR author has repository Maintain or Admin access.

  • Current SHA: 81830534aa5d547dd8c3ea4a7ea6817931ec7753
  • Maintainer: @shakkernerd
  • Repository role: maintain

These security sensitive changes were made:

  • src/logging/diagnostic-support-redaction.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.

Carefully review these changes before merging.

@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: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 26, 2026
@clawsweeper

clawsweeper Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 26, 2026, 2:13 PM ET / 18:13 UTC (Revision 5).

ClawSweeper review

What this changes

Routes authorized Gateway and Control UI update requests from OCM-managed installations into OCM jobs and displays those jobs through OpenClaw’s update status views.

Merge readiness

⛔ Blocked before merge - 5 items remain

Keep this PR open. Current main lacks the OCM job handoff, and the previous older-manager status finding is addressed at this head. The implementation has strong real-use evidence, but release timing and a still-open source-update prerequisite need resolution before merge.

Priority: P2
Reviewed head: 81830534aa5d547dd8c3ea4a7ea6817931ec7753
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The owner-boundary patch and detailed real update proof are strong; merge readiness depends on coordinating the published OCM driver and native source-retention repair.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (recording): The Gateway update request, OCM job, status reads, and Control UI result were exercised in a real source-built OCM-managed installation: one submission led to a changed running build, Gateway restart, reconnect, and readback of the same completed job. The final older-manager correction has separate published-binary and handler evidence. Linked media was unavailable to this reviewer; the captured runtime account remains specific. No OpenClaw stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (recording): The Gateway update request, OCM job, status reads, and Control UI result were exercised in a real source-built OCM-managed installation: one submission led to a changed running build, Gateway restart, reconnect, and readback of the same completed job. The final older-manager correction has separate published-binary and handler evidence. Linked media was unavailable to this reviewer; the captured runtime account remains specific. No OpenClaw stored-data contract changes.
Evidence reviewed 8 items Introduced handoff: The pinned introduced diff places OCM discovery before native update-run creation, checks current requester authority before submission, and keeps external-chat requests on the native path.
Older-manager correction: The current PR head preserves native read-only status when the released OCM command is specifically unsupported; the new regression also checks that managed writes and explicit OCM reads still refuse.
Current-main boundary: Fetched main retains the native update status handler without OCM job discovery; the requested handoff is not already implemented there.
Findings None None.
Security None None.

How this fits together

The Gateway receives update requests from the Control UI and internal commands. For an OCM-managed installation, this branch asks OCM to perform the update, then reads OCM’s recorded job for status and UI display.

flowchart LR
  A[Control UI or internal command] --> B[Gateway update request]
  B --> C{OCM-managed installation?}
  C -->|Yes| D[OCM job and update owner]
  C -->|No| E[Native updater]
  D --> F[Gateway job status]
  E --> F
  F --> G[Update status view]
Loading

Decision needed

Question Recommendation
Should the Gateway handoff land before a published job-capable OCM driver and the native source-retention correction are available? Coordinate both prerequisites: Land the retention repair and qualify a published job-capable OCM driver before merging this integration.

Why: The code and source-built run establish the integration, but only maintainers can choose whether to stage a dormant feature ahead of its dependency rollout.

Before merge

  • Resolve merge risk (P1) - The demonstrated OCM-managed source update included the still-open runtime-retention correction. With the retired-workspace link from the recorded failure, current main can stop before completing that update.
  • Resolve merge risk (P1) - The latest published OCM release cannot run update jobs. A merge before a job-capable OCM release would expose the new path while released OCM installations still need their installation owner’s update workflow.
  • Complete next step (P2) - Decide whether to stage the integration early or wait for a published job-capable OCM driver, and resolve the open source-retention prerequisite before merge.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

Source +455, Tests +918, Docs -2. Total +1371 across 22 files.

View PR surface stats
Area Files Added Removed Net
Source 15 501 46 +455
Tests 6 941 23 +918
Docs 1 3 5 -2
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 22 1445 74 +1371

Review metrics

Metric Value Why it matters
Net code growth production +455 lines, tests and test support +918 lines The production growth is concentrated in the new OCM adapter and Gateway handoff; the PR explains OCM’s separate job ownership.

Stored data model

Persistent data-model change detected: migration/backfill/repair: src/infra/ocm-update-client.ts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Qualify the full rollout (recommended)
    Land the source-retention prerequisite and validate the candidate against a published job-capable OCM driver before merge.
  2. Accept a staged rollout
    Merge ahead of those prerequisites only with an explicit owner decision and user-facing guidance for OCM-managed installations.

Technical review

Best possible solution:

Keep OCM as the sole durable job and installation owner, then ship the Gateway handoff with the native retention repair and a job-capable OCM release.

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

Not applicable as a feature request. Current main’s external-supervisor boundary is visible in source, and the PR documents an OCM-managed run through the proposed entry point.

Is this the best way to solve the issue?

Yes. The Gateway adapter uses OCM’s existing job contract and leaves durable update work with the installation owner; rollout should account for the two prerequisites.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 402ae8b78022.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. The Gateway update request, OCM job, status reads, and Control UI result were exercised in a real source-built OCM-managed installation: one submission led to a changed running build, Gateway restart, reconnect, and readback of the same completed job. The final older-manager correction has separate published-binary and handler evidence. Linked media was unavailable to this reviewer; the captured runtime account remains specific. No OpenClaw stored-data contract changes.
  • add proof: 🎥 video: Contributor real behavior proof includes video or recording evidence. The Gateway update request, OCM job, status reads, and Control UI result were exercised in a real source-built OCM-managed installation: one submission led to a changed running build, Gateway restart, reconnect, and readback of the same completed job. The final older-manager correction has separate published-binary and handler evidence. Linked media was unavailable to this reviewer; the captured runtime account remains specific. No OpenClaw stored-data contract changes.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (recording): The Gateway update request, OCM job, status reads, and Control UI result were exercised in a real source-built OCM-managed installation: one submission led to a changed running build, Gateway restart, reconnect, and readback of the same completed job. The final older-manager correction has separate published-binary and handler evidence. Linked media was unavailable to this reviewer; the captured runtime account remains specific. No OpenClaw stored-data contract changes.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.
  • remove proof: 📸 screenshot: Current real behavior proof evidence kind is recording.

Label justifications:

  • P2: This is a bounded update-flow improvement with a significant but installation-specific rollout dependency.
  • merge-risk: 🚨 compatibility: Released OCM v0.2.47 lacks the job protocol; the branch preserves native read-only status but managed job submission needs an OCM upgrade.
  • merge-risk: 🚨 availability: The demonstrated source-update path needed an open retention repair after an earlier update stopped at that edge.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (recording): The Gateway update request, OCM job, status reads, and Control UI result were exercised in a real source-built OCM-managed installation: one submission led to a changed running build, Gateway restart, reconnect, and readback of the same completed job. The final older-manager correction has separate published-binary and handler evidence. Linked media was unavailable to this reviewer; the captured runtime account remains specific. No OpenClaw stored-data contract changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. The Gateway update request, OCM job, status reads, and Control UI result were exercised in a real source-built OCM-managed installation: one submission led to a changed running build, Gateway restart, reconnect, and readback of the same completed job. The final older-manager correction has separate published-binary and handler evidence. Linked media was unavailable to this reviewer; the captured runtime account remains specific. No OpenClaw stored-data contract changes.
  • proof: 🎥 video: Contributor real behavior proof includes video or recording evidence. The Gateway update request, OCM job, status reads, and Control UI result were exercised in a real source-built OCM-managed installation: one submission led to a changed running build, Gateway restart, reconnect, and readback of the same completed job. The final older-manager correction has separate published-binary and handler evidence. Linked media was unavailable to this reviewer; the captured runtime account remains specific. No OpenClaw stored-data contract changes.

Evidence

What I checked:

  • Introduced handoff: The pinned introduced diff places OCM discovery before native update-run creation, checks current requester authority before submission, and keeps external-chat requests on the native path. (src/gateway/server-methods/update-admission.ts:34, 81830534aa5d)
  • Older-manager correction: The current PR head preserves native read-only status when the released OCM command is specifically unsupported; the new regression also checks that managed writes and explicit OCM reads still refuse. (src/gateway/server-methods/update-status.ts:61, 81830534aa5d)
  • Current-main boundary: Fetched main retains the native update status handler without OCM job discovery; the requested handoff is not already implemented there. (src/gateway/server-methods/update-status.ts:47, 402ae8b78022)
  • Dependency contract: OCM’s job protocol advertises operations and binding identity, reads a latest or exact job, and validates the binding again before starting the upgrade worker. This is the direct dependency used by the new client. (src/cli/upgrade/job.rs:217, 2af41021558b)
  • Published-driver boundary: The latest published OCM release is v0.2.47; its tagged tree has no job protocol source. The PR body reports a source-built job-capable driver and a separate published-v0.2.47 unsupported-command check, without claiming a published job-capable artifact.
  • Real behavior proof: The PR body records one Control UI request, one OCM source-update job, a changed running build, Gateway restart, reconnect, and read-only retrieval of the same completed job. The linked media could not be opened by this reviewer; that inspection limit does not negate the detailed runtime observations. (81830534aa5d)

Likely related people:

  • shakkernerd: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: 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.

  • Resolve the open retention prerequisite and record a published job-capable OCM driver update/readback when that artifact is available.

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 (4 earlier review cycles)
  • reviewed 2026-09-26T14:25:19.133Z sha a44dbbd :: blocked before merge. :: none
  • reviewed 2026-09-26T14:57:56.402Z sha 030defe :: blocked before merge. :: [P1] Gate source handoff until artifact readiness is available | [P2] Resolve the environment-name ratchet increase
  • reviewed 2026-09-26T16:10:45.844Z sha a165ff0 :: blocked before merge. :: [P1] Preserve update status with released OCM managers
  • reviewed 2026-09-26T16:31:38.772Z sha a165ff0 :: blocked before merge. :: [P1] Preserve update status with released OCM managers

@clawsweeper clawsweeper Bot added merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 26, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. 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. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Sep 26, 2026
@clawsweeper clawsweeper Bot added proof: 🎥 video Contributor real behavior proof includes video or recording evidence. 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 26, 2026
@shakkernerd
shakkernerd merged commit 114994d into main Sep 26, 2026
252 checks passed
@shakkernerd
shakkernerd deleted the fix/ocm-update-delegation branch September 26, 2026 18:24
@shakkernerd

Copy link
Copy Markdown
Contributor Author

Added: OCM-managed updates now run through their installation owner and retain their recorded status across reconnects.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 27, 2026
Route eligible Gateway updates through the bound OCM manager and retain truthful managed job status across reconnects.
Preserve native read-only update information with older OCM managers while refusing unsupported managed writes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation gateway Gateway runtime merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 🎥 video Contributor real behavior proof includes video or recording evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. security-sensitive-changed 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