Skip to content

fix: recover qualification receipts with approved release waivers - #199021

Merged
RomneyDa merged 2 commits into
mainfrom
fix/beta3-receipt-policy-recovery
Nov 14, 2026
Merged

RomneyDa merged 2 commits into
mainfrom
fix/beta3-receipt-policy-recovery

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes release receipt recovery rejecting completed qualification whose failures are explicitly accepted by trusted release policy.

User Impact

Release operators can recover the existing qualification without rerunning tests or presenting waived failures as passing. No new waivers, candidate changes, or ordinary reuse exceptions are introduced.

Why This Change Was Made

The original execution-plan cache is unavailable to the GitHub-hosted recovery job even though Blacksmith restores it. The supported receipt-backed recovery path must apply the same existing exact-version/exact-job policy as qualification. It now authenticates the candidate version, checks the full composite receipt and failed aggregate log causes, preserves raw conclusions, and independently recomputes the waivers recorded in the recovery seal. Ordinary child discovery/reuse and publication producers remain green-only.

Evidence

  • Real archived-receipt regression failed on the baseline at the green-only admission boundary, then passed with the repair.
  • Focused child receipt, recovery, and evidence-consumer suites: 218 passed, 2 existing skipped tests. Includes ordinary reuse rejection, exact-version bounds, unapproved aggregate causes, raw failed conclusions, and changed-attempt rejection.
  • JavaScript syntax, formatting, and git diff checks passed.
  • Initial CI exposed missing declaration fields and an optional test-fixture access. Corrected on head 6e2bff27dc9f2b27b6d0e97d0f41708721807560: the exact failing root-scripts typecheck passes locally, all 61 focused receipt/recovery tests pass, and scoped oxlint/oxfmt/diff checks pass. These checks used a private frozen dependency installation; shared installations and guards are unchanged. Full exact-head PR CI remains required.
  • Self-reviewed and simplified: existing policy owner reused across receipt admission, seal, and reader; no new waiver grants or independent policy implementation. Independent local review omitted per the owner’s explicit instruction.

The live receipt-recovery workflow and strict publication verification will be exercised after this tooling change lands. Until then the release remains unpublished.

Preserve failed workload conclusions and authenticate exact policy grants across receipt validation, recovery sealing, and strict verification.

Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
@clawsweeper

clawsweeper Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review ended

ClawSweeper stopped reviewing this revision because the pull request closed.

View the workflow run.

@RomneyDa RomneyDa added the release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) label Nov 14, 2026
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: M labels Nov 14, 2026
@RomneyDa
RomneyDa marked this pull request as ready for review November 14, 2026 16:43
@RomneyDa
RomneyDa enabled auto-merge (squash) November 14, 2026 16:47
@RomneyDa
RomneyDa disabled auto-merge November 14, 2026 16:50
Declare the policy version and job-log dependency used by receipt recovery, and narrow the required fixture child before reading its run ID.

Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
@RomneyDa
RomneyDa merged commit 8857554 into main Nov 14, 2026
109 checks passed
@RomneyDa
RomneyDa deleted the fix/beta3-receipt-policy-recovery branch November 14, 2026 17:03
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 15, 2026
…enclaw#199021)

* fix: recover qualification receipts with approved release waivers

Preserve failed workload conclusions and authenticate exact policy grants across receipt validation, recovery sealing, and strict verification.

Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: vincentkoc <[email protected]>

* fix: complete receipt recovery type contracts

Declare the policy version and job-log dependency used by receipt recovery, and narrow the required fixture child before reading its run ID.

Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: vincentkoc <[email protected]>

---------

Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 17, 2026
Backport #200377 (8b2831e) with the minimal policy-aware child-validator prerequisite from #199021. Preserve exact C/Q coverage and authenticate each P independently. Retain raw workload failures and verify waived aggregate logs. No waiver grants added.

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

docs Improvements or additions to documentation release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) scripts Repository scripts size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant