Skip to content

fix(release): move validation waivers into trusted tooling - #173437

Merged
RomneyDa merged 14 commits into
mainfrom
fix/release-publication-waivers
Oct 23, 2026
Merged

RomneyDa merged 14 commits into
mainfrom
fix/release-publication-waivers

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Release operators need reviewed waiver policy without changing a frozen candidate or allowing publication from a failed validation run.

User Impact

For post-cutover candidates, operators can check in an exact version, child-role, job, and reason grant in trusted release tooling. Waived leaf failures stay visibly waived, not passed. FRV must finish successfully before publication consumes its evidence; all non-waived and integrity requirements remain blocking. The grant list is empty by default.

The cutover follows 2026.10.6 publication and main closeout. Existing frozen release workflows remain strict; no release-branch feature backport is needed. Older release recovery continues to use its admitted tooling. Readers retain the existing empty legacy Telegram field and historical strict-plan omission support without creating waiver authority.

Why This Change Was Made

The existing FRV decision, diagnostic-drain, verifier, and manifest owners evaluate policy from admitted release tooling while candidate tests remain frozen. Publication accepts only successful authenticated FRV evidence, never a runtime waiver or a publisher-side override.

The current-main repair preserves recovery and changelog-reuse changes, shared admission fixtures, and original sealed coverage-plan digest ordering. It also removes a retired Telegram-waiver reference from main's new plan-sealing step.

Evidence

  • Pushed-head CI completed successfully for 0d00ba0ffec0, including both previously failing jobs. The fresh ClawSweeper review confirms the digest-ordering P1 repaired and no additional concrete code defect; its hosted authority-flow proof request remains unrun.
  • The original authenticated 2026.10.6 plan fails digest validation before the ordering fix and passes afterward, with its recorded hash and bytes unchanged. Added beta/stable restore cases reproduce the old wire ordering independently of the current writer.
  • 162 owner/consumer cases passed, including matching policy admission and rejection of failed/cancelled parents, missing or mismatched version/role/job grants, and qualification authority revoked after verification. The 29 conflict-fixture cases and previously selected 251 cases also passed; these are overlapping scoped runs, not additive coverage claims.
  • Root-test type lanes passed. Final scoped lint, formatting, whitespace, and workflow/security validation passed. Full-candidate and final incremental independent P0–P2 AutoReview are scoped-clean.
  • Untouched main baseline 7951d38 independently reproduces the core test-root budget and unused-export failures, all outside this PR's changed owner paths. These remain real repository-wide failures, not passing checks.
  • The recovered four-file contract replay passed 309 cases in 82.94 seconds. CI run 39887052355 then exposed 11 feature-related workflow/manifest fixture failures: the extracted writer omitted the job-level verifier path, and assertions still named its retired literal path. All 11 reproduced before the two-file correction and pass afterward (3.40 seconds wall time; 0.046 seconds workflow cases and 0.673 seconds artifact cases). Scoped types, lint, formatting, and incremental P0–P2 AutoReview pass. The expanded full two-file local replay was stopped in unchanged frozen-target fixtures; no pass is claimed for it. Fresh pushed-head CI owns the broad proof.
  • One earlier inventory-verification timeout remains unexplained; an adjacent focused replay passed without establishing a timing fix.

No hosted FRV with a real waiver, registry publication, release dispatch, or live Gateway change was performed. The complete hosted policy → successful FRV → publication-admission flow remains unrun; controlled I/O tests exercise the actual npm/Docker admission owners.

Published signed head: 0d00ba0ffec0ded717fb6f2b8c611bbc6bc407a9; GitHub PR and branch both verify that SHA, with no merge conflicts.

@RomneyDa RomneyDa added the release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) label Oct 15, 2026
@clawsweeper

clawsweeper Bot commented Oct 15, 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 Oct 15, 2026
@RomneyDa
RomneyDa marked this pull request as ready for review October 15, 2026 19:55
Comment thread scripts/release-ci-summary.mjs Fixed
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. 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. 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. labels Oct 15, 2026
@clawsweeper

clawsweeper Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge.

What this changes

This PR moves release-validation waivers into reviewed tooling while requiring successful Full Release Validation before publication.

Example: Trusted tooling grants a waiver for version 2026.10.19 and one failed OpenAI live job in releaseChecksIndependent.

  • Before: The selected failure blocks validation despite the reviewed provider outage.
  • After: Validation can succeed with that failure explicitly recorded as waived, while unrelated failures still block publication.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The code resolves the prior finding and preserves retained strict evidence, but publication-authority behavior remains supported by controlled fixtures.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is necessary before merge. See Before merge.
Patch quality 🦐 gold shrimp (3/6) Security review found an item that needs attention.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Release operators cannot record a reviewed provider-outage exception without changing frozen qualification or retaining a blocking selected failure.
Reason: The maintainer-authored direction supplies owner approval, and exact reviewed grants preserve candidate identity and visible failure evidence.

Merge readiness

⛔ Blocked before merge - 3 items remain

Keep this maintainer-authored PR open: the prior digest-ordering defect is repaired, and this review found no additional concrete code defect.

Priority: P2
Reviewed head: 0d00ba0ffec0ded717fb6f2b8c611bbc6bc407a9

Before merge

  • Add real behavior proof - Authority-chain proof required: exercise admitted tooling P with post-cutover frozen Q through successful FRV and npm/Docker publication admission; accept the exact grant and reject mismatched version, role, job, tooling, and failed-parent evidence before registry I/O, including revoked authority during delayed recovery. Current consumer tests inject GitHub runs and logs, and the body explicitly leaves the hosted flow unrun. The earlier authenticated stable-evidence replay proves retained-data reading only. Supply redacted logs or terminal traces without credentials, IPs, or non-public endpoints. After adding proof, update the PR body, then request a new review with @clawsweeper re-review. The PR author or someone with repository write access can request it.
  • Resolve security review attention item - No concrete authority bypass was found, but the changed publication-eligibility chain still needs final-effect proof.
  • Resolve merge risk - Before merge, the PR owner must establish that delayed or recovered waived evidence cannot authorize registry effects after qualification authority is revoked.

Findings

None.

Tests

  • Missing end-to-end proof: Supply the hosted admitted-tooling waiver-to-successful-FRV-to-publication-admission scenario, including mismatches and revoked authority rejected before registry I/O.
Agent review details

How this fits together

Release tooling consumes authenticated candidate, workflow, job, and artifact evidence and produces validation manifests that npm and Docker publication owners authenticate.

flowchart TD
  C[Frozen candidate] --> Q[Frozen test workflows]
  Q --> J[Job results and logs]
  P[Admitted tooling and reviewed grants] --> D[FRV decision and manifest]
  J --> D
  D --> V[Publication admission]
  V --> R[Registry mutation owners]
Loading

Technical review

Best possible solution:

Keep one reviewed tooling policy feeding the existing FRV owners, preserve historical evidence bytes, and retain successful-parent and live-authority checks at publication.

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

This is a release-policy capability rather than a newly reproduced runtime bug; source confirms main lacks the proposed grant path, and no target code was executed during this read-only review.

Is this the best way to solve the issue?

The shared policy module is a focused owner for grants consumed by existing decision and verifier owners, and the removed omission paths avoid competing waiver mechanisms.

AGENTS.md: found and applied where relevant.

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

Merge-risk options

Maintainer options:

  1. Prove the publication boundary (recommended)
    The PR owner supplies permitted and forbidden final-effect traces through admitted tooling, including authority revocation during recovery, before merging.

Provenance checked

  • Strict selected-job policy changes intended behavior with a stated reason (7e8732d: Remove runtime waiver authority and require blocking validation before publication.)
  • Candidate-owned qualification changes intended behavior with a stated reason (38740f2: Freeze candidate tests while independently trusted tooling authenticates admission and publication.)
  • Historical live-file omissions changes intended behavior with a stated reason (bfeca67: Exclude reviewed skipped single-case files for exact frozen release versions without weakening assertion guards.)
  • Coverage-plan digest ordering keeps the original intent (41ff392: Bind effective release coverage and target version into sealed qualification evidence.)

Testing

Proof path: in-process harness.

Security

Needs attention: No concrete authority bypass was found, but the changed publication-eligibility chain still needs final-effect proof.

Evidence

What I checked:

PR surface

Tests +89, Docs +64, Config -88, Other +67. Total +132 across 55 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 19 579 490 +89
Docs 15 156 92 +64
Config 2 19 107 -88
Generated 0 0 0 0
Other 19 335 268 +67
Total 55 1089 957 +132

Review metrics

Metric Value Why it matters
Waiver controls 1 runtime input removed; 0 active grants The telegram_waiver workflow input disappears, and new exceptions require reviewed tooling code.

Labels

Label changes:

  • remove merge-risk: 🚨 compatibility: Current PR review merge-risk labels are merge-risk: 🚨 automation, merge-risk: 🚨 security-boundary.

Label justifications:

  • P2: This changes release-operator validation policy without an established urgent end-user regression.
  • merge-risk: 🚨 automation: The diff changes which tooling executes FRV decisions, drains, and manifest verification.
  • merge-risk: 🚨 security-boundary: Reviewed grants affect publication eligibility, and final-effect authority proof remains outstanding.
  • 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.

Rank-up moves

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

  • Add final-effect proof for mismatched grants and failed parents, and prove revocation during delayed recovery prevents registry I/O.

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 (9 earlier review cycles; latest 8 shown)
  • reviewed 2026-10-15T20:56:26.047Z sha 33317be :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-15T21:16:42.065Z sha 9411506 :: needs real behavior proof before merge. :: [P2] [P2] Preserve the original publication actor in bot children
  • reviewed 2026-10-15T21:34:47.089Z sha 373f99a :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-16T22:02:15.497Z sha 2924f3c :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-16T22:25:02.111Z sha 2924f3c :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-19T16:44:14.695Z sha 33d415a :: needs real behavior proof before merge. :: [P1] Route existing frozen workflows through the P-owned decision | [P1] Preserve empty waiver fields in frozen source admissions
  • reviewed 2026-10-20T07:40:13.158Z sha de2277e :: needs real behavior proof before merge. :: [P1] Preserve historical execution-plan schemas and digest ordering
  • reviewed 2026-10-20T19:19:44.900Z sha e46fefe :: needs real behavior proof before merge. :: [P1] Preserve the original digest ordering for coverage-policy plans

Reviewed October 23, 2026, 1:38 AM ET / 05:38 UTC (Revision 10).

@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Current head 33317becb0e792a6d93a5b91ebf3125f173d0aed fixes the distinct-approver final-effect authority and stable-closeout cutover findings. Production-boundary regressions cover permitted/revoked promotion and original-P authenticated closeout, including frozen empty legacy inputs and multiline JSON. The PR body records proof timings and the unchanged live-acceptance limitation: the real FRV is missing required terminal drain evidence, so no live acceptance is claimed.

@clawsweeper

clawsweeper Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed 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. labels Oct 15, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review exact head 941150616da77e54f05835c17862a8a4e67f639d. This additive, test-only correction updates the closeout workflow regression to assert the authenticated owner's resolved run/attempt handoff instead of removed inline predicates. The case fails before and passes after; focused checks and fresh staged P0–P2 AutoReview pass.

The prior exact-head verdict's real acceptance/final-effect proof hold remains disclosed and is not waived. The separate Control UI ownership-inventory CI failure reproduces on untouched main; no unrelated UI fix or live acceptance claim is included. The PR body contains the current evidence and limitations.

@clawsweeper

clawsweeper Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review exact head 373f99ae1863edf034fc68fce940addb1eca8b9f. The late P2 rerun-identity finding is reproduced and repaired at its existing owner: bot children use the authenticated parent's original actor, consistently with direct GITHUB_ACTOR and closeout, rather than the rerunner. Existing exact-parent attempt checks and final-effect authority checks are unchanged. The distinct-actor case fails before and passes after; all 173 identity/strict-waiver/closeout cases, targeted checks and fresh staged P0–P2 AutoReview pass.

The real protected-publication acceptance/final-effect proof hold is still disclosed, not waived or claimed satisfied by controlled fixtures. Prior-head CI completed with all type lanes passing; only the independently reproduced Control UI inventory failure and aggregate failed. The current head needs its own CI/review; no CI rerun, publication, merge, or FRV mutation was performed.

@clawsweeper

clawsweeper Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper

clawsweeper Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. and removed merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 23, 2026
@RomneyDa
RomneyDa merged commit 2a12851 into main Oct 23, 2026
122 checks passed
@RomneyDa
RomneyDa deleted the fix/release-publication-waivers branch October 23, 2026 05:54
@RomneyDa

Copy link
Copy Markdown
Member Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 24, 2026
…173437)

* fix(release): waive provider outages without changing frozen candidates

* refactor(release): reuse existing waiver evidence owners

* fix(release): preserve waiver authority through publication and closeout

* test(release): follow authenticated closeout evidence owner

* fix(release): preserve waiver approver across publisher reruns

* fix(release): evaluate checked-in tooling waivers within FRV

* fix(release): accept empty legacy waiver evidence

* fix: preserve release evidence through tooling cutover

* test(release): align fixtures with admitted verifier tooling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation 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: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) 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.

2 participants