Skip to content

feat(release): publish explicitly approved fast-track releases - #204520

Merged
RomneyDa merged 9 commits into
mainfrom
openclaw/grand-langoustine
Nov 24, 2026
Merged

RomneyDa merged 9 commits into
mainfrom
openclaw/grand-langoustine

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Release managers could prepare and approve fast-track requests, but the existing publishers still rejected incomplete Full Release Validation. The approval tooling could not actually release an approved candidate.

User Impact

Explicitly approved fast-track candidates can use the normal npm, plugin and Docker publishing paths, postpublish verification, recovery and stable closeout without rewriting failed validation as successful.

  • Bounded policy stays at most 20 commits AND 15,000 added/deleted lines, excluding package manifests and known package lockfiles from LOC only. Every commit still counts. The publisher authenticates the published, fully validated reference and recomputes the Git delta.
  • Partial-FRV approval has no delta ceiling and binds the original manifest, exact attempts, result counts and all outstanding jobs.
  • A human release manager, including the requesting human, must explicitly approve the exact request in the normal release-managers group. Agents must never approve using available human tokens. This is a procedural safeguard, not independent token isolation; normal npm-release authorization still applies.
  • Removed wait_for_clawhub entirely. Callers must stop supplying it. Core release publication never waits for the detached ClawHub lane.

Approval packets become public release evidence. Only public-safe reasons and decision references belong in them. Never copy private discussion, incident details or credentials. Disclosing a private-group permalink requires the human's authorization.

Why This Change Was Made

One optional fast_track_approval packet runs through the existing publication owners and child dispatches. The shared evidence owner authenticates the policy before result-only gates are skipped. Source admission, publication selection, artifact hashes, successful package/Docker seals and publisher authorization stay mandatory.

FRV retains structurally valid, truthfully failed evidence before enforcing its normal strict result. The original manifest and its failed/incomplete results remain unchanged. Approval is retained separately in Actions and release assets. The existing publication receipt binds the entire packet so an already admitted publication can finish or recover after request expiry. Neither policy establishes a new fully validated baseline.

Completes the publisher integration missing from #201080 and follows the human-approval wording proposed in #204491.

Evidence

  • 40 manual-only checks pass, including actual publication-evidence, npm-lineage and Docker consumers; failed seals, changed bindings, expired admission, omitted jobs and substituted packets remain rejected.
  • Actual producer pipeline and evidence-only CLI preserve failed selected-job evidence; the strict validation verdict still rejects it.
  • 168 existing producer/receipt/workflow regressions and 139 readiness checks pass, plus focused evidence, preflight, gate, prepared-plugin, stable-release and dispatch sibling suites.
  • No new CI test lane, shard budget or test-budget allocation. Feature checks stay manual-only.
  • Scripts, tooling-test and scoped manual-test typechecks pass. Workflow validation (actionlint, zizmor and CI ownership), shell syntax, formatting and diff checks pass.
  • Changed-source lint passes, including the checklist workflow test after fixing its default-parameter typing.
  • Self-simplification pass reused existing evidence, dispatch, receipt and publication owners and removed the obsolete ClawHub waiting input and callers. The normal no-packet path remains strict.

Latest repair round

  • Compose all bound parent/child attempts before approval snapshots, retaining carried-forward failures and each original job attempt.
  • Fetch frozen child attempts for replay instead of mutable latest metadata.
  • Resolve successfully sealed inline npm artifacts from failed FRV, while retaining mandatory full approval/evidence authentication before publication.
  • Repair the three stale workflow test fixtures identified by current ClawSweeper review.
  • 40 manual checks and 198 existing regression tests pass; affected input/contract fixtures, types, lint, workflow validation and incremental independent review are checked separately. Feature checks remain manual-only.

Review fixes

  • Docker retries and stable closeout retain the original receipt-owning publication attempt instead of selecting the newest parent attempt.
  • Prepared-button verification/finalization carries its recorded publisher identity through the existing evidence owner after expiry. Fresh dispatch still requires an unexpired request.
  • Replaced the source-sliced VM test with executable readiness CLI coverage, alongside receipt authentication and closeout shell replay checks.
  • Current repair validation: 37 manual-only checks and 179 existing regression tests pass, plus scripts/tooling/manual typechecks, workflow checks, lint and formatting.
  • Removed the process from public docs and kept operator instructions in release skills only. Removed obsolete deployment/migration commentary.

CI and instruction follow-up

  • Reproduced the failing package-workflow assertion and updated it for the current full-history checkout contract. The old numeric-zero expression could not represent the intended zero-depth branch reliably; the workflow uses string values.
  • Fixed the checklist fixture parameter without a lint suppression or narrowing its accepted branch values.
  • Moved trusted dependency installation before candidate checkout in the readiness seal job. Shared caching remains disabled; candidate files are not present during dependency setup. Hosted CodeQL still needs to confirm the repair.
  • Kept the public-packet handling instruction in one owning skill reference, cited this PR, and linked to it from both release skills.
  • This follow-up passes 40 manual checks, the 9 affected existing tests, tooling-test types, targeted lint, formatting and workflow validation locally. New-head hosted CI is pending, not claimed green.

Review handoff and limitations

Local ClawSweeper completed on e063556. This repair pass addressed its producer retention, trusted-dependency resolution, postpublish duplication, closeout selector, expiry-at-admission and readiness handoff findings. Per maintainer direction, opening now for another read-only review without waiting for a second local round.

Technical verification of the private-group decision is intentionally not added: the maintainer explicitly chose procedural human approval with agent-held tokens. Removing the old ClawHub input is also explicitly requested, not a compatibility oversight.

Not verified: a live release/publish or hosted fast-track execution. None was authorized or dispatched. Historical failed FRV attempts that never retained a manifest are not retroactively made eligible: they still need original evidence recovered. Absent or unsealed artifacts are not waived. Hosted end-to-end release/recovery/closeout remains a review focus, not claimed proof.

@clawsweeper

clawsweeper Bot commented Nov 24, 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 scripts Repository scripts docker Docker and sandbox tooling size: XL labels Nov 24, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. 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 Nov 24, 2026
@clawsweeper

clawsweeper Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR carries explicitly approved fast-track requests through release publication, verification, recovery, and stable closeout.

Example: A release manager approves publishing v2026.11.9 with incomplete Full Release Validation and successfully sealed artifacts.

  • Before: Publishers reject the failed validation despite the explicit approval.
  • After: Publishers authenticate the approval and exact artifacts while preserving the original failed validation result.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful integration with prior defects repaired and no new finding; local production-path fixtures support confidence, while hosted publication remains unverified and current-head CI is pending. Receipt versions 1–3 remain readable, with version 4 adding a packet digest without rewriting existing records.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored release-automation PR is outside the shipped-entry-point proof gate; supplied checks exercise production evidence, receipt, Docker, npm, and readiness code with synthetic external I/O, and explicitly claim no hosted fast-track publication or recovery.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Release managers can approve a fast-track candidate but cannot publish it through the existing release workflows.
Reason: The maintainer-authored direction completes an already-established capability and preserves the existing publication owners.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR completes publication support absent from main; prior findings are resolved, and no new actionable defect was found.

Priority: P2
Reviewed head: 50aba23710b9150dc8f06271cf5a8b3e0ebcfe8c

Before merge

None.

Findings

None.

Agent review details

How this fits together

Release tooling consumes admitted candidate identities, validation evidence, sealed packages, and human approvals, then coordinates publishers and records publication evidence.

flowchart TD
  A[Human release approval] --> B[Publication preflight]
  C[Original validation and sealed artifacts] --> B
  B --> D[Shared evidence owner]
  D --> E[Protected publication receipt]
  E --> F[Npm plugin and Docker publishers]
  F --> G[Verification recovery and closeout]
Loading

Technical review

Best possible solution:

Complete fast-track integration through the existing evidence and publication owners while preserving strict ordinary releases and exact artifact bindings.

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

Current-main source deterministically rejects failed validation evidence even when a fast-track request exists; no release execution was attempted.

Is this the best way to solve the issue?

The coherent remaining stage is publisher integration of the existing request contract, using the shared evidence owner and existing receipt rather than introducing another approval service.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Fast-track request preparation changes intended behavior with a stated reason (973fbff: Prepare exact requests under procedural human approval while deliberately leaving publishers strict.)
  • Strict publication result gates changes intended behavior with a stated reason (fix: restore blocking release validation and remove publication waivers #157864: Remove ad hoc validation waivers and prevent failed selected checks from silently qualifying publication.)
  • Shared qualification authentication keeps the original intent (fix(release): share qualification validation across publication gates #199110: Keep authentication in one evidence owner so publication consumers do not maintain conflicting validators.)
  • Detached ClawHub publication keeps the original intent (45beb67: Keep ClawHub publication independent of core publication and closeout; removing its obsolete waiting input preserves that direction.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Dallin Romney: Raw commit 324058c adds scripts/release-ci-summary.mjs:2140 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 324058c42cd7; files: scripts/release-ci-summary.mjs)
  • Peter Steinberger: Raw commit 25d7402 adds scripts/release-approval-receipt.mjs:19 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 25d74027a95d; files: scripts/release-approval-receipt.mjs)
  • Vincent Koc: Raw commit cbe3731 adds .agents/skills/release-openclaw-ci/scripts/release-ci-summary.mjs:992 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: cbe3731f7723; files: .agents/skills/release-openclaw-ci/scripts/release-ci-summary.mjs)

PR surface

Tests +1264, Docs +76, Config +233, Other +798. Total +2371 across 48 files. Added test files: 3.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 13 1294 30 +1264
Docs 7 208 132 +76
Config 11 335 102 +233
Generated 0 0 0 0
Other 17 868 70 +798
Total 48 2705 334 +2371

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

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 adds a useful, explicitly approved release-management capability without establishing an urgent end-user regression.
  • merge-risk: 🚨 automation: The PR changes release qualification, publisher dispatch, receipt replay, and closeout behavior; accepting explicitly approved validation gaps is the recorded direction.
  • 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.

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-11-24T09:13:44.128Z sha d0f7ed5 :: needs changes before merge. :: [P2] [P2] Preserve the original admission attempt across publication retries | [P2] [P2] Pass the admitted publisher identity into prepared-button replay
  • reviewed 2026-11-24T09:45:50.531Z sha e8d541b :: needs changes before merge. :: [P2] Initialize the approval input in the workflow test fixture | [P2] Remove the obsolete scripts-only checkout assertion | [P2] Include admission identity in the Docker contract expectation
  • reviewed 2026-11-24T10:30:11.082Z sha 9249cc6 :: needs changes before merge. :: [P2] Cite and centralize the new packet-handling instruction

Reviewed November 24, 2026, 6:12 AM ET / 11:12 UTC (Revision 4).

RomneyDa and others added 2 commits November 24, 2026 01:18
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Nov 24, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added 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. labels Nov 24, 2026
@RomneyDa
RomneyDa enabled auto-merge (squash) November 24, 2026 11:19
@RomneyDa
RomneyDa disabled auto-merge November 24, 2026 11:22
@RomneyDa
RomneyDa merged commit 4f3816d into main Nov 24, 2026
119 of 121 checks passed
@RomneyDa
RomneyDa deleted the openclaw/grand-langoustine branch November 24, 2026 11:22
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 25, 2026
…law#204520)

* feat(release): plumb approved fast-track through publication

* fix(release): retain failed evidence and close fast-track handoff gaps

* test(release): select publication steps after dependency setup

* feat(release): publish explicitly approved fast-track releases

OpenClaw-Publication: 89004c2e-17d1-8960-ad2e-8edb311c4865

* Publish openclaw/grand-crayfish

OpenClaw-Publication: 844e1d2a-d417-80c3-80ce-6144084edefb

* fix(release): retain original fast-track admission on replay

* fix(release): preserve complete fast-track attempt evidence

* fix(release): repair fast-track CI and readiness setup order

---------

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

Labels

docker Docker and sandbox tooling docs Improvements or additions to documentation merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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