Skip to content

refactor(plugins): deslop memory, migration and utility plugins - #158532

Merged
steipete merged 5 commits into
mainfrom
deslop/l57-ext-misc
Sep 26, 2026
Merged

steipete merged 5 commits into
mainfrom
deslop/l57-ext-misc

Conversation

@steipete

@steipete steipete commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Repeated plugin plumbing, forwarding layers, and local copies of shared helpers make equivalent flows harder to maintain. This sweep consolidates those paths across memory, migration, and utility plugins.

User Impact

The cleanup preserves plugin manifests, configuration, setup flows, model-facing tool contracts, migration behavior, memory storage and retention, pairing authority, and protocol/authentication formats. MXC now removes its temporary sandbox directory when command preparation fails. The memory-wiki README also correctly lists Obsidian search as a write-scoped RPC.

Why This Change Was Made

  • Memory wiki uses one Obsidian action definition for CLI and Gateway registration, shares bounded page discovery, reuses parsed Markdown and timestamp/normalization owners, and removes unused import projections.
  • Active Memory and LanceDB reuse SDK coercion and normalization, remove unused watcher state and forwarding types, simplify cleanup while preserving original-error precedence, and trim comments that restate the implementation.
  • Both migration plugins call SDK migration owners directly. Ordered discovery and item descriptors replace duplicate construction while preserving parsing, mapping, conflict handling, and idempotence. Their distinct file-append contracts remain separate.
  • ACPX shares lazy method binding, record coercion, TOML header parsing, and lease recovery transitions. Agents API uses the official SDK declaration type.
  • Diffs shares rendering, artifact, and viewer-asset flows. Canvas shares tool metadata and command handling. A2A reuses its schema and UTF-8 helper. Logbook shares frame projections. OpenShell and MXC reuse existing schema and path owners; OpenShell retains its explicit guarded remote-path normalizer.
  • Prometheus creates each event's labels once; Firecrawl reuses SDK record coercion; pairing removes dead forwarding; 1Password shares pending-authorization construction without changing secret reads, caching, approvals, or audit fields.

Measured reduction: 1,535 net runtime production lines plus 26 net build/tooling lines. Tests add 35 net lines; the assertion baseline shrinks by one line. No SDK exports, package dependencies, manifests, or generated assets change.

Fixes found along the way

MXC allocated its sandbox temp directory before entering the cleanup scope. A command-bridge preparation error therefore leaked the directory. The regression failed on the original implementation with the leaked directory present; preparation now runs inside the existing try/finally.

Evidence

Linux validation used Blacksmith Testbox with Node 24.19.0 / pnpm 12.4.2:

  • Final integrated plugin sweep on tbx_01m3e0rcwrnmxzx2k2dwjb46sm (run): 3,048 tests passed, 62 existing skips; 214 files passed, two skipped. pnpm test:extensions:batch diagnostics-prometheus onepassword firecrawl a2a logbook diffs canvas openshell mxc migrate-hermes migrate-claude memory-lancedb memory-wiki acpx agentsapi covered the package-bearing plugins. pnpm test extensions/device-pair extensions/active-memory covered all four owning shards for the two manifest-only plugins rejected by the batch planner.
  • Cross-shard consumers: 183 tests passed, using pnpm test src/auto-reply/reply/inbound-context-marker.test.ts src/channels/plugins/contracts/channel-import-guardrails.test.ts.
  • MXC regression failed on the original cleanup path with a real leaked directory and passed after the fix (11 ms test body). Final MXC batch: 75 passed, 58 existing skips.
  • Latest correction proof on tbx_01m3dtnajm26vbd8hxv0jhp8a4 (lease run): node scripts/check-changed.mjs --base origin/main --timed passed in 589.97 s, including production/test typechecking, dead exports, boundaries, lint, and storage guards. pnpm test:extensions:batch memory-wiki memory-lancedb onepassword openshell passed: 1,118 tests, 78 files, two existing skips (146.55 s). Final pnpm build passed in 418.25 s, including SDK exports and declarations. pnpm release:check also passed (1,029.41 s), including fresh-install runtime smoke and SDK consumer compilation.
  • Independent Codex P0–P2 review completed with no accepted findings. The full-scope review's OpenShell concern was rejected after verifying that agent-owned roots already continue before the removed workspace guard; existing mirror-download tests cover the boundary. Fresh reviews of the type correction, private type, and final gate corrections were scoped-clean.

The published-driver × candidate ACPX cell also passed (248.47 s): the unmodified installed [email protected] updater consumed synthetic legacy gateway/lease state and installed candidate 2026.9.6. A task-private overlay of acpx-openclaw-tools-bridge bound the core package and separately shipped ACPX package to the candidate source/artifact hashes. It checked automatic migration before standalone Doctor, preserved archived legacy bytes, then invoked the registered lazy ACPX runtime: both owned wrappers terminated, the missing ordinary lease retired, and the uncertain missing-probe lease remained open. This Linux/manual-restart cell does not claim a live provider turn or updater-owned service restart. The test exited successfully; automatic diagnostic-artifact publication reported a warning, so the execution log was retained directly. Tested source tree: e6d56e5766cc48d9c7d36b268c35b266bda56098, identical to the pre-rebase commit 3a2f0b97228e31d48002c3f096c6090c229dc0c3.

Earlier integrated proof used base dac6274dae5833fa0d189c2ccd88ec2709b3f7a7. The sole conflict preserved both main's optional link extraction and this PR's normalization cleanup. The integrated wiki review is scoped-clean; ACPX source and its state contracts are unchanged. The final integrated run on tbx_01m3e0rcwrnmxzx2k2dwjb46sm passed: check-changed 709.64 s; package-bearing plugin batch 376.27 s; manifest-only plugin suites 68.81 s; cross-shard consumers 33.14 s; build 471.81 s. ClawSweeper completed its review of 1ca310da546 with no actionable findings.

Gate repairs retained concrete Diffs overloads, made an unused MXC type private, restored house-style object projections, preserved LanceDB primary-error precedence outside finally, and retained OpenShell's guarded normalizer. Assertion ratchets only shrink.

The prior hosted run also exposed an unrelated race from newer main in workspace-sync-tunnel.git.test.ts: rsync renames a temporary file between directory enumeration and lstat. PR #158443 owns the fix (586325fb03e8c6ffd2a633710a613bb15a17b106), its deterministic regression, and the successful 879-Node/124-Bun shard replay. This branch does not include that unrelated repair.

Landing rebase round 1: rebased onto 3b13311d7794f16814b4d5bdd22cf59d8d2fecca, including main's suppression fixes 20f3170d367 and 256abd76af3. No suppression-inventory change was made. Retained main's prompt imports and behavior; main's ACPX state adoption and backup-resource additions are preserved. Dropped hunks after affected proof: the Agents API message-projection factory removal, its direct-constructor call sites, and corresponding test edits. Main's new instruction tests mock that factory, so the original factory and all main tests remain unchanged. The newly added prompt module now consumes the same official SDK tool type as the tool builder, fixing its stale import. The affected run exposed these two rebase interactions; the four-file correction is independently reviewed and published at 99583705212ccea0231323a5ae11ee65eba4bfc6. The affected plugin batch passed on that correction; the remaining gates were interrupted when a further rebase became necessary.

Landing rebase round 2: rebased onto a46c0976ec7ac358b9b9a1249273a41cd287adfe. Kept main's Firecrawl config verbatim and the remaining equivalent error-payload asOptionalRecord conversion, with its exact assertion baseline shrinking from 2 to 1. Dropped this branch's Firecrawl config type reorganization and the import/scrape-helper hunks already supplied by main. Main's tests are unchanged; the Agents API correction remains intact. Round 2 head: d5e2f6aaf25c7a93eac632a5ea97116c0d0542b4. On tbx_01m3eefqj2d8g4fx9kgpxwk3f4, Firecrawl/ACPX/Agents API batches passed (538 tests, 47 files; 133.30 s), cross-shard consumers passed (183 tests; 34.41 s), check-changed passed (719.42 s), and build passed (493.48 s).

Changed-test wall times, measured with pnpm test <file> --maxWorkers=1 (including wrapper/transform preparation):

Test file under extensions/ Isolated wall seconds CI test-body seconds
mxc/test/mxc-backend-cleanup.test.ts 20.93 0.005
a2a/src/protocol.test.ts 1.59 0.036
agentsapi/agentsapi-messages.test.ts 16.88 0.010
canvas/scripts/bundle-a2ui.test.ts 1.68 0.665
memory-lancedb/embeddings.lifecycle.test.ts 17.85 0.745
memory-lancedb/memory-cli.test.ts 14.81 0.052
memory-wiki/src/gateway.test.ts 14.42 0.132
memory-wiki/src/obsidian.test.ts 13.71 0.029
memory-wiki/src/query.reads.test.ts 15.63 1.033
migrate-hermes/files-and-skills.test.ts 17.51 0.406

CI test-body seconds are sums of the reported cases for each file on head 1ca310da546; transform/worker preparation is excluded. Both hosted changed-plugin bundles passed in 309 s each, including provisioning and all their suites. The isolated wall times include wrapper/transform preparation.

Hosted CI run 36231073038 failed the filesystem import-boundary assertion in three Codex-plugin files outside this PR. A Linux Testbox A/B replay of the original 18-file shard on round 2 head d5e2f6aaf25c7a93eac632a5ea97116c0d0542b4 and clean base a46c0976ec7ac358b9b9a1249273a41cd287adfe produced identical outcomes: 271 passed, one failed, four skipped, and exactly the same three violating paths. The verifier compared the full selection, failed case, diagnostics, and counts. The owner repair is already merged as f2532a051f7a2c73731f7725184bff33b3b14f1f (fix(codex): use public SDK error helpers); it changes the imports and preserves error handling without expanding the allowlist. The proof lease is stopped.

Landing rebase round 3 is published after rebasing onto main at 8fd72da7f2212ce86b77a36d95880b6a6eef8180, which contains that owner repair. Kept main's Agents API event-submission retry implementation and all Agents API tests unchanged. Dropped this PR's earlier single-event submission helper and its callers; kept only the independently reviewed official-SDK function declaration type reuse in that client. Range-diff confirms the other four commits are patch-identical. Published head: 045cdcdee5b9e2fd7e33879cd188a977391ddf03 (1,535 net runtime production lines removed). Affected gates passed on Blacksmith Testbox tbx_01m3ennj3bq01yjdvvwvzpz9y9 (run): pnpm test:extensions:batch agentsapi onepassword (208 passed, one platform skip, 19 files; 52.52 s), the original filesystem-boundary shard on main's current tests (268 passed, four platform skips, 18 files; 20.14 s), cross-shard consumers (183 passed; 33.80 s), node scripts/check-changed.mjs --base 8fd72da7f2212ce86b77a36d95880b6a6eef8180 --timed (721.96 s), and pnpm build (457.88 s). The formerly failing boundary assertion passed, SDK exports/declarations built, and the tracked source remained unchanged throughout. The wrapper and proof both bound tree 466f11f614059d5a22c3c67c0f2bba59d172da7f to the published candidate. Fresh exact-head hosted CI has started and is in progress. The owned proof lease is stopped. Auto-merge remains disabled for the coordinator handoff.

@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.

@clawsweeper

clawsweeper Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 26, 2026, 8:04 AM ET / 12:04 UTC (Revision 11).

ClawSweeper review

What this changes

The branch consolidates repeated code across bundled memory, migration, channel, and utility plugins and moves MXC command preparation inside sandbox temporary-directory cleanup.

Merge readiness

⛔ Blocked before merge - 5 items remain

Keep open. Current main still lacks the MXC cleanup fix and much of the plugin consolidation. I found no definite introduced defect, but upgrade evidence for the pinned ACPX change remains incomplete.

Priority: P3
Reviewed head: 045cdcdee5b9e2fd7e33879cd188a977391ddf03

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The refactor has substantial focused validation and no confirmed patch defect, but upgrade proof for the pinned ACPX path remains incomplete.
Proof confidence 🦐 gold shrimp (3/6) Not applicable: The repository-admin author is exempt from the external-contributor proof gate. The MXC backend's injected preparation-failure regression and current-head Testbox checks support the changed paths, while the reported published-updater ACPX replay used an earlier tree; no persisted record format change was identified.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The repository-admin author is exempt from the external-contributor proof gate. The MXC backend's injected preparation-failure regression and current-head Testbox checks support the changed paths, while the reported published-updater ACPX replay used an earlier tree; no persisted record format change was identified.
Evidence reviewed 11 items Current main still has the MXC leak path: At fetched main, sandbox temporary-directory creation and command-bridge preparation both precede the cleanup try/finally.
Introduced MXC repair: The pinned head enters the cleanup scope before command-bridge preparation, so its finally block can remove the directory if preparation throws.
MXC regression coverage: The new test injects a bridge-preparation failure through the backend handle and checks that the temporary directory is empty; the PR body reports a before-fix failure and after-fix pass. I did not execute it in this read-only review.
Findings None None.
Security None None.

How this fits together

Bundled plugins handle Gateway and CLI requests through Plugin SDK contracts, producing memory results, channel responses, diagnostics, and sandbox actions. Doctor processes existing configuration and state before affected plugin runtime paths start.

flowchart LR
  A[Gateway and CLI requests] --> B[Plugin SDK contracts]
  B --> C[Bundled plugin actions]
  D[Existing config and state] --> E[Doctor migration]
  E --> C
  C --> F[Memory and channel results]
  C --> G[Sandbox and diagnostic effects]
Loading

Before merge

  • Resolve merge risk (P1) - The ACPX Doctor and lease-lifecycle refactor touches existing-install state. The published-updater replay used an earlier tree, so gateway identity, legacy-state adoption, and post-startup lease outcomes have not been shown on this pinned candidate.
  • Complete next step (P2) - Run the published [email protected] updater against this pinned candidate with copied legacy ACPX state, and report post-startup session-directory, gateway-identity, and lease outcomes.
  • Resolve review confidence - ClawSweeper must reach high confidence before merge readiness is known.
  • Review config compatibility - Confirm compatibility and upgrade impact for the changed config or default surface before merge.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

PR surface statistics unavailable: the file list is incomplete.

Review metrics

None.

Stored data model

Persistent data-model change detected: migration/backfill/repair: extensions/acpx/doctor-contract-api.ts, migration/backfill/repair: extensions/migrate-hermes/auth.ts, migration/backfill/repair: extensions/migrate-hermes/config-providers.ts, migration/backfill/repair: extensions/migrate-hermes/items.ts, migration/backfill/repair: extensions/migrate-hermes/memory.ts, migration/backfill/repair: extensions/migrate-hermes/model.ts, and 12 more. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Prove the pinned ACPX upgrade (recommended)
    Run the published updater against this head with copied legacy ACPX state and record migration, gateway identity, and lease outcomes after startup.

Technical review

Best possible solution:

Retain the shared plugin owners and MXC cleanup, then establish ACPX upgrade behavior with a published updater running against the pinned candidate and copied legacy state.

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

Yes. Current-main source places MXC bridge preparation after temporary-directory creation but before cleanup begins; an injected preparation error reaches that path. I did not execute the regression in this read-only review.

Is this the best way to solve the issue?

Unclear for the full branch until its ACPX upgrade path is verified on the pinned candidate. The inspected cutovers reuse existing plugin and SDK owners, and the MXC cleanup is placed at the failing boundary.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 1197afde91d2.

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This is primarily a maintenance refactor with a bounded MXC temporary-directory fix.
  • merge-risk: 🚨 compatibility: ACPX Doctor and process-lease paths affect existing installations, and the reported upgrade replay targets an earlier source tree.
  • 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. Not applicable: The repository-admin author is exempt from the external-contributor proof gate. The MXC backend's injected preparation-failure regression and current-head Testbox checks support the changed paths, while the reported published-updater ACPX replay used an earlier tree; no persisted record format change was identified.

Evidence

What I checked:

  • Current main still has the MXC leak path: At fetched main, sandbox temporary-directory creation and command-bridge preparation both precede the cleanup try/finally. (extensions/mxc/src/mxc-backend.ts:266, 1197afde91d2)
  • Introduced MXC repair: The pinned head enters the cleanup scope before command-bridge preparation, so its finally block can remove the directory if preparation throws. (extensions/mxc/src/mxc-backend.ts:269, 045cdcdee5b9)
  • MXC regression coverage: The new test injects a bridge-preparation failure through the backend handle and checks that the temporary directory is empty; the PR body reports a before-fix failure and after-fix pass. I did not execute it in this read-only review. (extensions/mxc/test/mxc-backend-cleanup.test.ts:19, 045cdcdee5b9)
  • ACPX update-sensitive path: The introduced hunk consolidates the conditions that register a canonical gateway instance ID during Doctor migration. The stored record shape is unchanged, but this remains an existing-install update path. (extensions/acpx/doctor-contract-api.ts:171, 045cdcdee5b9)
  • Upgrade proof revision gap: The captured PR body, whose SHA-256 was verified as ba93a55b0905f459762e7b9344c1b7f643a1d1688a0a5522235b2dda368d4b8e, identifies the published-updater ACPX cell's tested source tree as e6d56e5766cc48d9c7d36b268c35b266bda56098. Its later current-head validation lists plugin tests, boundary checks, cross-shard tests, check-changed, and build, but does not report a published-updater legacy-state replay on the pinned head. (045cdcdee5b9)
  • Pinned source identity: The current PR-head tree is 466f11f614059d5a22c3c67c0f2bba59d172da7f, different from the tree named for the earlier ACPX upgrade cell. The PR body's full captured source hash matched the live REST body inspected for this review. (045cdcdee5b9)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • paulcam206: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • kchuang1015: 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.

  • Show a published-updater run against the pinned head covering ACPX legacy state adoption and post-startup gateway and lease outcomes.

Rating scale

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

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

Workflow

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

History

Review history (10 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-26T03:11:42.528Z sha 06707c07b8ae13d93229ece5ff1801dae28099fa :: blocked before merge. :: none
  • reviewed 2026-09-26T03:20:49.521Z sha 06707c07b8ae13d93229ece5ff1801dae28099fa :: blocked before merge. :: none
  • reviewed 2026-09-26T04:54:04.470Z sha 3a2f0b97228e31d48002c3f096c6090c229dc0c3 :: blocked before merge. :: none
  • reviewed 2026-09-26T05:04:56.853Z sha 1ca310d :: blocked before merge. :: none
  • reviewed 2026-09-26T05:37:27.229Z sha 1ca310d :: blocked before merge. :: none
  • reviewed 2026-09-26T08:08:14.960Z sha 99583705212ccea0231323a5ae11ee65eba4bfc6 :: blocked before merge. :: none
  • reviewed 2026-09-26T09:01:05.495Z sha d5e2f6a :: blocked before merge. :: none
  • reviewed 2026-09-26T11:08:23.579Z sha d5e2f6a :: blocked before merge. :: none

@clawsweeper clawsweeper Bot added 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. and removed 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. labels Sep 26, 2026
@steipete
steipete marked this pull request as ready for review September 26, 2026 03:13
@clawsweeper clawsweeper Bot removed the rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. label Sep 26, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Sep 26, 2026
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Sep 26, 2026
@steipete
steipete enabled auto-merge (squash) September 26, 2026 07:33
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Sep 26, 2026
@steipete
steipete disabled auto-merge September 26, 2026 08:39
@steipete
steipete enabled auto-merge (squash) September 26, 2026 08:59
Consolidate plugin-local flows and use existing SDK owners while preserving manifests, configuration, model-facing tools, migration mapping, storage and protocol contracts. Fix cleanup of the MXC sandbox temp directory when command bridge preparation fails.
Use concrete file-content and file-diff overloads instead of a generic union that exceeds tsgo type complexity. Runtime normalization remains unchanged.
@steipete
steipete disabled auto-merge September 26, 2026 11:51
@steipete
steipete enabled auto-merge (squash) September 26, 2026 12:00
@steipete
steipete merged commit 8eed7e8 into main Sep 26, 2026
194 checks passed
@steipete
steipete deleted the deslop/l57-ext-misc branch September 26, 2026 12:11
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 27, 2026
…claw#158532)

* refactor(plugins): deslop memory, migration and utility plugins

Consolidate plugin-local flows and use existing SDK owners while preserving manifests, configuration, model-facing tools, migration mapping, storage and protocol contracts. Fix cleanup of the MXC sandbox temp directory when command bridge preparation fails.

* refactor(diffs): retain concrete normalized file types

Use concrete file-content and file-diff overloads instead of a generic union that exceeds tsgo type complexity. Runtime normalization remains unchanged.

* refactor(mxc): keep baseline input type private

* refactor(plugins): preserve cleanup and guarded projection contracts

* refactor(agentsapi): preserve main projection and prompt contracts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: a2a extensions: acpx extensions: active-memory extensions: agentsapi extensions: canvas extensions: device-pair extensions: diagnostics-prometheus extensions: diffs extensions: firecrawl extensions: memory-lancedb Extension: memory-lancedb extensions: memory-wiki extensions: onepassword 1Password plugin extensions: openshell merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. plugin: logbook Logbook automatic work journal plugin plugin: migrate-claude plugin: migrate-hermes plugin: mxc rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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