Skip to content

fix(release): qualify frozen candidates with independent tooling - #199758

Merged
RomneyDa merged 12 commits into
mainfrom
openclaw/decouple-qualification-tooling-from-product-candidate
Nov 16, 2026
Merged

RomneyDa merged 12 commits into
mainfrom
openclaw/decouple-qualification-tooling-from-product-candidate

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Release-tooling repairs should not require changing the frozen product candidate. This completes the admitted C/Q/P split, including recovery and publication consumers. Related: #193030.

User Impact

Operators can keep product candidate C unchanged while explicitly selecting immutable, reviewed qualification tooling Q and trusted admission/publication tooling P. Q defaults to C; independent Q must pass main-ancestry verification and P must authenticate the exact C/Q tuple, transport and complete inputs. Nothing silently substitutes moving main.

Product bytes, package/version identity and candidate baselines remain C-owned. Qualification harnesses and publisher-policy checks use their authenticated original Q; P retains admission and publication authority.

Changes

  • Carry distinct C/Q through requests, admission, verified inventory capture/replay, immutable plans, receipts, final verification and retained artifact consumers.
  • Correct receipt recovery, plugin npm adoption/readback, supplemental Telegram and isolated Parallels harness selection. Preserve original producer identities rather than relabeling old evidence.
  • Permit child reuse only after immutable workload equivalence plus existing provenance, inputs, artifact digests, attempt and candidate-binding checks. Normal CI compares its workflow closure, scripts/actions, root files and complete config/packages/src/test trees. Other roles conservatively compare all workflows and the full root tree.
  • Keep admitted release qualification strict: independent Q must not activate historical diagnostic scenario-omission behavior.
  • Update release skills with when to change C, Q or P, explicit frozen-Q commands, the prequalified-FRV checklist route, and recovery/requalification rules.

Tradeoff: changing shared scripts invalidates every child; changes inside normal CI's conservatively retained harness trees also invalidate that child. This implementation does not establish cross-Q eligibility for the five historical green receipts. Failed workloads remain failures; coverage, soak, platforms, policy grants and successful final-FRV requirements are not weakened.

Validation

  • Original CLI suites: 131 passed; core admission/plan/final verification: 217 passed (two existing skipped); final changed-core replay: 114 passed; sibling identity/search/harness/artifact suites: 172 passed; retained artifact CLI: 42 passed. Groups overlap; no aggregate count is claimed.

  • Follow-up audit: checklist 153 passed; artifact/recovery/validation consumers 132 passed; plugin adoption/readback 66 passed; caller/recovery replay 168 passed; candidate CLI 40 passed. Seven new verified-inventory C≠Q≠P acceptance/rejection cases passed.

  • Normal-CI harness regression: four new cases failed before the repair; all 67 child-reuse cases passed afterward.

  • Production scripts and tooling-test typechecks passed. Targeted lint/format and task diff whitespace checks passed. Documentation: 16,655 internal links, zero broken; 1,443 MDX files passed.

  • Strict omission regression: seven intended failures before repair, 17/17 passed afterward; 117 sibling tests passed. Package-workflow suite: 586 passed, one environment failure because this host lacks zip. The earlier local workflow-linter setup was blocked; see the successful conflict-resolution validation below.

  • After committing integration, pnpm plugins:inventory:check passed. The earlier summary also named a HEAD-versus-worktree inventory parity test without preserving its exact identifier; that separate result remains unverified and is not claimed passing.

  • Test budget: +601 net test lines against integrated main, with 201 explicitly allocated extra lines for distinct production-boundary regressions.

  • CI follow-up: run 43762755446 at prior head 4d5a20e exposed a stale cross-Q rejection assertion. Reproduced the failure, then corrected only the test label and expected commit-tree validation error; rejection status and blocker remain required. The two affected suites passed all 200 tests, and the CI-selected replay passed (one selected, 132 skipped). Targeted formatting, lint, whitespace and the unchanged test budget passed.

Review

The original pre-integration autoreview passed. Integration autoreview and one retry failed during execution, not with a verdict. At the author's explicit request, an independent read-only subagent reviewed all 53 changed-file diffs against integrated main abaf2ce. It found a normal-CI harness-closure issue; a focused follow-up confirmed the repair. Hosted review independently raised that issue, strict omission mode, and stale documentation-test wording; all are addressed.

Final focused review found no actionable findings in the omission repair, stale wording assertion and allocation. It observed stable full-diff SHA-256 6946f415e705264fae22e1c096cd7e1ddd33efe185751f9a15d1784149c56309. That focused verdict covers the five specified files alongside the earlier full review and harness follow-up, not an independent rerun of all tests.

Reviewed local integrated commit: 1be6c71e37ecf342ae13f8e1d1cc65b9df74fac5. Published head after the test-only follow-up: 41f61c6c6419415cc243102c43353fcc000bfc8a. Review and CI results are head-specific. No hosted release qualification is claimed.

An additional independent read-only review found no actionable findings in the four-line CI follow-up; it confirmed the fake commit response must fail closed and that independent cross-Q acceptance/changed-closure tests remain. The reviewed delta SHA-256 was 4d3ca79785aae9d5cdc8cefc6179450b87747260188bc310c5c00cd9aeb11600. Prior-head results are not claimed for the current head.

Release CI skill cleanup

The follow-up at published head dff3cf26586542976e787ad947b98e5131cfff2f condenses .agents/skills/release-openclaw-ci/SKILL.md without changing release policy:

  • 10,002 to 7,388 words (26% fewer); 1,172 to 556 lines. These reductions compare against the preceding PR head, not main.
  • Replace long prose with focused lists, ordered recovery steps, and tables.
  • Retain all original headings/link destinations and all 11 fenced command blocks byte-for-byte.
  • Independent head/tail preservation reviews completed; identified scope, timing, identifier, and ownership wording losses were restored.
  • Targeted documents checked extended-stable dispatch test passed (1 passed, 586 unselected); pnpm docs:list, targeted oxfmt, structural preservation audit, and git diff --check passed. No new production behavior or full release qualification is claimed.

Conflict resolution

Integrated main 44522c44d695d04a64afc9d89e12de273b2a801c; published head 3af8c837706bf904c6186d663eceee762da51b0c.

  • Resolved the sole content conflict in docs/reference/full-release-validation/evidence.md: retain main's concise waiver policy and receipt-backed beta recovery alongside this PR's independent-Q qualification rules.
  • The condensed release CI skill is unchanged. Independent review found no material regression or conflict-loss findings in the resolution and overlapping release-tooling changes.
  • Artifact, validation-state and checklist suites: 346 passed. Targeted workflow/dispatch contracts: 2 passed, 585 unselected.
  • Documentation index, targeted formatting/MDX, 16,656 internal links, script syntax and whitespace checks passed.
  • Full workflow checks passed, including actionlint, zizmor, CI Git-owner generation, composite input checks and conflict-marker checks. The first invocation failed because an inherited GitHub token variable was empty; rerunning with the empty token variables unset passed without suppressions.
  • GitHub reports this head mergeable (no content conflicts). Current-head CI success and landing readiness are not claimed.

Release documentation slimming

Published head d0b1e7428bc64c7c351159153e9a309345c19e90 condenses eight release documentation pages, compared with preceding head 3af8c837706bf904c6186d663eceee762da51b0c:

  • 21,253 → 13,695 words: 7,558 removed (35.6%). Short lists/tables replace repeated prose; canonical links replace duplicated explanations. No new production code or release policy.
  • All original headings and named anchors retained; all 13 fenced command blocks remain byte-identical.
  • Independent full eight-file preservation review found one overly broad beta qualifier; restored exact npm-beta-v1 eligibility in all three identified places. No other material preservation findings.
  • Targeted dispatch-documentation test passed (1 selected, 586 unselected), including after the qualifier correction. Targeted formatting, docs index, 1,443-file MDX check, structural audit, and whitespace checks passed. Plain link audit: 16,663 internal links, zero broken.
  • Full anchor audit: two pre-existing issues in unchanged files (duplicate agent-process-environment in docs/tools/acp-agents-setup.md; missing /providers/openai/runtimes#agents-api-mvp from docs/releases/2026.10.1.md). Not repaired or suppressed in this scoped cleanup.
  • Current-head CI and hosted release qualification are not claimed. This is a docs-only follow-up; the earlier release CI skill cleanup is unchanged.

Release recovery boundary

C remains e283dcc. FRV 43743742888/2 remains failed and has no retained successful final manifest/execution plan. Five original-Q child receipts were authenticated through the production verifier, but their package/image payloads were not independently requalified and are not automatically eligible under new Q.

After review/landing, the original release owner must select exact supported Q/P, compare frozen baselines and complete inputs, obtain new admission, requalify invalidated work/artifacts and obtain successful final verification. This PR does not dispatch FRV, change release refs, merge itself or publish 2026.11.4.

Recovery optimization audit (November 16)

  • Head d0b1e74 adds only the eight documentation changes above; scripts, tests, and workflows are unchanged from 3af8c83. CI run 43797172423 is still in progress; no current-head CI success is claimed.
  • On prior head 3af8c83, the child-reuse and strict-omission suites passed all 84 tests and the selected extended-stable documentation contract passed (1 selected, 586 unselected). Those are prior-head results, not an execution on the new docs head. The docs owner separately records current-head documentation proof above.
  • A focused source/proof audit found the three prior hosted findings repaired: complete normal-CI harness identity, strict admitted qualification, and the sibling documentation contract. A fresh hosted verdict remains outstanding.
  • Performance benefit is conditional recovery reuse, not a faster fresh FRV. Parent-only qualification-tooling changes can retain equivalent normal-CI evidence; shared-script changes invalidate every child. Initial rollout establishes no reuse of the five historical receipts and claims zero avoided work for that incident.
  • Historical normal-CI run 43719715726 spanned 47m56s including queue/setup. That is only an avoided-child envelope for hypothetical eligible recovery, not measured wall-time savings. Sibling work can dominate (including a trace with more than 20 minutes of slack), so end-to-end benefit may be zero; verifier cost must also be deducted.
  • Production discovery/revalidation tests cover acceptance, invalidation, and preserved original provenance. This audit did not execute complete CLI-through-dispatch work-count proof or live cross-Q recovery; neither is claimed.
  • Listed release-owner involvement remains outstanding. The review-team request failed, the team API returned HTTP 404, and the reconciled requested-reviewer list was empty. Coordination is pending; no permission or review gate was bypassed.

@clawsweeper

clawsweeper Bot commented Nov 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 size: L labels Nov 15, 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 15, 2026
@clawsweeper

clawsweeper Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge.

What this changes

The PR lets release operators qualify an unchanged product candidate with separately pinned tooling while preserving admission and artifact provenance.

Example: Repair qualification tooling for frozen 2026.11.4 candidate e283dcc.

  • Before: Fresh publication qualification requires Q=C, so changing qualification tooling also requires changing the candidate commit.
  • After: The candidate can remain unchanged while a reviewed main-ancestor Q receives fresh P admission and invalidated work is requalified.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful implementation with focused production-owner regression coverage and repaired prior blockers; evidence remains fixture-based, with one nonblocking documentation correction.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored release-automation change supplies production-path fixture and CLI regressions; hosted independent-Q qualification and publication remain separate release-execution gates.
Patch quality 🐚 platinum hermit (4/6) 1 actionable review finding remain.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Release operators must change a frozen product commit to repair its qualification tooling.
Reason: Maintainer-authored direction explicitly permits independently reviewed Q while retaining C-owned bytes and baselines, P-owned authority, and fresh admission.

Merge readiness

⛔ Blocked before merge - 1 item remains

Keep open: this maintainer-authored PR provides useful independent qualification tooling, repairs the three earlier findings, and introduces no blocking code defect found in this review.

Priority: P2
Reviewed head: d0b1e7428bc64c7c351159153e9a309345c19e90

Before merge

  • Await maintainer action - A member of @openclaw/openclaw-release-managers must review the release-contract changes before landing.

Findings

  • [P3] Describe recovery using the original C/Q tuple — docs/reference/full-release-validation/evidence.md:137
Agent review details

How this fits together

Release automation takes pinned candidate, qualification and publisher identities plus release inputs, then produces authenticated qualification evidence and exact npm/Docker artifacts for publication.

flowchart LR
  O[Operator selects C Q P] --> A[P admission]
  A --> Q[Q qualification workflows]
  C[C product source and bytes] --> Q
  Q --> E[Original receipts and artifacts]
  E --> V[P verification and publication]
Loading

Technical review

Best possible solution:

Keep C immutable, admit explicitly reviewed Q through P, and preserve original producer identities through qualification, recovery and publication.

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

Current main rejects an independent-Q request at its explicit C=Q admission check; this was established from source without executing target code.

Is this the best way to solve the issue?

The patch extends existing admission, dispatch and evidence owners, preserves frozen product identity, and uses conservative workload comparison rather than introducing competing release authority.

Full review comments:

  • [P3] Describe recovery using the original C/Q tuple — docs/reference/full-release-validation/evidence.md:137
    For a beta qualified with independent Q, this rewritten contract still says “Original C=Q.” The patch removes that equality requirement from verifyOriginalReceiptQualification and adds independent-Q recovery coverage, so the documentation incorrectly excludes a supported recovery case. Say that recovery preserves the originally admitted C/Q tuple.
    Confidence: 0.99

Overall correctness: patch is correct
Overall confidence: 0.86

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Candidate-owned qualification changes intended behavior with a stated reason (38740f2: Freeze qualification inputs instead of silently following newer main tooling.)
  • Same-tooling child reuse changes intended behavior with a stated reason (306e8a8: Cross-tooling reuse was deferred until each child's executed tooling closure could be bounded safely.)
  • Plugin qualification producer and policy readback keeps the original intent (e3a09aa: Verify original qualified artifacts with their producer's policy while keeping newer publication tooling separate.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Dallin Romney: Raw commit c9e6370 adds scripts/release-ci-summary.mjs:4 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: c9e6370bb191; files: scripts/release-ci-summary.mjs)
  • Peter Steinberger: Raw commit ebdab59 adds scripts/lib/full-release-child-reuse.mjs:253 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)
  • Vincent Koc: Raw commit cbe3731 adds .agents/skills/release-openclaw-ci/scripts/release-ci-summary.mjs:7 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: cbe3731f7723; files: .agents/skills/release-openclaw-ci/scripts/release-ci-summary.mjs)

PR surface

Tests +601, Docs -1299, Config +8, Other +233. Total -457 across 59 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 21 1170 569 +601
Docs 16 1589 2888 -1299
Config 2 12 4 +8
Generated 0 0 0 0
Other 20 380 147 +233
Total 59 3151 3608 -457

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.

Review metrics

Metric Value Why it matters
Production versus test growth Production +373/-147, net +226; tests +1170/-569, net +601. Growth supports workload-equivalence verification and distinct admission, recovery and artifact-consumer regressions; the excess test lines have a scoped allocation.

Labels

Label changes:

  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: ⏳ waiting on maintainer: Only explicit maintainer approvals or decisions remain; merge is still blocked.

Label justifications:

  • P2: Useful release-operator capability with a limited automation blast radius and no end-user runtime change.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on maintainer: Only explicit maintainer approvals or decisions remain; merge is still blocked.

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 (1 earlier review cycle)
  • reviewed 2026-11-15T20:56:28.820Z sha 137f159 :: needs changes before merge. :: [P1] Include Q-owned test-planning inputs in normal-CI reuse identity | [P1] Keep admitted independent-Q qualification out of omission mode | [P2] Update the sibling extended-stable contract test

Reviewed November 15, 2026, 10:26 PM ET / November 16, 2026, 03:26 UTC (Revision 2).

RomneyDa and others added 2 commits November 15, 2026 21:15
Integrate main and preserve C/Q/P identity across inventory, recovery, plugin evidence and strict admitted qualification. Keep cross-Q child reuse bounded by the complete workload closure.

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 34ae4a40-5783-479d-860d-771c05149fd5
@clawsweeper clawsweeper Bot removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Nov 15, 2026
RomneyDa and others added 2 commits November 16, 2026 02:36
Preserve main waiver and recovery documentation alongside independent qualification tooling. Keep the condensed release CI skill unchanged.

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 102c4350-7f96-4981-8ba3-b847188c3d25
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 16, 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. status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked. labels Nov 16, 2026
@RomneyDa
RomneyDa merged commit b95a1b9 into main Nov 16, 2026
124 of 127 checks passed
@RomneyDa
RomneyDa deleted the openclaw/decouple-qualification-tooling-from-product-candidate branch November 16, 2026 04:08
RomneyDa added a commit that referenced this pull request Nov 16, 2026
…9758)

Backport the required canonical qualification change without moving the
2026.11.5-beta.4 product baseline. This release still selects Q=C.

Adaptation: preserve beta.4's direct admission/artifact owners and fixtures.
Apply the source/qualification identity split in its existing inline
artifact authenticator. Keep absent receipt-recovery and prepared publisher
implementations on independently trusted P; do not import their migrations.
Use the directly verified run head for Parallels qualification. Preserve
existing waiver coverage and inject unavailable Git-tree reads explicitly.

Retain exact product-source checks, independent-Q main provenance, complete
admitted coverage, workload-closure reuse checks, and live P authority.

(cherry picked from commit b95a1b9)

Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 16, 2026
…nclaw#199758)

* fix(release): qualify frozen candidates with independent tooling

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

* fix(release): qualify frozen candidates with independent tooling

OpenClaw-Publication: 64d9c8ce-d07c-4684-b933-856f0cb44ef9

* fix(release): qualify frozen candidates with independent tooling

OpenClaw-Publication: 34ae4a40-5783-479d-860d-771c05149fd5

* test(release): align reuse rejection with workload validation

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

* Publish openclaw/decouple-qualification-tooling-from-product-candidate

OpenClaw-Publication: b6293657-c1bc-4acf-8857-6c0c3e207223

* docs(release): condense CI skill without losing guidance

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

* Publish openclaw/decouple-qualification-tooling-from-product-candidate

OpenClaw-Publication: b3274f96-dcc0-4e29-b183-a32ecf4079fb

* Publish openclaw/decouple-qualification-tooling-from-product-candidate

OpenClaw-Publication: 102c4350-7f96-4981-8ba3-b847188c3d25

* docs(release): condense validation and publishing guides

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

* Publish openclaw/decouple-qualification-tooling-from-product-candidate

OpenClaw-Publication: 8719239c-34a8-48e6-b3aa-f4b00b7534e1

---------

Co-authored-by: RomneyDa <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 16, 2026
…9758)

Adapt candidate-owned qualification contracts to the v2026.11.4 baseline without importing absent receipt-recovery owners. Trusted main tooling retains publication admission ownership.

(cherry picked from commit b95a1b9)

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 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: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant