Skip to content

fix(release): freeze published stable version in maintenance notices - #199923

Merged
RomneyDa merged 3 commits into
mainfrom
openclaw/ledger-stable-notice
Nov 17, 2026
Merged

RomneyDa merged 3 commits into
mainfrom
openclaw/ledger-stable-notice

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Summary

Extended-stable release notices incorrectly named the publisher tooling package version as the current regular stable release. Resolve GitHub Latest for initial publication instead, then reuse the prepared or already-public notice for later rendering, canonical readback, and fresh-parent recovery. Standalone preflight uses the same distinction.

Main-derived maintenance-line retirement remains separate from the informational published version. Canonical source-body verification, retired-line approval, and docs-publication ownership remain enforced. This reuses existing release-body files; there is no new schema, state machine, retention policy, or release mutation. Existing renderer callers retain their prior defaults.

Evidence

Validated patch: f4d2e45592438dbaae12975e1c4223a991285b7a..e79892e96eb8e84da0316e8a049e00b18d5ce8bd.

  • Before the fix: four real shell/renderer and standalone-preflight regressions failed because tooling and published stable differed.
  • Independent review identified fresh-parent recovery after Latest advances; both recovery regressions failed before the follow-up repair.
  • Focused publication, preflight, and renderer suites: 57 passed across four files; wrapper wall time 10.06 seconds. Final draft-fixture change: 23 passed in 6.87 seconds.
  • Scripts typecheck and tooling-test typecheck passed. Targeted lint, formatting, Bash syntax, and git diff whitespace checks passed.
  • Fresh independent native source review of the complete five-file patch against f4d2e45592438dbaae12975e1c4223a991285b7a: previous recovery finding resolved, no remaining P0–P2 findings.
  • Simplification: removed tooling version as notice authority and reused the existing prepared/public body rather than adding persistent context machinery.

Hosted CI follow-through

Historical head 4ab8d0e731251109cc26de45611becd754169e69 failed CI run 43797970683, lint job 133072637830: src/agents/tool-search-prepared-catalog.ts:118:48, unicorn/prefer-structured-clone. Source blob 5226ae58848652825503bb9c0558b70b73c7baf0 matched the original base, establishing inherited source attribution, not a green CI claim.

Current head ac96ea4c816e79786a68cd7d05eee0faad0efa5a applies the exact upstream #199944 correction (54070dcab8c21f2b24cf0bf4e9c9439ff44cb753), preserving intentional JSON semantics without a runtime behavior change. Focused lint, all 14 allowlist tests, formatting, and diff checks passed. Current-head CI and hosted review are tracked separately; prior-head reviews do not certify this update and no gate is waived.

Limits and remaining gates

Proof uses production shell/renderer paths with synthetic GitHub responses. No live publication or authenticated Actions recovery was performed.

Native independent review is not local ClawSweeper/autoreview machine certification. Local ClawSweeper and autoreview were unavailable through the supported tools in this execution environment; no completed local machine review is claimed. This disclosure does not waive required review or CI gates.

Worked on by

RomneyDa and others added 2 commits November 16, 2026 03:18
Resolve published Latest for initial extended-stable notes instead of the tooling package version. Reuse canonical prepared or public notice context for readback and fresh-run recovery while keeping main-based retirement authority separate.

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

Co-authored-by: vincentkoc <[email protected]>
Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: c6037000-9e46-442a-af64-4acf2707bc03
@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 scripts Repository scripts size: S 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. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. 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 16, 2026
@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR uses GitHub Latest for initial maintenance-release notices and preserves that version during later rendering and recovery.

Example: Publish maintenance version 2026.9.36 using tooling version 2026.10.8 while GitHub Latest is 2026.10.9.

  • Before: The notice identifies 2026.10.8 as the latest published release.
  • After: The notice identifies 2026.10.9 and retains that value when Latest later advances.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The implementation is focused and no actionable code defect was found, but required real-behavior evidence remains mock-only.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Maintenance-release readers can receive a link to the tooling version instead of the stable release actually published at that time.
Reason: The maintainer-authored direction corrects factual release context while preserving the established retirement and publication contracts.

Merge readiness

✅ Ready for maintainer review

Keep this maintainer-authored PR open: it corrects a version-source mismatch still present on main, and no introduced correctness or security defect was found.

Priority: P2
Reviewed head: 4ab8d0e731251109cc26de45611becd754169e69

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: Provide redacted terminal output from the real read-only rendering and preflight paths using actual GitHub metadata, including recovery of a public notice after Latest has advanced; redact credentials and non-public endpoints.
Agent review details

How this fits together

Release publication and standalone preflight feed frozen release source, publisher context, and GitHub release metadata into the canonical renderer, which produces and verifies release-page bodies.

flowchart TD
  A[Frozen release source] --> D[Canonical renderer]
  B[GitHub Latest] --> C[Publication and preflight]
  E[Prepared or public notice] --> C
  F[Publisher main version] --> C
  C --> D
  D --> G[Rendered and verified release body]
Loading

Technical review

Best possible solution:

Keep the existing renderer and release-body artifacts as the owners of frozen notice context while retaining main-based retirement checks.

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

Source establishes the failure whenever the pinned publisher package version differs from published Latest; the PR reports red-on-base regressions, which this read-only review did not execute.

Is this the best way to solve the issue?

The patch addresses the incorrect producer input and preserves deterministic recovery through existing artifacts without introducing a competing renderer or storage model.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Informational version selection and frozen notice rendering changes intended behavior with a stated reason (20bf793: Pinned tooling supplied deterministic notice bytes across preparation, readback, and proof attachment; the PR explains why published Latest is the correct initial value and existing bodies preserve determinism.)
  • Standalone release-page admission changes intended behavior with a stated reason (82a6487: Preflight was aligned with the publisher's frozen context to avoid moving-selector mismatches; the replacement retains public notice context rather than following Latest during recovery.)
  • Maintenance-line retirement validation keeps the original intent (ad73036: Retired-line publication requires an explicit decision and shared validation; mainPackageVersion continues feeding that existing validator.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 3ed12b8 adds scripts/lib/release-publish-children.sh:646 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 3ed12b89460a; files: scripts/lib/release-publish-children.sh)

PR surface

Tests +35, Other +73. Total +108 across 5 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 42 7 +35
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 3 83 10 +73
Total 5 125 17 +108

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
Internal renderer options 2 added --main-package-version separates retirement context, and --notice-body reuses frozen notice context.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: Incorrect release links and recovery mismatches affect a limited maintenance-publication workflow.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab 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 15, 2026, 10:39 PM ET / November 16, 2026, 03:39 UTC.

…change (#199944)

* fix(agents): core lint fails on the MCP catalog JSON snapshot

#199909 snapshots MCP catalog metadata through JSON on purpose, because the
round trip drops undefined members that structuredClone would keep. The
unicorn/prefer-structured-clone rule rejects that line, so check-lint-core-2
fails on main and on every pull request whose lint lanes include src/agents.
Record the reason with the repository's usual suppression.

* test(scripts): allow the MCP catalog JSON snapshot suppression

The production suppression allowlist must name each intentional lint
suppression; add the one this change introduces.

Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added the agents Agent runtime and tooling label Nov 17, 2026
@RomneyDa
RomneyDa merged commit 263af8c into main Nov 17, 2026
131 checks passed
@RomneyDa
RomneyDa deleted the openclaw/ledger-stable-notice branch November 17, 2026 08:57
RomneyDa added a commit that referenced this pull request Nov 17, 2026
…199923)

Backport canonical notice recovery through the existing rendering owner and caller tooling SHA. Preserve strict maintenance-line retirement policy; adapt historical fixtures to published Latest.

Source-commit: 263af8c

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: Patrick Erichsen <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 18, 2026
…penclaw#199923)

* fix(release): freeze published stable version in maintenance notices

Resolve published Latest for initial extended-stable notes instead of the tooling package version. Reuse canonical prepared or public notice context for readback and fresh-run recovery while keeping main-based retirement authority separate.

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

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

* fix(release): freeze published stable version in maintenance notices

Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: c6037000-9e46-442a-af64-4acf2707bc03

* fix(ci): core lint fails on main after the MCP catalog JSON snapshot change (openclaw#199944)

* fix(agents): core lint fails on the MCP catalog JSON snapshot

openclaw#199909 snapshots MCP catalog metadata through JSON on purpose, because the
round trip drops undefined members that structuredClone would keep. The
unicorn/prefer-structured-clone rule rejects that line, so check-lint-core-2
fails on main and on every pull request whose lint lanes include src/agents.
Record the reason with the repository's usual suppression.

* test(scripts): allow the MCP catalog JSON snapshot suppression

The production suppression allowlist must name each intentional lint
suppression; add the one this change introduces.

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

---------

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: Patrick Erichsen <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 19, 2026
…199923)

* fix(release): freeze published stable version in maintenance notices

Resolve published Latest for initial extended-stable notes instead of the tooling package version. Reuse canonical prepared or public notice context for readback and fresh-run recovery while keeping main-based retirement authority separate.

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

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

* fix(release): freeze published stable version in maintenance notices

Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: c6037000-9e46-442a-af64-4acf2707bc03

* fix(ci): core lint fails on main after the MCP catalog JSON snapshot change (#199944)

* fix(agents): core lint fails on the MCP catalog JSON snapshot

#199909 snapshots MCP catalog metadata through JSON on purpose, because the
round trip drops undefined members that structuredClone would keep. The
unicorn/prefer-structured-clone rule rejects that line, so check-lint-core-2
fails on main and on every pull request whose lint lanes include src/agents.
Record the reason with the repository's usual suppression.

* test(scripts): allow the MCP catalog JSON snapshot suppression

The production suppression allowlist must name each intentional lint
suppression; add the one this change introduces.

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

---------

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: Patrick Erichsen <[email protected]>
(cherry picked from commit 263af8c)
(cherry picked from commit 7c7ba41b56fc7647f080343a11f18c8e8b7919f1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. 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.

2 participants