Skip to content

fix: reuse release evidence after waivers and tooling changes - #200377

Merged
RomneyDa merged 6 commits into
mainfrom
openclaw/reusing-evidence-after-waiving-frv-failures
Nov 17, 2026
Merged

RomneyDa merged 6 commits into
mainfrom
openclaw/reusing-evidence-after-waiving-frv-failures

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes: Full Release Validation needlessly reruns completed workloads after a new waiver or a change to trusted release tooling.

User Impact

With reuse enabled, an initial required run can be reused after its recorded failure is covered by current policy. Accepted retained evidence returns before another child workflow is dispatched. Changing publisher/release-tooling P alone does not invalidate unchanged candidate qualification.

Candidate, coverage, inputs, workload closure, artifact integrity, original producer provenance, and current attempts remain enforced. Missing, expired, incompatible, or unwaived evidence still requires fresh work. Frozen workflows without admitted-P routing are not retrofitted by changing P alone.

Why This Change Was Made

  • Use the existing waiver-aware policyTargetVersion path for ordinary discovery, execution-state collection, and strict summary verification—not just receipt recovery.
  • Run discovery from admitted P while reading dispatch defaults from frozen Q.
  • Permit completed failed receipts to reach existing exact waiver and aggregate-log checks; keep raw failures unchanged.
  • Remove publisher identity equality from whole-parent reuse while independently authenticating both publishers and preserving candidate/Q, coverage, inputs, and source digests.
  • Keep failed-parent recovery on sealed child receipts. A fresh parent must still complete admission, collection, and final verification successfully.

Integrated main (6ba51132e323) to retain its existing receipt recovery, workload-closure checks, evidence-bound waivers, and independent-Q handling. No duplicate waiver API or policy implementation. Added 95 net test lines with an exact allocation.

Evidence

  • Original cross-P regressions failed on the old base and pass with the fix.
  • Existing authenticated ZIP receipt regression proves ordinary discovery and revalidation reuse a policy-waived failure through the default authenticated log transport, including exact-candidate waivers, and refuse it without current policy. Both review regressions failed before the fixes (missing log reader and missing candidate SHA). The affected four suites passed afterward: 351 tests.
  • Real workflow shell regression proves successful reuse returns without a new workflow dispatch, uses admitted P, and preserves frozen-Q input source and candidate version.
  • Integrated focused suites: 420 tests passed across seven files (child reuse, qualification/publication consumers, strict summary, execution state, receipt recovery, dispatch wiring, and nightly workflow).
  • Staged test-line ratchet passed against integrated main: +95 net lines, +95 allocation credit; PR diff whitespace check passed.
  • Tooling and scripts typechecks, scoped lint, formatting, workflow security checks, and documentation lint passed.
  • Independent original review was clean. Integration review found two P2 issues (missing default log reader and candidate SHA); both were fixed with red/green regressions. Follow-up independent review confirmed both resolved with no remaining actionable findings.

CI follow-up

CI run 44007746269 at c89f174081d2cf9a71a03614564318ad38d57eaa reported two failures in checks-node-compact-small-3-2:

  • The private-server ownership guard omitted extensions/openclaw-id-access/browser/recovery-uses.e2e.test.ts, introduced by the integrated main. Reproduced the exact assertion failure and added the missing serial-owner registration; the unchanged guard now passes. No new test lines or relaxed assertions. Formatting, scoped lint, tooling typecheck, and independent review passed for this one-line repair.
  • The heartbeat optional-import build-graph case exceeded 60 seconds on the hosted runner. The three existing optional-import cases pass locally (heartbeat about 3.1 seconds), with no build-graph source differences from integrated main. This is non-reproduction, not proof of a timeout fix; the original hosted timing failure remains unexplained. No retry policy or timeout was changed.

The CI classifier reported unknown provenance (no matching main job; annotation-only discovery); the exact job log was inspected independently.

Limitations: no authenticated hosted Actions/FRV run was dispatched manually. Real owners are tested using fixed external-I/O fixtures; shell routing and strict-consumer proofs are separate rather than one hosted end-to-end run. Local ClawSweeper and Codex CLI were unavailable, so independent native review was used without claiming helper-owned isolation.

RomneyDa and others added 2 commits November 17, 2026 03:01
Keep original producer and candidate checks while evaluating retained child failures under current trusted policy. Avoid redispatching accepted workloads.

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 0de3b727-c97e-4fa5-b1fb-2a01d5d973d1
@clawsweeper

clawsweeper Bot commented Nov 17, 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 size: M labels Nov 17, 2026
RomneyDa and others added 2 commits November 17, 2026 03:05
OpenClaw-Publication: 93758060-aeab-4f57-9a21-832621bbeb74
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 17, 2026
@clawsweeper

clawsweeper Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR lets release validation reuse authenticated failed children covered by current waivers and retain unchanged qualification across publisher-tooling changes.

Example: Requalify candidate d843d6a for version 2026.11.4 after its named CI failure receives a trusted waiver.

  • Before: Ordinary discovery rejects the failed child and dispatches replacement work.
  • After: Discovery checks the existing receipt and aggregate failure causes against current policy, preserves the failed conclusion, and adopts eligible evidence.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful, focused owner-level repair with credible boundary regressions; confidence is limited to fixture-based execution evidence and unresolved CI failure attribution.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored release-automation change supplies production-owner fixture and workflow-shell regression evidence; it explicitly claims no hosted FRV dispatch, and requires no shipped-product demonstration.
Patch quality 🐚 platinum hermit (4/6) 1 actionable review finding remain.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Release operators repeat completed qualification after approved waivers or publisher-only tooling repairs.
Reason: Maintainer-authored direction restores useful evidence reuse through existing owners without adding configuration, waiver authority, or publication bypasses.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: it repairs useful release-evidence reuse, has maintainer-approved direction, and introduces no identified P0–P2 defect; one documentation correction is advisory.

Priority: P2
Reviewed head: c89f174081d2cf9a71a03614564318ad38d57eaa

Before merge

None.

Findings

  • [P3] [P3] Update the remaining green-only reuse description — docs/reference/full-release-validation/evidence.md:155
Agent review details

How this fits together

Full Release Validation combines candidate C, frozen qualification tooling Q, and trusted policy tooling P; authenticated child receipts enter discovery and verification, which return reusable evidence or require fresh workflows.

flowchart TD
  A[Candidate C and frozen Q inputs] --> B[Trusted P discovery]
  C[Retained child receipts] --> B
  B --> D[Identity integrity and waiver checks]
  D --> E[Adopt eligible child]
  D --> F[Dispatch fresh child]
  E --> G[Collection and final verification]
  F --> G
Loading

Technical review

Best possible solution:

Keep the existing receipt and waiver owners, evaluate retained evidence under admitted P, and preserve exact candidate, qualification, workload, and artifact bindings.

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

Source establishes both rejection paths: ordinary discovery filters failed children before waiver evaluation, and whole-parent identity compares publisher tooling despite unchanged qualification; no target code was run during this review.

Is this the best way to solve the issue?

The patch uses the smallest existing-owner repair: propagate current policy context through discovery and consumers, retain frozen-Q defaults, and remove publisher equality while authenticating each publisher independently.

Full review comments:

  • [P3] [P3] Update the remaining green-only reuse description — docs/reference/full-release-validation/evidence.md:155
    The receipt-recovery section still says ordinary child reuse is green-only and unchanged, while this PR explicitly enables ordinary discovery to adopt policy-waived failures. Update that sentence to match the new behavior and avoid contradictory operator guidance on the same page.
    Confidence: 0.98

Overall correctness: patch is correct
Overall confidence: 0.87

AGENTS.md: found and applied where relevant.

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

Provenance checked

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

  • Current-main failure path: Ordinary discovery on main requires successful runs, while its caller omits policyTargetVersion; the existing waiver-aware verifier is therefore unavailable to ordinary discovery. (scripts/lib/full-release-child-reuse.mjs:657, 6ba51132e323)
  • Shared policy and preserved evidence checks: The patch passes candidate version and SHA into the existing policy evaluator, retains exact composite receipt and artifact validation, and checks aggregate logs before accepting waived failures. (scripts/lib/full-release-child-reuse.mjs:595, c89f174081d2)
  • Independent publisher authentication: Removing publisher equality does not remove admission authentication: both admissions still authenticate their producer, operator authority, immutable artifact, and requested C/Q tuple; coverage, inputs, baselines, and source digests remain compared. (scripts/release-ci-summary.mjs:2904, c89f174081d2)
  • Focused production-owner regression coverage: The changed tests exercise sealed ZIP receipt discovery and revalidation, candidate-bound waivers, rejection of unwaived aggregate causes, cross-P qualification reuse, and workflow routing without redispatch. (test/scripts/full-release-child-reuse.test.ts:472, c89f174081d2)
  • Exact-head CI remains red: The failed compact Node job reports a runtime-process build timeout and an E2E ownership mismatch involving extensions/openclaw-id-access/browser/recovery-uses.e2e.test.ts; ci-gate reports that failed shard. Neither failure was established as diff-caused or independently reproduced on base. Job-log retrieval was blocked by the environment's storage-host allowlist, so attribution remains unresolved. (c89f174081d2)
  • Related work has distinct boundaries: feat: apply release waivers after completed validation #193121 proposes retrospective consumption of failed-parent validation; refactor(release): retire receipt-backed qualification recovery #199838 broadens receipt recovery across profiles. This PR retains the successful fresh-parent requirement and repairs ordinary child discovery, so neither supersedes it.

Likely related people:

  • Peter Steinberger: Raw commit ebdab59 adds scripts/lib/full-release-child-reuse.mjs:226 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: ebdab59f91db; files: scripts/lib/full-release-child-reuse.mjs)

PR surface

Tests +95, Docs +10, Config +14, Other -7. Total +112 across 11 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 3 181 86 +95
Docs 2 12 2 +10
Config 1 15 1 +14
Generated 0 0 0 0
Other 5 43 50 -7
Total 11 251 139 +112

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:

No label changes.

Label justifications:

  • P2: Avoids unnecessary release-validation reruns while preserving existing qualification and publication gates.
  • 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.

Reviewed November 16, 2026, 10:21 PM ET / November 17, 2026, 03:21 UTC.

RomneyDa and others added 2 commits November 17, 2026 08:21
OpenClaw-Publication: 0adf78fd-44f4-47af-b8d8-11b183a40d14
@RomneyDa
RomneyDa merged commit 8b2831e into main Nov 17, 2026
108 of 111 checks passed
@RomneyDa
RomneyDa deleted the openclaw/reusing-evidence-after-waiving-frv-failures branch November 17, 2026 08:38
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]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 18, 2026
…aw#200377)

* fix: reuse release evidence after waivers and tooling changes

Keep original producer and candidate checks while evaluating retained child failures under current trusted policy. Avoid redispatching accepted workloads.

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

* fix: reuse release evidence after waivers and tooling changes

OpenClaw-Publication: 0de3b727-c97e-4fa5-b1fb-2a01d5d973d1

* Publish openclaw/reusing-evidence-after-waiving-frv-failures

OpenClaw-Publication: 93758060-aeab-4f57-9a21-832621bbeb74

* fix(ci): serialize recovery kit source-server tests

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

* Publish openclaw/reusing-evidence-after-waiving-frv-failures

OpenClaw-Publication: 0adf78fd-44f4-47af-b8d8-11b183a40d14

---------

Co-authored-by: RomneyDa <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 19, 2026
* fix: reuse release evidence after waivers and tooling changes

Keep original producer and candidate checks while evaluating retained child failures under current trusted policy. Avoid redispatching accepted workloads.

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

* fix: reuse release evidence after waivers and tooling changes

OpenClaw-Publication: 0de3b727-c97e-4fa5-b1fb-2a01d5d973d1

* Publish openclaw/reusing-evidence-after-waiving-frv-failures

OpenClaw-Publication: 93758060-aeab-4f57-9a21-832621bbeb74

* fix(ci): serialize recovery kit source-server tests

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

* Publish openclaw/reusing-evidence-after-waiving-frv-failures

OpenClaw-Publication: 0adf78fd-44f4-47af-b8d8-11b183a40d14

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 8b2831e)
(cherry picked from commit 2f38366f0bf27109e74bcbacee9a9bea9401bc62)
tideclaw-bot added a commit that referenced this pull request Nov 24, 2026
…04360)

Allow reuse of authenticated child execution after qualification tooling changes.
Keep the original producer Q, exact candidate and inputs, receipt and artifact
identity, live attempts, and reevaluation under current Q grants.

Release adaptation: preserve stable's historical publication artifact selector,
its strict workload identity validator, and exact beta.2 bookkeeping exception.
Change only sealed child reuse; keep the branch's cancellation and reseal
behavior, and omit main-only receipt-backed aggregate recovery guidance. Adapt
proof to assert strict historical artifact selection and fail-closed lineage and
receipt checks. Admitted candidate FRV must select a P containing #204360.

Companion audit: #200377, #203885, #201773, #203832 and the waiver run-ID part
of #204300 are present-equivalent. Historical producer selection and #199838's
retired recovery contract are preserved; main-only recovery (#201814, #203826,
#204015 and the remainder of #204300) and unrelated fast-track/publisher changes
are not required. #204326 is already present. The original audit pin predates
#204360; no later touched-path commits were found through 0f3fc70.

(cherry picked from commit b8d72ac)

Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
(cherry picked from commit bf4aa536ca4ef25469c2076d4a08e3fe706bf644)
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 P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: M 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.

1 participant