Repository navigation
fix(release): complete ClawHub publication after parent success - #134053
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs real behavior proof before merge. Reviewed August 31, 2026, 12:06 PM ET / 16:06 UTC. ClawSweeper reviewWhat this changesThis PR replaces the release workflow’s in-child ClawHub readback with parent-bound package receipts, staged child publication, and a post-parent verifier, while also repairing related CI checkout, Anthropic lazy-loading, and test fixtures. Merge readiness⛔ Blocked until real behavior proof is added - 7 items remain This release-automation repair is not ready to merge: its new parent/child authorization boundary has source and fixture coverage, but no hosted allowed/forbidden/stale-receipt final-effect proof, exact-head CI remains pending, and the protected maintainer label requires owner review. Priority: P1 Review scores
Verification
How this fits togetherOpenClaw’s release parent dispatches plugin npm and ClawHub workflows for a frozen release SHA. The new ClawHub path seals child package inventories, binds them to the parent’s authorization receipt, then verifies registry bytes after parent success. flowchart LR
A[Release parent] --> B[ClawHub child staging]
B --> C[Sealed package inventory]
C --> D[Parent authorization receipt]
D --> E[ClawHub publication]
E --> F[Post-parent byte verifier]
Decision needed
Why: Source validation and mocked fixtures cannot establish that the deployed external publication path rejects invalid authority before its final side effect. Before merge
Findings
Agent review detailsSecurityNeeds attention: The diff creates a release-publication authority chain whose final deployed rejection behavior has not been proven. PR surfaceSource +31, Tests +1185, Docs +6, Config -876, Other +2324. Total +2670 across 44 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the parent-bound staged-publication design, but land only after exact-head CI and an authorized hosted end-to-end run proves allowed success and stale or forbidden receipt rejection before publication. Do we have a high-confidence way to reproduce the issue? No—the deployed OIDC/staging/post-parent path was not exercised after the change; available coverage is source inspection and mocked GitHub/registry fixtures. Is this the best way to solve the issue? Unclear—the layered parent-bound design is coherent and documented, but hosted final-effect evidence is needed to establish it as the safe release solution. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 00d542d3dc1f. LabelsLabel changes:
Label justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (6 earlier review cycles)
|
|
The pinned upstream contract has now been inspected directly at Hosted v2 OIDC admission, staged submission and post-parent finalization are still unexecuted. The release owner has explicitly directed main repair/landing separately from release publication, and no 2026.8.2 publication is authorized. These checks remain mandatory release-use evidence before a future authorized release; they are not claimed as passed or replaced by fixtures. The canonical dry-run returns before registry-token admission, and The serialized files here are release evidence artifacts, not a new runtime database or vector store. Missing and mismatched receipts fail visibly, while an explicit empty publication scope is recorded separately. Head |
4ec3aa7 to
f7172fa
Compare
|
@clawsweeper re-review The current reviewed head is The shared CI repairs now include repository-scoped ephemeral checkout authentication, immutable historical-reader preparation, and the selector's exact dependency-check entry. The last hosted run reached the real tests and exposed stale fixtures after the release-shell extraction. Those fixtures now execute the canonical shared shell owner; all 493 affected tests, selected changed-file gates and scoped independent review passed. An actual conflict with main's routing-test consolidation was resolved by preserving the consolidated table-driven cases; all five focused composition cases and fresh scoped review passed. Range comparison preserves the other six patches unchanged. The same hosted run also hit a cold provider-registration timeout on Windows. The reviewed shared owner fix defers Anthropic auth and catalog runtime imports until existing asynchronous hooks need them, preserving descriptor construction and credential behavior. Its owner verified build/changed gates, 170 tests, source/compiled execution and a cold-process improvement from 92s to 37.8s with the original test deadline unchanged. Fresh hosted Windows proof remains pending. The separate lint failure was a runner shutdown without a lint diagnostic. The earlier pinned ClawHub contract evidence and explicit release-use limitations remain unchanged: no hosted v2 admission, staging or terminal publication is claimed, and no 2026.8.2 publication is authorized. Main repair/landing is authorized separately. Those hosted checks remain mandatory before future authorized release use. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
The conditional-wait documentation finding is fixed in The current-main source-access gap is also resolved: the branch was rebased onto Current exact-head CI: https://github.com/openclaw/openclaw/actions/runs/33399392865. No package, tag, release asset or backend deployment has been published by this PR preparation. |
|
The latest review’s public SDK tutorial finding is fixed in e98ec00: external plugins use the typed public The Tideclaw finding is retained as an existing nightly-only cross-repository contract gap, not a new stable-release regression. Direct inspection of the old pinned ClawHub CLI at 87ca030c30f3cfb78ab15c8e66b5ff1469c8f9c8 ( The release owner’s disposition is to preserve the main/protected-tag authorization boundary and track coordinated nightly authority as separate work. Broadening this producer alone would still fail the registry contract. Stable 2026.8.2 does not depend on nightly authorization. The previously recorded hosted allowed/forbidden v2 admission and terminal finalization proof remains an explicit release-use gate, not a passed test; no package, tag, release or deployment was performed for this review. |
Preserve the recovery coverage added in #134165 while using the actual WebSocket dependency and authored SecretRef fixture boundary. Co-authored-by: Shakker <[email protected]>
Seal packed inventories before parent authorization, preserve distinct parent and child refs, and verify public bytes after terminal success. Record immutable npm producer provenance and avoid claiming historical OIDC authentication from artifact readback.
Use the reviewed merged reusable workflow with parent-only 64 KiB receipt parsing and bounded file preflight. Keep v2 identity and recovery limits unchanged.
Keep provider descriptors synchronous without importing credential stores, external auth discovery, or live catalog transport during registration. Load those implementations only when the existing asynchronous setup, doctor, usage, and catalog hooks need them. Expose the existing lightweight API-key descriptor factory through provider-entry while preserving the shipped auth SDK helpers and their synchronous contracts. The unchanged fresh-process registry proof retains its original timeout and verifies scoped failover without global activation.
Wait for opening focus initialization and visible popup retirement before exercising selection and typing ownership. Preserve the existing focus, selected-agent, and composer assertions without changing product behavior or timeouts.
e98ec00 to
4fd5df0
Compare
|
Merged via squash.
|
…claw#134053) * fix: restore gateway recovery fixture lint and types Preserve the recovery coverage added in openclaw#134165 while using the actual WebSocket dependency and authored SecretRef fixture boundary. Co-authored-by: Shakker <[email protected]> * fix(release): bind ClawHub staging to exact parent transactions Seal packed inventories before parent authorization, preserve distinct parent and child refs, and verify public bytes after terminal success. Record immutable npm producer provenance and avoid claiming historical OIDC authentication from artifact readback. * fix(release): pin ClawHub parent receipt contract Use the reviewed merged reusable workflow with parent-only 64 KiB receipt parsing and bounded file preflight. Keep v2 identity and recovery limits unchanged. * fix: authenticate CI checkout and lazy blob fetches * fix: prepare immutable reader history during CI checkout * fix(ci): declare historical reader selector entry point * test(release): follow canonical publication helpers * perf(anthropic): defer auth and catalog runtime imports Keep provider descriptors synchronous without importing credential stores, external auth discovery, or live catalog transport during registration. Load those implementations only when the existing asynchronous setup, doctor, usage, and catalog hooks need them. Expose the existing lightweight API-key descriptor factory through provider-entry while preserving the shipped auth SDK helpers and their synchronous contracts. The unchanged fresh-process registry proof retains its original timeout and verifies scoped failover without global activation. * docs(release): clarify optional ClawHub staging wait * docs(plugins): use public provider auth import in tutorial * test(ui): await agent menu lifecycle before keyboard navigation Wait for opening focus initialization and visible popup retirement before exercising selection and typing ownership. Preserve the existing focus, selected-agent, and composer assertions without changing product behavior or timeouts. * docs(release): explain parent-bound ClawHub repair authority --------- Co-authored-by: Shakker <[email protected]>
What Problem This Solves
Regular release publication could not satisfy ClawHub's deployed v2 authorization contract: the caller did not produce the exact parent/child package receipt, while waiting for public visibility inside the child conflicted with finalization requiring the parent to succeed first. Historical artifact readback also claimed OIDC without authentication evidence, and npm preflight manifests omitted the original qualified producer ref.
Why This Change Was Made
The child seals its actual packed inventories. The executing parent validates the dispatched child attempt, candidate, reviewed tooling and approved package set, then uploads an immutable authorization receipt. The child submits staged packages without waiting for public finalization; a separate read-only workflow verifies successful parent/child attempts and canonical registry bytes after the parent finishes. Parent and child may have distinct qualified refs at the same reviewed SHA.
The reusable workflow is pinned to the merged ClawHub contract in openclaw/clawhub#3563 (
db2a12c4625ffa162910a3e6aa2cb786ced89e2f), including its parent-only 64 KiB parser and file-preflight correction. Identity and recovery bounds remain 8 KiB. Existing release shell functions move into one shared owner so artifact upload can separate dispatch from completion. Producer manifests now retain qualified workflow ref, SHA, run and attempt; older manifests explicitly retain unrecorded provenance. Byte readback reportsartifact-postpublishandpublicationAuthentication: not-verified.Related CI repairs supply checkout authentication only within its repository-bound hydration scope, prepare the selected immutable historical reader before that scope ends, and register the executable selector with Knip. The shared Anthropic repair defers auth/catalog imports to existing asynchronous hooks, preserving credential behavior and test deadlines. Release fixtures follow the shared shell owner, and the UI fixture waits for dropdown opening focus initialization and popup retirement before keyboard input.
User Impact
Release operators get explicit staged submission and separately verified publication. Missing receipts and dispatch records fail visibly; an explicit empty scope is distinct from missing evidence. The release guide routes selected ClawHub repair through the parent, preserves direct npm repair, and explains why old child receipts or environment approval alone cannot authorize a replacement recovery child. The external provider tutorial retains the public typed
provider-authimport.No package, tag, release, asset promotion or deployment was performed by this PR. The release owner authorized main repair separately from publication. Hosted v2 allowed/forbidden/stale-receipt admission, staging and terminal finalization remain unexecuted mandatory release-use proof. Canonical dry-run exits before token admission and does not satisfy that gate.
Failed-parent recovery needs a separately approved exact-child contract; it is not claimed to work via copied receipts. Tideclaw has a preexisting nightly-only cross-repository authority gap, not a new stable-release regression: old CLI
87ca030comits required v2 fields, and deployed backendda21772aaccepts only main ancestry or exact protected release-publish tags. AnonymousappMeta:getDeploymentInfoat 2026-08-31T14:47:16Z confirmed that deployment identity. No live nightly request or exact HTTP rejection is claimed. Production index staging/deployment follow-up remains separate.Evidence
adf724a5a97b2dd224f140a36953ed4e6d0e3ab2a2dd79f7df2fea0d6887afdb; no OIDC claim is inferred.4fd5df0c98ff2c7f2c44fb04759bd44ee3daf939passed CI, including Windows. The prior run's inherited gateway lint/types failures were repaired in merged fix: restore gateway recovery fixture lint and types #134207; its known UI race is also corrected. All ten publisher commits remained patch-identical across the conflict-free composition. The only later change is repair-guidance documentation at25714d983160624ebd45f5fedd0d2d50f85ac969; formatting and fresh scoped review passed. Final exact-head2571 CI passed, including Windows. The actionlint workflow passed after one GitHTTPS fetch-timeout retry; a dropped startup run was recovered by normal close/reopen without changing the head.Relative to the reviewed Gateway prerequisite, production/tooling is +3,139/-1,660, tests/support +1,207/-37, and docs +8/-2. Most shell churn is unchanged extraction; remaining growth implements missing authorization and detached verification owners rather than a pin-only workaround.