Skip to content

fix(plugins): prevent SDK replies from using retired runtime state - #199700

Merged
vincentkoc merged 9 commits into
mainfrom
fix/plugins-sdk-dispatch-owner-20261116
Nov 16, 2026
Merged

vincentkoc merged 9 commits into
mainfrom
fix/plugins-sdk-dispatch-owner-20261116

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes SDK reply dispatch reaching a retired state-database factory when a native SDK module survives replacement of its calling runtime graph.

User Impact

Reply operations stay with the host that admitted them. Fresh hosts can dispatch replies, while calls retained from a closed host remain rejected. Public SDK signatures, lazy exports, and the shipped standalone path are preserved.

Why This Change Was Made

The existing SDK resource host captures the whole lazy ACP/provider dispatch operation, including shared-state admission. Admission and execution therefore share one lifetime. Buffered and plain provider dispatch use one light guarded facade and sanitizer. The runtime-channel duplicate binder is removed.

The private ACP implementation has a distinct core export. Canonical abort, typing, cron, session, and reply-option type owners remove the circular static graph without changing capability validation or runtime bodies. Database lifecycle guards, schemas, configuration, and public operation identities are unchanged.

The production changes implement the generation-owned capability boundary; tests cover its lifecycle and authority invariants. The per-host captured operation capability and shared lifetime boundary replace duplicate dispatch binding and sanitization.

Evidence

Signed candidate: dd1c5f9439322b7a97979bd9940ad8edac3fee4c, tree edb25d587993b756a3b4f6d337ae2320ef97af6d. The native workflow integrated only captured protected-main 3dc7eb96a52859815e1f6b36f524bab875d4a08a, with ordered anchor parents [b00e62f842843e50211eb3058e05481db372f154, 3dc7eb96a52859815e1f6b36f524bab875d4a08a]. Both content conflicts now use the complete current-main catalog and suppression inventory; the stricter optional-property regression assertion is preserved. Of the 98 retained reviewed owner contracts, 97 are byte-identical to b00e62f; the changed cron-admission contract keeps main’s administrator-only template setup and the canonical capability type import. Earlier native anchors and proof remain attributed to their exact sources.

  • Fresh canonical review of the complete 3dc7eb9..dd1c5f9 PR range covered all 46 changed files and 18 whole current owner/caller contracts in one 323,463-byte pass: scoped-clean, complete, zero findings. Report SHA-256: 1596e860ae2ae0e52374e75d3a504e2653323c2238681abcdc5bfd961ba8ab5e. Prior reviews are reused only for verified unchanged source.

  • On exact dd1c5f9, pinned Bun passed the strict catalog regression (1), cron operator/template authority tests (55), and the complete suppression-inventory file (14): 70 distinct tests. Four-file canonical lint and formatting passed. These are focused Darwin checks, not a new full build or Linux proof. The required exact-head hosted CI and ClawSweeper review remain separate landing gates.

  • Full build, including SDK declaration emission and export checks, passed on signed 320c764b83528225a299bcadea628f9ec9982b84. Focused Node 24.22.1 and pinned Bun 191755ec115ece3dd642eba3cb0143cecb5e5d7a each passed 17 files / 160 tests. The final 910990f follow-up changes only two erased test type consumers; all production blobs match 320c764. Native validation.

  • The whole source-contracts lane passed on 320c764. The complete architecture lane passed on exact 910990f, including zero Madge cycles. Exact-head core, Gateway-methods, and agent/session test type graphs plus affected lint/format passed; plugin-SDK and messaging test graphs passed on unchanged inputs at 320c764. Exact-head tail.

  • Fresh canonical independent review of 26e8856..910990f completed all five ownership assignments with no findings; all 35 changed units and 98 whole source contracts were covered. Report SHA-256: 26d694f2d8e6da7dd4a84f16224b1b260ec54966dd221adab0039101efd8b33a. This complements the earlier full ownership review.

  • Ordered native ACP proof on signed 910990f passed on both Node and pinned Bun: two files / two tests per runtime. A1/A2 normal restart passed with the strict complete-stream assertion and unchanged publication. Actual file-boundary retirement changed publication 4→7; the retained getter was correctly denied, and fresh B's first ACP reply used a factory captured from current publication 7. CJS export identities stayed stable; gaps, overflow, callback failures, and unexpected rejections were zero. Final native proof.

  • That proof verified candidate 910990f plus only seven unpublished diagnostic paths as received tree 5951965c272bd78e3a14a5860a72b7fef8ab5108, with public comparison base 7ecd67c and the unchanged product fixture. All managed steps joined, the native lease settled successfully, and the exact clean signed candidate tree was restored. Diagnostic hooks and helpers are not in this PR. Native carrier cancellation after lease shutdown is separate from the payload's successful result; these receipts are not hosted CI success stamps.

  • The required-CI investigation found that the automation fixture advanced its global phase when the removed-job handler returned, before the original notice completed its model error roundtrip. It now strictly checks the canonical safe automation-not-found denial with no history, supplies the terminal reply, and awaits the original owner-bound SessionEventReceipt.settled before the next notice. Closed/foreign authority checks are preserved; the owned state directory is private and pending holds release in cleanup.

  • The prior fixture-only checkpoint tree ad829df passed the original canonical pinned-Bun predecessor→target sequence (two files / 12 tests), test-root-e2e, touched-file lint and formatting. All children joined and the native lease settled. Fixture validation. The later signed commit has exactly that tested tree.

  • Fresh canonical independent review of 910990f..b84c4c3 completed one pass with 24 whole source contracts and no findings. Report SHA-256: d48e915030e89b0062de17499e92eee54cfc698ac8c15f4bc4686159ab92945c. The unchanged production review and runtime proof above are reused explicitly.

  • Intentional JSON normalization drops optional undefined MCP metadata; structuredClone does not preserve that contract. The implementation and its single explained lint exception are now provided by current-main PR #199944. This PR retains the stricter assertion that the normalized optional property is absent. Historically, exact candidate tree 05e9def passed canonical lint, formatting, and the pinned-Bun regression while full 8862ffc reproduced one original lint error. That raw baseline failure remains a failure. Historical paired validation.

  • The same bounded validation preserved the original three-case order and two-operator overlap in server.agents.config-readiness.test.ts on the integrated source and the complete frozen base. Both arms passed 3/3, with no identity-guard mismatch observed. This is UNATTRIBUTED / NO_REPRO, not a SQLite fix or inherited-failure certificate. The Testbox had four cores / 16.56 GB RAM; the original CI group declared a minimum of 30,064,771,072 bytes (28 GiB), so hardware/cache equivalence is unknown. No database guard or production identity code changed. All children joined and exact source/index restoration completed; the native exit remained 1 solely to preserve the executed baseline lint failure. Task-only scalar hooks are not in this PR.

  • Fresh canonical review of d4bb8fb..a5b136e completed one pass with 25 whole contracts and no findings, including the sole upstream contract delta. Report SHA-256: 5f52d4dd97157159b7e0db1e3de7319f1fe767da985a8218f61aa380bfbb4010. The earlier complete SDK-owner and fixture reviews remain explicitly reused.

  • Required CI on a5b136e completed with one owned failure: the explicit suppression inventory did not yet name the approved JSON-normalization exception. The earlier b00e62f correction added only the exact file/rule/count entry and its reason; the collector, strict whole-inventory equality, rules, and production source are unchanged. Exact tree 09e7c4d passed the pinned-Bun tooling file (14/14), one-file canonical lint, and formatting. All managed children joined; native exit 0 and lease settlement were verified. Focused inventory validation.

  • Fresh canonical review of a5b136e..b00e62f completed one pass with 12 whole contracts and no findings. Report SHA-256: de8554591d1bafe58494efd28817dafeb3dbba957aae29fe0a42d01fa49ab95f. Earlier SDK-owner, fixture, and lint reviews are reused for unchanged source. That inventory entry is now supplied by current main. New published-head CI and hosted review remain required.

  • Current required CI run 43846074564 tested merge 49196744287e5082752e33636af33310dc34158a, with ordered parents 5c9ef285b21b0ba82ab8843618e6933b3d7002e3 and this exact candidate. Its executed checkout log and merge tree were verified. All 94 jobs ended: 55 succeeded, 13 failed (12 root jobs plus the aggregate), and 26 were conditionally skipped. Skips are not passes; PostgreSQL conformance, PG16 Gateway cron smoke, and security-fast actually passed.

  • Ten root jobs failed in the external runner startup hook because its 2,400-start daily quota was exhausted, before checkout or test execution. The required type graphs, central formatting/lint surfaces, and all five core lint stripes passed through the qualified local fallback on exact dd1c5f9 using Node 24.22.1 and the frozen private dependency install. This Darwin evidence is not Linux parity or a full-suite success. The first strict local lint profile remained a failure with nine existing max-lines diagnostics; the later five-stripe run used the original documented GitHub Actions severity policy and passed all nine internal leaves. A cancelled intermediate strict-profile bundle remains incomplete. No rule or source was weakened.

  • The executed post-attach readiness failure is inherited from upstream PR #200038: child-runtime preparation stopped calling fs.access, while the unchanged two-case fixture still waits at that incidental call. Actual logging fulfills before the stale gate, producing readiness did not prepare runtime. The relevant fixture and owners are identical in the tested base and merge. Follow-up: gate the original readiness checker preparation boundary, retaining the real implementation and both ready/close assertions.

  • The other executed failure is the fork fixture's long-history setup: it requests 40 identical reads and observes 20 remaining. The existing default repeated-tool guard from PR #199591 stops the twentieth identical call before execution. The fixture, guard, loop and session-policy owners are identical in the candidate, tested base and merge. This is a source-derived attribution matching the observed counter; the raw tool_repeat_limit terminal receipt was not captured. Follow-up: preserve the repeat guard and the 40-call/history/sender-policy coverage using nonrepeating synthetic work. No production guard or test assertion was changed for these failures.

The previous ClawSweeper findings are addressed: the private operation is now tryDispatchAcpReplyHookCore, and the host no longer imports its capability type from the implementation factory. Required exact published-head CI and a fresh hosted review remain separate landing gates.

Executed baseline failures and original reproduction provenance

Two broader checkers retain historical raw failure receipts, with identical results on the complete frozen base 7ecd67ccfd51e2c5aa6673809b69fb318235dd0a and candidate 26e88564f23556afbbbdc46882741d1b4a994560. The exclusive counterfactual consumer verified the full base tree and restored the candidate after joined execution. Candidate 320c764 reported the same findings after the type/export correction:

  • SDK surface: 163 public entrypoints, 3888 exports, 2243 callable exports, one wildcard reexport; existing budgets are 162 / 3867 / 2236 / zero.
  • QA unused exports: QA_CRON_ONE_SHOT_CHILD_RESULT, QA_CRON_ONE_SHOT_SERVICE_OUTPUT, and QA_CRON_ONE_SHOT_YIELD_OUTPUT. No resolution errors or new findings.

These failures are not passing stamps or waived hosted gates. Any required published-head failures still need their normal disposition.

  • A bounded local diagnostic follow-up to required CI run 43806021977 compared its exact merge 9552a2c84acd4aa87b642823aedd6799b83c460b against base 618bf31e4e84d5f84c6697f559da4c92689b8cf2. On Darwin arm64, Node 24.22.1 and pinned Bun 191755ec115ece3dd642eba3cb0143cecb5e5d7a, each arm passed qaRuntime preparation, the startup/restart context (two files / 86 tests), and the SDK-subpath predecessor followed by the heartbeat target (17 + 1 tests): 104 distinct tests per arm, 208 total. The runner duplicated the heartbeat summary; that duplicate is excluded from these counts. The run finished in 461.833 seconds with strict child joins, no failure-only diagnostic report, and exact b00e62f source/index restoration. The same two-worker settings and original 15s/90s assertions were retained; three other restart-group files and six earlier heartbeat targets were omitted. This is partial-context macOS evidence, not Linux parity, an inherited-failure certificate, a fix, or a passing hosted-CI result. The original hosted heartbeat and restart failures remain UNKNOWN.

The original synthetic RED used frozen C387 plus the diagnostic paths. The repaired old-C GREEN added this repair's 12 production paths and the canonical terminal-flush prerequisite already present in this PR's base from #197510. It is not an identical-input A/B comparison. The earlier SDK-only C overlay omitted that prerequisite and stopped at strict A2 stream equality. The signed 910990f proof above covers the SDK source, unchanged in b84c4c3; the fixture-only correction has separate proof below.

This repair does not establish the historical cause of #192560, which is already closed. Retention of an individual lazy inner native graph beyond the observed factory/guard path also remains unproven.

The earlier published 910990f Node shard ended with a 300-second Bun watchdog. A bounded symmetric diagnostic comparison identified the fixture phase-order defect; its baseline arm stalled during Gateway cleanup after an earlier scenario error. The diagnostic included an explicit private-state-directory qualification, and neither it nor the passing focused correction proves the original watchdog’s exact inner cause. No production timeout, authority check, or assertion was weakened.

@vincentkoc vincentkoc self-assigned this Nov 15, 2026
@clawsweeper

clawsweeper Bot commented Nov 15, 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 gateway Gateway runtime cli CLI command changes agents Agent runtime and tooling size: L labels Nov 15, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review November 15, 2026 17:36
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 15, 2026
@clawsweeper

clawsweeper Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR binds lazy SDK reply dispatch to the runtime host that admitted the operation.

Example: Host B handles its first ACP reply after runtime publication changes from 4 to 7.

  • Before: A retained native SDK module can reach the retired state factory from publication 4.
  • After: B uses its captured publication-7 runtime, while calls bound to closed host A remain rejected.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The implementation is coherent and has no open findings; focused native lifecycle proof supports the repair, with harness-level coverage and incomplete current-head CI limiting readiness confidence.
Proof confidence 🦐 gold shrimp (3/6) Sufficient (logs): The supplied Node/Bun native ACP receipts cover normal restart, actual file-boundary retirement, fresh-host dispatch through the current factory, and retained closed-host rejection; source comparison supports reuse at this head, and the review environment's blocked log download creates no contributor action.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: SDK replies can fail by reaching retired runtime state after their calling runtime graph is replaced.
Reason: The maintainer-authored repair restores the documented host-identity and accepted-work lifetime contracts without adding configuration or a new public capability.

Merge readiness

✅ Ready for maintainer review

This PR provides a useful runtime-ownership repair, and both earlier findings are resolved; no new actionable defect was found, while required CI remains incomplete after infrastructure capacity failures.

Priority: P2
Reviewed head: dd1c5f9439322b7a97979bd9940ad8edac3fee4c

Before merge

None.

Findings

None.

Agent review details

How this fits together

Plugin SDK reply helpers receive channel or ACP reply requests, select the admitting resource host, and lazily invoke core dispatch while that host retains shared-state ownership.

flowchart TD
  A[Plugin reply request] --> B[SDK facade]
  B --> C[Bound resource host]
  C --> D[Shared state admission]
  D --> E[Captured lazy dispatch]
  E --> F[ACP or provider reply]
  B --> G[Unbound standalone runtime]
Loading

Technical review

Best possible solution:

Keep whole-operation admission and lazy dispatch under the existing resource host, preserving public SDK contracts and standalone behavior.

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

Source shows the retained module-global dispatch path; the supplied retirement receipts exercise the repair, while the body correctly disclaims an identical-input original RED/GREEN comparison.

Is this the best way to solve the issue?

The repair uses the existing lifecycle owner, removes the competing runtime-channel binder, and moves unchanged contracts to lightweight owners without weakening database guards.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 5c9ef285b21b.

Provenance checked

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

  • Pinned introduction reviewed: Reviewed the supplied merge-base-to-head introduction; the root and applicable scoped AGENTS.md policies were applied, and no maintainer-notes directory exists in this checkout. (AGENTS.md:1, dd1c5f943932)
  • Existing lifetime owner extended: invokeReplyDispatch places the complete lazy operation inside the existing invocation and shared-state work scopes; the existing host owns admission, drainage, and closure. (src/plugins/legacy-sdk-resource-host.ts:54, dd1c5f943932)
  • Current main still needs the repair: Fetched main retains module-global provider dispatch loaders without the new host-owned operation selection. (src/plugin-sdk/reply-dispatch-runtime.ts:23, 5c9ef285b21b)
  • Prior findings resolved: The private ACP operation is tryDispatchAcpReplyHookCore, and the resource host declares its lightweight capability contract without importing the implementation factory. (src/auto-reply/reply/dispatch-acp-sdk.ts:19, dd1c5f943932)
  • Administrator restriction preserved: Template setup still requires controlUiAdmin and hasGatewayAdminScope; this PR changes the capability type import without changing that runtime decision. (src/gateway/server-methods/cron-creator-authority-admission.ts:240, dd1c5f943932)
  • Native retirement evidence retained: The full PR body records Node and pinned-Bun native ACP retirement results, fresh publication-7 dispatch, and closed-host rejection at 910990f. The relevant dispatch production files are unchanged at the reviewed head. The linked log download was blocked by this review environment's host allowlist; the workflow's cancelled carrier is explicitly distinguished from payload success. (910990f18196)

Likely related people:

  • Peter Steinberger: Raw commit d9837a5 adds src/plugins/legacy-sdk-resource-host.ts:91 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: d9837a55eb7d; files: src/plugins/legacy-sdk-resource-host.ts)

PR surface

Source +139, Tests +377. Total +516 across 46 files. Added test files: 2.

View PR surface stats
Area Files Added Removed Net
Source 35 416 277 +139
Tests 11 405 28 +377
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 46 821 305 +516

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: The repair addresses a concrete SDK reply failure after runtime replacement with a limited lifecycle trigger.
  • merge-risk: 🚨 compatibility: The change affects public SDK dispatch behavior across runtime lifetimes; the maintainer-directed implementation preserves signatures, lazy exports, standalone calls, and intentional closed-host rejection.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (5 earlier review cycles)
  • reviewed 2026-11-15T18:11:09.493Z sha 26e8856 :: needs changes before merge. :: [P2] Give the private ACP implementation a distinct export name | [P2] Remove the host-to-dispatch type dependency
  • reviewed 2026-11-16T01:56:33.683Z sha 910990f :: needs maintainer review before merge. :: none
  • reviewed 2026-11-16T03:29:18.140Z sha b84c4c3 :: needs maintainer review before merge. :: none
  • reviewed 2026-11-16T04:22:01.457Z sha a5b136e :: needs maintainer review before merge. :: none
  • reviewed 2026-11-16T04:53:14.029Z sha b00e62f :: needs maintainer review before merge. :: none

Reviewed November 16, 2026, 5:16 AM ET / 10:16 UTC (Revision 6).

@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components.

No secops approval is required. This comment is informational because the PR author has Maintain or Admin access.

  • Current SHA: dd1c5f9439322b7a97979bd9940ad8edac3fee4c
  • Maintainer: @vincentkoc
  • Repository role: admin

These security sensitive changes were made:

  • src/agents/cron-creator-authority-context.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/subagents/requester-cron-authority.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/gateway/cron-creator-authority-grant.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/cron-creator-authority-grant.types.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/server-methods/chat-send-external-authority-contract.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/server-methods/cron-creator-authority-admission.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.

Carefully review these changes before merging.

@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review Exact head 910990f addresses both prior findings. The PR body now records complete source-contracts and architecture results, final current-head Node/Bun native-retirement proof, independent review, and unchanged baseline failures. Please review the corrected ownership/type boundaries; preserve the public SDK contracts and closed-host denial.

@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Nov 16, 2026
@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 16, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review exact head b84c4c3dc03dc8811ed10013e4b18811a0ebd2c1. The follow-up is test-only: strict canonical removed-job denial and original notice receipt settlement before the next phase, private fixture state directory, and guaranteed owned-hold cleanup. The original predecessor → target Bun sequence (12/12), test-root-e2e, lint/format, and focused independent review passed; production source is unchanged from the previous reviewed head. The PR body records proof attribution and historical watchdog limits.

@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 16, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review exact head a5b136e6418a539d59f6fb43bea93f6ad7196b62 against frozen base 8862ffc735fe6f5e553a69ea2fb7731a6b90fd87. The PR body now records the signed baseline integration, exact published counts, scoped review, and source-specific validation. The required lint correction preserves intentional JSON normalization and adds a strict regression assertion. The SQLite CI rejection remains explicitly UNATTRIBUTED / NO_REPRO after the bounded comparison; required exact-head CI remains enforced.

@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review exact head b00e62f842843e50211eb3058e05481db372f154. The only change since a5 is the exact two-line intentional lint-suppression inventory entry; focused inventory tests, lint, format, and independent review passed. The PR body contains the current proof ledger and limitations.

@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

Baseline-Refresh: 0fc123b84f38775709f4d25511e7f8e70fcc1071
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review exact published head dd1c5f9439322b7a97979bd9940ad8edac3fee4c. The native baseline refresh integrates captured 3dc7eb96a52859815e1f6b36f524bab875d4a08a; both conflict resolutions use the canonical current-main files, the stronger metadata-absence assertion is retained, and cron template administration remains restricted. The updated PR body records the new complete scoped review, 70 focused passing tests, and all original CI/platform limitations.

@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@vincentkoc
vincentkoc enabled auto-merge (squash) November 16, 2026 10:14
@vincentkoc
vincentkoc disabled auto-merge November 16, 2026 10:41
@vincentkoc
vincentkoc merged commit 3d172a6 into main Nov 16, 2026
156 of 171 checks passed
@vincentkoc
vincentkoc deleted the fix/plugins-sdk-dispatch-owner-20261116 branch November 16, 2026 10:45
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 17, 2026
…penclaw#199700)

* fix(plugins): scope SDK reply dispatch to its runtime owner

* test(plugins): type reply dispatch surfaces and isolate lazy mocks

* refactor(plugins): isolate reply dispatch contracts

* test(plugins): use canonical cron capability types

* fix(test): settle automation notice read-boundary turns

* fix(agents): preserve JSON normalization for tool metadata

* test(agents): register JSON normalization lint exception
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling cli CLI command changes gateway Gateway runtime 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. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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