Skip to content

fix(release): backport retrospective repairs through batch 9 to 2026.11.5 - #191633

Merged
tideclaw-bot merged 41 commits into
release/2026.11.5from
tideclaw/backport-retrospective-2026.11.5
Nov 5, 2026
Merged

tideclaw-bot merged 41 commits into
release/2026.11.5from
tideclaw/backport-retrospective-2026.11.5

Conversation

@tideclaw-bot

@tideclaw-bot tideclaw-bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Carries the applicable retrospective repairs through Batch 9 onto release/2026.11.5, preserving the original PR and backport history.
  • Preserves the stable backport scope from fix(release): backport retrospective repairs through batch 9 #190034 while adapting Linux builder identity, npm artifact/OIDC recovery, release-note verification, Gateway readiness, and security CI evidence to the beta branch.
  • Repairs the reviewed release-specific changelog success path, terminal FRV state handling, Kitchen Sink compiled assets, retained workflow/iOS fixtures, and mock/type contracts. Original uncertain-retry authority checks remain intact.
  • Adapts fix(release): revalidate plugin recovery before npm token exchange #191641: the exchange-only npm diagnostic revalidates the existing source and trusted-tooling admission rules after token acquisition and before each npm credential exchange. Regular ancestry and extended-stable exact-tip semantics are unchanged; no new approval or provenance policy is introduced.

Verification

Historical initial backport evidence: focused release suites 370/370 and security/dependency suites 308/308 passed. Those results are not claimed as fresh final-head CI.

Repair evidence:

  • Independent source review of the retrospective repair and the credential follow-up found no outstanding actionable findings.
  • Retrospective repair: focused regression suites passed (138 scoped tests and 145 checklist tests); scripts/tooling type checks and targeted lint/format passed.
  • Final credential follow-up: 109/109 tests across npm trusted-publisher preflight, extended-stable workflow, and plugin release Git lifecycle passed. Scripts and tooling type checks, targeted lint, formatting, Python parse and whitespace checks passed.
  • No live credentials were exchanged and no packages were published by these tests.

Remaining qualification and retained failures

Fresh CI must qualify the pushed head; historical or focused successes do not replace that gate. Broader local workflow runs retained eight failures: six Ruby/Fastlane execution cases lacked Ruby, and two scratch/workflow cases exhausted host /tmp inodes (176/184 passed). Two additional compiled subprocess suites could not build with a borrowed dependency installation (get-east-asian-width export mismatch); their aggregate recorded 423 passing tests but is not a passing run. Workflow-lint tooling was unavailable. The historical Ruby gap is now resolved for the full 15-test iOS fixture file as documented below; the inode and compiled-suite gaps remain recorded. No dependency workaround or blanket local success is claimed. The separately reviewed #191838 has now merged into the same release branch. Full beta.2 release/native qualification remains separate from landing this original PR.

Stable-channel counterpart: #190034.

Follow-up: iOS CI fixture repair

The previous pushed head exposed two stale iOS test contracts. The repair removes the nonexistent fixture-test guard while retaining the exact four-test selection assertion, and replaces a retired per-capture resource snapshot expectation with an exact sanitized diagnostic record plus a guard against blocking resource sampling. The allocation decreases by 15 lines. Both original failure signatures were reproduced; the full 15-test file passes under isolated Ruby/Node and under the pinned Bun runtime. Targeted typecheck, lint, formatting, and test-line ratchet pass. No iOS production behavior or live Xcode result is claimed.

The previous head also failed five identical Android caption-visibility cases in each of two lanes; the entire Android source/dependency/configuration tree and Android CI execution configuration are unchanged from the exact release base. Three xAI payload tests also failed: the exact-base replay reproduces the failing case set, but a local compiler/dependency error prevents claiming an exact three-timeout match. That attribution limitation is retained; no speculative xAI production patch or CI-success claim is made. Fresh CI must evaluate this pushed head.

Android fixture follow-up (#192273)

Backported the exact seven-line upstream fixture initialization fix as f33c1f5, preserving Peter Steinberger's authorship. The plain-Application reader fixture initializes the existing NativeStringResources owner before each test, matching production startup without weakening caption or scrolling assertions. Independent source review found no actionable issue; the file matches upstream and the passing scheduled-main fixture exactly, and diff checks pass. No local Android runtime was available; fresh exact-head CI is required. Prior f515 Android caption failures and xAI timeouts remain historical failed evidence, not new-head results.

xAI cold-worker repair (d9ad345)

The three xAI payload timeouts occurred while one compiled-worker preparation ran for 34.9 seconds inside the first test deadline. The existing SDK compiled-subprocess-testing import now prepares that generation at collection; all real payload assertions and 10-second deadlines remain unchanged. One setup line is allocated explicitly.
Independent source review, targeted lint/format, test-line ratchet and whitespace checks pass. At d9ad345, all three real payload tests passed in job127149531809 (3.671s, 146ms, 94ms); local compiled-worker replay remains unavailable due the borrowed dependency export mismatch. New-head CI remains required.
The preceding f33c run also exposed the memory session-delta dirty-status failure repaired below. No complete green CI or release qualification is claimed.

Deferred memory delta repair (82b3336)

An interrupted targeted indexing pass retained its published rows but cleared dirty status while unfinished work remained in the existing file/identity queues. The targeted-sync owner now includes those queues in its dirty calculation. The existing regression drains startup catchup and no longer forces an unrelated full rebuild; its published-index, dirty, resume, and clean assertions remain intact. One net test line is explicitly allocated.

Fresh independent review found no actionable issue. Package-boundary typecheck, targeted lint/format, test-line ratchet and whitespace checks pass. The borrowed-dependency local command stopped before tests, but exact-head CI run 42000023511, job 127154049874, subsequently passed all three session-delta tests, including dirty retention, quiet-period resume, and incremental turns. The owner selection passed 176 tests with 22 skipped. This is runtime proof of the memory repair, not complete CI or release qualification.

At preceding d9ad, Android play/third-party caption lanes and ktlint pass; xAI payload tests pass. Other jobs failed acquiring pinned Bun/opengrep via HTTP504 before tests/scanning. Those setup failures are not passing security or runtime evidence and are not waived.

Current exact-head CI limitations

Run 42000023511 attempt 1 finished red on 82b3336. Ten failed jobs stopped before tests during pinned Bun HTTP504 or Gradle distribution downloads. Separately, the Matrix matrix-restart-replay-dedupe QA scenario failed to deliver fresh messages after an in-process restart; the same scenario passed on scheduled main. That failure is unresolved, not attributed as inherited and not waived. Local exact-merge reproduction obtained clean frozen dependencies, but stopped before the scenario at host temporary-inode exhaustion and then at unavailable service-manager inspection in an isolated container; neither setup failure is behavioral proof.

One failed-job retry was accepted for the unchanged head to recover download failures and reproduce the Matrix scenario on a fresh runner. Attempt 2 completed with the same Matrix failure; the original evidence is retained. No complete green CI, merge, or beta.2 publication is claimed.

Hosted Matrix restart diagnosis (58c8cdc)

The prior exact-head CI retry repeats the Matrix post-restart delivery failure. This follow-up preserves every scenario assertion, restart operation and deadline. It adds bounded synthetic Matrix inbound IDs through the existing Crabline timeout hook and enables existing lifecycle debug logging only for this isolated scenario. Generic/live transport diagnostics are unchanged; no bodies, senders, rooms or foreign-account IDs are added.

Fresh independent source review found no P0–P2 issues. Whitespace, formatting and semantic scenario comparison passed. The focused test and runtime scenario remain CI-owned: local test setup did not reach execution, and no local runtime pass is claimed. This observation-only change is not presented as a product fix or an unchanged retry.

The prior 82b3336 memory owner CI completed with 176 passing and 22 skipped tests; all three session-delta cases passed. Prior dependency-download failures recovered on retry. Matrix remains the unresolved product-path failure; the three separate Periphery failures were traced to Swift-tools download and missing downstream artifacts.

Latest qualification — 3c820c5 (November 5, 17:06 UTC)

The 58c hosted run 42068354939 confirmed the Matrix restart/replay failure (job 127390012495). Its diagnostic regression also failed before assertions because the synthetic sender ID was invalid (job 127390021679). Inspection found the timeout callback was not carried through the real adapter factory.

Commit 3c820c5 fixes both diagnostic defects: a valid Matrix sender, a regression through the actual adapter registry/factory, and exposure of the existing bounded timeout callback on the returned definition. The eight-ID/account/privacy limits and scenario assertions/deadlines are unchanged. Fresh independent review found no actionable issues; formatting and whitespace checks pass. One focused local invocation stopped in compilation because the borrowed installation lacks @lancedb/lancedb and quickjs-wasi; no tests executed and no dependency workaround was made.

Exact-head hosted CI 42071059222 is pending. The diagnostic correction is not a fix for the Matrix product failure. This PR remains unqualified for merge until that failure is resolved and the final head is qualified. No beta package/tag publication has occurred.

Final exact-head qualification — November 5, 17:40 UTC

CI42071059222 attempt1 completed on exact3c820c58ebbaa39ffe0dee8a65264563a224e2f8:153 successful jobs,18 skipped, two nonaggregate failures and their aggregate gate. Actual tested merge1d1cf16bd228876ce03c77e83e46e136776ce037 has ordered parents release-base792 plus3c. Matrix replay dedupe, room continuation and restart resume all passed without retries; build, security, source tests and static checks passed. This supersedes pending qualification above, without asserting the diagnostic change fixed the prior intermittent cause.

Remaining failures are retained, not relabeled green:

  • Android4096 job127400915100 failed emulator adb root/offline setup before Gradle, app build or tests. Artifact confirms owned emulator/AVD disposal.
  • UI1 job127400913544 failed desktop split-lines layout. The complete tested-merge UI, normalization and protocol trees are byte-identical to release base792; base mock-isolation fix is present.
  • Aggregate127417351754 reflects those failures. The coarse report calls both new solely because matching-name scheduled-main jobs passed, explicitly without selected-scope comparison; it does not establish PR causation.

Scoped source/input and failure-phase inspection attributes these failures as unrelated to this change. No retry, assertion weakening or baseline update was performed. Final exact beta2 candidate FRV remains required before publication.

RomneyDa and others added 30 commits November 3, 2026 03:18
Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit b6c36ed)
Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 0f359b3)
Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit d8265d0)
* fix(release): revalidate exact npm versions

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

* test(release): handle exact-version fixture request

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

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 3580c9f)
* fix(release): explain staged npm recovery

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

* fix(release): recover exact staged npm package

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

* fix(release): avoid portable here-string

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

* fix(release): preserve npm publish diagnostics

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

* test(release): simplify staged publish coverage

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

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit f708b8b)
* fix(release): pin Linux builder to request SHA

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

* test(release): remove duplicate request harness

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

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit ca897ec)
* fix(release): require SDK removal notes

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

* fix(release): warn on SDK removal note gaps

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

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 0453b8c)
Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit dbc44d3)
Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit a07be30)
* fix(release): enable OIDC recovery preflight

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

* fix(release): enable OIDC recovery preflight

OpenClaw-Publication: 220142ee-cd27-4dc4-9521-b3af12106dce

* fix(release): scope OIDC recovery preflight

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

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 8100edf)
* fix(ci): mark pending security reviews

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

* fix(ci): fail terminal security reviews

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

* fix(ci): settle standalone guard timeouts

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

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 84133d3)
Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 48b46f1)
* feat(release): add publication watcher

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

* fix(release): satisfy watcher lint

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

* fix(release): enforce watcher contracts

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

* fix(release): preserve zero-backoff retries

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

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 3c67c5c)
Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 749df76)
* feat(release): add bound gate approval helper

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

* fix(release): satisfy approval helper guards

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

* fix(release): make gate approval recoverable

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

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit fc719e9)
Release adaptation: #180203 removes the release branch inventory builder import. Its source parent also used a later bundler-region helper, but this release branch keeps its existing parser and does not need that broad dependency-update companion.

Co-authored-by: RomneyDa <[email protected]>
Include the runtime error-classification dependency closure introduced by shutdown-aware retries in the verified publication source inventory.

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

(cherry picked from commit 6370e01)

Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit f861722)
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 571b8f8)
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit f3bbc7e)
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 7d27f73)
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 34bb969)
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 73df503)
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit ec6e32f)
Route mock-provider request artifact collection through the plugin SSRF guard, with bounded loopback access and deterministic resource release.

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit bfa3e10)
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 24f5971)
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 122d8e4)
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit c938b9b)
Record the Kitchen Sink npm fixture version on each release branch and use it across the plugin and RPC Docker lanes instead of resolving latest. Preserve explicit package overrides and fail closed when a frozen target lacks its version record.

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 414e610)
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 3, 2026
@clawsweeper

clawsweeper Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge.

What this changes

Backports release qualification, publication recovery, approval, monitoring, and Gateway diagnostic improvements to release/2026.11.5.

Example: A release operator starts a Gateway whose service remains stopped for 45 seconds.

  • Before: The command reports a generic readiness timeout.
  • After: The command reports that startup failed because the service stayed stopped and suggests recovery commands.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) Useful release work with a meaningful inherited negative trace, but concrete integration failures and incomplete final-authority qualification prevent merge.
Proof confidence 🦪 silver shellfish (2/6) Real behavior proof is necessary before merge. See Before merge.
Patch quality 🦪 silver shellfish (2/6) Security review found an item that needs attention.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: Release operators encounter avoidable qualification failures, unclear recovery outcomes, and missed publication approvals or failed children.
Reason: Collaborator authorship and the explicit release backport scope establish direction; the selected operational repairs have concrete value.

Merge readiness

⛔ Blocked before merge - 15 items remain

Keep open: this maintainer-directed beta backport has clear release value, but introduces a checklist crash, misleading FRV completion behavior, broken compiled fixtures, and regressions in existing release tests and reporting.

Priority: P2
Reviewed head: 611d61f80b115193c04b6998e5f9261c0e3b762b

Before merge

  • Add real behavior proof - Authority-chain proof required: RomneyDa's linked Linux publication trace establishes superseded-request rejection before I/O, but not authorized split-SHA publication or cancellation before later writes. The approval and OIDC source repairs explicitly exclude live approval and exchange. Supply authorized production-path evidence for eligible and ineligible or revoked approvers at GitHub's endpoint, and valid recovery plus invalidated source/tooling rejection before npm exchange; redact credentials and private identifiers. After adding proof, update the PR body, then request a new review with @clawsweeper re-review. The PR author or someone with repository write access can request it.
  • Read release notes from the existing candidate changelog owner (P1) - Every candidate that reaches SDK validation evaluates releaseChangelog.section, but releaseChangelog is not declared in this module. The command throws ReferenceError before publication preflight or candidate completion, even when there are no removed SDK APIs. Current-head CI confirms this failure. Obtain the validated notes through the existing changelog loader or its return contract.
  • Honor terminal parent failures before returning pending (P2) - When the parent has completed with failure but its immutable decision still says blocked_diagnostics_running, this new branch returns pending before inspecting the terminal conclusion. executeFrozenDispatch then returns normally and the CLI exits zero. Restrict this handoff to an active parent and retain terminal failure handling.
  • Include the Kitchen Sink version file in compiled fixture assets (P2) - The preserved-module compiler builds kitchen-sink-rpc-walk and its new import into the isolated fixture tree, but npm-version.txt is absent from preservedModuleBuildAssets. This import therefore throws ENOENT before the compiled walker can run, including when an explicit package override is supplied. Register the sidecar with the existing asset owner.
  • Preserve the beta branch's workflow fixture contracts (P2) - The replacement test reads jobs.stale even though the unchanged workflow exposes stale-lifecycle. Other changed assertions restore obsolete action pins, OpenGrep versions, runner selections, and timeouts. Current-head CI reports these exact mismatches. Restore the base contracts and layer only the retrospective regressions onto them.
  • Adapt iOS regressions to the retained Fastlane and workflow contracts (P2) - The changed fixture searches for ios-screenshot-shard and expects Xcode 27.0, while this branch retains ios-screenshot-capture and Xcode 27.1. The broader rewrite also uses outdated Fastlane fixture shapes and removes distinct Watch recovery cases. Current-head CI confirms missing functions, fixture-shape errors, and screenshot-contract failures. Preserve the branch's existing fixtures and recovery coverage.
  • Keep dispatch fixtures within the supported beta inputs (P2) - This test now supplies telegram_waiver even though neither the retained dispatcher nor its workflow declares that input. It fails with Undeclared workflow input, and related changed assertions require waiver text the dispatcher does not emit. Restore the waiver-free fixture expectations instead of importing an unrelated input contract.
  • Retain durable identities for carried FRV failures (P2) - After a single-job rerun, GitHub can return an attempt-1 failure with a new job ID. Replacing the run/source-attempt/name key with job.id reports that old failure again and removes its carried-forward label. The existing watcher regression fails in current-head CI. Preserve the durable failure identity and effective-attempt labeling already present on the base.
  • Preserve full UTC and Pacific release progress timestamps (P3) - The backport removes the existing timestamp formatter and replaces dated UTC/Pacific progress with UTC time-of-day only; rate-limit deadlines also lose Pacific time. This reverses the explicit operational behavior from fix(release): show Pacific time in FRV progress #180219 and fails its retained regression. Keep the existing formatter while adding log reading.
  • Resolve security concern: Queued recovery admission may outlive its authority checks - Source and tooling checks precede a separate environment-gated job that obtains package-scoped npm credentials; supplied evidence does not establish rejection if those admission facts become invalid before exchange.
  • Resolve merge risk - Release and security owners must establish that recovery admission remains valid through queued OIDC credential exchange when the canonical source or trusted tooling authority changes.
  • Await maintainer action - Obtain independent SecOps review of the repaired current head for the changed security-review and guard implementations.
  • Explain or restore the original intent of FRV carried-failure reporting - 27c1d46: Prevent notifications from replaying when GitHub gives carried-forward failures new job IDs, and label their original attempt.
  • Explain or restore the original intent of FRV progress timestamps - 354b0e2: Provide full UTC and Pacific timestamps for release coordination and rate-limit deadlines.
  • Explain or restore the original intent of Beta workflow and iOS fixtures - unknown: The base fixtures match current beta workflows and Fastlane behavior; the backport replaces them with older expectations without explaining those reversions. Available history includes prior workflow preparation and Watch recovery repairs, but does not establish one introduction for this entire area.

Findings

  • [P1] Read release notes from the existing candidate changelog owner — scripts/release-candidate-checklist.mts:2416-2419
  • [P2] Honor terminal parent failures before returning pending — scripts/full-release-validation-at-sha.mts:1828-1834
  • [P2] Include the Kitchen Sink version file in compiled fixture assets — scripts/e2e/lib/kitchen-sink-plugin/npm-spec.mts:5-7
  • [medium] Queued recovery admission may outlive its authority checks — .github/workflows/plugin-npm-release.yml:303

Provenance

  • FRV carried-failure reporting changes intended behavior without addressing why it exists (27c1d46: Prevent notifications from replaying when GitHub gives carried-forward failures new job IDs, and label their original attempt.)
  • FRV progress timestamps changes intended behavior without addressing why it exists (354b0e2: Provide full UTC and Pacific timestamps for release coordination and rate-limit deadlines.)
  • Beta workflow and iOS fixtures changes intended behavior without addressing why it exists (unknown: The base fixtures match current beta workflows and Fastlane behavior; the backport replaces them with older expectations without explaining those reversions. Available history includes prior workflow preparation and Watch recovery repairs, but does not establish one introduction for this entire area.)

Tests

  • Low-value test test/scripts/kitchen-sink-npm-spec.test.ts: Pins the current fixture version and helper return values while missing the compiled entry-point asset failure; replace it with coverage through the owning compiled walker.
  • Low-value test test/scripts/plugin-npm-extended-stable-workflow.test.ts: The added recovery-guidance test pins prose and command fragments already covered by executable admission scenarios; remove that test group.
  • Missing end-to-end proof: Complete allowed and forbidden final-effect coverage for approval, OIDC recovery, and split-SHA Linux publication; supplied evidence also does not establish base-red/head-green execution for the complete backport.
Agent review details

How this fits together

Release tooling consumes pinned source identities, retained orchestration state, GitHub observations, and npm metadata to qualify candidates, authorize publication, monitor progress, and explain recovery.

flowchart TD
 A[Release operator] --> B[Release commands]
 C[Pinned source and retained state] --> B
 B --> D[Qualification and publication owners]
 D --> E[GitHub authority checks]
 E --> F[Approval and registry effects]
 D --> G[Progress and recovery output]
Loading

Technical review

Best possible solution:

Complete the backport through existing release owners while preserving beta contracts, repairing integration defects, and qualifying final authorization boundaries.

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

Source inspection establishes the checklist crash, terminal-state bypass, and missing compiled asset; current-head CI independently confirms the checklist and changed-fixture failures.

Is this the best way to solve the issue?

Reusing the established upstream release owners is appropriate, but the backport must retain the beta branch's newer contracts and include each new module's runtime assets.

Full review comments:

  • [P1] Read release notes from the existing candidate changelog owner — scripts/release-candidate-checklist.mts:2416-2419
    Every candidate that reaches SDK validation evaluates releaseChangelog.section, but releaseChangelog is not declared in this module. The command throws ReferenceError before publication preflight or candidate completion, even when there are no removed SDK APIs. Current-head CI confirms this failure. Obtain the validated notes through the existing changelog loader or its return contract.
    Confidence: 1
  • [P2] Honor terminal parent failures before returning pending — scripts/full-release-validation-at-sha.mts:1828-1834
    When the parent has completed with failure but its immutable decision still says blocked_diagnostics_running, this new branch returns pending before inspecting the terminal conclusion. executeFrozenDispatch then returns normally and the CLI exits zero. Restrict this handoff to an active parent and retain terminal failure handling.
    Confidence: 0.99
  • [P2] Include the Kitchen Sink version file in compiled fixture assets — scripts/e2e/lib/kitchen-sink-plugin/npm-spec.mts:5-7
    The preserved-module compiler builds kitchen-sink-rpc-walk and its new import into the isolated fixture tree, but npm-version.txt is absent from preservedModuleBuildAssets. This import therefore throws ENOENT before the compiled walker can run, including when an explicit package override is supplied. Register the sidecar with the existing asset owner.
    Confidence: 0.98
  • [P2] Preserve the beta branch's workflow fixture contracts — test/scripts/ci-workflow-guards.test.ts:770-772
    The replacement test reads jobs.stale even though the unchanged workflow exposes stale-lifecycle. Other changed assertions restore obsolete action pins, OpenGrep versions, runner selections, and timeouts. Current-head CI reports these exact mismatches. Restore the base contracts and layer only the retrospective regressions onto them.
    Confidence: 1
  • [P2] Adapt iOS regressions to the retained Fastlane and workflow contracts — test/scripts/ios-release-fastlane-gates.test.ts:1269-1275
    The changed fixture searches for ios-screenshot-shard and expects Xcode 27.0, while this branch retains ios-screenshot-capture and Xcode 27.1. The broader rewrite also uses outdated Fastlane fixture shapes and removes distinct Watch recovery cases. Current-head CI confirms missing functions, fixture-shape errors, and screenshot-contract failures. Preserve the branch's existing fixtures and recovery coverage.
    Confidence: 1
  • [P2] Keep dispatch fixtures within the supported beta inputs — test/scripts/full-release-validation-at-sha.test.ts:1230-1233
    This test now supplies telegram_waiver even though neither the retained dispatcher nor its workflow declares that input. It fails with Undeclared workflow input, and related changed assertions require waiver text the dispatcher does not emit. Restore the waiver-free fixture expectations instead of importing an unrelated input contract.
    Confidence: 1
  • [P2] Retain durable identities for carried FRV failures — scripts/frv.mjs:3214-3216
    After a single-job rerun, GitHub can return an attempt-1 failure with a new job ID. Replacing the run/source-attempt/name key with job.id reports that old failure again and removes its carried-forward label. The existing watcher regression fails in current-head CI. Preserve the durable failure identity and effective-attempt labeling already present on the base.
    Confidence: 1
  • [P3] Preserve full UTC and Pacific release progress timestamps — scripts/frv.mjs:3203-3204
    The backport removes the existing timestamp formatter and replaces dated UTC/Pacific progress with UTC time-of-day only; rate-limit deadlines also lose Pacific time. This reverses the explicit operational behavior from fix(release): show Pacific time in FRV progress #180219 and fails its retained regression. Keep the existing formatter while adding log reading.
    Confidence: 1

Overall correctness: patch is incorrect
Overall confidence: 0.97

AGENTS.md: found and applied where relevant.

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

Merge-risk options

Maintainer options:

  1. Qualify recovery authority at credential exchange (recommended)
    The PR owner supplies authorized production-path evidence that invalidated tooling and noncanonical source are rejected before npm credential exchange, repairing the existing admission owner if necessary.

Provenance checked

Testing

Proof path: shipped entry point.

Security

Needs attention: No concrete authorization bypass was established, but recovery authority through the final credential exchange remains unqualified.

Evidence

Security concerns:

  • [medium] Queued recovery admission may outlive its authority checks — .github/workflows/plugin-npm-release.yml:303
    Source and tooling checks precede a separate environment-gated job that obtains package-scoped npm credentials; supplied evidence does not establish rejection if those admission facts become invalid before exchange.
    Confidence: 0.94

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 878ee97 adds scripts/lib/release-stable-state.mts:10 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 878ee97ecda9; files: scripts/lib/release-stable-state.mts)

PR surface

Source +53, Tests +2730, Docs +104, Config +13, Other +1155. Total +4055 across 77 files. Added test files: 5.

View PR surface stats
Area Files Added Removed Net
Source 5 70 17 +53
Tests 32 7723 4993 +2730
Docs 5 116 12 +104
Config 7 54 41 +13
Generated 0 0 0 0
Other 28 1410 255 +1155
Total 77 9373 5318 +4055

Review metrics

Metric Value Why it matters
Watcher command options 5 new flags --watch, --once, --json, --poll-seconds, and --timeout-seconds extend the release operator interface without persisting watcher settings.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: The defects affect release qualification and operator tooling; no currently shipped core-runtime emergency is established.
  • merge-risk: 🚨 security-boundary: The backport changes approval and publication authority handling and admits recovery paths obtaining package-scoped npm credentials.
  • merge-risk: 🚨 automation: Introduced fixture failures break release CI, and terminal FRV failures can return a successful process exit.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦪 silver shellfish.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

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 2, 2026, 10:45 PM ET / November 3, 2026, 03:45 UTC.

tideclaw-bot and others added 2 commits November 5, 2026 07:54
Preserve release-base contracts and original retry authority checks while repairing changelog, terminal status and Kitchen Sink asset handling.

Co-authored-by: RomneyDa <[email protected]>
Preserve source admission semantics and recheck live source and tooling authority after token acquisition, immediately before each npm exchange.

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

This comment has been minimized.

Keep exact screenshot selection and failure evidence checks while removing the obsolete fixture-test guard and retired per-capture resource snapshot expectation. Guard against blocking resource sampling and reduce the test allocation by 15 lines. Both original failures reproduce; all 15 cases pass under isolated Ruby and pinned Bun.

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

This comment has been minimized.

Backport the existing upstream fixture fix to release/2026.11.5. Preserve all caption and scrolling assertions.

Co-authored-by: RomneyDa <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added the app: android App: android label Nov 5, 2026
Move existing worker preparation to collection through the documented SDK test seam. Preserve the real payload assertions and their deadlines.

Co-authored-by: RomneyDa <[email protected]>
Keep existing pending file and identity queues in the targeted-sync dirty calculation. Make the existing interruption regression exercise the delta route after startup catchup; preserve publication and resume assertions.

Co-authored-by: RomneyDa <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added the extensions: memory-core Extension: memory-core label Nov 5, 2026
Preserve scenario assertions and timeouts while recording synthetic inbound identities and existing lifecycle debug boundaries for the repeated hosted restart failure.

Co-authored-by: RomneyDa <[email protected]>
Exercise the registry-backed transport with a valid Matrix sender and retain both cleanup phases. Hosted CI exposed the invalid fixture and the dropped timeout hook; this correction does not claim to fix Matrix restart delivery.

Co-authored-by: RomneyDa <[email protected]>
@tideclaw-bot
tideclaw-bot merged commit a48a479 into release/2026.11.5 Nov 5, 2026
251 of 254 checks passed
@tideclaw-bot
tideclaw-bot deleted the tideclaw/backport-retrospective-2026.11.5 branch November 5, 2026 17:40
tideclaw-bot added a commit that referenced this pull request Nov 5, 2026
Adopt all reviewed constituents of #191633 and #191838, including the
#192297 intake and merged #192586 prerequisite, with the reviewed
security parser bounds and Matrix patch serialization correction.

These are adapted backports, not exact cherry-picks. Original sources:
191633 5cbabca (origin b6c36ed): fix(release): warn before rollback drill expiry (#180164)
191633 ca8c103 (origin 0f359b3): fix(release): require macOS release source branch (#180169)
191633 12abd6c (origin d8265d0): fix(release): verify published plugin inventory (#180203)
191633 65df344 (origin 3580c9f): fix(release): revalidate exact npm versions (#180201)
191633 ae3a92b (origin f708b8b): fix(release): explain staged npm recovery (#180191)
191633 08c61ca (origin ca897ec): fix(release): pin Linux builder to request SHA (#180211)
191633 f7b8f22 (origin 0453b8c): fix(release): warn on undocumented SDK removals (#180180)
191633 2b7fd53 (origin dbc44d3): fix(release): retry compatibility tarball downloads (#189712)
191633 d313a91 (origin a07be30): docs(release): tighten deterministic failure triage (#189720)
191633 3180471 (origin 8100edf): fix(release): enable OIDC recovery preflight (#187991)
191633 fc52d94 (origin 84133d3): fix(ci): mark pending security reviews (#180183)
191633 9a30fd9 (origin 48b46f1): feat(release): add FRV job log reader (#189718)
191633 5aeb8bf (origin 3c67c5c): feat(release): add publication watcher (#187994)
191633 a5c1376 (origin 749df76): fix(release): unify plugin OIDC recovery preflight (#189748)
191633 4bd0d61 (origin fc719e9): feat(release): add bound gate approval helper (#189715)
191633 fc6a003: fix(release): adapt postpublish verifier imports
191633 0fea084 (origin 6370e01): fix(release): retain publication retry diagnostics (#189130)
191633 13f02f8 (origin f861722): fix(release): keep diagnostic FRV blocks pending
191633 a715d58 (origin 571b8f8): fix(release): verify notes against pushed branch
191633 3fbc547 (origin f3bbc7e): fix(release): explain shallow release-note history
191633 6fe3921 (origin 7d27f73): test(git): isolate nested repository fixtures
191633 74579f0 (origin 34bb969): ci: add base scheduled upgrade survivor
191633 39b9209 (origin 73df503): ci: support empty admission args on Bash 3.2
191633 e585646 (origin ec6e32f): test(qa): retain mock provider request artifacts
191633 dbae3ad (origin bfa3e10): fix(qa): guard mock artifact fetch
191633 7a1456b (origin 24f5971): ci(ios): explain screenshot Xcode mismatch
191633 86591a7 (origin 122d8e4): docs(release): identify FRV parent publish input
191633 0f81562 (origin c938b9b): fix(cli): report observed gateway start failure
191633 e140fb5 (origin 414e610): test(release): pin Kitchen Sink fixture versions
191633 07b1810: test(release): preserve retrospective backport coverage
191633 5ae88b0: test(ci): align retrospective guard backport coverage
191633 793e231: test(release): adapt retrospective fixtures to stable
191633 611d61f: test(release): adapt retrospective fixtures to beta
191838 4df8007 (origin d0cf0e2): fix(file-transfer): share one workspace command import between memory and skills
191838 fb52e5d (origin 24b9e76): fix(matrix): defer ready status through startup
191838 82ac58e (origin 76d4717): fix(matrix): let Matrix CLI commands exit after their client stops
191838 342fec0 (origin 73fe789): fix(matrix): report late in-room verification failures instead of crashing
191838 5a67ff1 (origin f75c29a): test(qa): align Matrix E2EE scenarios with offline ownership contracts
191838 f77062a (origin 2c0d224): fix(process): preserve loaded startup cleanup
191838 263a67a (origin fa2b24b): fix(process): keep stdio startup failures ahead of cleanup errors
191838 deb2b8f (origin 2d8931e): fix(process): share inherited process lineage across module copies
191838 7649f46 (origin 9b25ff9): fix(codex): preserve loaded one-shot cleanup
191838 37007d7 (origin c71bf33): fix(codex): unload canonical forks before child turns resume them
191838 fcb5687 (origin ebca499): fix(codex): resolve native follow-ups by task name across parent turns
191838 2627a7f (origin 84e1365): fix(codex): name usable agent IDs when a native target is unidentified
191838 9f78f29 (origin f591228): fix(codex): wait for a live previous owner to unload before resuming
191838 cc216fb (origin a6ec514): fix(codex): allow Codex's shutdown window when confirming a thread unload
191838 85b8598 (origin 6b4e757): fix(cron): run jobs added before scheduler start without startup deferral
191838 1693080 (origin df43e79): fix(state): retry lease cleanup after offline maintenance contention
191838 018d506 (origin 3c7cde0): fix(sqlite): wait for a cold database turn before the shared worker open queue
191838 683b89f (origin d7f8560): fix(gateway): flush startup evidence before readiness
191838 22dbc18 (origin d569839): fix(config): ignore empty default plugin entries when widening allowlists

Reviewed source packet: 08890ffe0399fcc102a67c6fe3ea8c8bada74128d85dd826c9ee5d8a03f92520
Batch/security slice: cf4a56d8df38cc11818b961b51b9a2756f755b084cdc27ffeb88cf4365bed0bc
Native/auth/updater remainder is intentionally not part of this commit.

Co-authored-by: RomneyDa <[email protected]>
tideclaw-bot added a commit that referenced this pull request Nov 5, 2026
Preserve canonical release tests, all 18 native postimages, and the reviewed Matrix diagnostic delta while merging original #191633. Final candidate qualification remains required.

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

app: android App: android cli CLI command changes docker Docker and sandbox tooling docs Improvements or additions to documentation extensions: memory-core Extension: memory-core extensions: qa-lab extensions: xai merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. 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: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants