Skip to content

fix(release): explain staged npm recovery - #180191

Merged
RomneyDa merged 6 commits into
mainfrom
tideclaw/rri-53-staged-npm-recovery
Oct 31, 2026
Merged

RomneyDa merged 6 commits into
mainfrom
tideclaw/rri-53-staged-npm-recovery

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Summary

  • detect npm's previously staged-version E409 without retrying publication
  • derive the exact package identity and version from the npm publish target, including companion tarballs
  • observe that exact package read-only and distinguish public propagation from an unreadable staged version
  • tailor recovery guidance so only the root package uses the root postpublish verifier
  • preserve the original publish failure while printing bounded recovery guidance
  • document that staged or completed bytes must never be republished

Size

The production path is 50 additions and 6 deletions. The rest is documentation and regression coverage. This revision removes 50 lines of duplicated/theoretical test scaffolding from the previous head while retaining the distinct root-published, root-not-yet-readable, and companion-package cases. Current total: 182 additions and 9 deletions across four files.

Testing

  • npm publish wrapper suite: 11 passed
  • Bash syntax check
  • oxfmt
  • git diff check
  • independent P0-P2 simplification review: no actionable findings; reviewer coverage was static because Codex CLI was unavailable on this host

Related ledger anchor: RRI-53

@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: S 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: 🦪 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 Oct 22, 2026
@clawsweeper

clawsweeper Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR explains recovery after npm rejects a previously staged version, using the exact published package identity while preserving the original failure.

Example: npm rejects publication of @openclaw/[email protected] as previously staged.

  • Before: The wrapper exits with npm's error and provides no package-specific recovery guidance.
  • After: The wrapper observes that exact companion version, advises waiting and resuming the original workflow, and preserves npm's exit status.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The focused patch appears correct and preserves existing release contracts; validation consists of reported checks and mocked npm regression coverage.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored PR is outside the ordinary contributor proof gate; supplied coverage invokes the real wrapper with a fake npm executable for root visibility, unreadable versions, and companion identity, without live changed-path output.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Release operators receiving npm's staged-version error lack clear guidance about the retained package and the safe recovery route.
Reason: The documented incident establishes practical value, and maintainer authorship supplies direction for this focused diagnostic repair.

Merge readiness

✅ Ready for maintainer review

Keep this maintainer-authored PR open: it adds useful recovery guidance absent from current main, and the reviewed diff introduces no actionable correctness or security finding.

Priority: P2
Reviewed head: 3ea0092257a4347725c95cde942a1ccf5a442a5a

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The supplied evidence does not demonstrate the changed diagnostics against real npm or show the regression tests failing on the base.
Agent review details

How this fits together

The release workflow passes qualified package tarballs to the npm publish wrapper, which checks publication authority, invokes npm, and returns diagnostics and an exit status.

flowchart TD
  A[Release workflow] --> B[Package metadata and publish plan]
  B --> C[Publication authority check]
  C --> D[npm publish]
  D --> E[Staged version error]
  E --> F[Exact package registry observation]
  F --> G[Recovery guidance and original exit status]
Loading

Technical review

Best possible solution:

Keep recovery in the existing publish wrapper, observe the exact package read-only, and preserve publication authority, immutable bytes, and npm's original result.

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

Current-main source directly propagates the staged-version failure without recovery guidance, and the linked merged repair documents the triggering E409; no target code was executed during this read-only review.

Is this the best way to solve the issue?

The patch uses the existing publication owner and recovery verifier, covers distinct root and companion cases, and avoids adding publication retries or competing recovery machinery.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Tarball package identity keeps the original intent (ba7b5db: Extended-stable publication validates the qualified tarball's version against the checkout; the patch retains that check while reading its package name.)
  • Publication invocation and authority keeps the original intent (38740f2: Independently trusted tooling revalidates live publication authority immediately before registry mutations; the patch preserves that placement and the single publish invocation.)
  • Published-version recovery keeps the original intent (74b764e: Recovery guidance preserves published bytes and uses read-only verification rather than republishing; the added staged-version guidance follows that contract.)

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

  • Pinned change and current-main comparison: The introduced diff adds package identity extraction and staged-version recovery diagnostics; fetched main still ends with the direct npm invocation and lacks this guidance. (scripts/openclaw-npm-publish.sh:126, 3ea0092257a4)
  • Publication boundary preserved: The existing trusted-tooling authority check remains immediately before the sole publication invocation; recovery adds only npm view and diagnostic output. (scripts/openclaw-npm-publish.sh:109, 3ea0092257a4)
  • Companion recovery matches its existing owner: The release workflow already checks each companion's exact package version and reuses an available version before invoking the wrapper. (.github/workflows/openclaw-npm-release.yml:994, 3ea0092257a4)
  • Related incident and distinct merged repair: fix(release): avoid premature npm readback failures after publishing #151421 records propagation failures and an E409 from a staged version; its merged repair lengthens readback windows rather than adding this wrapper's recovery guidance. (3444c7d3dc7c)
  • Review discussion and current state: The complete current body and human comments contain test reports and re-review requests, with no changed-path live output; GitHub reports the pinned head mergeable, with merge state blocked. (3ea0092257a4)
  • Feature history and local history limit: History identifies prior wrapper, tarball-validation, authority, and recovery contributors; following the wrapper to its creation boundary eventually encounters an unavailable historical object. (scripts/openclaw-npm-publish.sh, 9f3da25c107e)

Likely related people:

  • Dallin Romney: Raw commit 348bd81 adds .agents/skills/release-openclaw-maintainer/references/publication-recovery.md:64 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 348bd81b553b; files: .agents/skills/release-openclaw-maintainer/references/publication-recovery.md)
  • Peter Steinberger: Raw commit 74b764e adds .agents/skills/release-openclaw-maintainer/references/publication-recovery.md:39 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 74b764e81d4b; files: .agents/skills/release-openclaw-maintainer/references/publication-recovery.md)
  • Kevin Lin: Raw commit ba7b5db adds scripts/openclaw-npm-publish.sh:53 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: ba7b5db74c91; files: scripts/openclaw-npm-publish.sh)

PR surface

Tests +118, Docs +11, Other +44. Total +173 across 4 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 121 3 +118
Docs 1 11 0 +11
Config 0 0 0 0
Generated 0 0 0 0
Other 1 50 6 +44
Total 4 182 9 +173

Labels

Label changes:

No label changes.

Label justifications:

  • P2: Package-specific recovery guidance addresses a documented release-operator failure with limited runtime blast radius.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp 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.

History

Review history (4 earlier review cycles)
  • reviewed 2026-10-22T02:46:17.201Z sha f61146d :: needs changes before merge. :: [P2] Observe the package actually passed to npm publish | [P2] Wrap JSON.parse in a single-argument map callback
  • reviewed 2026-10-29T22:13:23.153Z sha 038ed67 :: needs changes before merge. :: [P3] Avoid the unguarded here-string in the portable publisher
  • reviewed 2026-10-29T22:20:27.563Z sha 07bec8e :: needs maintainer review before merge. :: none
  • reviewed 2026-10-30T23:47:26.413Z sha 475add7 :: needs maintainer review before merge. :: none

Reviewed October 31, 2026, 5:00 AM ET / 09:00 UTC (Revision 5).

@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@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. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 29, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@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. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 29, 2026
@clawsweeper clawsweeper Bot removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 29, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@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. labels Oct 30, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 31, 2026
@RomneyDa
RomneyDa merged commit f708b8b into main Oct 31, 2026
110 checks passed
@RomneyDa
RomneyDa deleted the tideclaw/rri-53-staged-npm-recovery branch October 31, 2026 09:11
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 1, 2026
* 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]>
tideclaw-bot pushed a commit that referenced this pull request Nov 3, 2026
* 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)
RomneyDa added a commit that referenced this pull request Nov 3, 2026
* fix(release): warn before rollback drill expiry (#180164)

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

* fix(release): require macOS release source branch (#180169)

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

* fix(release): verify published plugin inventory (#180203)

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

* fix(release): revalidate exact npm versions (#180201)

* 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 (#180191)

* 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 (#180211)

* 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): warn on undocumented SDK removals (#180180)

* 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)

* fix(release): retry compatibility tarball downloads (#189712)

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

* docs(release): tighten deterministic failure triage (#189720)

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

* fix(release): enable OIDC recovery preflight (#187991)

* 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 (#180183)

* 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)

* feat(release): add FRV job log reader (#189718)

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

* feat(release): add publication watcher (#187994)

* 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)

* fix(release): unify plugin OIDC recovery preflight (#189748)

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 (#189715)

* 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)

* fix(release): adapt postpublish verifier imports

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]>

* fix(release): retain publication retry diagnostics (#189130)

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]>

* fix(release): keep diagnostic FRV blocks pending

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

* fix(release): verify notes against pushed branch

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

* fix(release): explain shallow release-note history

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

* test(git): isolate nested repository fixtures

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

* ci: add base scheduled upgrade survivor

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

* ci: support empty admission args on Bash 3.2

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

* test(qa): retain mock provider request artifacts

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

* fix(qa): guard mock artifact fetch

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)

* ci(ios): explain screenshot Xcode mismatch

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

* docs(release): identify FRV parent publish input

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

* fix(cli): report observed gateway start failure

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

* test(release): pin Kitchen Sink fixture versions

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)

* test(release): preserve retrospective backport coverage

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

* test(ci): align retrospective guard backport coverage

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

* test(release): adapt retrospective fixtures to stable

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

* fix: keep immediate channel turns admitted after webhook return (#179200)

Reserve a Gateway continuation through debounce dispatch completion so adoption cannot leave the later agent enqueue under a released HTTP request root. Preserve restart and suspension admission checks. Fixes #178554.

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

* fix(release): complete stable retrospective backport fixtures

* fix: Telegram messages receive false restart refusals (#179385)

* fix: keep adopted channel turns admitted through completion

Retain the existing Gateway root through the core channel turn. Telegram releases durable ingress at adoption while dispatch continues, so the debounce root must remain live until provider execution and cleanup settle. Preserve suspension and restart admission checks.

* fix: keep Telegram replies owned through dispatch cleanup

Own the full spooled dispatch with the existing detached-work helper while ingress still returns at durable adoption. Include post-core draft cleanup and fallback delivery, and settle refused detached admission retryably. Replace the incomplete core-only retention and prove suspension and restart behavior at the Telegram processor.

* test: keep Telegram ownership proof on public SDK surfaces

Exercise complete detached dispatch and refused settlement through the public SDK in Telegram tests. Keep root ownership, suspension, restart, and inherited-owner negative controls in the core-side helper suite. Remove direct core imports and the repo-only temp-dir bridge.

(cherry picked from commit 7d73272)

* fix(discord): keep queued messages admitted through processing (#179704)

Retain dispatch completion ownership without blocking adoption-based steering,
and settle skipped queue jobs before draining. Adapt the existing main fix to
the release branch's extracted message run queue.

(cherry picked from commit 4f1d233)

* fix(release): revalidate plugin recovery before npm token exchange

(cherry picked from commit 5e6d9a2)

* test(discord): mark queued cancellation dispatch intentional

* fix(telegram): queued replies fail after a previous turn ends (#189457)

Restore the submitting async context before final queue admission and transport dispatch. Preserve live authority checks and cover real grammY/Bottleneck queues for direct and group chats, including caller revocation.

Adapt the regression into a separate release test file to retain the existing account-throttler suite within its lint size budget.

(cherry picked from commit f78c529)

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: RoboClaw <[email protected]>
Co-authored-by: tideclaw-bot <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Josh Lehman <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>
tideclaw-bot added a commit that referenced this pull request Nov 5, 2026
…11.5 (#191633)

* fix(release): warn before rollback drill expiry (#180164)

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

* fix(release): require macOS release source branch (#180169)

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

* fix(release): verify published plugin inventory (#180203)

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

* fix(release): revalidate exact npm versions (#180201)

* 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 (#180191)

* 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 (#180211)

* 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): warn on undocumented SDK removals (#180180)

* 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)

* fix(release): retry compatibility tarball downloads (#189712)

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

* docs(release): tighten deterministic failure triage (#189720)

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

* fix(release): enable OIDC recovery preflight (#187991)

* 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 (#180183)

* 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)

* feat(release): add FRV job log reader (#189718)

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

* feat(release): add publication watcher (#187994)

* 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)

* fix(release): unify plugin OIDC recovery preflight (#189748)

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 (#189715)

* 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)

* fix(release): adapt postpublish verifier imports

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]>

* fix(release): retain publication retry diagnostics (#189130)

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]>

* fix(release): keep diagnostic FRV blocks pending

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

* fix(release): verify notes against pushed branch

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

* fix(release): explain shallow release-note history

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

* test(git): isolate nested repository fixtures

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

* ci: add base scheduled upgrade survivor

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

* ci: support empty admission args on Bash 3.2

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

* test(qa): retain mock provider request artifacts

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

* fix(qa): guard mock artifact fetch

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)

* ci(ios): explain screenshot Xcode mismatch

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

* docs(release): identify FRV parent publish input

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

* fix(cli): report observed gateway start failure

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

* test(release): pin Kitchen Sink fixture versions

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)

* test(release): preserve retrospective backport coverage

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

* test(ci): align retrospective guard backport coverage

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

* test(release): adapt retrospective fixtures to stable

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

* test(release): adapt retrospective fixtures to beta

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

* fix(release): repair retrospective backport gates

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]>

* fix(release): revalidate recovery before credential exchange

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]>

* test(release): align iOS screenshot fixtures with retained owners

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]>

* test(android): initialize native strings in reader fixtures (#192273)

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

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

* test(xai): prepare compiled workers before payload tests

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]>

* fix(memory): retain dirty status for deferred session deltas

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]>

* test(matrix): expose bounded restart timeout diagnostics

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]>

* fix(qa): preserve Matrix timeout diagnostics through factories

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]>

---------

Co-authored-by: Dallin Romney <[email protected]>
Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: RoboClaw <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
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]>
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: 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