Skip to content

fix(release): accept frozen targets before worker bundles - #136699

Merged
vincentkoc merged 30 commits into
mainfrom
fix/frv-target-package-capabilities
Sep 6, 2026
Merged

vincentkoc merged 30 commits into
mainfrom
fix/frv-target-package-capabilities

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Sep 2, 2026 •

Copy link
Copy Markdown
Member

Related: #136325

What Problem This Solves

Frozen Full Release Validation runs trusted current tooling against a historical target.
Repacking an extracted candidate proves npm exclusion parity, but it cannot detect files
that the target manifest requires and that were already omitted from the candidate.
That gap allowed a repacked candidate to agree with npm while still missing
target-declared package content.

The final exact-head repair also closes two CI-only false failures. npm 10 could
enter package lifecycle behavior while inventory was collected despite
--ignore-scripts, and the Control UI comparator embedded different Git/build
identity bytes into otherwise identical candidate and base inputs.

Moving package-layout authority into the canonical tarball verifier also had to preserve
checks for root-manifest exclusions, metadata-declared static extension assets,
concrete package export targets, worker artifacts, and private/local build cargo.

The final linked-manifest defect was in archive materialization: system tar
extraction could follow an archived package/package.json symlink to an external
read-only manifest before the verifier rejected the package. The verifier now uses
the pinned [email protected] structured API for strict synchronous preflight and extraction.
It rejects links, special entries, unsafe paths, duplicate/material conflicts, and
portable case/NFC/Windows-character collisions before extracting anything.

The final npm inventory defect was configuration loading order. Inventory changed its
working directory to the untrusted extracted package before invoking npm, so npm loaded
package/.npmrc before the verifier later rejected that file. A real logs-dir plus
logs-max=0 payload deleted an external npm-log-shaped sentinel.

Why This Change Was Made

The package contract now has explicit owners:

  • npm owns package-selection parity;
  • the target manifest owns literal required presence;
  • the canonical tarball verifier rejects undeclared shrinkwrap and missing or empty
    literal declarations;
  • release-check delegates package acceptance to that verifier instead of maintaining
    a second matcher.

The npm inventory owner now removes the complete scripts field only around the
synchronous npm pack call in its unique disposable extracted tree. It retains
--ignore-scripts and restores the exact original package.json bytes and permission
mode in finally, on both success and failure.

Both npm invocations now stay in the private sandbox cwd and receive the same trusted
--prefix. Only npm pack receives the extracted package root, as its positional
package argument immediately after pack, so package-local .npmrc is never ambient
configuration.

The Control UI comparator now builds candidate and base with one static canonical
commit, timestamp, branch, build ID, and release identity. Git discovery is disabled
through a nonexistent temporary GIT_DIR; each source tree still owns its package
version. The fixed shipped-size cap, growth allowance, and build-variance allowance
are unchanged.

The canonical tarball verifier also:

  • copies the source tarball once into a private 0700 temporary root, preflights it
    with bounded streaming, and extracts that same immutable snapshot;
  • treats dependency-defined File, OldFile, and ContiguousFile entries as regular
    files while rejecting links and special entries;
  • uses extraction-equivalent Windows path keys, including [email protected]'s private-use
    encoding for |<>?:, for collision and ancestor checks;
  • evaluates every tar entry and path ancestor against the extracted root
    package.json.files rules;
  • validates static assets declared by packaged extension metadata and fails closed for
    malformed metadata while preserving intentional package-less extension roots;
  • requires concrete local targets declared by package exports;
  • enforces target-owned worker declarations when the selected target contains the
    deploy producer;
  • rejects private QA, local runtime, application, generated-doc, and local build cargo
    through the shared package policy.

The files-only regression covers dist/Foo.app/Contents/MacOS/Foo under
!dist/**/*.app, where the excluded .app directory itself is absent from the archive
listing.

Frozen dependency evidence locks and the historical bundled-channel smoke entrypoint
remain separately owned by #136884 and #136919.

User Impact

Frozen release qualification now accepts or rejects the selected target according to
that target's declared package contract. Historical targets are no longer forced to
match current-main layout, while missing declared files, empty declarations, and
undeclared shrinkwrap fail before publication.

Inventory collection no longer executes npm 10 package lifecycle scripts, and
candidate/base Control UI comparisons no longer fail from identity-only compressed
byte drift.

Inventory also no longer loads untrusted package-local npm configuration before
validating the package. This is release-validation tooling only. It does not add a
config, protocol, database, dependency, package-manifest, tag, publish, or workflow
surface.

Evidence

  • Exact pushed signed head:
    a7be866f49d987cc3635dac08d0eb6a782a280d8.
  • Signed rebase parent:
    44378c46bb04e1354f42a5826be76e1fd920c760.
  • Patch continuity: git range-diff maps all 26 commits from
    d5992278b3b8a8f3e1e37c23749b86efec65215f..e78866bc385e545d3b8cf66638c4af51ce4cb0b8
    one-for-one (=) onto the rebased series. The only added commit removes the
    release-only CHANGELOG.md entry forbidden in normal PRs.
  • Direct [email protected] contract inspection:
    dist/esm/list.js:48-82,107-112 and
    dist/esm/parse.js:94-120,153-259,343-364,531-548 own structured parsing,
    strict malformed-archive handling, and extended-header sequencing;
    dist/esm/read-entry.js:44-99,119-130 exposes final type, path, mode, size,
    and link metadata after extended headers apply. Filesystem materialization
    remains owned by Unpack: dist/esm/unpack.js:92-203,260-355,400-478, 526-539,562-668,690-844 owns traversal, Windows winchars encoding,
    symlink-ancestor protection, and regular-file extraction, with recursive
    directory/symlink protection in dist/esm/mkdir.js:16-23,63-105,121-177.
  • Pre-fix linked-manifest regression reproduced the defect: archive extraction reached
    npm inventory and mutated an external 0444 manifest before later rejection.
  • Correction red proof on pushed predecessor
    e4d142b1b4e3bb3c1c435f6706750e4fd917501e: the Windows raw/private-use collision
    was not detected and ContiguousFile was incorrectly rejected.
  • Final npm-config red proof on pushed predecessor
    0d9796661f59ddd71385d7681120025324056b95: pack ran from the untrusted package cwd,
    and real npm 11.19 deleted an external npm-log-shaped sentinel through packaged
    logs-dir plus logs-max=0.
  • Rebased owner-boundary verification: 317/317 across 10 focused test files.
  • Final npm inventory/tarball verification: 103/103 on the prior exact head.
  • Test-only TypeScript correction: focused npm inventory verification 11/11; the explicit two-capture guard removes all 11 target TS18048 diagnostics without casts, non-null assertions, or production changes.
  • Targeted sandbox, npm10 success/failure restoration, and .npmrc boundaries: 4/4.
  • Final scoped test audit and independent review: GO, with no actionable P0-P2
    findings. The final test-only correction review was scoped-clean at 0.99 confidence.
  • Final focused verification: 117/117.
  • Final independent correction review: GO, with no actionable P0-P2 findings.
  • Predecessor-head hosted Windows test shards, control-ui-performance, UI shard 5/7
    rerun, and ci-gate: green.
  • Scoped oxlint, oxfmt, and git diff --check: green.
  • The rebased changed gate passed through script erasability and all preceding
    changed-path guards, then stopped before branch typechecking because the
    repository declaration-boundary checker rejects the required worktree
    node_modules symlink. A local full build reached the same environment-only
    declaration-boundary refusal. Exact-head hosted CI owns this proof.
  • Predecessor-head full builds passed.
  • The current-main merge and all follow-up commits are signed; final Control UI
    canonical measurement is 346197 B.
  • No CHANGELOG.md delta from the merged current-main parent.
  • Relative to 44378c46bb04e1354f42a5826be76e1fd920c760, judged
    production/release tooling is +764/-410 and tests/test support are
    +1252/-454. Product runtime remains unchanged.
  • release:check remains blocked only by unrelated Control UI catalog fallback
    baseline drift and stale generated native locale artifacts.
  • The one bounded autoreview P2 was independently audited and plan-reviewed as a
    false positive: npm-packlist/ignore-walk uses nocase:true. Local npm 11.19.0
    reproduced that files: ["scripts/Required.js"] packs the actual
    scripts/required.js; archive-vs-npm parity and runtime paths remain
    case-sensitive. Disposition delta: zero code and zero tests.
  • Rebased independent autoreview: scoped-clean at P0-P2, 0.88 confidence.
  • Data-model disposition: No shipped runtime, protocol, config, persistence,
    package-manifest, or serialized data shape changes. This is release-verifier
    handling of an untrusted archive before materialization; data-model
    compatibility is a false positive.
  • Maintainer disposition: accept the owner-level fail-closed design; no release
    exception.
  • Prior exact-head hosted CI at a7be866f49d987cc3635dac08d0eb6a782a280d8
    completed with 144/144 checks successful, skipped, or neutral.
  • The controller/release hold remains intact. The user separately authorized this
    PR landing; that authorization does not release, publish, tag, promote, dispatch
    Full Release Validation, or mutate registries.

Repair Accounting

  • Root cause: repacking an extracted candidate proves npm exclusion parity but cannot
    detect target-declared files already omitted from the candidate.
  • npm 10 root cause: relying on --ignore-scripts alone did not suppress the observed
    lifecycle path during dry-run inventory. The inventory owner now temporarily removes
    manifest scripts and restores exact bytes and mode.
  • Test-only follow-up: preserve the exact two-capture assertion while explicitly narrowing the destructured observations; production delta remains zero.
  • npm config root cause: changing cwd to the extracted package let npm load untrusted
    package-local configuration before validation. Inventory now keeps one immutable
    sandbox cwd/prefix for version and pack, with the package root passed only as the
    pack target. Production delta for this repair is net zero.
  • Linked-manifest root cause: system tar extraction materialized an archived manifest
    symlink before package validation, allowing npm inventory to mutate its external
    target. Structured preflight now rejects unsafe archive entries before extraction.
  • Control UI root cause: candidate and base embedded different Git/build identity
    fields, producing compressed-byte drift from identical UI inputs. The comparator now
    supplies one canonical identity and disables Git discovery.
  • Canonical fix: npm owns selection parity; the target manifest owns literal required
    presence; the tarball verifier enforces both and rejects undeclared shrinkwrap plus
    missing or empty literal declarations; archive materialization is owned by one
    structured strict preflight/extraction flow over one private bounded snapshot;
    release-check delegates. Control UI comparison identity is canonicalized without
    weakening size protection.
  • Owners: scripts/check-openclaw-package-tarball.mts,
    scripts/lib/npm-pack-inventory.mts, scripts/release-check.ts,
    scripts/check-control-ui-performance-base.mts, and shared release-package policy
    helpers.
  • Contributor credit: Dallin Romney's original seven commits remain byte-for-byte in
    the PR history; the signed maintainer merge and follow-up repairs are appended.

ClawSweeper

The prior durable findings and rank-up moves are addressed at the canonical verifier
and package-contract owner boundaries with tarball-level regressions. The latest
durable review found no actionable code defect at
a8a396a1d09d0694cc6ef2b729394e4c17ab57ae. The final head adds the bounded CI
planner repair documented below, so one exact-head re-review is required.

September 6 Exact-Head CI Repair

  • Failed run/job:
    34004501522 / 101409234088 (checks-node-compact-small-26).
    test/scripts/ci-node-test-plan.test.ts failed four assertions because the
    GitHub pull-request plan produced 81 jobs against the unchanged 80-job cap.
  • Same-main differential, exact command:
    node scripts/run-vitest.mjs --config test/vitest/vitest.tooling.config.ts test/scripts/ci-node-test-plan.test.ts.
    Base e10007407d7ce25cf13d816123607993699dc6f3 passed 50/50; prior head
    a8a396a1d09d0694cc6ef2b729394e4c17ab57ae failed 4/50 with the same
    81 planned error. This is branch-caused, not infrastructure fallout.
  • Root cause: the added npm inventory suite changed hosted tooling partitioning,
    leaving a 13-second 8-vCPU tooling tail and a separate 16-second 4-vCPU tooling
    tail. Runner-class partitioning forced an otherwise unnecessary 81st job.
  • Repair 55bdfb250b7ad131766b7db9b9e556b66435f511 packs only compatible,
    no-build hosted tooling tails across existing Blacksmith runner classes. Smaller
    work is promoted onto the already-required larger runner; the 150-second job cap,
    stripe-family isolation, and ten-group bound remain unchanged.
  • Current exact head:
    92b2db8b40ac53b9203b27466829cf66373d55b1, signed merge over current-main
    parent 82a74b113c4f2f0797e3ca7135c63dd2afe673c0.
  • Final focused proof: planner 50/50; npm inventory 11/11; formatting and diff
    checks green. Pull-request plans contain 48 Blacksmith, 80 GitHub, and 51 hybrid
    jobs. The repaired GitHub tail is one 29-second 8-vCPU job containing both
    compatible tooling groups.
  • Exact-head hosted CI is terminal and green: 115 successful, 27 skipped,
    1 neutral, zero failed, and zero pending checks. The previously failing
    checks-node-compact-small-26 passed on job 101412712237.

@clawsweeper

clawsweeper Bot commented Sep 2, 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.

@vincentkoc vincentkoc self-assigned this Sep 2, 2026
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: M maintainer Maintainer-authored PR labels Sep 2, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. 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 Sep 2, 2026
@clawsweeper

clawsweeper Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 5, 2026, 10:16 PM ET / September 6, 2026, 02:16 UTC.

ClawSweeper review

What this changes

The PR validates historical release packages against their own declarations, hardens archive and npm inspection, stabilizes UI size comparisons, and combines compatible CI tooling jobs.

Merge readiness

⛔ Blocked before merge - 2 items remain

This remains useful and is protected maintainer-authored work. No actionable defect was found in the new planner repair, and the earlier archive and npm isolation fixes remain intact. The recorded release hold still requires owner clearance.

Priority: P2
Reviewed head: 92b2db8b40ac53b9203b27466829cf66373d55b1
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A coherent repair with relevant behavior evidence and no actionable correctness finding; release-hold authorization remains separate.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): Preserved the supplied sufficient assessment: recorded frozen-package acceptance and production-path archive/npm checks exercise the changed verifier, including external-file preservation. The new planner has a recorded same-main failing/passing differential; the captured body's omitted tail was not independently recovered.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): Preserved the supplied sufficient assessment: recorded frozen-package acceptance and production-path archive/npm checks exercise the changed verifier, including external-file preservation. The new planner has a recorded same-main failing/passing differential; the captured body's omitted tail was not independently recovered.
Evidence reviewed 13 items Pinned introduction and review continuity: Reviewed the supplied merge-base-to-head introduction. Comparison with the previous reviewed head shows no changes to the archive verifier, npm inventory owner, release checker, or UI comparator; the planner correction is new. Main-merge changes were not attributed to this PR.
Planner preserves admission bounds: Only serial, build-free hosted tooling groups qualify. Combining jobs preserves their descriptors and destination identity, requires a higher runner class, rejects repeated stripe families, and retains the ten-group and 150-second limits. Invocation is restricted to GitHub-profile PR plans.
Execution preserves group isolation: The workflow carries all grouped descriptors into the matrix. The shard executor retains each group's configuration, environment, file selection, and timing identity, and executes one child at a time when plan concurrency is one.
Findings None None.
Security None None.

How this fits together

Release validation checks a selected source revision and package archive before publication. The changed tooling determines package acceptance and schedules the tests that validate these checks.

flowchart TD
  A[Selected release source] --> B[Release checker]
  C[Candidate package archive] --> D[Archive safety preflight]
  D --> E[Private extracted package]
  E --> F[Manifest and npm checks]
  F --> B
  B --> G[Package acceptance result]
  H[CI test planner] --> F
Loading

Decision needed

Question Recommendation
May head 92b2db8 proceed past the recorded FRV release hold to ordinary landing gates? Clear the hold for this head: Allow the reviewed repair to proceed through normal exact-head checks and required approvals.

Why: The discussion explicitly reserves hold clearance to the release owner; code review cannot supply that authorization.

Before merge

  • Complete next step (P2) - Obtain release-owner clearance for the reviewed head, or an explicit statement of the remaining release-hold condition.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
Agent review details

Security

None.

PR surface

Tests +799, Other +410. Total +1209 across 23 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 10 1252 453 +799
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 13 820 410 +410
Total 23 2072 863 +1209

Review metrics

Metric Value Why it matters
Planner admission Reported 81 → 80 jobs; cap remains 80 The repair restores admission by combining compatible work instead of increasing fanout.
Growth by responsibility Product runtime 0; release/CI tooling +416 net; tests/support +793 net Remaining tooling growth implements archive safety and package-contract checks after removing duplicate layout policy.

Technical review

Best possible solution:

Keep historical qualification governed by target declarations and one archive/npm verifier, with modern rejection checks and CI budgets preserved.

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

Yes, source inspection establishes the historical worker/layout mismatch, and the captured maintainer differential identifies the planner's 81-job failure. This review did not execute either path.

Is this the best way to solve the issue?

Yes. Target-owned declarations remove conflicting historical layout assumptions, while the planner combines only compatible serial groups under unchanged bounds.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This repairs bounded release-validation and CI-planning failures without evidence of an urgent deployed runtime regression.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit 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): Preserved the supplied sufficient assessment: recorded frozen-package acceptance and production-path archive/npm checks exercise the changed verifier, including external-file preservation. The new planner has a recorded same-main failing/passing differential; the captured body's omitted tail was not independently recovered.
  • proof: sufficient: Contributor real behavior proof is sufficient. Preserved the supplied sufficient assessment: recorded frozen-package acceptance and production-path archive/npm checks exercise the changed verifier, including external-file preservation. The new planner has a recorded same-main failing/passing differential; the captured body's omitted tail was not independently recovered.

Evidence

What I checked:

  • Pinned introduction and review continuity: Reviewed the supplied merge-base-to-head introduction. Comparison with the previous reviewed head shows no changes to the archive verifier, npm inventory owner, release checker, or UI comparator; the planner correction is new. Main-merge changes were not attributed to this PR. (scripts/lib/ci-node-test-plan.mts:2610, 92b2db8b40ac)
  • Planner preserves admission bounds: Only serial, build-free hosted tooling groups qualify. Combining jobs preserves their descriptors and destination identity, requires a higher runner class, rejects repeated stripe families, and retains the ten-group and 150-second limits. Invocation is restricted to GitHub-profile PR plans. (scripts/lib/ci-node-test-plan.mts:2610, 92b2db8b40ac)
  • Execution preserves group isolation: The workflow carries all grouped descriptors into the matrix. The shard executor retains each group's configuration, environment, file selection, and timing identity, and executes one child at a time when plan concurrency is one. (scripts/ci-run-node-test-shard.mts:318, 92b2db8b40ac)
  • Reported planner differential: The captured maintainer comment reports 50/50 on the same-main control, four failures on the previous PR head due to an 81-job plan, and 50/50 with exactly 80 jobs after this correction. These are contributor-recorded results, not tests executed by this review: fix(release): accept frozen targets before worker bundles #136699 (comment). (scripts/lib/ci-node-test-plan.mts:2859, 92b2db8b40ac)
  • Current-main necessity: Fetched main still unconditionally imports target worker declarations and maintains the older package-layout checks. The relevant main files match the pinned base, so the central repair remains absent there. Reading the latest release's release-check blob failed because its object could not be retrieved; no shipped-fix claim is made. (scripts/release-check.ts:1404, aa91024aef60)
  • Earlier security findings addressed: The verifier rejects links and unsafe material entries before extracting its private archive snapshot. Both npm invocations use a sandbox cwd and prefix; package scripts are removed only within the disposable tree and restored in finally. The changed tests cover external-manifest preservation and a real npm log-deletion sentinel. (scripts/lib/npm-pack-inventory.mts:175, 92b2db8b40ac)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

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 (32 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-04T22:53:03.249Z sha 5c0d409 :: needs real behavior proof before merge. :: [P1] Reject linked manifests before rewriting them
  • reviewed 2026-09-05T00:56:03.083Z sha 0d97966 :: needs real behavior proof before merge. :: [P1] Reject project npm configuration before collecting inventory
  • reviewed 2026-09-05T02:02:08.884Z sha 8e5cdd8 :: blocked before merge. :: none
  • reviewed 2026-09-05T04:47:14.834Z sha e78866b :: blocked before merge. :: none
  • reviewed 2026-09-05T14:17:53.048Z sha a7be866 :: blocked before merge. :: none
  • reviewed 2026-09-05T14:42:50.996Z sha a7be866 :: blocked before merge. :: none
  • reviewed 2026-09-05T14:54:04.737Z sha a7be866 :: blocked before merge. :: none
  • reviewed 2026-09-06T01:46:29.027Z sha a8a396a :: blocked before merge. :: none

@vincentkoc

Copy link
Copy Markdown
Member Author

Release-owner and ClawSweeper moves:

  • accepted the explicit target-capability map in principle;
  • re-evaluated the net +61 release-tooling LOC and retained it because no clear duplication can be removed without hiding explicit target/output contracts or introducing prohibited heuristics;
  • skipped the stored-data migration item as inapplicable: this changes ephemeral release-validation policy only, with no persistent state, schema, config, protocol, or upgrade-data change;
  • ran branch-pinned trusted Testbox proof against target 659df8107ce37c07a4cd4364c76ece55a7124e22.

Testbox evidence:

  • provider: blacksmith-testbox
  • lease: tbx_01m1j6fb0hcwynwgf35nh18xf4 (stopped)
  • run: https://github.com/openclaw/openclaw/actions/runs/33694221116
  • tooling head: d0f884eec12ecfc0877d69c29c59869030ef8084
  • prepared tarball SHA-256: 228e307d3402d010ec82fc42edf26ab60b248e32221379760b6330ead5ee125e
  • focused modern fail-closed proof: 24/24 passed
  • real package result: the repaired worker historical-absence check passed, then full qualification stopped on a separate unconditional SDK compatibility mismatch. The target explicitly excludes three private SDK JS files that current tooling requires and the immutable tarball carries seven retired SDK/root surfaces that current tooling forbids.

Per approved scope, I did not weaken SDK inventory or forbidden-content checks and did not broaden into a historical harness compatibility repair. The PR remains draft.

@vincentkoc
vincentkoc force-pushed the fix/frv-target-package-capabilities branch from d0f884e to 9615842 Compare September 3, 2026 00:58
@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 3, 2026
@vincentkoc
vincentkoc force-pushed the fix/frv-target-package-capabilities branch 4 times, most recently from bbffbfc to e6cec20 Compare September 3, 2026 02:10
@vincentkoc
vincentkoc force-pushed the fix/frv-target-package-capabilities branch 2 times, most recently from 1e69bbd to 6d4ac9c Compare September 3, 2026 05:29
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Behavior changed after the previous review: frozen worker requirements now come from parsed target-owned WORKER_BUNDLE_*_PATH declarations, and zero-worker targets still scan an existing worker directory for unclaimed runtime assets. Please review exact head 6d4ac9c09527ff03f96dbd0adaa443d753dcd593.

@clawsweeper

clawsweeper Bot commented Sep 3, 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:

@vincentkoc

Copy link
Copy Markdown
Member Author

Exact-head landing remains blocked on one release-owner proof decision.

Run https://github.com/openclaw/openclaw/actions/runs/33719058763 only warmed Testbox tbx_01m1jvwkjbtm6kq0jfcqy32f4y. The Testbox became ready, but the wrapper was cancelled after 237897ms before any validation command ran. It produced no command output, exit result, Crabbox history record, or Actions artifact. The completed/deallocated lease therefore proves infrastructure readiness only.

The exact-head local 39/39 focused tests and older remote evidence are useful, but they do not satisfy the current requirement for final-head frozen historical acceptance plus a modern missing-required-artifact fail-closed control.

@steipete, after W1A lands and this PR is mechanically rebased onto the resulting current main, please choose one:

  1. Authorize one single-command replacement Blacksmith Testbox attempt against that final exact head. It will cover only the frozen historical acceptance and modern strict-negative control, with no check:changed, Full Release Validation, Package Acceptance, campaign, or retry of the replacement.
  2. Explicitly waive exact-head Testbox and accept the local exact-head tests plus older remote evidence as the proof standard.

Recommendation: option 1. The cancelled attempt was evidentially null, but the approved program forbids treating that fact as implicit retry authorization.

The ClawSweeper stored-data compatibility item is inapplicable: this patch reads frozen package/source metadata into memory and configures release validators; it introduces no persistent state, SQLite/schema change, migration, config, sidecar, or upgrade-data contract.

@RomneyDa
RomneyDa force-pushed the fix/frv-target-package-capabilities branch from 6d4ac9c to b43b754 Compare September 3, 2026 20:21
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Exact-head evidence now records the [email protected] Parser/ReadEntry/Unpack ownership split, the 26-patch and 22-blob continuity proof, and the release-verifier-only data-model disposition for a7be866f49d987cc3635dac08d0eb6a782a280d8.

@clawsweeper

clawsweeper Bot commented Sep 5, 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:

* origin/main: (302 commits)
  test(gateway): preserve held-work close failures (#139593)
  refactor(exec): share package argument scanning (#139560)
  fix(audit): preserve sequence range validation before numeric decoding (#139587)
  fix(transcripts): retain capture ownership through failed cleanup (#139572)
  refactor(models): share selector reference traversal (#139571)
  perf(agents): classify allowlists without intermediate sets (#138392)
  chore(release): update appcast for 2026.9.2 (#139575)
  fix(ci): synchronize cloud retries and board widget input (#139506)
  fix(plugins): explain SDK incompatibilities after core updates (#139458)
  fix(voice-call): retain installed WebSocket behavior under Bun (#139567)
  test(text): consolidate literal sanitizer cases (#139579)
  test(gateway): observe native drain without a lint exception (#139576)
  test(memory): consolidate visibility fixtures without policy defaults (#139569)
  fix(ui): show shimmer skeletons while loading Control UI (#139525)
  test(qa): make cleanup child logging deterministic (#139566)
  test(cli): keep Unix socket fixtures within path limits (#139565)
  fix: avoid slow incognito key checks in large session stores (#139528)
  feat(macos): open Gateway windows from the Gateways menu (#139522)
  test(workshop): isolate marker casing fixture identities (#139554)
  fix(process): require cleanup evidence before releasing owned work (#139517)
  ...

# Conflicts:
#	scripts/release-check.ts
* origin/main:
  fix(cli): keep note text with Windows and Unicode line endings (#139512)
  fix(agents): keep isolated completion context on its admitted generation (#139607)
  fix: avoid declaration builds during source-server updates (#139392)
  fix(models): keep discovered models after catalog refresh failures (#139357)
  fix(gateway): record a transcript notice when a run fails before replying (#139439)
  refactor(ios): reuse shared integer conversion (#139581)
  fix(sessions): prevent database lock failures during reclamation (#139469)
  perf(test): reuse transforms within owned scheduler slots (#139553)
  test(agents): share sparse transcript input fixtures (#139589)
  chore(ui): refresh control ui locales (#139481)
  fix(slack): keep prototype-named emoji shortcodes intact (#136374)
  fix(gateway): deliver upgrade rejection responses under Bun (#139516)
  refactor(test): simplify catalog guards and fix native report fixture (#139496)
  fix(macos): prevent dashboard fixture loopback timeouts (#139556)
  fix(matrix): preserve selected reply targets inside threads (#139479)
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Exact head 92b2db8b40ac53b9203b27466829cf66373d55b1 adds one bounded CI planner repair after exact-head job 101409234088 exposed a branch-caused 81-job plan against the unchanged 80-job cap. Same-main differential: base e10007407d7ce25cf13d816123607993699dc6f3 passed 50/50; prior head a8a396a1d09d0694cc6ef2b729394e4c17ab57ae failed 4/50 with the same error. The repair packs compatible hosted tooling tails onto an already-required larger runner while preserving the 150-second cap, stripe-family isolation, and ten-group bound. Final current-main head passes 50/50 and produces exactly 80 GitHub PR jobs. Full evidence and prior tar/package proof are self-contained in the live PR body.

@clawsweeper

clawsweeper Bot commented Sep 6, 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:

@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

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

Labels

maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts 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.

2 participants