Repository navigation
fix(channel): harden local setup trust - #92175
Conversation
|
Codex review: passed. Reviewed June 11, 2026, 9:44 AM ET / 13:44 UTC. Summary PR surface: Source +190, Tests +892, Other +324. Total +1406 across 13 files. Reproducibility: yes. The source PR provides a concrete clean-main Docker/package path where an explicitly trusted Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land one canonical local-plugin trust rule across catalog selection and scoped loader imports, preserving explicit trusted setup and origin-aware safe fallback while clearly accepting the fail-closed upgrade behavior. Do we have a high-confidence way to reproduce the issue? Yes. The source PR provides a concrete clean-main Docker/package path where an explicitly trusted Is this the best way to solve the issue? Yes. The patch uses the existing manifest-owner policy at both catalog and loader owner boundaries, threads the existing load-path configuration into discovery, and narrows fallback exclusion to the rejected origin/plugin pair instead of adding a competing trust mechanism. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 047785eb30c0. Label changesLabel justifications:
Evidence reviewedPR surface: Source +190, Tests +892, Other +324. Total +1406 across 13 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
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. How this review workflow works
|
|
🦞✅ Source: What merged:
Automerge notes:
The automerge loop is complete. Automerge progress:
|
Thread plugins.load.paths through channel trusted-catalog discovery, make trusted fallback origin-aware, and block untrusted non-bundled channel plugins from scoped setup-only imports across workspace, config, and global origins. Co-authored-by: Copilot <[email protected]>
bf86d9f to
eabee04
Compare
Summary: - The PR extends channel setup trust enforcement and trusted catalog fallback from workspace-origin plugins to ... nfigured load paths into catalog discovery, and adds focused regression plus Docker/package proof coverage. - PR surface: Source +190, Tests +892, Other +324. Total +1406 across 13 files. - Reproducibility: yes. The source PR provides a concrete clean-main Docker/package path where an explicitly t ... ns unresolved, while the patched package resolves it and still blocks untrusted module and setup execution. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(channel): stabilize trusted catalog dts typing - PR branch already contained follow-up commit before automerge: fix(channel): repair trusted catalog exclusions typing - PR branch already contained follow-up commit before automerge: test(channel): cover local channel plugin trust - PR branch already contained follow-up commit before automerge: chore(deps): refresh plugin shrinkwraps - PR branch already contained follow-up commit before automerge: test(channel): route trust regression in command shard - PR branch already contained follow-up commit before automerge: test(channel): remove e2e-named trust regression Validation: - ClawSweeper review passed for head eabee04. - Required merge gates passed before the squash merge. Prepared head SHA: eabee04 Review: openclaw#92175 (comment) Co-authored-by: Mason Huang <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: hxy91819 Co-authored-by: hxy91819 <[email protected]>
Summary: - The PR extends channel setup trust enforcement and trusted catalog fallback from workspace-origin plugins to ... nfigured load paths into catalog discovery, and adds focused regression plus Docker/package proof coverage. - PR surface: Source +190, Tests +892, Other +324. Total +1406 across 13 files. - Reproducibility: yes. The source PR provides a concrete clean-main Docker/package path where an explicitly t ... ns unresolved, while the patched package resolves it and still blocks untrusted module and setup execution. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(channel): stabilize trusted catalog dts typing - PR branch already contained follow-up commit before automerge: fix(channel): repair trusted catalog exclusions typing - PR branch already contained follow-up commit before automerge: test(channel): cover local channel plugin trust - PR branch already contained follow-up commit before automerge: chore(deps): refresh plugin shrinkwraps - PR branch already contained follow-up commit before automerge: test(channel): route trust regression in command shard - PR branch already contained follow-up commit before automerge: test(channel): remove e2e-named trust regression Validation: - ClawSweeper review passed for head eabee04. - Required merge gates passed before the squash merge. Prepared head SHA: eabee04 Review: openclaw#92175 (comment) Co-authored-by: Mason Huang <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: hxy91819 Co-authored-by: hxy91819 <[email protected]>
Summary: - The PR extends channel setup trust enforcement and trusted catalog fallback from workspace-origin plugins to ... nfigured load paths into catalog discovery, and adds focused regression plus Docker/package proof coverage. - PR surface: Source +190, Tests +892, Other +324. Total +1406 across 13 files. - Reproducibility: yes. The source PR provides a concrete clean-main Docker/package path where an explicitly t ... ns unresolved, while the patched package resolves it and still blocks untrusted module and setup execution. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(channel): stabilize trusted catalog dts typing - PR branch already contained follow-up commit before automerge: fix(channel): repair trusted catalog exclusions typing - PR branch already contained follow-up commit before automerge: test(channel): cover local channel plugin trust - PR branch already contained follow-up commit before automerge: chore(deps): refresh plugin shrinkwraps - PR branch already contained follow-up commit before automerge: test(channel): route trust regression in command shard - PR branch already contained follow-up commit before automerge: test(channel): remove e2e-named trust regression Validation: - ClawSweeper review passed for head eabee04d54596790a16a70d56b97b51eddd87791. - Required merge gates passed before the squash merge. Prepared head SHA: eabee04d54596790a16a70d56b97b51eddd87791 Review: openclaw/openclaw#92175 (comment) Co-authored-by: Mason Huang <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: hxy91819 Co-authored-by: hxy91819 <[email protected]>
Summary: - The PR extends channel setup trust enforcement and trusted catalog fallback from workspace-origin plugins to ... nfigured load paths into catalog discovery, and adds focused regression plus Docker/package proof coverage. - PR surface: Source +190, Tests +892, Other +324. Total +1406 across 13 files. - Reproducibility: yes. The source PR provides a concrete clean-main Docker/package path where an explicitly t ... ns unresolved, while the patched package resolves it and still blocks untrusted module and setup execution. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(channel): stabilize trusted catalog dts typing - PR branch already contained follow-up commit before automerge: fix(channel): repair trusted catalog exclusions typing - PR branch already contained follow-up commit before automerge: test(channel): cover local channel plugin trust - PR branch already contained follow-up commit before automerge: chore(deps): refresh plugin shrinkwraps - PR branch already contained follow-up commit before automerge: test(channel): route trust regression in command shard - PR branch already contained follow-up commit before automerge: test(channel): remove e2e-named trust regression Validation: - ClawSweeper review passed for head eabee04d54596790a16a70d56b97b51eddd87791. - Required merge gates passed before the squash merge. Prepared head SHA: eabee04d54596790a16a70d56b97b51eddd87791 Review: openclaw/openclaw#92175 (comment) Co-authored-by: Mason Huang <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: hxy91819 Co-authored-by: hxy91819 <[email protected]>
Share existing config-path and retired-media traversal owners. Remove speculative rollback, retry, reentry, and diagnostic freshness machinery while preserving security effect checks, ordinary cleanup settlement, resource bounds, and public config, CLI, protocol, and persisted-data shapes. Phase E is untouched. Production delta: 335 net lines removed (+97/-432) across 16 old files. Focused proof: 311 tests in 25 files; final embedding/shutdown proof: 91 tests in 4 files. Independent scoped review found no actionable P0-P2 findings. Published as a branch only under the campaign's below-500 rule, not a PR. Best-effort tradeoffs accepted - Overlapping failed env publications may require reload/restart instead of ordered compensation; #105289/#103736 document synthetic harness proof, not a human actual-use report. - Failed in-process restart preparation/emission requires explicit config reapply or manual restart; #105289/#160375 describe synthetic timing, not a transient transport failure. - A mount changed during sampling may briefly be attributed to its parent filesystem until the next snapshot; #149792 uses forced mount fixtures, without a human incident. - CLI provider cleanup is attempted once; #113471's blocked-close fixtures do not establish a transient failed-close incident, and the CLI exits on cleanup failure. - Requested-head CI details are a snapshot until refresh; #148464's synthetic push/rerun interleavings do not justify rereading the head and check inventory after fetching jobs. - A malformed catalog resolver may repeat rejection until the existing 16-fallback bound instead of an earlier identity bailout; #92175/#89456 are synthetic trust-harness work, and every trust check remains. - Model normalizers must not reenter the same resolver; #156076's callback reentry is synthetic. Measured lookup caches and ordinary callback errors/order remain. - Offline plugin-state imports assume no unsupported same-destination writer after capacity preflight; #109679's ordinary near-capacity import remains fixed, while concurrent eviction compensation came from synthetic sibling seeding. - A delayed update verification reply may repeat a terminal broadcast or briefly show old status; #160592 supplies synthetic ordering proof, while durable effect idempotency, FIFO, repair authority, and shutdown joining remain. - A malformed reply from the fixed inline CA worker may fail instead of using a dedicated invalid-result fallback; #112338/#112336 do not report a human malformed-message incident. Timeout/error/exit handling remains. - Failed Gateway embedding cleanup blocks only its agent/provider scope until restart instead of retaining provider objects and retrying close; #113471 documents synthetic blocked-close proof, not a human failed-close incident. Local FIFO cleanup, remote concurrency, abort handling, authority, and normal shutdown settlement remain.
…#170826) * refactor: simplify older agent and channel execution paths Consolidate duplicate payload and metadata projections under their existing owners. Simplify internal bookkeeping and bounded cache invalidation while retaining public SDK contracts, security-effect authority, ordinary concurrency, and durable user state. * refactor: retain branch cache pending complete old-code cutover Withdraw the branch-cache cluster because completing its unused-export cleanup requires an infra owner touched this week. Preserve the original cache, regression assertions, and docs. The remaining old-code lane removes 424 net production lines and is branch-only under the campaign BELOW-500 rule. * refactor: simplify old gateway, config, and CLI bookkeeping Share existing config-path and retired-media traversal owners. Remove speculative rollback, retry, reentry, and diagnostic freshness machinery while preserving security effect checks, ordinary cleanup settlement, resource bounds, and public config, CLI, protocol, and persisted-data shapes. Phase E is untouched. Production delta: 335 net lines removed (+97/-432) across 16 old files. Focused proof: 311 tests in 25 files; final embedding/shutdown proof: 91 tests in 4 files. Independent scoped review found no actionable P0-P2 findings. Published as a branch only under the campaign's below-500 rule, not a PR. Best-effort tradeoffs accepted - Overlapping failed env publications may require reload/restart instead of ordered compensation; #105289/#103736 document synthetic harness proof, not a human actual-use report. - Failed in-process restart preparation/emission requires explicit config reapply or manual restart; #105289/#160375 describe synthetic timing, not a transient transport failure. - A mount changed during sampling may briefly be attributed to its parent filesystem until the next snapshot; #149792 uses forced mount fixtures, without a human incident. - CLI provider cleanup is attempted once; #113471's blocked-close fixtures do not establish a transient failed-close incident, and the CLI exits on cleanup failure. - Requested-head CI details are a snapshot until refresh; #148464's synthetic push/rerun interleavings do not justify rereading the head and check inventory after fetching jobs. - A malformed catalog resolver may repeat rejection until the existing 16-fallback bound instead of an earlier identity bailout; #92175/#89456 are synthetic trust-harness work, and every trust check remains. - Model normalizers must not reenter the same resolver; #156076's callback reentry is synthetic. Measured lookup caches and ordinary callback errors/order remain. - Offline plugin-state imports assume no unsupported same-destination writer after capacity preflight; #109679's ordinary near-capacity import remains fixed, while concurrent eviction compensation came from synthetic sibling seeding. - A delayed update verification reply may repeat a terminal broadcast or briefly show old status; #160592 supplies synthetic ordering proof, while durable effect idempotency, FIFO, repair authority, and shutdown joining remain. - A malformed reply from the fixed inline CA worker may fail instead of using a dedicated invalid-result fallback; #112338/#112336 do not report a human malformed-message incident. Timeout/error/exit handling remains. - Failed Gateway embedding cleanup blocks only its agent/provider scope until restart instead of retaining provider objects and retrying close; #113471 documents synthetic blocked-close proof, not a human failed-close incident. Local FIFO cleanup, remote concurrency, abort handling, authority, and normal shutdown settlement remain. * refactor: defer pricing cache cleanup touched on main Withdraw the usage-format production and paired test changes after main landed afc559c, keeping the hard seven-day old-code exclusion. Both files match the pre-campaign base, so main retains its interrupted-stream usage repair. The remaining reviewed o05/o06 union removes 713 net production lines across 42 files.
…openclaw#170826) * refactor: simplify older agent and channel execution paths Consolidate duplicate payload and metadata projections under their existing owners. Simplify internal bookkeeping and bounded cache invalidation while retaining public SDK contracts, security-effect authority, ordinary concurrency, and durable user state. * refactor: retain branch cache pending complete old-code cutover Withdraw the branch-cache cluster because completing its unused-export cleanup requires an infra owner touched this week. Preserve the original cache, regression assertions, and docs. The remaining old-code lane removes 424 net production lines and is branch-only under the campaign BELOW-500 rule. * refactor: simplify old gateway, config, and CLI bookkeeping Share existing config-path and retired-media traversal owners. Remove speculative rollback, retry, reentry, and diagnostic freshness machinery while preserving security effect checks, ordinary cleanup settlement, resource bounds, and public config, CLI, protocol, and persisted-data shapes. Phase E is untouched. Production delta: 335 net lines removed (+97/-432) across 16 old files. Focused proof: 311 tests in 25 files; final embedding/shutdown proof: 91 tests in 4 files. Independent scoped review found no actionable P0-P2 findings. Published as a branch only under the campaign's below-500 rule, not a PR. Best-effort tradeoffs accepted - Overlapping failed env publications may require reload/restart instead of ordered compensation; openclaw#105289/openclaw#103736 document synthetic harness proof, not a human actual-use report. - Failed in-process restart preparation/emission requires explicit config reapply or manual restart; openclaw#105289/openclaw#160375 describe synthetic timing, not a transient transport failure. - A mount changed during sampling may briefly be attributed to its parent filesystem until the next snapshot; openclaw#149792 uses forced mount fixtures, without a human incident. - CLI provider cleanup is attempted once; openclaw#113471's blocked-close fixtures do not establish a transient failed-close incident, and the CLI exits on cleanup failure. - Requested-head CI details are a snapshot until refresh; openclaw#148464's synthetic push/rerun interleavings do not justify rereading the head and check inventory after fetching jobs. - A malformed catalog resolver may repeat rejection until the existing 16-fallback bound instead of an earlier identity bailout; openclaw#92175/openclaw#89456 are synthetic trust-harness work, and every trust check remains. - Model normalizers must not reenter the same resolver; openclaw#156076's callback reentry is synthetic. Measured lookup caches and ordinary callback errors/order remain. - Offline plugin-state imports assume no unsupported same-destination writer after capacity preflight; openclaw#109679's ordinary near-capacity import remains fixed, while concurrent eviction compensation came from synthetic sibling seeding. - A delayed update verification reply may repeat a terminal broadcast or briefly show old status; openclaw#160592 supplies synthetic ordering proof, while durable effect idempotency, FIFO, repair authority, and shutdown joining remain. - A malformed reply from the fixed inline CA worker may fail instead of using a dedicated invalid-result fallback; openclaw#112338/openclaw#112336 do not report a human malformed-message incident. Timeout/error/exit handling remains. - Failed Gateway embedding cleanup blocks only its agent/provider scope until restart instead of retaining provider objects and retrying close; openclaw#113471 documents synthetic blocked-close proof, not a human failed-close incident. Local FIFO cleanup, remote concurrency, abort handling, authority, and normal shutdown settlement remain. * refactor: defer pricing cache cleanup touched on main Withdraw the usage-format production and paired test changes after main landed 7a00a9f, keeping the hard seven-day old-code exclusion. Both files match the pre-campaign base, so main retains its interrupted-stream usage repair. The remaining reviewed o05/o06 union removes 713 net production lines across 42 files.
Makes #89456 merge-ready for the ClawSweeper automerge loop.
The edit pass should inspect the live PR diff, review comments, and failing checks; rebase if needed; keep the contributor branch credited; and stop only when validation is green or an external blocker is proven.
Known failing checks:
ClawSweeper 🐠 replacement reef notes:
Co-author credit kept:
fish notes: reasoning high; reviewed against bf86d9f.