Skip to content

feat: export and install offline worker runtime artifacts - #188659

Merged
roboclaw-bot merged 29 commits into
mainfrom
openclaw/p2c-runtime-api-final
Oct 31, 2026
Merged

roboclaw-bot merged 29 commits into
mainfrom
openclaw/p2c-runtime-api-final

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Image-preparation tools need a supported way to export the installed OpenClaw worker runtime and install transferred archives without enrolling a node. Prerequisite #188651 is merged; this PR targets main.

User Impact

Tool authors can use openclaw/runtime-artifacts to qualify bundled plugins and export canonical offline node/worker archives. Crabbox's lazy CLI API installs verified local archives without a logical lease, forwarded credentials, npm, lifecycle scripts, or plugin activation. Bundle enrollment needs matching Node and tar; explicit npm installations and repository setup retain npm/npx/Corepack where applicable. Existing remote npm installations retain their lock/reuse behavior.

Why This Change Was Made

The public entrypoint composes existing artifact producers, joins both before cleanup, and returns build, archive and digest identities. Bundled qualification uses a detached inspection registry. Local transfer is an adapter in the existing installer, not a second installer. Only ./runtime-artifacts is added to package exports; declarations and documentation are included.

History-preserving integration retains upstream root/Codex fs-safe 0.27.0 and the source-inspection worker-boundary fix in #188870. The lock was regenerated with pinned pnpm; dependency graph and integrity data match upstream, with canonical ordering differences only. The /node-runtime-dependencies/ artifact ignore and accurate troubleshooting prerequisites are restored. Read-only cache verification remains separate in #188671.

Evidence

Current source, tests and review

  • Published head ee479a542b773fead85d101d915f8b21d3521853 has reviewed tree d175c65ee19fcaaf087c1f49e808efac8916c38f. Authored source merge 842de317b317a604492c4a5d10277e8a6d28f5fa preserves parents ef8db05f and main ece4ca85af0e0ffa7cc619522b9e8b7e40b08da9.
  • Both conflicts retain upstream repairs: the shared Gateway logger fixture exactly matches main; rollout tests preserve upstream targeted notification delivery and final no-read assertion, plus coarse directory timestamps, warm-cache reuse and controlled watcher-loss coverage. Real rename/unlink and exact membership oracles remain. No production scanner fence, sleep or weaker assertion was added.
  • 60 focused tests pass: API 5, Gateway scope consumers 30, Workboard 2, rollout 20 and offline installer 3 (126.24s wrapper). Withholding only the three final notifications fails the original membership oracle; restored source passes. This is controlled notification evidence, not an observed kernel-watcher cause.
  • Targeted types, six-file type-aware lint (293 rules; zero warnings/errors), formatting, whitespace checks and normal hooks pass. Exact accounting: 6,321,781 / 6,352,142. Rollout allocation is 16 net lines beyond integrated upstream; API 332 and Workboard 7 remain unchanged. No baseline, scalar or checker waiver.
  • Fresh independent P0–P3 autoreview is scoped-clean for the complete 22-file delta against ece4ca85, with 13 complete unchanged owners. No actionable findings; final source verification passed, and the committed tree matches the reviewed staged tree.

Canonical package build and recovery

  • Linux x64 / Node 24.22.1, source 842de317b317a604492c4a5d10277e8a6d28f5fa, actual build 2026.10.9-842de317b317-2026-10-31T04-58-16.446Z.
  • Full maintained runtime-only selected-Codex build completed in 6m 38s, including UI, runtime postbuild, stamps and CLI metadata. A Gateway restart interrupted packaging afterward. Source, clean-input stamps and process settlement were verified; canonical postpack restoration reconciled the interruption. Supported package-only continuation reused the completed build without skipping any package checks.
  • Canonical packaging passed in 98.34s; tar preflight/extraction, npm 11.19.1 finished-archive inventory and distribution import graph all passed (39s integrity check). Public registry metadata and lock-pinned native input preparation used secretless isolation. Shared dependency installs were not modified.
  • Canonical tarball: SHA-256 17cc2b32561fd72f3a1fa817d9817c55bb23ddf7f3409ac5797b9bdd5f54fb12, 111,178,480 bytes.

Actual installed-package public API boundary

  • The canonical tarball was installed into a fresh standalone npm consumer, with normal preinstall/postinstall lifecycle and declared dependencies (14.21s). Its npm lock's tarball integrity matches the canonical finished-archive receipt. Raw extraction alone lacks ordinary npm dependencies; that setup failure is not counted as a product failure or successful proof.
  • The proof imports bare openclaw/runtime-artifacts from that installed consumer and asserts its resolved URL is inside the installed package. Both qualification and export receive the real installed package root—not the source checkout. The installer is imported from the same installed package's dist/extensions/crabbox/cli-runtime-api.js; no descendant verifier code participates.
  • With networking disabled, plugins-disabled and Codex-enabled selections each qualified and exported bundle-mode node/worker archives, then installed into fresh worker homes. Both real CLIs printed OpenClaw 2026.10.9 (842de31). Installed agent schema 39, fs-safe 0.27.0, manifest digest and worker archive digest matched receipts. Installation plus CLI: 9.485s / 8.851s; complete installed-package round trips: 97.83s.
  • The canonical input already bundles Codex, so the two selection receipts have different enabledPluginIds but identical exported node bytes. This proves both configuration paths; it does not claim a minimal Codex-free distribution.
  • No enrollment state, logical lease, forwarded credentials or cloud allocation. Fresh receiver homes and owned build namespaces were removed. The installed producer and immutable exports are retained for the separate verifier lane.
Installed-package export identities
  • Node archive, both selections: b2c9a747f20d1d0f940e2836aef1d57f93ee8f812e64964fd12b9734d96f0c1b — 293,213,073 bytes.
  • Node manifest: 32efb5e97a141773a7fea076660c5065863bb7b4f3579ef0c0e4b0ef33110106.
  • Worker archive: 8d1d25c625cb31392ae493dfea1f3782084a90ba1a0e23f20b1194868024fbe1 — 22,863,074 bytes.

Separate source-dist and earlier evidence

  • The earlier 90.25s source-dist export/install run remains valid separate evidence: its producer was the built checkout, not the npm-installed canonical package. Its node archive hashes (a93c96e4… core, 339ff4c3… Codex) are not substituted for the installed-package exports above.
  • Prior 49968f5 and d4b533 build evidence retains its original identity. Source 49968f5 passed 78 focused tests. Upstream fix(plugins): keep source inspection inside its worker boundary #188870 repaired the generated worker import boundary without weakening its guard; the original case ran and passed, while the earlier all-skipped run was not passing proof. The cross-test-contamination claim remains withdrawn.
  • CI job 124416178578 reproduced on 9d193015 as 2 failed / 283 passed. The coordinated owner fixture repair from 5b08bece made the identical eight-file invocation pass 285/285. Main now supplies the complete logger; this PR retains diagnostics save/enable/restore and the original closure/admission/card-list assertions.

Scope and separate verifier

  • Current-head CI and native landing remain maintainer-owned. No manual hosted CI rerun or merge was performed by this session.
  • Separate feat: verify warm worker runtime caches without modifying them #188671 owns read-only verification. The installed-package export set above is the final artifact handoff for its current-source no-effect controls. This PR's successful installation does not substitute for that verifier proof.
  • Full release/declaration packaging, live Codex execution, Azure, macOS and Windows remain separate proof. Packaging here is runtime-only. Archive/manifest identity does not certify every installed payload byte or grant live execution authority.

Worked on by

Work sessions

roboclaw-bot and others added 4 commits October 30, 2026 19:43
Preserve explicit npm profiles and their lock/reuse path while carrying qualified target dependencies in bundle archives.

Co-authored-by: galiniliev <[email protected]>
Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 65d6807d-2851-4dba-9916-f4bc1496596b
Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 3654bba2-696b-4a60-8fb9-a99de032625b
@clawsweeper

clawsweeper Bot commented Oct 30, 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 docs Improvements or additions to documentation gateway Gateway runtime extensions: crabbox size: XL labels Oct 30, 2026
@roboclaw-bot
roboclaw-bot changed the base branch from main to openclaw/p2c-offline-runtime-split October 30, 2026 19:55
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review October 30, 2026 19:55
@clawsweeper clawsweeper Bot added the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Oct 30, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 30, 2026
@clawsweeper

clawsweeper Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR exposes worker-runtime archive export and adds verified local archive installation through Crabbox’s existing installer.

Example: Prepare an OpenClaw 2026.10.9 worker image on Linux x64 without destination registry access.

  • Before: Image tooling lacks a supported public export API and credential-free local archive installation adapter.
  • After: Tooling exports matching node and worker archives, transfers them, and generates an installation command without node enrollment.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is coherent and the prior findings are resolved; package export evidence is concrete, but complete installation proof remains limited.
Proof confidence 🦐 gold shrimp (3/6) The ordinary contributor proof gate does not apply to this maintainer-authored PR; the body supplies concrete packaged export results, while local installation is exercised by a generated-command fixture rather than a real packaged round trip.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Image-preparation tools cannot export and install the installed worker runtime through a supported API without enrollment.
Reason: The maintainer-authored direction serves a concrete tooling consumer, reuses existing owners, and leaves warm-cache verification to its explicitly separate follow-up.

Merge readiness

✅ Ready for maintainer review

Keep open: this PR adds a useful, maintainer-directed offline packaging capability. The prior allocation finding is resolved, no actionable introduced defect was found, and current-head CI remains pending.

Priority: P2
Reviewed head: ad48b4dd609cbe5da1a857a9c1aa15ee26b671c9

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: A packaged export, transfer, and local installation round trip is not supplied; the installer regression uses a fixture CLI.
Agent review details

How this fits together

The public packaging API composes existing node and worker artifact producers; Crabbox consumes transferred archives through its existing verification, extraction, and runtime publication path.

flowchart LR
  A[Built OpenClaw installation] --> B[Bundled plugin qualification]
  B --> C[Canonical archive producers]
  C --> D[Transferred runtime archives]
  D --> E[Crabbox local archive adapter]
  E --> F[Existing runtime installer]
  F --> G[Prepared worker image]
Loading

Technical review

Best possible solution:

Retain the narrow public export surface and local acquisition adapter while keeping archive production, installation, and enrollment with their existing owners.

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

This is a capability addition; source inspection confirms current main lacks the proposed public export and local installation adapter.

Is this the best way to solve the issue?

The missing capability is supported offline image preparation, the invariant is that canonical verified bytes install without enrollment, and the smallest complete solution is the proposed composition of existing producers and installer.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Shared Crabbox runtime installer keeps the original intent (feat(workers): snapshot prepared projects before session enrollment #133447: Prepare reusable runtime images before enrollment; later archive reuse retained canonical verification and publication.)
  • Bundled plugin dependency ownership keeps the original intent (44e6b1b: Package installed dependency graphs at their installation owner while rejecting source/build metadata drift.)
  • Installed npm dependency resolution keeps the original intent (ac9b32b: Share dependency-closure staging across packaging consumers while preserving required dependencies and nearest-version placement.)
  • Public declaration boundary keeps the original intent (87ecc61: Exclude private runtime declarations while retaining declarations for supported public contracts.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

PR surface

Source +345, Tests +367, Docs +44, Config +4, Other +7. Total +767 across 21 files. Added test files: 2.

View PR surface stats
Area Files Added Removed Net
Source 6 398 53 +345
Tests 7 383 16 +367
Docs 1 44 0 +44
Config 2 5 1 +4
Generated 0 0 0 0
Other 5 13 6 +7
Total 21 843 76 +767

Review metrics

Metric Value Why it matters
Public package surface 1 new package subpath; 0 new configuration options The maintainer-directed API adds a supported compatibility surface without adding an operator setting.

Labels

Label changes:

  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: This is a useful image-preparation capability with a bounded audience and no established urgent runtime regression.
  • merge-risk: 🚨 compatibility: The new public runtime-artifacts export establishes an API contract; the maintainer-authored direction, documentation, and declaration coverage explicitly account for that expansion.
  • 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.

Rank-up moves

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

  • Record a real packaged archive export, transfer, and local installation round trip to strengthen confidence in the complete flow.

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 (3 earlier review cycles)
  • reviewed 2026-10-30T20:14:38.606Z sha 9f11a99 :: needs changes before merge. :: [P2] Update the existing declaration boundary test for the new public root
  • reviewed 2026-10-30T20:44:13.523Z sha f21dac2 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-30T23:16:02.042Z sha 90fe818 :: needs changes before merge. :: [P3] Allocate the remaining two API regression lines

Reviewed October 30, 2026, 7:23 PM ET / 23:23 UTC (Revision 4).

roboclaw-bot and others added 6 commits October 30, 2026 20:21
Scope Node-only setup to bundle enrollment, fix narrowed bundle fixture metadata, and reuse the validated package manifest owner instead of unsafe assertions. Prove missing npm/Corepack repair and retained npm runtime compatibility.

Co-authored-by: galiniliev <[email protected]>
Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 92b05551-9794-42c5-b0ea-0dbd82702c99
Keep fixture loops explicit without changing their behavior, and account for their exact test-line delta.

Co-authored-by: galiniliev <[email protected]>
Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 4b152785-ec9c-414f-90c7-2368b3a060b3
Merge offline runtime prerequisite b44eeb2 without rewriting the API branch. Preserve public declarations while updating the existing exact-root test.

Co-authored-by: galiniliev <[email protected]>
Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 6d2083e0-fbd1-4410-b43b-515f5b21a52c
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Oct 30, 2026
@clawsweeper clawsweeper Bot added the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Oct 30, 2026
Allocate exactly four new LF-counted API test lines plus the separate35-line package-cycle allocation. Preserve inherited test debt and leave the shared baseline and comparator unchanged.

Co-authored-by: galiniliev <[email protected]>
@clawsweeper clawsweeper Bot added status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 30, 2026
Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: ed6b8a9e-b71d-42d1-ad1d-5c0400e84abd
@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 30, 2026
roboclaw-bot and others added 4 commits October 31, 2026 01:00
Keep real rollout filesystem changes and exact final membership assertions, but reconcile after explicit observer delivery. Exercise cached leaves with coarse directory timestamps and use controlled healthy watchers for loss/cleanup proof.

Co-authored-by: galiniliev <[email protected]>
Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 1451be59-4dd0-4d32-bbb5-907edc3c8d33
Merge current main to preserve the approved fs-safe 0.27.0 root/Codex alignment and upstream source-inspection boundary repair (#188870). Resolve manifest conflicts to upstream and regenerate the lock with pinned pnpm; dependency graph and integrity are unchanged from upstream.

Co-authored-by: galiniliev <[email protected]>
Ignore target-specific node runtime dependency inputs. Distinguish bundle enrollment Node and tar prerequisites from explicit npm installs and repository npm/Corepack setup.

Co-authored-by: galiniliev <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot reopened this Oct 31, 2026
Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 97f753f5-6efb-4e82-bf16-b34a75076a1d
@openclaw-barnacle openclaw-barnacle Bot removed the scripts Repository scripts label Oct 31, 2026
@github-actions

github-actions Bot commented Oct 31, 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: ee479a542b773fead85d101d915f8b21d3521853
  • Maintainer: @roboclaw-bot
  • Repository role: maintain

These security sensitive changes were made:

  • .gitignore: Controls which local files and secrets can accidentally enter version control. Check that local credentials and generated secret files stay ignored.

Carefully review these changes before merging.

roboclaw-bot and others added 4 commits October 31, 2026 03:11
Reuse the canonical Workboard fixture repair from 5b08bec. Exercise terminal hooks with diagnostics explicitly enabled, restore the prior flag, and allocate only the seven added regression lines.

Co-authored-by: galiniliev <[email protected]>
Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 885d6f42-0ec8-4cda-9cd3-a894a26e0861
Preserve upstream logger and targeted watcher delivery while retaining coarse-clock cache invalidation proof. Keep exact incremental test allocation.

Co-authored-by: galiniliev <[email protected]>
Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: d139f994-a008-4727-a871-cfb342706b2b
@roboclaw-bot
roboclaw-bot merged commit d899993 into main Oct 31, 2026
271 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/p2c-runtime-api-final branch October 31, 2026 05:29
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 1, 2026
…88659)

* feat(workers): provision offline node runtime bundles

Preserve explicit npm profiles and their lock/reuse path while carrying qualified target dependencies in bundle archives.

Co-authored-by: galiniliev <[email protected]>

* feat: provision cloud worker runtimes without registry access

Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 65d6807d-2851-4dba-9916-f4bc1496596b

* feat: expose offline worker runtime artifact preparation

Co-authored-by: galiniliev <[email protected]>

* feat: export and install offline worker runtime artifacts

Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 3654bba2-696b-4a60-8fb9-a99de032625b

* fix(workers): retain repository package-manager prerequisites

Scope Node-only setup to bundle enrollment, fix narrowed bundle fixture metadata, and reuse the validated package manifest owner instead of unsafe assertions. Prove missing npm/Corepack repair and retained npm runtime compatibility.

Co-authored-by: galiniliev <[email protected]>

* Publish openclaw/p2c-offline-runtime-split

Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 92b05551-9794-42c5-b0ea-0dbd82702c99

* fix(test): satisfy toolchain fixture lint

Keep fixture loops explicit without changing their behavior, and account for their exact test-line delta.

Co-authored-by: galiniliev <[email protected]>

* Publish openclaw/p2c-offline-runtime-split

Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 4b152785-ec9c-414f-90c7-2368b3a060b3

* Publish openclaw/p2c-runtime-api-final

Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 6d2083e0-fbd1-4410-b43b-515f5b21a52c

* test: keep declaration coverage at its authoritative boundary

Remove the duplicate config.entry assertion and shrink the API test allocation by its exact six-line delta. The canonical dts.entry test still covers the public runtime-artifacts declaration.

Co-authored-by: galiniliev <[email protected]>

* Publish openclaw/p2c-runtime-api-final

Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 13b4786d-9391-4ac9-a9f8-779960f09c7f

* Publish openclaw/p2c-runtime-api-final

Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: d7740df3-4673-4768-bdba-c59f6d7bf07e

* fix: package npm dependencies named after Node builtins

Resolve declared package names and ancestor placements with package-style lookups. Preserve nested versions, source links and required dependency guards.

Co-authored-by: galiniliev <[email protected]>

* fix(codex): align bundled fs-safe with the host runtime

Use the already-admitted root fs-safe0.26.15 pin so selected Codex packages satisfy the canonical single-version contract. Regenerate only the Codex lockfile importer.

Co-authored-by: galiniliev <[email protected]>

* fix: retain installed dependencies for built bundled plugins

Validate source metadata for built plugin selections and use that installation's dependency graph. Published packages without source metadata keep their installed built root; mismatched and malformed generations remain rejected.

Co-authored-by: galiniliev <[email protected]>

* Publish openclaw/p2c-runtime-api-final

Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: c3c308fe-c901-4c1d-902a-3ccef24575a6

* test: account for formatted runtime artifact regressions

Allocate exactly four new LF-counted API test lines plus the separate35-line package-cycle allocation. Preserve inherited test debt and leave the shared baseline and comparator unchanged.

Co-authored-by: galiniliev <[email protected]>

* Publish openclaw/p2c-runtime-api-final

Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: ed6b8a9e-b71d-42d1-ad1d-5c0400e84abd

* test: qualify rollout catalog watcher delivery

Keep real rollout filesystem changes and exact final membership assertions, but reconcile after explicit observer delivery. Exercise cached leaves with coarse directory timestamps and use controlled healthy watchers for loss/cleanup proof.

Co-authored-by: galiniliev <[email protected]>

* Publish openclaw/p2c-runtime-api-final

Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 1451be59-4dd0-4d32-bbb5-907edc3c8d33

* docs: clarify offline runtime enrollment prerequisites

Ignore target-specific node runtime dependency inputs. Distinguish bundle enrollment Node and tar prerequisites from explicit npm installs and repository npm/Corepack setup.

Co-authored-by: galiniliev <[email protected]>

* Publish openclaw/p2c-runtime-api-final

Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 97f753f5-6efb-4e82-bf16-b34a75076a1d

* test(gateway): complete shared diagnostics logger

Reuse the canonical Workboard fixture repair from 5b08bec. Exercise terminal hooks with diagnostics explicitly enabled, restore the prior flag, and allocate only the seven added regression lines.

Co-authored-by: galiniliev <[email protected]>

* Publish openclaw/p2c-runtime-api-final

Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 885d6f42-0ec8-4cda-9cd3-a894a26e0861

* Publish openclaw/p2c-runtime-api-final

Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: d139f994-a008-4727-a871-cfb342706b2b

---------

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

Labels

dependencies-changed PR changes dependency-related files docs Improvements or additions to documentation extensions: codex extensions: crabbox gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. security-sensitive-changed size: L 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