Skip to content

fix(plugins): make marketplace installs transactional - #129266

Merged
jalehman merged 1 commit into
mainfrom
oc-92a.11/plugin-install-transaction
Aug 27, 2026
Merged

jalehman merged 1 commit into
mainfrom
oc-92a.11/plugin-install-transaction

Conversation

@jalehman

@jalehman jalehman commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Marketplace plugin installs still published payload bytes before durable config and install-record persistence. If persistence rejected the replacement, the CLI reported failure while the new marketplace payload remained active.

This is the marketplace remainder of #127244. #122984 landed the stronger canonical transaction owner as 0c313d712839670f3ac60f8fd238af7e308cdc18 for local, npm, npm-pack, Git, and ClawHub sources, and explicitly left marketplace routing as a named follow-up.

Why This Change Was Made

Route marketplace installs through the existing installManagedPluginSource owner introduced by #122984. That owner requests the installer's deferred transaction, records the authoritative persistence commit boundary, rolls back only pre-commit failures, and retains committed payloads after late refresh failures.

The obsolete compensation implementation from this PR's prior head is not retained or replayed. The CLI's duplicate marketplace capability-consent and persistence path is removed.

User Impact

Failed marketplace replacements restore the previous payload and durable record as one generation. Successful persistence commits the replacement, while a post-commit refresh failure no longer rolls back already-authoritative bytes.

Evidence

  • Pre-fix current-main regression: node scripts/run-vitest.mjs src/plugins/management-service.install-compensation.test.ts failed because the marketplace row never invoked the marketplace installer through the transaction owner.
  • Post-fix focused proof: node scripts/run-vitest.mjs src/plugins/management-service.install-compensation.test.ts src/cli/plugins-cli.install.test.ts — 211 tests passed.
  • node scripts/check-changed.mjs -- src/cli/plugins-install-command.ts src/plugins/management-service.ts src/plugins/management-service.install-compensation.test.ts — passed.
  • Fresh Codex autoreview against origin/main — no accepted/actionable findings.
  • Production LOC: +45/-37 (net +8). Tests: +19/-0. The production growth adds the marketplace request/owner branch and deletes the CLI's parallel persistence flow.
  • Exact-head CI run 33063448628 passed for f4b2abb59eb06c0dd83f138ad4d49526f7475c30.
  • Blacksmith Testbox run 33063639575 fetched and verified that pushed SHA in a detached worktree, then passed 211/211 tests; lease tbx_01m11cjd49m1sthpqppz0nd705 was cleaned after success.

Fixes the remaining marketplace path from #127244.

@clawsweeper

clawsweeper Bot commented Aug 25, 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 cli CLI command changes size: M maintainer Maintainer-authored PR labels Aug 25, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. 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 25, 2026
@clawsweeper

clawsweeper Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 27, 2026, 12:09 AM ET / 04:09 UTC.

ClawSweeper review

What this changes

This PR routes managed plugin installs through a shared transaction coordinator so replacement payloads commit only after config and install-record persistence succeeds.

Merge readiness

⚠️ Ready for maintainer review - 5 items remain

Keep open: current main still lacks this transaction boundary, and the patch appears to repair the reported inconsistency. GitHub reports the current head as conflicting with main, while the protected maintainer label requires an explicit compatibility review after rebase.

Priority: P1
Reviewed head: ba91ae4320437193459f3699d0bb105b4c702e9a
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch is a focused owner-boundary repair with strong real CLI proof; rebase and compatibility review remain before merge.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The supplied exact-head Testbox CLI proof demonstrates an A-to-B forced replacement rejecting B after persistence validation and restoring A's payload, config, record, and backup state.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The supplied exact-head Testbox CLI proof demonstrates an A-to-B forced replacement rejecting B after persistence validation and restoring A's payload, config, record, and backup state.
Evidence reviewed 8 items Current main still lacks the repair: Current main retains the older persistence path without deferred transaction request or resolution; the PR-to-main diff adds that owner-level coordination, so this work is not implemented on main.
Persistence owner coordinates settlement: The PR persists first, commits custody only after success, and rolls the payload back when persistence throws.
All managed source routes use the shared owner: Local, marketplace, npm-pack, Git, ClawHub, and npm/official routes receive the same deferred-install request before their source installer runs.
Findings None None.
Security None None.

Live Verification

Command: node scripts/run-vitest.mjs src/plugins/install.npm-spec.test.ts -t 'settles a forced npm-pack replacement only after persistence'

Result: FAIL (partial) — step 2 expect_output settles a forced npm-pack replacement only after persistence: expected terminal output was not visible within 30 seconds: "settles a forced npm-pack replacement only after persistence"

[test] starting test/vitest/vitest.plugins.config.ts

 RUN  v4.1.10 /tmp/clawsweeper-live-proof-129266-qjMJvq/target

 ✓  plugins  src/plugins/install.npm-spec.test.ts (78 tests | 76 skipped) 825ms

 Test Files  1 passed (1)
      Tests  2 passed | 76 skipped (78)
   Start at  04:10:27
   Duration  10.96s (transform 7.97s, setup 1.05s, import 8.72s, tests 825ms, environment 0ms)

[test] passed 1 Vitest shard in 17.22s
[test] starting test/vitest/vitest.plugins.config.ts

 RUN  v4.1.10 /tmp/clawsweeper-live-proof-129266-qjMJvq/target

 ✓  plugins  src/plugins/install.npm-spec.test.ts (78 tests | 76 skipped) 641ms

 Test Files  1 passed (1)
      Tests  2 passed | 76 skipped (78)
   Start at  04:10:45
   Duration  5.24s (transform 2.52s, setup 450ms, import 3.91s, tests 641ms, environment 0ms)

[test] passed 1 Vitest shard in 11.34s

Assertions:

  • FAIL expect_output: settles a forced npm-pack replacement only after persistence

How this fits together

The plugin-install CLI selects a source and calls the plugin management service, which publishes plugin payloads and persists configuration and install records. This change makes the management service coordinate commit or rollback across those two durable states.

flowchart LR
  A[Plugin install CLI] --> B[Management service]
  B --> C[Source installer]
  C --> D[Deferred payload transaction]
  D --> E[Config and install-record persistence]
  E --> F{Persistence succeeds?}
  F -->|Yes| G[Commit payload]
  F -->|No| H[Restore prior payload]
Loading

Decision needed

Question Recommendation
After resolving the main-branch conflict, should OpenClaw adopt transactional rollback for failed managed-plugin replacements as the compatibility behavior for existing installations? Rebase and adopt the transaction coordinator: Resolve the conflict, rerun the exact A-to-B CLI proof and required checks, then merge the coordinated rollback behavior.

Why: The implementation is a focused repair, but it deliberately changes recovery semantics for already-installed plugins and the protected maintainer label requires an explicit owner decision.

Before merge

  • Resolve merge risk (P1) - GitHub currently reports the PR head as dirty against main; conflict resolution must preserve the current-main plugin-management changes and rerun the exact replacement proof.
  • Resolve merge risk (P1) - This intentionally changes failure recovery for existing managed plugin replacements, so maintainer review should explicitly accept restoring the prior payload rather than retaining a newly published payload after persistence failure.
  • Resolve merge risk (P1) - Production code is net +59 lines; the growth is tied to a single cross-source transaction owner, but should be rechecked after rebase for opportunities to absorb duplicated coordination.
  • Complete next step (P2) - The PR is a protected maintainer item and currently conflicts with main; its remaining action is compatibility acceptance and conflict resolution, not an autonomous repair.
Agent review details

Security

None.

PR surface

Source +59, Tests +236. Total +295 across 5 files.

View PR surface stats
Area Files Added Removed Net
Source 3 119 60 +59
Tests 2 236 0 +236
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 5 355 60 +295

Review metrics

Metric Value Why it matters
Production versus regression-test delta production +119/-60 (net +59); tests +236/-0 The production growth centralizes transaction custody across managed install sources, while the added tests cover commit and rollback ordering.

Stored data model

Persistent data-model change detected: serialized state: src/plugins/management-service.install-compensation.test.ts. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #127244
Summary: This PR is a concrete candidate repair for the canonical failed-forced-install consistency bug.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Rebase with transactional rollback intact (recommended)
    Resolve the conflict against current main without reintroducing the old publish-before-persist behavior, then repeat the forced-replacement CLI proof.
  2. Accept a different recovery contract
    If restoring the previous payload is not the desired upgrade behavior, pause this PR and define the alternative before merge.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Rebase onto current main, preserve deferred transaction settlement through persistence, and attach fresh exact-head CLI rollback and commit proof.

Technical review

Best possible solution:

Rebase onto current main, retain one management-service transaction owner for all mutable install sources, and verify both commit and rollback through the real CLI before merging.

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

Yes. The supplied A-to-B fixture scenario is concrete and current main lacks the deferred transaction coordination; this read-only review did not execute the failing baseline itself.

Is this the best way to solve the issue?

Yes. Centralizing settlement in the management service removes the prior CLI split and lets every mutable installer carry its own rollback receipt through the durable-state boundary.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 751e6c540f9a.

Labels

Label justifications:

  • P1: A failed forced replacement can otherwise leave active plugin bytes inconsistent with durable configuration and install metadata.
  • merge-risk: 🚨 compatibility: Merging changes the recovery behavior that existing managed plugin installations experience after persistence failures.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The supplied exact-head Testbox CLI proof demonstrates an A-to-B forced replacement rejecting B after persistence validation and restoring A's payload, config, record, and backup state.
  • proof: sufficient: Contributor real behavior proof is sufficient. The supplied exact-head Testbox CLI proof demonstrates an A-to-B forced replacement rejecting B after persistence validation and restoring A's payload, config, record, and backup state.

Evidence

What I checked:

Likely related people:

  • steipete: Feature history shows repeated ownership of plugin installation and compensation, including the prior managed-install compensation change. (role: recent plugin-install area contributor; confidence: high; commits: 441a9b94cf05, da2684b890dc; files: src/plugins/management-service.ts, src/plugins/install-npm-pack.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Resolve the reported conflict against current main and repeat the exact A-to-B replacement proof on the rebased head.

Rating scale

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

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

Workflow

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

History

Review history (4 earlier review cycles)
  • reviewed 2026-08-25T11:29:14.926Z sha a0c5502 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-25T12:11:17.318Z sha a0c5502 :: found issues before merge. :: [P1] Forward the deferred receipt through npm-pack installs
  • reviewed 2026-08-27T00:54:45.416Z sha ba91ae4 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-27T03:17:34.965Z sha ba91ae4 :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed 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 25, 2026
@jalehman

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The npm-pack P1 is repaired at the managed-NPM producer boundary on ba91ae4320437193459f3699d0bb105b4c702e9a:

  • npm-pack now forwards the deferred transaction request into installPluginFromManagedNpmRoot, matching registry npm.
  • New forced same-generation A-to-B coverage proves rollback restores exact A bytes and the A durable source record after persistence failure, commit retains B, custody remains live through persistence, and both managed-NPM/archive backups are cleaned.
  • Focused owner suites: 84/84 passed.
  • Repair-file changed gate: green, including core/core-test typechecks, lint, formatting, dead-export, database/schema, dependency, compatibility, and import-cycle guards.
  • Fresh Codex autoreview: clean, no accepted/actionable findings.

The PR Evidence section contains the exact commands and LOC accounting. Source audit found no sibling receipt-producing installer that drops the request.

@clawsweeper

clawsweeper Bot commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added 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. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 27, 2026
@jalehman

Copy link
Copy Markdown
Contributor Author

Blacksmith Testbox behavioral proof (exact PR head)

node scripts/crabbox-wrapper.mjs run \
  --provider blacksmith-testbox \
  --timing-json -- \
  CI=1 NODE_OPTIONS=--max-old-space-size=4096 \
  OPENCLAW_TEST_PROJECTS_PARALLEL=6 \
  OPENCLAW_VITEST_MAX_WORKERS=1 \
  OPENCLAW_TESTBOX=1 OPENCLAW_TESTBOX_REMOTE_RUN=1 \
  bash -lc '<A-to-B forced local-plugin replacement scenario>'

Exact scenario: the shell first required git rev-parse HEAD to equal the SHA above and used isolated temporary HOME and OPENCLAW_STATE_DIR directories. It created same-ID local plugin fixtures demo-transaction-proof: generation A/version 1.0.0 accepted config mode=a; generation B/version 2.0.0 required mode=b. It then ran:

pnpm openclaw plugins install "$ROOT/plugin-a" --force
pnpm openclaw config set plugins.entries.demo-transaction-proof.config.mode a
pnpm openclaw plugins install "$ROOT/plugin-b" --force

The third command was required to fail. The scenario asserted its output contained invalid configured settings, then asserted all of the following through the real CLI/state paths:

  • $OPENCLAW_STATE_DIR/extensions/demo-transaction-proof/package.json still reported 1.0.0.
  • The installed index.js still contained generation A.
  • pnpm openclaw config get plugins.entries.demo-transaction-proof.config.mode still returned a.
  • readPersistedInstalledPluginIndexInstallRecords({ env: process.env }) still reported durable record version 1.0.0.
  • .openclaw-install-backups contained no leaked custody directory.

Result: PASS (exitCode=0, command 89.283s, total 91.871s).

BEHAVIOR_PROOF PASS sha=ba91ae4320437193459f3699d0bb105b4c702e9a rejected_generation=B restored_payload=A restored_config=a restored_record=1.0.0 backups=clean

Lease cleanup: the one-shot wrapper stopped the lease after success. Independent blacksmith testbox status --id tbx_01m10k17gpz2p8cdbaafjf9vfs verification reports completed and no IP.

@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Aug 27, 2026
@jalehman
jalehman force-pushed the oc-92a.11/plugin-install-transaction branch from ba91ae4 to 41cddd4 Compare August 27, 2026 07:44
@jalehman

Copy link
Copy Markdown
Contributor Author

Blacksmith Testbox behavioral proof (rebased exact PR head)

node scripts/crabbox-wrapper.mjs run \
  --provider blacksmith-testbox \
  --timing-json -- \
  CI=1 NODE_OPTIONS=--max-old-space-size=4096 \
  OPENCLAW_TEST_PROJECTS_PARALLEL=6 \
  OPENCLAW_VITEST_MAX_WORKERS=1 \
  OPENCLAW_TESTBOX=1 OPENCLAW_TESTBOX_REMOTE_RUN=1 \
  bash tmp-pr129266-testbox-proof.sh

The delegated sync created only its standard remote-testbox-sync commit containing the proof script; the script required that commit's parent to equal the exact PR SHA above and rejected every other changed path before running.

Exact scenario: isolated OPENCLAW_STATE_DIR; same-ID local plugin fixtures demo-transaction-proof; generation A/version 1.0.0 accepts config mode=a; generation B/version 2.0.0 requires mode=b. The real CLI installed A, persisted mode=a, then attempted forced A-to-B replacement. The B install was required to fail with invalid configured settings.

The scenario then asserted through real CLI/state paths that:

  • the installed package remained version 1.0.0;
  • installed index.js remained generation A;
  • openclaw config get still returned mode=a;
  • readPersistedInstalledPluginIndexInstallRecords still reported durable record version 1.0.0;
  • .openclaw-install-backups contained no leaked custody directory.

Result: PASS (exitCode=0, command 130.760s, total 132.965s).

BEHAVIOR_PROOF PASS sha=41cddd41a58ffefba6656bbf8018910e4ad287f3 rejected_generation=B restored_payload=A restored_config=a restored_record=1.0.0 backups=clean

Lease cleanup: the one-shot wrapper stopped the lease after success. Independent blacksmith testbox status --id tbx_01m1130dyg839jy6x5avge1hx7 verification reports completed and no IP.

@jalehman

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Rebased exact head 41cddd41a58ffefba6656bbf8018910e4ad287f3 is mergeable against current main. Conflict resolution retained current-main npm availability and managed-override normalization while preserving the management-service transaction owner.

Fresh evidence is durable in the PR body and #129266 (comment):

  • exact-head Blacksmith Testbox real CLI A-to-B rollback proof passed;
  • focused and sibling suites passed (82 + 201 + 80 tests);
  • changed-file gate passed, including core/core-test types, lint, dead exports, database/schema, dependency, compatibility, and import cycles;
  • fresh Codex autoreview is clean with no actionable findings.

Please refresh the durable review against this exact head.

@clawsweeper

clawsweeper Bot commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@jalehman

Copy link
Copy Markdown
Contributor Author

Superseded by #122984, squash-merged as 0c313d712839670f3ac60f8fd238af7e308cdc18.

That landed change contains the same owner-boundary repair and is stronger than this branch:

  • installManagedPluginSource requests the existing deferred transaction once for local, npm, npm-pack, Git, and ClawHub sources.
  • persistPluginInstall records the authoritative commit boundary through onCommitted, so pre-commit failures roll back the candidate while late refresh failures retain the already-committed payload.
  • npm-pack forwards the transaction request and has explicit commit/rollback coverage.
  • the obsolete index/path-inference compensation stack is removed.

Rebasing this PR onto current main conflicts exactly in those owner modules. Resolving by replaying this branch would reintroduce the deleted compensation stack and would roll back payload bytes after some post-commit failures, recreating durable-state divergence that #122984 explicitly prevents.

Current-main verification at 2f4c71d8dde8070eca35e91df5ab29d4e46d963f:

node scripts/run-vitest.mjs \
  src/plugins/management-service.install-compensation.test.ts \
  src/plugins/install.npm-spec.test.ts \
  src/plugins/install-persistence.test.ts

Result: 3 files, 101 tests passed. PR #122984 also carries real built-CLI A-to-B rollback proof, post-commit failure proof, and green exact-head CI: https://github.com/openclaw/openclaw/actions/runs/33050938121.

Closing this PR as fully superseded by the canonical landed implementation. Attribution for this branch remains in its history and review trail.

@jalehman jalehman closed this Aug 27, 2026
@jalehman jalehman changed the title fix(plugins): make managed installs transactional fix(plugins): make marketplace installs transactional Aug 27, 2026
@jalehman jalehman reopened this Aug 27, 2026
@jalehman
jalehman force-pushed the oc-92a.11/plugin-install-transaction branch from 41cddd4 to b85a2f2 Compare August 27, 2026 10:31
@jalehman
jalehman force-pushed the oc-92a.11/plugin-install-transaction branch from b85a2f2 to f4b2abb Compare August 27, 2026 10:31
@jalehman

Copy link
Copy Markdown
Contributor Author

Exact-head Blacksmith Testbox behavioral proof passed for f4b2abb59eb06c0dd83f138ad4d49526f7475c30.

  • Provider: blacksmith-testbox
  • Lease: tbx_01m11cjd49m1sthpqppz0nd705 (amber-prawn-e711)
  • Run: https://github.com/openclaw/openclaw/actions/runs/33063639575
  • Command: fetch refs/heads/oc-92a.11/plugin-install-transaction, require FETCH_HEAD to equal the expected SHA, create a detached temporary worktree at that SHA, require its HEAD to match, then run node scripts/run-vitest.mjs src/plugins/management-service.install-compensation.test.ts src/cli/plugins-cli.install.test.ts.
  • Result: 2 files, 211 tests passed; exit 0.
  • Behavior covered: marketplace uses the shared deferred transaction owner; pre-commit failures restore generation A, post-commit failures retain generation B, capability review sees the previous generation, and backup custody is cleaned.
  • Cleanup: the temporary worktree was removed by the command trap; the one-shot Testbox lease was stopped automatically after success.

Local exact-head focused proof and fresh Codex branch autoreview are also clean. The prior superseded compensation implementation remains deleted; this head contains only the marketplace residual explicitly left by #122984.

@jalehman
jalehman merged commit bbce340 into main Aug 27, 2026
202 checks passed
@jalehman
jalehman deleted the oc-92a.11/plugin-install-transaction branch August 27, 2026 10:56
@jalehman

Copy link
Copy Markdown
Contributor Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI command changes maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S 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