Skip to content

fix(release): reject unadmitted historical release evidence - #200019

Merged
RomneyDa merged 10 commits into
mainfrom
openclaw/neat-langoustine
Nov 17, 2026
Merged

RomneyDa merged 10 commits into
mainfrom
openclaw/neat-langoustine

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Related: #199110, #199838

What Problem This Solves

Release qualification and publication could reuse historical evidence through paths that did not require admission by the selected release attempt.

User Impact

Release operators must use admitted evidence for qualification and publication. Normal authenticated direct qualification and reuse remain supported. Receipt-backed aggregate recovery stays retired for every profile, including beta, following #199838; unavailable or unadmitted evidence requires new admitted qualification. Diagnostic parsing and standalone Docker refresh/beta runs without full-release-validation evidence remain available. No application-user migration is required.

Why This Change Was Made

Remove historical qualification/publication paths and their callers rather than maintaining competing evidence policies. Preserve immutable identity, bytes, attempts, coverage, live checks, and independent C/Q/P decisions. Integrate main after #199838 without restoring its deleted recovery producers, workflow, CLI dispatch paths, or obsolete fixtures.

Evidence

  • Latest published head a7c03ec2ab453fd6af6c60aa1b8e87d469992b25 is non-draft, conflict-free, and mergeable. Exact-head CI completed successfully: https://github.com/openclaw/openclaw/actions/runs/44067029245; Darwin completed successfully: https://github.com/openclaw/openclaw/actions/runs/44067028551. Full check rollup: 57 successful, 45 skipped, 1 neutral; no pending or failed checks. Skipped checks are not counted as proof.
  • Integrated main 7b0beee16be0218ee147861baf6d3a5e1d9189b0 semantically; all eight conflicts resolved, no unmerged entries. Published tree f07e7cfb4b8afd7578ebedfa09f5a785d90da947 exactly matches locally tested and reviewed integration commit f84213ba04270c02d58f044b858f455c35de7b4f.
  • Integration local gates: 564 tests passed across 14 affected suites (182 strict evidence/qualification/publication/CLI tests plus 382 readiness/checklist/reuse/artifact/plugin/publication consumers). Production-script and root-tooling typechecks, targeted lint, formatting, documentation MDX, and whitespace checks passed.
  • Real CLI regression reproduced before repair: structured failure output referenced a removed schema constant. The committed test failed before repair and passed after switching to the existing v4 schema. CLI failures now retain the intended JSON diagnostic instead of a ReferenceError.
  • Fresh independent integration review found no actionable P0–P3 findings. Reviewer independently ran five production syntax checks, whitespace checks, the structured CLI regression, and retired frv recover rejection. Reviewer confirmed retirement includes beta, mandatory admission remains fail-closed, and normal authenticated reuse remains intact. Full suites/typechecks were run by the implementer, not independently rerun.
  • Prior exact-head CI passed on c7b20ed39b34149b9ca7dfd12cf641430c26e74f: https://github.com/openclaw/openclaw/actions/runs/44059761383 and Darwin https://github.com/openclaw/openclaw/actions/runs/44059761284. Earlier admission-fixture repair reproduced 31 failures and passed all 139 release-ready tests after using the real admission owner; existing recovery/dispatch/immutable-artifact assertions were preserved without a production bypass.
  • On November 16, 2026, the requester approved independent review as the alternative to canonical autoreview, which was blocked by authentication with no valid configured fallback. Canonical autoreview remains unrun under that approved alternative.
  • No live release runs, release dispatches, or live configuration changes were performed. Prior draft-skipped checks are not counted as broad proof.

Co-authored-by: RomneyDa [email protected]

RomneyDa and others added 2 commits November 16, 2026 07:19
@clawsweeper

clawsweeper Bot commented Nov 16, 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 Nov 16, 2026
@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. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. 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 16, 2026
@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR requires authenticated admission or receipt recovery when release tooling consumes qualification and publication evidence.

Example: Publish v2026.8.28-beta.1 using an unadmitted v3 validation manifest.

  • Before: Trusted workflow ancestry could make the historical evidence eligible.
  • After: Qualification rejects it and directs the operator to new admitted qualification or authenticated receipt recovery.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The production cutover is coherent, but source-confirmed consumer-test failures prevent readiness and broad hosted tests have not run.
Proof confidence 🦐 gold shrimp (3/6) This internal release-tooling change has production-owner tests with synthetic GitHub transport; no live publication is claimed or required for this review.
Patch quality 🦪 silver shellfish (2/6) 1 actionable review finding remain.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Release operators could qualify or publish using historical evidence that lacked the selected attempt's authenticated admission.
Reason: The maintainer-authored direction explicitly chooses one admission policy and preserves authenticated recovery, immutable artifacts, and independent candidate, qualification, and publisher identities.

Merge readiness

⛔ Needs changes before merge - 1 item remains

Keep open: this maintainer-authored PR makes a coherent admission-policy cutover, but remaining historical test fixtures now fail before reaching their intended checks.

Priority: P2
Reviewed head: af29bc64c0a3e2e216d1b9d77f3312da0aeb7c68

Before merge

  • Migrate the remaining acceptance fixtures to admitted evidence (P2) - This guard now rejects trustedMainNpmFixture before child verification, but test/scripts/release-evidence-retry.test.ts:165-201 still uses that unadmitted fixture and expects successful pagination recovery. test/scripts/release-publish-preflight.test.ts:110-209 likewise constructs historical evidence without qualificationAdmission, so its exact extended-stable success and mismatched-selection diagnostic cases now stop at this guard. Migrate those fixtures to authenticated candidate evidence while preserving their pagination and publication-selection assertions; do not restore the ancestry fallback. These failures are established from source, not a test run.

Findings

  • [P2] Migrate the remaining acceptance fixtures to admitted evidence — scripts/release-ci-summary.mjs:2863-2866

Tests

  • Low-value test test/scripts/find-reusable-release-validation.test.ts: The four retired-workflow-proof cases omit admission arguments, so every case exits at the same missing-admission check before inspecting its mutated proof; replace them with one missing-admission case.
Agent review details

How this fits together

Release tooling reads GitHub workflow attempts, immutable artifacts, and admission receipts, authenticates qualification, and supplies evidence to readiness and publication consumers.

flowchart TD
  A[Workflow attempts and artifacts] --> C[Shared qualification authenticator]
  B[Admission and recovery receipts] --> C
  C --> D[Authenticated qualification facts]
  D --> E[Publication eligibility]
  E --> F[Npm and Docker consumers]
  A --> G[Diagnostic summaries]
Loading

Technical review

Best possible solution:

Keep the shared admission requirement and migrate the remaining acceptance fixtures without restoring historical ancestry fallbacks.

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

Current main visibly routes missing qualification admission through historical ancestry validation; source inspection also establishes the remaining fixture failures, without executing target code.

Is this the best way to solve the issue?

Removing the competing historical acceptance path is a coherent fix using the existing authentication owner, provided all acceptance-test consumers adopt admitted evidence.

Full review comments:

  • [P2] Migrate the remaining acceptance fixtures to admitted evidence — scripts/release-ci-summary.mjs:2863-2866
    This guard now rejects trustedMainNpmFixture before child verification, but test/scripts/release-evidence-retry.test.ts:165-201 still uses that unadmitted fixture and expects successful pagination recovery. test/scripts/release-publish-preflight.test.ts:110-209 likewise constructs historical evidence without qualificationAdmission, so its exact extended-stable success and mismatched-selection diagnostic cases now stop at this guard. Migrate those fixtures to authenticated candidate evidence while preserving their pagination and publication-selection assertions; do not restore the ancestry fallback. These failures are established from source, not a test run.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.95

AGENTS.md: found and applied where relevant.

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

Provenance checked

Testing

Proof path: in-process harness.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test test/scripts/release-evidence-retry.test.ts test/scripts/release-publish-preflight.test.ts test/scripts/find-reusable-release-validation.test.ts --maxWorkers=1
  • pnpm test test/scripts/release-ci-summary.qualification.test.ts test/scripts/validate-full-release-validation-evidence.test.ts --maxWorkers=1
  • node scripts/run-tsgo.mjs -p test/tsconfig/tsconfig.test.root.tooling.json --incremental
  • git diff --check

What I checked:

Likely related people:

  • Dallin Romney: Raw commit 5dc8071 adds scripts/validate-full-release-validation-evidence.mjs:156 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 5dc807193185; files: scripts/validate-full-release-validation-evidence.mjs)

PR surface

Tests -1537, Docs +5, Other -506. Total -2038 across 17 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 7 396 1933 -1537
Docs 1 7 2 +5
Config 0 0 0 0
Generated 0 0 0 0
Other 9 210 716 -506
Total 17 613 2651 -2038

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 LOC Production +210/-716; tests/support +396/-1933. The reduction removes retired qualification paths and their fixtures, but two remaining consumer suites still need migration.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: Useful release-tooling repair with a focused test cutover defect and no demonstrated urgent application regression.
  • merge-risk: 🚨 compatibility: Historical manifests and separate npm preflight runs intentionally lose publication eligibility; the maintainer-authored direction accepts this cutoff and retains authenticated recovery.
  • merge-risk: 🚨 automation: The changed release-evidence contract makes existing retry and publication-preflight tests fail before their intended assertions.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦐 gold shrimp and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

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, 2:38 AM ET / 07:38 UTC.

RomneyDa and others added 2 commits November 17, 2026 08:28
Preserve real admission, selection, retry, and publication-authority coverage after retiring historical evidence paths.

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 0e1a6b24-7f54-4a9b-a85d-c6f70d0936e1
@RomneyDa
RomneyDa marked this pull request as ready for review November 17, 2026 08:41
RomneyDa and others added 4 commits November 17, 2026 09:40
Preserve upstream credential-warning coverage and C/Q reuse semantics while rejecting unadmitted historical npm evidence. Adapt fixture clients to the asynchronous evidence contract.

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 1bf160f6-58d8-460e-ba27-ec4c1fc0ffa7
Generate qualification through the admission owner and preserve recovery, immutable artifact, and CLI publication assertions.

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 96910d4b-53a2-4223-b721-a6f87f3677f6
RomneyDa and others added 2 commits November 17, 2026 10:40
Integrate main after #199838 without restoring receipt-backed aggregate recovery or unadmitted historical evidence. Preserve normal authenticated qualification and reuse, and repair structured CLI failure output.

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 17afef4e-fd21-4f9d-be30-9cbafe1035d1
@RomneyDa
RomneyDa merged commit 5fb2315 into main Nov 17, 2026
112 checks passed
@RomneyDa
RomneyDa deleted the openclaw/neat-langoustine branch November 17, 2026 11:03
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 18, 2026
…#200019)

* fix(release): reject unadmitted historical release evidence

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

* fix(release): reject unadmitted historical release evidence

OpenClaw-Publication: cbafcd1e-ccb8-4ee8-a827-e8a86f72caa6

* test(release): migrate acceptance fixtures to admitted evidence

Preserve real admission, selection, retry, and publication-authority coverage after retiring historical evidence paths.

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

* Publish openclaw/neat-langoustine

OpenClaw-Publication: 0e1a6b24-7f54-4a9b-a85d-c6f70d0936e1

* Publish openclaw/neat-langoustine

OpenClaw-Publication: 1bf160f6-58d8-460e-ba27-ec4c1fc0ffa7

* test(release): authenticate release-ready recovery fixtures

Generate qualification through the admission owner and preserve recovery, immutable artifact, and CLI publication assertions.

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

* Publish openclaw/neat-langoustine

OpenClaw-Publication: 96910d4b-53a2-4223-b721-a6f87f3677f6

* Publish openclaw/neat-langoustine

OpenClaw-Publication: 17afef4e-fd21-4f9d-be30-9cbafe1035d1

---------

Co-authored-by: RomneyDa <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 19, 2026
* fix(release): reject unadmitted historical release evidence

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

* fix(release): reject unadmitted historical release evidence

OpenClaw-Publication: cbafcd1e-ccb8-4ee8-a827-e8a86f72caa6

* test(release): migrate acceptance fixtures to admitted evidence

Preserve real admission, selection, retry, and publication-authority coverage after retiring historical evidence paths.

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

* Publish openclaw/neat-langoustine

OpenClaw-Publication: 0e1a6b24-7f54-4a9b-a85d-c6f70d0936e1

* Publish openclaw/neat-langoustine

OpenClaw-Publication: 1bf160f6-58d8-460e-ba27-ec4c1fc0ffa7

* test(release): authenticate release-ready recovery fixtures

Generate qualification through the admission owner and preserve recovery, immutable artifact, and CLI publication assertions.

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

* Publish openclaw/neat-langoustine

OpenClaw-Publication: 96910d4b-53a2-4223-b721-a6f87f3677f6

* Publish openclaw/neat-langoustine

OpenClaw-Publication: 17afef4e-fd21-4f9d-be30-9cbafe1035d1

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 5fb2315)

Release adaptation: retain the baseline core-npm preflight fixture scope while migrating its extended-stable evidence to candidatePublicationFixture; omit unrelated later plugin test imports.

(cherry picked from commit 22bc0898a7885d0e862b1209c02e22c4de4cc46e)

Release adaptation (integration): retain credential-owner preflight coverage from #199926 while migrating historical evidence to candidatePublicationFixture; preserve npmPlugins and typed publication-state mocks. Initial local conflict-marker commit was corrected and replaced before further integration; final tracked diff has no conflict markers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Docker and sandbox tooling docs Improvements or additions to documentation merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. scripts Repository scripts size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant