Skip to content

fix(release): bind every child receipt to candidate - #165455

Merged
RomneyDa merged 1 commit into
mainfrom
fix/frv-child-evidence-exact-target
Oct 5, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
fix/frv-child-evidence-exact-target

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

Problem

Full Release Validation 37280523889 ran its frozen candidate with Q=C. The independent plugin prerelease workload completed successfully, but its receipt sealer rejected the child workflow SHA because the release-branch candidate is intentionally not a main ancestor:

Child evidence workflow SHA is not a main ancestor

The workflow dispatcher already requires every child run to use the parent workflow SHA, and under the frozen qualification contract that SHA is the exact target candidate. The existing role split treated only candidate-phase release/plugin jobs as candidate-owned, leaving normal CI and independent-phase jobs unable to seal on a release branch.

Solution

  • Require workflowSha === targetSha for every Full Release Validation child receipt.
  • Remove the obsolete per-receipt main ancestry lookup.
  • Cover both independent and candidate roles, plus rejection of a mismatched workflow SHA.

Publication tooling trust remains owned by the parent admission workflow and immutable protected P ref.

Evidence

  • Live failure: Plugin Prerelease run 37281158294, job 111680365341.
  • pnpm test test/scripts/full-release-child-evidence.test.ts --maxWorkers=1: 18/18 passed; 5.38s test command wall time.
  • git diff --check: passed.

@clawsweeper

clawsweeper Bot commented Oct 5, 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 scripts Repository scripts size: S labels Oct 5, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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 Oct 5, 2026
@clawsweeper

clawsweeper Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed October 5, 2026, 4:49 AM ET / 08:49 UTC.

ClawSweeper review

What this changes

The PR requires every release-validation child receipt to match the exact candidate commit, replacing role-specific main-ancestry checks and updating regression coverage.

Merge readiness

✅ Ready for maintainer review

This remains a useful, focused repair: current main still rejects independent child receipts for valid release-branch candidates. No introduced correctness or security defect was found.

Priority: P2
Reviewed head: 931fea797d8831489c5dbe219687294e0fff6b84

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A narrow, coherent repair with meaningful regression coverage and no identified blocking defect.
Proof confidence 🌊 off-meta tidepool Not applicable: The MEMBER-authored PR is exempt from external-contributor proof. The body records a hosted failure and mocked-API regression results, not an after-fix hosted run; inspected downstream authority checks leave no concrete unresolved authority violation. Receipt serialization and stored-data contracts are unchanged.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The MEMBER-authored PR is exempt from external-contributor proof. The body records a hosted failure and mocked-API regression results, not an after-fix hosted run; inspected downstream authority checks leave no concrete unresolved authority violation. Receipt serialization and stored-data contracts are unchanged.
Evidence reviewed 9 items Pinned introduced change: The merge-base-to-head patch changes only the receipt producer and its tests. The verified test merge also contains only those changes relative to its main parent.
Repair still needed on main: Fetched main retains exact-target admission only for two candidate-phase roles and requires main ancestry for all other roles.
Frozen qualification contract: The release policy defines qualification at the candidate commit and explicitly permits the candidate to be outside trusted publication tooling ancestry. This supports exact candidate binding across child roles.
Findings None None.
Security None None.

How this fits together

Full Release Validation dispatches child workflows to check a frozen release candidate. The receipt sealer records their workload results for later evidence verification and reuse; publication authorization remains with independently trusted admission and publication tooling.

flowchart TD
  A[Frozen release candidate] --> B[Parent validation workflow]
  B --> C[Child workload]
  C --> D[Check run and candidate identity]
  D --> E[Seal workload receipt]
  E --> F[Independent evidence verification]
  F --> G[Publication gates]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests -2, Other -12. Total -14 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 17 19 -2
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 2 14 -12
Total 2 19 33 -14

Review metrics

None.

Technical review

Best possible solution:

Use one exact-candidate receipt rule while retaining independent admission, workload verification, and publication authorization.

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

Yes, from source: an independent child at a valid candidate outside main ancestry reaches the remaining ancestry rejection. GitHub confirms the corresponding hosted sealing failure; this review did not execute a current-main reproduction.

Is this the best way to solve the issue?

Yes. The change aligns the existing producer with the documented frozen-candidate contract and the parent dispatcher without introducing another trust owner.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P2: This repairs a confirmed receipt-sealing failure in a bounded internal release-validation path.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The MEMBER-authored PR is exempt from external-contributor proof. The body records a hosted failure and mocked-API regression results, not an after-fix hosted run; inspected downstream authority checks leave no concrete unresolved authority violation. Receipt serialization and stored-data contracts are unchanged.

Label justifications:

  • P2: This repairs a confirmed receipt-sealing failure in a bounded internal release-validation path.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The MEMBER-authored PR is exempt from external-contributor proof. The body records a hosted failure and mocked-API regression results, not an after-fix hosted run; inspected downstream authority checks leave no concrete unresolved authority violation. Receipt serialization and stored-data contracts are unchanged.

Evidence

What I checked:

Likely related people:

  • RomneyDa: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Peter Steinberger: Raw commit ebdab59 adds scripts/full-release-child-evidence.mjs:112 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/full-release-child-evidence.mjs)

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.

@RomneyDa
RomneyDa merged commit a337e10 into main Oct 5, 2026
112 checks passed
@RomneyDa
RomneyDa deleted the fix/frv-child-evidence-exact-target branch October 5, 2026 08:53
RomneyDa added a commit that referenced this pull request Oct 5, 2026
RomneyDa added a commit that referenced this pull request Oct 5, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: S 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