Skip to content

fix(release): backport retrospective tooling to 2026.9.33 - #180159

Merged
RomneyDa merged 14 commits into
extended-stable/2026.9.33from
tideclaw/batches1-2-extended-stable-2026.9.33
Oct 23, 2026
Merged

RomneyDa merged 14 commits into
extended-stable/2026.9.33from
tideclaw/batches1-2-extended-stable-2026.9.33

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

Summary

Cumulative release-tooling backport for the active extended-stable line extended-stable/2026.9.33, covering every applicable remediation from Batches 1 and 2.

Included source PRs: #178147, #178149, #178158, #178160, #178172, #178188, #178202, #179077, #179083, #179093, #179097, and #179104.

All source commits were applied with cherry-pick -x. Two small follow-up commits close branch-specific dependencies found by focused validation.

Deliberate exclusions

Validation

  • focused release-tooling suites pass after closing the older branch's FRV helper dependency
  • FRV 5xx retry regressions: 3/3 pass
  • registry compatibility generation/download/integrity tests pass, including the extended-stable tag case
  • extended-stable release-note context test passes
  • pnpm tsgo:scripts
  • changed-file oxfmt --check
  • git diff --check
  • bounded companion audit run against the exact base, current main, and candidate

RomneyDa and others added 13 commits October 22, 2026 01:43
Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit f47d5d7)
Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 29587f5)
Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit fadee60)
Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit f6c0066)
* fix(release): report FRV plan sealing state

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

* fix(release): declare FRV plan lifecycle APIs

Declare the plan lifecycle helpers consumed by the TypeScript tests so NodeNext resolution checks the new exports.

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

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 4b065f5)
* fix(release): gate integrated branch pushes

Validate a captured release SHA from an immutable detached checkout, then push that exact SHA only after static, type, dead-code, and changed-test gates pass.

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

* fix(release): gate stable branch pushes

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

* fix(release): accept orchestrated stable push shape

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

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 2afc8db)
* fix(release): audit backport companion closure

Add a bounded, evidence-only audit for later same-path commits, PR companions, neighbor tests, reference candidates, and candidate file/content differences.

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

* fix(release): satisfy companion scanner lint

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

* fix(release): accept backport companion separator

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

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 0f2b5e9)
* ci(release): retain live failure diagnostics

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

* test(release): isolate live cache shell replay

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

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 89ee777)
* feat(release): add fast backport conflict probe

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

* fix(release): parse backport probe separator

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

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 3c1d486)
Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 2219999)
Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 7de3a4b)
* feat(release): fetch compatibility inputs from registry

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

* docs(release): clarify offline inventory checks

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

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit a819d2b)
@clawsweeper

clawsweeper Bot commented Oct 22, 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: XL labels Oct 22, 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: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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 Oct 22, 2026
@clawsweeper

clawsweeper Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR backports release diagnostics, FRV recovery, backport auditing, push validation, and registry-backed compatibility inventory generation to 2026.9.33.

Example: A release operator records compatibility inputs for [email protected].

  • Before: The operator manually downloads, verifies, and unpacks the published package.
  • After: pnpm update:compat:gen --registry-release 2026.9.4 downloads and verifies the package before passing it to the existing recorder.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful, intentionally scoped release backports with focused validation and one low-priority test-fixture defect; integrated behavior evidence remains limited.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored PR is outside the ordinary contributor proof gate; its body reports focused release-tooling validation, while the inspected discussion adds no recorded integrated release execution.
Patch quality 🐚 platinum hermit (4/6) 1 actionable review finding remain.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: September release operators lack already-merged recovery, diagnostics, and maintenance tools needed to manage the active extended-stable line.
Reason: The maintainer-authored direction selects applicable mainline repairs and explicitly excludes changes requiring incompatible newer architecture.

Merge readiness

⛔ Needs changes before merge - 1 item remains

Keep this maintainer-authored backport open: it brings useful release tooling to the active September maintenance line; the review found one low-priority fixture defect.

Priority: P2
Reviewed head: 566cec348cdefbd4ae3205400f61c8c31aa12b01

Before merge

  • Replace timed fixture polling with a readiness signal (P3) - The new registry server fixture sleeps and polls a port file until a fixed deadline. A slow child startup makes the test fail before the inventory behavior runs, and the loop violates root AGENTS.md:93, which prohibits real timers, sleeps, and polling in new tests. Make the fixture asynchronous and await an IPC or equivalent server-ready notification, handling child startup failure explicitly.

Findings

  • [P3] Replace timed fixture polling with a readiness signal — test/scripts/runtime-postbuild.test.ts:1742-1744

Tests

  • Missing end-to-end proof: The supplied validation reports focused harness and CLI-fixture passes, but does not record an integrated maintenance-branch release operation or demonstrate every regression failing on the base.
Agent review details

How this fits together

Maintainer release commands consume pinned Git revisions, GitHub workflow evidence, and npm artifacts to validate release branches, recover validation runs, and maintain compatibility inputs.

flowchart LR
  A[Release operator] --> B[Release tooling]
  C[Pinned Git revisions] --> B
  D[GitHub workflow evidence] --> B
  E[Npm release artifacts] --> F[Integrity verification]
  F --> B
  B --> G[Validation and compatibility records]
Loading

Technical review

Best possible solution:

Retain the branch-compatible backports and replace the registry fixture’s timed polling with an explicit readiness signal.

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

The pinned base and introduced hunks establish the release-tooling gaps and the new timed-readiness fixture; no target execution was performed.

Is this the best way to solve the issue?

The backport generally extends existing owners and preserves the older qualification boundary; the fixture should synchronize on server readiness instead of elapsed time.

Full review comments:

  • [P3] Replace timed fixture polling with a readiness signal — test/scripts/runtime-postbuild.test.ts:1742-1744
    The new registry server fixture sleeps and polls a port file until a fixed deadline. A slow child startup makes the test fail before the inventory behavior runs, and the loop violates root AGENTS.md:93, which prohibits real timers, sleeps, and polling in new tests. Make the fixture asynchronous and await an IPC or equivalent server-ready notification, handling child startup failure explicitly.
    Confidence: 0.99

Overall correctness: patch is correct
Overall confidence: 0.88

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • FRV mutation recovery changes intended behavior with a stated reason (f8c1398: Prevent duplicate reruns after ambiguous transport responses by reconciling immutable run identity and exact attempts.)
  • Stable release branch creation keeps the original intent (878ee97: Provide resumable, exact-cut release orchestration; the backport routes the existing push through integrated validation.)
  • Compatibility inventory generation keeps the original intent (05bf4e0: Record verified published artifacts so older updaters retain their required post-swap imports.)
  • Backport applicability guidance keeps the original intent (8d3d472: Require evidence-driven applicability checks and dependency closure rather than title-led backport selection.)
  • Release failure diagnostics keeps the original intent (c93c3e0: Preserve the first failure through release validation; added uploads retain diagnostics without suppressing pipeline failure.)
  • SDK acknowledgement diagnostics keeps the original intent (8eb3c0b: Expose acknowledgement requirements before publication; the backport makes the existing digest-bound report readable.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test test/scripts/runtime-postbuild.test.ts -t 'downloads, verifies, and records an exact registry release' --maxWorkers=1
  • git diff --check

What I checked:

  • Backport remains necessary on its target branch: The verified introduced range adds these capabilities to extended-stable/2026.9.33; their presence on current main does not implement the maintenance-branch backport. (package.json:1969, 566cec348cde)
  • Maintainer direction and deliberate exclusions: The live PR body confirms MEMBER authorship, the selected backports, and explicit exclusion of newer qualification architecture that is unsuitable for this branch. (566cec348cde)
  • Bounded FRV retry preserves source checks: A second POST is limited to classified GitHub server errors after reconciliation; the retry rereads the exact terminal source, and child retries also revalidate the parent binding. (scripts/frv.mjs:1678, 566cec348cde)
  • Registry input uses the existing inventory owner: Downloaded bytes are checked against published SHA-512 integrity before extraction, their release identity is checked, and the existing schema-version-1 recorder produces the inventory. (scripts/update-compat-inventory.mts:44, 566cec348cde)
  • Contrary comparison evidence checked: Although newer main contains release-push comparison follow-ups, this branch already normalizes ratchet comparisons to the merge base and selects changed paths through a three-dot diff; those follow-ups alone do not establish a backport defect. (scripts/lib/shrink-ratchet.mts:56, 566cec348cde)
  • Timed fixture readiness violates scoped policy: The added server fixture polls a port file with real sleeps and a fixed deadline, contrary to root AGENTS.md's prohibition on real timers, sleeps, and polling in new tests. (test/scripts/runtime-postbuild.test.ts:1742, 566cec348cde)

Likely related people:

  • Peter Steinberger: Raw commit 05bf4e0 adds scripts/update-compat-inventory.mts:17 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 05bf4e050b1c; files: scripts/update-compat-inventory.mts)

PR surface

Tests +898, Docs +98, Config +34, Other +1241. Total +2271 across 32 files. Added test files: 5.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 12 927 29 +898
Docs 5 126 28 +98
Config 3 37 3 +34
Generated 0 0 0 0
Other 12 1284 43 +1241
Total 32 2374 103 +2271

Review metrics

Metric Value Why it matters
Registry-backed maintenance input One repeatable --registry-release flag Adds an optional input to the existing compatibility generator while preserving local --release inputs and the inventory format.

Labels

Label changes:

  • add P2: The backport improves release recovery and validation on an active maintenance branch without changing normal Gateway runtime behavior.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P2: The backport improves release recovery and validation on an active maintenance branch without changing normal Gateway runtime behavior.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • 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 October 21, 2026, 10:14 PM ET / October 22, 2026, 02:14 UTC.

@RomneyDa
RomneyDa merged commit 57f09c1 into extended-stable/2026.9.33 Oct 23, 2026
34 checks passed
@RomneyDa
RomneyDa deleted the tideclaw/batches1-2-extended-stable-2026.9.33 branch October 23, 2026 19:36
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: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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.

2 participants