Skip to content

fix(update): preserve explicit plugin capability consent - #131301

Merged
steipete merged 6 commits into
mainfrom
fix/release-validation-plugin-consent
Aug 28, 2026
Merged

steipete merged 6 commits into
mainfrom
fix/release-validation-plugin-consent

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Aug 28, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

A core update can replace OpenClaw and then strand plugin convergence when an updated or restored plugin needs capability consent. The updater and update repair had no way to carry the operator’s explicit approval through all of those paths.

Review also found two concrete gaps beyond the initial flag wiring: channel sync passed a callback that its low-level installers did not consume, and current-process finalization could import a hashed module from the old package after that package had been removed. Both are repaired at their existing owners.

Why This Change Was Made

The channel-sync owner now prepares the canonical managed-artifact consent adapter for each npm, ClawHub, or permitted fallback attempt. It passes the actual pre-commit hook and records only the accepted surface. Three repetitive installer branches become one flow. Rejected or changed-during-review artifacts cannot commit; callback failures retain their identity; denial does not trigger registry fallback.

The explicit option travels through normal update, repair, the private finalizer, wizard, and fresh/current-process finalization. Applicable leaves accept it before or after the subcommand. Successful installed-target help determines whether the new option can be forwarded; equal version strings are not a feature guarantee. Unsupported targets retain the existing current-process route and explicit consent, while a failed help probe propagates. Convergence receives the already-read installed host version.

The real unsupported-target replacement reproduced an old-chunk ENOENT. The finalization owner now links its mandatory dependency before package replacement, while repair facts are still read at invocation. This is +2/-2 lines, not a preload list, retained runtime copy, or new finalizer.

The incoming unconditional fixture flag was superseded by the merged historical-compatible fixture repair and removed from this PR’s scope. The staged onboarding repair and Doctor lease repair are not duplicated.

User Impact

Operators can explicitly approve reviewed plugin capability changes with openclaw update --accept-capabilities or recover with openclaw update repair --accept-capabilities. The flag is invocation-scoped: --yes remains confirmation only, and acceptance grants no permission for later widening. The canonical owner rechecks the final declared surface after review; artifact integrity is recorded separately.

Declining widening can leave a usable prior plugin unchanged and report a warning. A missing active payload can still fail finalization until explicitly repaired. CLI update documentation now explains that distinction and recovery; product exit policy is not changed to match overbroad prose.

No configuration key, environment variable, dependency override, schema, or persisted-format change. Production: +130/-68, net +62; tests: +442/-38; E2E support: +370/-4; docs: +20/-3. Eighteen files, +962/-113 total. Maintainer review accepts the runtime growth for the additive CLI/process contract, actual artifact/record boundary, target-help compatibility and installed-host forwarding. Existing policy, adapter and finalizer owners are reused. CHANGELOG.md remains release-generated.

Evidence

Current head: cc1468158a22f1b7d1cec9ba7c53ec80e2b89798, rebased onto frozen main fae55749085189ed6380891a5945a0e96acc62ee after GitHub reported an actual test-file merge conflict. Maintainer review complete; approved for native preparation and landing. Fresh independent review has no actionable finding.

Proof Observed result
Exact rebased-head CI SUCCESS, attempt 1; required gate 98886945137 passed. CI jobs: 168 success, 16 skipped
Independent complete-final-diff Codex review Clean, no P0–P2 findings; normal scanner, isolated workspace and sandbox. Executed tests are recorded separately from static review
Whole canonical package/Docker lane Passed on runtime 44573c518d32b66f50ff68b3dd1611f7061db4bc, including unchanged-update assertions and six consent/recovery assertions through 14 real CLI commands and six snapshots
Authentic unsupported-target replacement, same final Testbox Passed after the captured old-chunk failure was repaired: real core replacement, no unsupported flag sent to the old finalizer, exact accepted fixture surface/integrity/record/runtime
Regression and integration proof Two wizard failures and 15 staged-artifact failures before repair; 610 historical focused tests passed. Earlier rebase: 310 passed. Lifecycle repair: 298 passed. Current conflict rebase: 404 tests across 10 files passed in 31.69s, including main service/child-stop cases and both consent controls. Counts overlap
Final MCP test-only repair 51 focused tests passed; unbounded scheduling, early completion and early rejection negative controls each failed as intended, with blocked work cleaned up
Local checks Current conflict rebase: all applicable changed-file gates pass, including core and core-test types, core/script lint, format, structural/dependency guards and zero runtime import cycles. Historical runtime build remains attributed to 44573; no new build or package run for this mechanical rebase. No timeout, assertion, baseline or dependency exemption

Package identity and observed behavior

The final canonical candidate tarball SHA-256 is 317b6ae77a0c0ee2ed14f424afc038f63d78dbd6be4a4dc55f4fce5daa512626. Remote source and the 17 then-changed file hashes matched runtime 44573. Blacksmith Testbox tbx_01m1476mew2jnhg3tf72erfwyf ran both final package legs and is verified completed; all five task-owned leases are stopped.

The canonical lane retained and passed its unchanged-update snapshot/config/output assertions. With a local registry exposing fixture versions 1, 2 and 3, the actual installed CLI proved:

  • No-consent update retained the old payload and acceptance record with actionable warning; its fresh child had no consent flag.
  • Explicit repair recorded the exact reviewed surface and integrity. Later widening remained denied.
  • Explicit normal update passed consent to a real fresh finalizer and loaded precisely the reviewed tools.
  • Removing the whole fixture package caused repair without consent to exit 1 and leave it absent. Explicit repair restored the exact payload, accepted record and runtime surface.

The independent older-target leg used the authentic, schema-compatible package from original Package Acceptance run 33099873637, artifact 9658437294, source 76feb368b5aa4122af8fb4e2f08b457d3ab8d460, version 2026.8.1, state schema 13 / agent schema 17. Its tarball SHA-256 is e1e2b2bea928ac3f628f21aae72f26808b89c10ad6d69246a05c9fc36f9f1a0d; immutable identity was verified independently of that historical run’s failing conclusion.

That target’s real help lacks the updater flag. The actual replacement first failed loading the deleted old Doctor registry chunk; after the static-link repair, the same replacement passed. Core build identity and entry bytes changed despite equal package versions. No post-core finalizer child received the unsupported flag. Current-process convergence installed fixture v2; the installed target’s plugins inspect --runtime --json verified its surface, hash, integrity, timestamp, payload and runtime tools without module/API errors. No fabricated target, copied runtime or schema bypass.

The accepted MCP test-only head e804826 differed from runtime 44573 only in that test (34,611 other tracked files matched). The subsequent necessary rebase onto fae557 resolves a real server conflict: it keeps the exact explicit=false/true consent table and its acknowledgement/no-handler assertions, while honoring main's deletion of a redundant fresh-doctor test. All six task commits and contributor credit are preserved. Range-diff shows four commits unchanged and two with test-context differences only; the added/removed-line sequence for every one of the 18 PR-owned files is identical before and after rebase.

This is PR-patch equivalence, not whole-tree identity across the new main base. Main's service-definition authority/ownership protections and winning-result-only child stop remain intact. Fresh integrated tests exercise those owners with the consent flow. Historical package executions remain attributed to 44573: both complete proof legs used isolated state and --no-restart; the preserved consent, artifact and current-process assertions are reused without claiming execution at the rebased head. No new package run was needed for the mechanical conflict resolution under maintainer direction. The latest ClawSweeper review covers exact cc146815 (14:47 UTC), reports no code/security findings, and marks proof sufficient (5/6); it no longer requests a package rerun. Both remaining ClawSweeper moves are addressed: maintainer review accepts the scoped consent contract and +62 production delta, and the final maintainer decision approves native preparation and landing. Exact rebased-head CI is green. The data-model heuristic does not represent a schema or persisted-format change.

Exact focused commands

Current conflict-rebase integration:

node scripts/run-vitest.mjs src/cli/update-cli.test.ts src/cli/update-cli/update-command-post-core.test.ts src/cli/update-cli/update-command-post-update.test.ts src/cli/update-cli/post-core-plugin-convergence.test.ts src/cli/update-cli/post-core-plugin-convergence.retirement.test.ts src/cli/mcp-cli.test.ts src/cli/mcp-cli.oauth.test.ts src/cli/mcp-cli.oauth-integration.test.ts src/cli/mcp-cli.login-loopback.test.ts src/plugins/update-channel.consent.test.ts

The actual node scripts/check-changed.mjs -- <all 18 PR paths> gate passed on the rebased source. The following commands record earlier executed proof and are not new runs after rebase:

node scripts/run-vitest.mjs src/cli/update-cli.test.ts src/plugins/update.test.ts src/plugins/update-channel.consent.test.ts src/cli/update-cli/post-core-plugin-convergence.test.ts src/commands/doctor/shared/missing-configured-plugin-install.test.ts test/scripts/docker-e2e-plan.test.ts test/scripts/targeted-docker-lane-groups.test.ts
node scripts/run-vitest.mjs src/cli/update-cli.test.ts src/cli/update-cli/post-core-plugin-convergence.test.ts src/cli/update-cli/update-command-post-update.test.ts
node scripts/run-vitest.mjs src/cli/mcp-cli.test.ts src/cli/mcp-cli.oauth.test.ts src/cli/mcp-cli.oauth-integration.test.ts src/cli/mcp-cli.login-loopback.test.ts
node scripts/check-changed.mjs -- src/cli/mcp-cli.test.ts
node scripts/run-tsgo-core-test-shards.mjs
pnpm build
bash scripts/e2e/plugin-update-unchanged-docker.sh

The authentic artifact leg used openclaw update --tag <verified-target.tgz> --accept-capabilities --yes --no-restart --json in an isolated prefix/state with the existing fixture registry. No operator gateway or state was touched.

Failures, limits and follow-up

Earlier CI caught a test entry-point reachability issue and an undeclared shell checksum utility. The scenario now uses the existing canonical probe entry and built-in streaming crypto, not exemptions. Already-landed main repairs removed the old fixture-seed, test-type and ingress-lint blockers during one authorized patch-identical rebase; their fixes were not copied.

Runtime-head CI needed one retry after an MCP concurrency test observed no callbacks within its default one-second poll. The historical cause is not established. Rather than rely on the retry, the final test-only commit uses a producer readiness signal and releases/awaits blocked work in finally, retaining the four-concurrent/six-total/ordered-result assertions. Negative controls prove it still rejects unbounded work, missing work and rejection. The prior e804 CI passed without retry; the rebased head has its own CI result above.

Published 2026.8.1-beta.3 was also verified and attempted, but its Doctor refused state schema 13 versus supported 9 after the core swap, before the unsupported-target branch. No guard was bypassed; the compatible immutable same-version target supplied that proof instead. Separate follow-up: assess pre-activation schema checks for explicit artifact targets. No universal historical-downgrade guarantee is claimed.

Stale/replaced review tokens are covered by real staged-artifact tests, not injected through the packaged CLI. No live ClawHub service, interactive TTY or live provider/channel proof is claimed. Direct Commander contracts and pinned Codex rust-v0.150.1 source were inspected; Codex files checked were codex-rs/app-server/src/request_processors/initialize_processor.rs:44–159 and codex-rs/app-server/src/message_processor.rs:835–901 at 90854393966b21e9ebfd21b122334eb09a20c93d. This changes host installation, not Codex protocol behavior.

Original contributor evidence and credit

Dallin’s original contribution reported 465 focused tests plus core types, formatting, syntax and diff checks. Those historical results remain distinct from the expanded maintainer proof above. Vincent’s original release failures were root-managed VPS upgrade, offline plugins, published upgrade survivor, and update restart auth.

Thanks @RomneyDa. Dallin Romney’s original authorship and exact Co-authored-by: Dallin Romney <[email protected]> trailers are preserved. AI-assisted: yes.

@clawsweeper

clawsweeper Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation cli CLI command changes scripts Repository scripts size: S maintainer Maintainer-authored PR labels Aug 28, 2026
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. 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 Aug 28, 2026
@clawsweeper

clawsweeper Bot commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 28, 2026, 11:24 AM ET / 15:24 UTC.

ClawSweeper review

What this changes

The PR adds an invocation-scoped --accept-capabilities update option and propagates it through update, repair, fresh-process handoff, plugin convergence, documentation, and packaged Docker coverage.

Regression provenance

Possible regression — probable (reviewed change; known regression link). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep this member-authored, maintainer-labeled PR open for normal owner-controlled landing. The introduced flow consistently carries explicit consent to channel migration, npm repair, and post-core convergence while preserving the artifact recheck before commit; no blocking patch defect was found.

Priority: P1
Reviewed head: cc1468158a22f1b7d1cec9ba7c53ec80e2b89798

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A substantial but coherently owner-bound repair with focused artifact and handoff coverage, exact-head CI reported green, and no supported correctness finding.
Proof confidence 🌊 off-meta tidepool Not applicable: The PR is member-authored, so the external-contributor proof gate does not apply; its supplied body nevertheless records packaged Docker update and repair evidence.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The PR is member-authored, so the external-contributor proof gate does not apply; its supplied body nevertheless records packaged Docker update and repair evidence.
Evidence reviewed 7 items Consent is propagated through all post-update owners: The update owner builds one explicit-or-interactive consent handler and passes it to channel synchronization, missing-payload repair, ordinary npm updates, and post-core convergence.
Artifact-bound enforcement remains at the commit boundary: The channel migration prepares a fresh consent adapter per source attempt, supplies its pre-commit hook to the installer, and records only the adapter’s accepted surface after success.
Staged artifact is re-read after consent: The canonical consent owner re-inspects the staged artifact after an asynchronous acknowledgement and rejects a token that no longer matches the final declared surface.
Findings None None.
Security None None.

How this fits together

The update CLI replaces or refreshes OpenClaw, then reconciles configured plugin artifacts before restart. This change carries an operator’s explicit capability approval into those reconciliation paths so widened plugin surfaces are reviewed at the artifact-commit boundary.

flowchart LR
A[Operator runs update] --> B[Update CLI]
B --> C[Core package replacement]
C --> D[Plugin convergence]
D --> E{Artifact needs consent}
E -->|accepted and rechecked| F[Commit plugin artifact]
E -->|not accepted| G[Keep prior artifact and report outcome]
Loading

Before merge

  • Resolve merge risk (P2) - This introduces a public noninteractive path that can approve widened plugin capabilities; its safety depends on retaining invocation scope, target-help fallback, and the staged-artifact token recheck in future update refactors.
  • Complete next step (P2) - This member-authored, maintainer-approved PR needs normal landing handling rather than an automated repair branch.
Agent review details

Security

None.

PR surface

Source +62, Tests +404, Docs +17, Other +366. Total +849 across 18 files.

View PR surface stats
Area Files Added Removed Net
Source 9 130 68 +62
Tests 4 442 38 +404
Docs 1 20 3 +17
Config 0 0 0 0
Generated 0 0 0 0
Other 4 370 4 +366
Total 18 962 113 +849

Review metrics

Metric Value Why it matters
Production versus test delta production +129/-68; tests +442/-38; E2E support +370/-4; docs +20/-3 The positive production growth implements a public update option and routes it through existing update and plugin-consent owners; the added tests cover parser, artifact, and packaged-update boundaries.

Stored data model

Persistent data-model change detected: migration/backfill/repair: scripts/e2e/plugin-update-unchanged-docker.sh, migration/backfill/repair: src/cli/update-cli.ts, migration/backfill/repair: src/cli/update-cli/post-core-plugin-convergence.ts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Land with the scoped consent contract (recommended)
    Accept the explicit update-time opt-in while retaining target compatibility fallback and final staged-surface validation before artifact commit.

Technical review

Best possible solution:

Land the documented invocation-scoped consent path with the artifact-bound recheck intact, preserving interactive consent as the default and the current-process fallback for older installed targets.

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

Yes. Current-main source shows no consent handler reaches post-update synchronization or convergence, while the supplied packaged Docker evidence and focused tests describe the failing/repaired update sequence; this read-only review did not rerun it.

Is this the best way to solve the issue?

Yes. The patch uses the existing CLI consent adapter and canonical staged-artifact consent owner rather than adding a parallel trust store or bypassing capability checks.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 117078fedbf6.

Labels

Label changes:

  • remove proof: sufficient: Current real behavior proof status is not_applicable, not sufficient.

Label justifications:

  • P1: The repair targets a real update workflow where configured plugins can otherwise remain stranded after a core update.
  • merge-risk: 🚨 compatibility: The new public update option crosses fresh- and current-process finalization paths and must remain compatible with older installed CLIs.
  • merge-risk: 🚨 security-boundary: The option authorizes widened plugin capabilities, so its per-invocation scope and final artifact recheck are security-sensitive.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The PR is member-authored, so the external-contributor proof gate does not apply; its supplied body nevertheless records packaged Docker update and repair evidence.

Evidence

What I checked:

  • Consent is propagated through all post-update owners: The update owner builds one explicit-or-interactive consent handler and passes it to channel synchronization, missing-payload repair, ordinary npm updates, and post-core convergence. (src/cli/update-cli/update-command-plugins.ts:204, cc1468158a22)
  • Artifact-bound enforcement remains at the commit boundary: The channel migration prepares a fresh consent adapter per source attempt, supplies its pre-commit hook to the installer, and records only the adapter’s accepted surface after success. (src/plugins/update-channel.ts:197, cc1468158a22)
  • Staged artifact is re-read after consent: The canonical consent owner re-inspects the staged artifact after an asynchronous acknowledgement and rejects a token that no longer matches the final declared surface. (src/plugins/capability-consent.ts:504, cc1468158a22)
  • Fresh-process compatibility is explicit: Before forwarding explicit consent, the post-core handoff probes the installed target’s update help; an unsupported target remains in the current-process route instead of receiving an unknown option. (src/cli/update-cli/update-command-post-core.ts:307, cc1468158a22)
  • Current main still lacks the requested propagation: At fetched main, post-update synchronization and convergence are called without a capability-consent handler, so this PR retains a meaningful unique repair. (src/cli/update-cli/update-command-plugins.ts:217, 117078fedbf6)
  • Focused regression coverage covers acceptance and rejection: The new table-driven channel test covers npm, ClawHub, and fallback installs with absent, accepted, stale, replaced, and throwing acknowledgements, asserting non-acceptance does not commit the staged payload. (src/plugins/update-channel.consent.test.ts:27, cc1468158a22)

Likely related people:

  • vincentkoc: Authored the merged package-restart/plugin-convergence repair that this PR extends with explicit consent propagation. (role: adjacent update-lifecycle contributor; confidence: high; commits: 30aa2794d9dc; files: src/cli/update-cli/post-core-plugin-convergence.ts)
  • steipete: Authored four of this PR’s owner-boundary follow-up commits and provided the recorded landing approval. (role: recent update-lifecycle contributor; confidence: high; commits: 047f5e65df17, 31a38b36cf2c, 768fc2ddcc75; files: src/cli/update-cli/update-command-plugins.ts, src/cli/update-cli/update-command-post-core.ts, src/cli/update-cli/post-core-plugin-convergence.ts)
  • RomneyDa: Authored the earlier merged onboarding-consent repair and the initial commit in this consent-focused stack. (role: prior merged consent-repair contributor; confidence: medium; commits: f466dc0dcf6b, 10109bc14065; files: src/plugins/capability-consent.ts, src/cli/update-cli.ts)

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 (9 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-28T10:16:20.415Z sha 6bf4b77 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-28T10:48:46.285Z sha 06d16b4 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-28T11:43:12.321Z sha d928274 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-28T12:20:28.795Z sha f1e6156ced81b65b44ada00cfb89b6582c08e07d :: needs maintainer review before merge. :: none
  • reviewed 2026-08-28T13:07:16.336Z sha 44573c518d32b66f50ff68b3dd1611f7061db4bc :: needs maintainer review before merge. :: none
  • reviewed 2026-08-28T13:52:06.350Z sha e804826694723bff34083b7a92e79ab51b254150 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-28T14:15:12.268Z sha e804826694723bff34083b7a92e79ab51b254150 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-28T14:47:18.815Z sha cc14681 :: needs maintainer review before merge. :: none

@steipete

steipete commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Reconciled head cc1468158a22f1b7d1cec9ba7c53ec80e2b89798; approved by maintainer review for native preparation/merge.

GitHub rejected the prior e804 landing because of a real conflict in src/cli/update-cli.test.ts. The existing six-commit stack was rebased onto frozen main fae55749085189ed6380891a5945a0e96acc62ee. The resolution retains both explicit-consent cases and all acknowledgement/no-handler assertions, and honors main's deletion of the redundant fresh-doctor case. Main's service-ownership safeguards and winning-result-only child stop are preserved.

  • Exact rebased-head CI: SUCCESS, attempt 1, including required gate 98886945137 (168 successful jobs, 16 skipped).
  • Current integrated proof: 404 tests / 10 files / 2 normal shards passed, including updater CLI, main's new service and overlapping-result tests, post-core/post-update/convergence, MCP readiness/OAuth/loopback and 15 real staged-artifact cases. All applicable changed gates passed, including core/test types, lint, formatting and zero runtime import cycles.
  • Fresh isolated complete-diff Codex review: no actionable P0–P2 finding. No new source change followed review. No assertion, timeout, environment, schema or dependency exemption.
  • All 18 PR-owned added/removed-line sequences match e804; net +62 production lines is unchanged. This is patch equivalence, not whole-tree identity across main. All six commits preserve Dallin's original authorship and exact co-author trailer.
  • Whole canonical Docker and authentic pre-flag replacement proof remains attributed to runtime 44573c518d32b66f50ff68b3dd1611f7061db4bc. Both complete package legs passed with isolated state and no restart. The PR's runtime/E2E changes are unchanged; new main owner contexts are covered by the current integration run. No package rerun is claimed for this rebase. All five prior leases remain completed.

Consent still acknowledges the exact reviewed artifact surface, never follows from --yes, and grants no permission for future widening. The static convergence dependency repair remains +2/-2. The earlier beta.3 schema refusal was not bypassed. No operator Gateway or state was touched. Release-generated CHANGELOG.md is unchanged.

Maintainer review accepts the scoped consent contract and +62 production delta; exact-head review/CI and native artifact validation passed; proceeding with native preparation/merge. Both remaining moves in the latest exact-head ClawSweeper review are addressed by this final maintainer approval.

@steipete
steipete force-pushed the fix/release-validation-plugin-consent branch from 85b2ac9 to 6bf4b77 Compare August 28, 2026 10:08
@openclaw-barnacle openclaw-barnacle Bot added docker Docker and sandbox tooling size: L and removed size: S labels Aug 28, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. labels Aug 28, 2026
@clawsweeper clawsweeper Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Aug 28, 2026
@steipete
steipete force-pushed the fix/release-validation-plugin-consent branch from d928274 to f1e6156 Compare August 28, 2026 12:13
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Aug 28, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 28, 2026
RomneyDa and others added 6 commits August 28, 2026 07:26
Use the canonical artifact consent adapter for channel migrations and preserve
explicit consent through the update wizard. Keep prior usable payloads on denial
and record the exact accepted surface through the existing install-record owner.

Cover parser boundaries, staged artifact changes, and packaged update/repair
handoffs without treating --yes as consent or granting future permission.

Co-authored-by: Dallin Romney <[email protected]>
Route the packaged consent scenario through the existing plugin-update probe
so Knip discovers the implementation through its normal entry graph. Initialize
scenario state only when the consent command runs, preserving other probe modes.

Co-authored-by: Dallin Romney <[email protected]>
Inspect the installed update command before forwarding explicit consent so
older and same-version target CLIs keep finalization in the existing parent
path when they lack the option. Preserve the installed compatibility host
through plugin convergence and reuse the update step timeout for inspection.

Use built-in streaming SHA256 for the packaged proof rather than requiring
an undeclared checksum binary.

Co-authored-by: Dallin Romney <[email protected]>
Link the mandatory registry repair before the core package swap removes the
old updater's chunks. This keeps current-process finalization runnable when
the installed target cannot receive explicit capability consent, without
retaining old runtime files or changing plugin policy.

Co-authored-by: Dallin Romney <[email protected]>
Synchronize the concurrency test at the fourth credential check instead of
polling command startup with a wall-clock deadline. Release blocked checks
and await Doctor in finally, including early command or assertion failures.
Keep the exact concurrency, total-check and sorted-result assertions.

Co-authored-by: Dallin Romney <[email protected]>
@steipete
steipete force-pushed the fix/release-validation-plugin-consent branch from e804826 to cc14681 Compare August 28, 2026 14:39
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Aug 28, 2026
@steipete
steipete merged commit 3ab1726 into main Aug 28, 2026
242 of 243 checks passed
@steipete
steipete deleted the fix/release-validation-plugin-consent branch August 28, 2026 15:25
@steipete

Copy link
Copy Markdown
Contributor

Merged via squash.

@clawsweeper clawsweeper Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Aug 28, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 29, 2026
…1301)

* fix(update): preserve explicit plugin capability consent

* fix(update): bind plugin consent to staged artifacts

Use the canonical artifact consent adapter for channel migrations and preserve
explicit consent through the update wizard. Keep prior usable payloads on denial
and record the exact accepted surface through the existing install-record owner.

Cover parser boundaries, staged artifact changes, and packaged update/repair
handoffs without treating --yes as consent or granting future permission.

Co-authored-by: Dallin Romney <[email protected]>

* test(update): register consent scenario with probe

Route the packaged consent scenario through the existing plugin-update probe
so Knip discovers the implementation through its normal entry graph. Initialize
scenario state only when the consent command runs, preserving other probe modes.

Co-authored-by: Dallin Romney <[email protected]>

* fix(update): retain consent with compatible finalizers

Inspect the installed update command before forwarding explicit consent so
older and same-version target CLIs keep finalization in the existing parent
path when they lack the option. Preserve the installed compatibility host
through plugin convergence and reuse the update step timeout for inspection.

Use built-in streaming SHA256 for the packaged proof rather than requiring
an undeclared checksum binary.

Co-authored-by: Dallin Romney <[email protected]>

* fix(update): keep convergence code loaded across replacement

Link the mandatory registry repair before the core package swap removes the
old updater's chunks. This keeps current-process finalization runnable when
the installed target cannot receive explicit capability consent, without
retaining old runtime files or changing plugin policy.

Co-authored-by: Dallin Romney <[email protected]>

* test(cli): await MCP Doctor batch readiness

Synchronize the concurrency test at the fourth credential check instead of
polling command startup with a wall-clock deadline. Release blocked checks
and await Doctor in finally, including early command or assertion failures.
Keep the exact concurrency, total-check and sorted-result assertions.

Co-authored-by: Dallin Romney <[email protected]>

---------

Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Dallin Romney <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI command changes docker Docker and sandbox tooling docs Improvements or additions to documentation maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P1 High-priority user-facing bug, regression, or broken workflow. 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.

2 participants