Skip to content

fix(release): complete ClawHub publication after parent success - #134053

Merged
steipete merged 12 commits into
mainfrom
codex/release82-publisher-contracts
Aug 31, 2026
Merged

steipete merged 12 commits into
mainfrom
codex/release82-publisher-contracts

Conversation

@steipete

@steipete steipete commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

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 reports artifact-postpublish and publicationAuthentication: 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-auth import.

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 87ca030c omits required v2 fields, and deployed backend da21772a accepts only main ancestry or exact protected release-publish tags. Anonymous appMeta:getDeploymentInfo at 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

  • Full publisher changed-file gates and workflow validation passed, including types, lint, repository guards, actionlint and zizmor. Parent authorization 10/10, detached readback 9/9, producer identity 62/62, staged runtime state 4/4 and artifact readback 14/14 passed; immutable-pin validation passed the workflow boundary and all 81 related cases.
  • The original workflow suite passed 231/236; five old-layout assertions were corrected and passed on focused rerun. Subsequent release/routing fixture verification passed all 493 affected cases and selected gates. The actual earlier main consolidation conflict passed five focused cases and review.
  • A realistic 89-package, 13,125-byte receipt fails the old 8 KiB parser and passes the repaired 64 KiB parser with exact identity validation. Anonymous readback of the published 2026.8.1 Volcengine tarball matched SHA-256 adf724a5a97b2dd224f140a36953ed4e6d0e3ab2a2dd79f7df2fea0d6887afdb; no OIDC claim is inferred.
  • Shared checkout/prerequisite proof: 321 passed, 49 existing-condition skips; workflow validation and full canonical Knip checks passed. Anthropic owner proof includes build/changed gates, 170 tests, source/compiled execution and a cold-process improvement from 92s to 37.8s without deadline changes. The UI owner passed six browser cases and the required gate.
  • Exact runtime composition 4fd5df0c98ff2c7f2c44fb04759bd44ee3daf939 passed 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 at 25714d983160624ebd45f5fedd0d2d50f85ac969; 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.
  • Independent implementation, pin, fixture and composition reviews found no accepted actionable P0 findings. Fresh composition review confidence was 0.91; final docs review 0.99. These scoped reviews are not all-priority or hosted-publication certificates. Latest ClawSweeper findings and rank-up requests are dispositioned explicitly above; source inspection resolves its upstream/main DNS limitation, while hosted authority proof remains open for release use.

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.

@steipete
steipete requested a review from a team as a code owner August 31, 2026 10:45
@steipete steipete self-assigned this Aug 31, 2026
@clawsweeper

clawsweeper Bot commented Aug 31, 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 docs Improvements or additions to documentation scripts Repository scripts size: XL maintainer Maintainer-authored PR labels Aug 31, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. 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 31, 2026
@clawsweeper

clawsweeper Bot commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed August 31, 2026, 12:06 PM ET / 16:06 UTC.

ClawSweeper review

What this changes

This 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
Reviewed head: 25714d983160624ebd45f5fedd0d2d50f85ac969
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The source design has substantial layered validation, but missing hosted final-effect authority proof prevents a merge-ready rating.
Proof confidence 🧂 unranked krab (1/6) Needs real behavior proof before merge: Authority-chain proof required: the production owner calls the pinned ClawHub reusable workflow, but only mocked GitHub/registry fixtures were exercised and no after-fix hosted allowed, forbidden, or stale-receipt result is attached. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🦐 gold shrimp (3/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Needs proof Needs real behavior proof before merge: Authority-chain proof required: the production owner calls the pinned ClawHub reusable workflow, but only mocked GitHub/registry fixtures were exercised and no after-fix hosted allowed, forbidden, or stale-receipt result is attached. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 7 items Parent-bound authorization owner: The release parent creates an exact package-transaction receipt before later child completion/finalization handling.
Final-effect dependency boundary: The child release workflow invokes the pinned external ClawHub reusable publish workflow; this establishes an affirmative upstream-contract dependency, but its deployed behavior was not directly inspectable from the offline checkout.
Receipt validation and fixture coverage: The post-publication verifier validates triggering-parent, dispatch, receipt, child, inventory, and artifact facts before registry readback; tests model rejected failed, replayed, missing, and substituted cases.
Findings None None.
Security Needs attention Hosted authority rejection is unproven: Parent receipts and child workflow identities govern a publish-capable external workflow, but the supplied evidence does not show the nearest forged, stale, or reassigned case rejected before final publication I/O.

How this fits together

OpenClaw’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]
Loading

Decision needed

Question Recommendation
Should release owners require hosted allowed/forbidden/stale-receipt final-effect proof before this parent/child publication boundary lands, or explicitly accept landing with release use blocked until that proof? Require hosted proof: Run an authorized redacted release scenario proving a valid parent receipt succeeds and stale or unauthorized receipt variants fail before publication.

Why: Source validation and mocked fixtures cannot establish that the deployed external publication path rejects invalid authority before its final side effect.

Before merge

  • Add real behavior proof - Needs real behavior proof before merge: Authority-chain proof required: the production owner calls the pinned ClawHub reusable workflow, but only mocked GitHub/registry fixtures were exercised and no after-fix hosted allowed, forbidden, or stale-receipt result is attached. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Resolve security concern: Hosted authority rejection is unproven - Parent receipts and child workflow identities govern a publish-capable external workflow, but the supplied evidence does not show the nearest forged, stale, or reassigned case rejected before final publication I/O.
  • Resolve merge risk (P1) - This changes an authorization boundary for a release-side effect; mocked fixture coverage does not show the deployed ClawHub verifier rejecting a forged, stale, or reassigned receipt before OIDC or registry publication.
  • Resolve merge risk (P1) - Exact-head CI remains incomplete in the supplied context.
  • Resolve merge risk (P1) - The direct real-publish route now rejects an absent parent receipt; this is documented, but existing manual recovery workflows need release-owner confirmation and upgrade proof.
  • Complete next step (P2) - A release owner must resolve the hosted authority-proof gate; this is not a safe autonomous repair dispatch.

Findings

  • [medium] Hosted authority rejection is unproven — .github/workflows/plugin-clawhub-release.yml:609
Agent review details

Security

Needs attention: The diff creates a release-publication authority chain whose final deployed rejection behavior has not been proven.

PR surface

Source +31, Tests +1185, Docs +6, Config -876, Other +2324. Total +2670 across 44 files.

View PR surface stats
Area Files Added Removed Net
Source 5 338 307 +31
Tests 20 1247 62 +1185
Docs 1 8 2 +6
Config 8 473 1349 -876
Generated 0 0 0 0
Other 10 2331 7 +2324
Total 44 4397 1727 +2670

Review metrics

Metric Value Why it matters
Production vs test delta production/tooling +3,139/-1,660; tests/support +1,207/-37; docs +8/-2 The production growth implements new release authorization and detached verification owners, but the final hosted authority path has not been exercised.

Stored data model

Persistent data-model change detected: migration/backfill/repair: extensions/anthropic/auth.runtime.ts, migration/backfill/repair: src/plugin-sdk/test-helpers/provider-runtime-contract.ts, serialized state: scripts/clawhub-postpublish.mjs, unknown-data-model-change: scripts/clawhub-postpublish.mjs, vector/embedding metadata: scripts/npm-preflight-tooling-identity.mjs. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Add hosted final-effect evidence (recommended)
    Capture a redacted authorized release run showing valid staging/publication and rejection of the nearest stale or unauthorized receipt before final I/O.
  2. Accept a release-use hold
    A release owner may accept merge risk only if real release use remains blocked until the hosted authority proof is supplied.

Technical review

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

Labels

Label changes:

  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦐 gold shrimp.
  • add status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: Authority-chain proof required: the production owner calls the pinned ClawHub reusable workflow, but only mocked GitHub/registry fixtures were exercised and no after-fix hosted allowed, forbidden, or stale-receipt result is attached. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🧂 unranked krab, so this older rating label is no longer current.
  • remove status: 👀 ready for maintainer look: Current PR status label is status: 📣 needs proof.

Label justifications:

  • P1: The PR changes the authorization and completion path for real release publication, where a fault can block an operator release workflow.
  • merge-risk: 🚨 security-boundary: A parent receipt now authorizes a child package-publication path, and deployed rejection before final I/O is not yet demonstrated.
  • merge-risk: 🚨 automation: The change restructures release workflow dispatch, completion, and post-publication verification automation.
  • merge-risk: 🚨 compatibility: A previously direct real-publish recovery route now requires a parent authorization receipt, affecting established operator procedures.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦐 gold shrimp.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: Authority-chain proof required: the production owner calls the pinned ClawHub reusable workflow, but only mocked GitHub/registry fixtures were exercised and no after-fix hosted allowed, forbidden, or stale-receipt result is attached. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Evidence

Security concerns:

  • [medium] Hosted authority rejection is unproven — .github/workflows/plugin-clawhub-release.yml:609
    Parent receipts and child workflow identities govern a publish-capable external workflow, but the supplied evidence does not show the nearest forged, stale, or reassigned case rejected before final publication I/O.
    Confidence: 0.9

What I checked:

  • Parent-bound authorization owner: The release parent creates an exact package-transaction receipt before later child completion/finalization handling. (.github/workflows/openclaw-release-publish.yml:1456, 25714d983160)
  • Final-effect dependency boundary: The child release workflow invokes the pinned external ClawHub reusable publish workflow; this establishes an affirmative upstream-contract dependency, but its deployed behavior was not directly inspectable from the offline checkout. (.github/workflows/plugin-clawhub-release.yml:609, 25714d983160)
  • Receipt validation and fixture coverage: The post-publication verifier validates triggering-parent, dispatch, receipt, child, inventory, and artifact facts before registry readback; tests model rejected failed, replayed, missing, and substituted cases. (scripts/clawhub-postpublish.mjs:164, 25714d983160)
  • Documented operator behavior change: The release guide says standalone real publication cannot replace the parent authorization path and that staging is detached unless explicitly awaited. Public docs: docs/reference/RELEASING.md. (docs/reference/RELEASING.md:693, 25714d983160)
  • Current-main check: Fetched main is not a descendant of this PR head and has divergent release-workflow changes; no GitHub-verified merged PR was available that explicitly implements this PR’s parent-receipt behavior. (00d542d3dc1f)
  • Feature-history pointer: The relevant receipt/publication implementation lines are attributed to the PR-series commit, whose raw recorded parent was inspected; this is a routing signal rather than proof of prior merged ownership. (.github/workflows/openclaw-release-publish.yml:1456, 1a8beef09475)

Likely related people:

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

Rank-up moves

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

  • Obtain green exact-head CI.
  • Add final-effect proof for the nearest unauthorized principal and, when authority persists, prove revocation or reassignment invalidates it before I/O.

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 (6 earlier review cycles)
  • reviewed 2026-08-31T10:50:34.000Z sha 1e18d37 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-31T12:23:28.840Z sha e12f747 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-31T12:53:48.648Z sha a094a6a40e921a75b97cb2234c14dd4bdd26c572 :: needs real behavior proof before merge. :: [P2] Describe the conditional ClawHub staging wait
  • reviewed 2026-08-31T14:04:27.128Z sha 21d8e83 :: needs real behavior proof before merge. :: [P1] Admit the validated Tideclaw publication route | [P1] Keep the provider tutorial on the public SDK API
  • reviewed 2026-08-31T14:54:32.435Z sha e98ec00 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-31T15:31:45.025Z sha 4fd5df0 :: needs maintainer review before merge. :: none

@steipete

Copy link
Copy Markdown
Contributor Author

The pinned upstream contract has now been inspected directly at openclaw/clawhub@db2a12c4625ffa162910a3e6aa2cb786ced89e2f, including .github/workflows/package-publish.yml, the trusted-tooling verifier and the CLI mutation boundary. The realistic 89-package parent receipt is 13,125 bytes; the original 8 KiB parser rejects it and the pinned parent-only 64 KiB parser accepts its exact identity tuple. Identity and recovery limits remain 8 KiB. This resolves the source-access gap in the review.

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 wait_for_publication=false is a real staged submission, so neither is being misrepresented as complete hosted proof. Recovery authority and Tideclaw tooling contracts remain named follow-ups. No production backend deployment is claimed.

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 e12f7478af3228177a10e74d798ef00fa5957b54 also incorporates the two patch-identical shared CI checkout repairs. Focused authenticated-Git, immutable-reader, owner-lifecycle and workflow-guard verification passed: 321 passed, 49 existing-condition skips; workflow validation and fresh scoped independent review passed. Required exact-head hosted CI is now queued/running and remains required before native prepare/merge.

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. 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 31, 2026
@steipete
steipete force-pushed the codex/release82-publisher-contracts branch from 4ec3aa7 to f7172fa Compare August 31, 2026 13:42
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The current reviewed head is f7172fa71fed559f2f1447c05663501fd1ac2727; its exact CI is https://github.com/openclaw/openclaw/actions/runs/33398460220.

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.

@clawsweeper

clawsweeper Bot commented Aug 31, 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:

@steipete

Copy link
Copy Markdown
Contributor Author

The conditional-wait documentation finding is fixed in 21d8e839d7e18107f37a6ae83ee5a74d74d2f9d8: staging is awaited only with wait_for_clawhub=true; the default false leaves the child detached. Formatting and fresh scoped review passed against the actual input default and completion condition.

The current-main source-access gap is also resolved: the branch was rebased onto 940ede09c8739634b435f39297da4f53f0623ff9, retaining main's consolidated routing tests, and the newer baseline was inspected directly. Hosted allowed/forbidden v2 authority and final-publication proof remain explicitly unexecuted under the release owner's separate main-repair authorization; they are still mandatory release-use evidence and are not claimed as passed.

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.

@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. and removed P2 Normal backlog priority with limited blast radius. labels Aug 31, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

The latest review’s public SDK tutorial finding is fixed in e98ec00: external plugins use the typed public provider-auth import. The bundled-only example and lazy registration implementation remain unchanged. The prior exact head 21d8e83 passed CI, including Windows; fresh CI is required for this one-line correction.

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 (packages/clawhub/src/cli/commands/packages.ts:2707–2722) shows that its mint request supplies only package name, version and OIDC token. The production deployment recorded at da21772a03474e5c1788a0dfa4547132c45471e2 already requires scope, inventory digest and v2 identity (convex/httpApiV1/packagesV1.ts:2643–2650), then accepts only main ancestry or exact protected release-publish tags (convex/lib/openClawPublishAuthorization.ts:659–690). The old YAML accepting a nightly branch therefore does not establish a working end-to-end OIDC route against that deployed backend. No live nightly request or exact HTTP rejection is claimed here.

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.

steipete and others added 3 commits August 31, 2026 08:01
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.
@steipete
steipete force-pushed the codex/release82-publisher-contracts branch from e98ec00 to 4fd5df0 Compare August 31, 2026 15:17
@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui gateway Gateway runtime labels Aug 31, 2026
@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: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Aug 31, 2026
@steipete steipete closed this Aug 31, 2026
@steipete steipete reopened this Aug 31, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. 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 31, 2026
@steipete
steipete merged commit 3ed12b8 into main Aug 31, 2026
283 of 286 checks passed
@steipete
steipete deleted the codex/release82-publisher-contracts branch August 31, 2026 16:28
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 1, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation extensions: anthropic gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. scripts Repository scripts size: XL status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant