Skip to content

fix(release): preserve terminal registry readback failures - #167528

Merged
RomneyDa merged 3 commits into
mainfrom
fix/release-postmortem-p01-20261008
Oct 10, 2026
Merged

RomneyDa merged 3 commits into
mainfrom
fix/release-postmortem-p01-20261008

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Closes #167501

What Problem This Solves

Release readback could hide malformed registry content or permanent transport failures behind retries and eventual success. The immutable ClawHub verifier also retried byte, metadata and publisher-identity conflicts, so the earlier P01 patch only partially fixed the linked issue.

Why This Change Was Made

This completes P01 — retry transient publication readbacks only. It does not implement P02 public finalization or P03 attempt-state routing.

The existing npm and release ClawHub read owners retain bounded transient recovery. The shared immutable-artifact verifier now retries only explicit transient HTTP statuses, native timeout/socket causes and temporary 404 visibility. Completed invalid JSON/UTF-8, missing content, permanent HTTP/TLS failures and identity conflicts stop immediately; a later healthy response cannot hide them. Retry-After is a lower bound, not a delay to shorten to fit the budget.

Both direct postpublish verification and bootstrap/configure-only adoption use the repaired owner. Its duplicate streaming reader and error-wrapping retry paths are removed in favor of the existing bounded response reader, keeping the attempt deadline active through body reads. The already-retained plain-Node dependency closure includes that reader. No new framework, dependency, configuration, schema, publication or finalization path.

Full PR production/tooling delta: −20 lines; tests/test support: +205. This final correction removes 23 production lines. Remaining earlier growth owns typed runtime timeout production, source-only publication startup and explicit transient classification.

User Impact

Operators can recover an unfinished readback without publishing again. Conflicting immutable evidence is a terminal verification failure, not eventual publication success. Current publisher configuration and downloaded bytes still do not attest historical publication authentication.

Evidence

  • Original plan P01 explicitly requires authentication, integrity, provenance and invalid-content failures to remain terminal. P02/P03 remain separate mutation/state-owner work.
  • Initial necessity check on main 156412fec38b00d109da7998df1c1957e9f4b8dc and stable v2026.9.9 retain the defective immutable retry owner. The root cause remains present, not superseded.
  • Before editing production: 11 regressions failed. Malformed content, publisher/artifact conflicts, missing bodies, permanent TLS and unknown failures could all become success after a later valid response; an excessive server delay was shortened.
  • Replaced the obsolete invalid-content/byte-convergence test with terminal-versus-transient boundary cases; removed the implementation-string reader test and the superseded single-attempt publisher test. Existing limits, publisher binding, configure-only preflight, attempt binding and stalled-body timeout coverage remain.
  • Six real native HTTP fault scenarios: socket reset, interrupted artifact body, stalled-body attempt timeout and rate-limit recovery pass; completed malformed JSON and excessive Retry-After stop after one GET. All requests are GET; zero publication/finalization calls.
  • Fresh public exact-byte flow: @openclaw/[email protected], 141,289 bytes, SHA-256 3910ee8a891c649b42bfaeb02d3254760a142d95124ec9f16d7101b905f267b9; metadata, download headers and current publisher binding verified. The final replay used nine GETs including transient recovery; mutations zero. Earlier probes hit native fetch timeouts; the successful final readback used IPv4-first DNS and the existing attempt-timeout option, with no product default changed.
  • Dependency proof: directly inspected Node 24.16.0 embedded Undici. Native fetch/terminated errors preserve socket or permanent TLS causes; abort rejects the actual reason. The canonical bounded reader checks declared size before absent content, enforces streaming limits, and cancels stalled reads on the attempt signal.
  • Earlier P01 corrections remain: native runtime GET timeout recovers while POST is single-attempt; retained publication tooling starts before workspace dist exists. Prior head CI passed all 41 jobs, including publication admission. The prior clean review and CI are historical evidence, not current-head approval.

Final candidate validation

  • node scripts/run-vitest.mjs test/scripts/verify-clawhub-published-artifact.test.ts test/scripts/clawhub-postpublish.test.ts: 98 passed, final settled source.
  • Broader sibling replay: npm 54, release verifier 71, postpublish 70 and import-closure 17 passed. The first immutable-reader consolidation exposed one size-before-empty-body ordering regression; the owner was corrected, and the final suite above includes that repaired case.
  • node scripts/check-changed.mjs --base a79c01f83d4b321e6e3ac531068e1ee69fc3559b -- scripts/verify-clawhub-published-artifact.mjs test/scripts/verify-clawhub-published-artifact.test.ts: all guards, formatting, graph boundary, four root-test type shards and all three Knip scans passed. Script lint required preserving the JSON parse cause; corrected script/test lint and the two remaining Docker/HTTP2 guards passed. Final diagnostic wrapping/test cleanup was followed by both targeted lint commands and pnpm tsgo:test:root; all passed.
  • pnpm build: passed, 5m26.5s. Runtime/declarations, local plugins, CLI-bootstrap imports, SDK exports and postbuild stamps completed. It predates only final endpoint/cause diagnostic wrapping and duplicate-test removal; native import closure and build surfaces are unchanged, and the final source is covered by the native/compiled/type/lint replay. Inherited advisory startup-JS size warning remains (365.2 KiB vs 364.7 KiB); this PR changes no UI/build budget. Named existing follow-up: startup bundle budget.
  • Loader finding checked against actual owners: scripts/lib/release-publish-children.sh:42 and :1308 launch the TypeScript verifier with node --import tsx; scripts/full-release-publication-admission.mts:280 uses scripts/tsx.mjs. A new disposable replay copied only the canonical retained source inventory: no workspace dist and no generated retry .js files. Native Node plus the actual TSX loader imported the release dependency closure successfully, resolving retry and normalization imports to the retained .ts files. Mutations zero. The new immutable .mjs path remains plain-Node.
  • Existing healthy publication-admission boundary replay: 1 passed, 108 skipped; copied-module preparation is part of that fixture, so the separate raw-source replay above establishes the uncompiled loader contract. The actual release-verifier launcher also reached argument validation rather than failing module loading (deliberately invalid flags, expected exit 1).
  • Fresh immutable-correction autoreview --mode uncommitted --base 4207f05bc69511d980f45f2649ad819c77783888 --max-priority P2: scoped-clean through P2. The prior loader finding was rejected using the actual TSX launchers and independent raw-source replay, not a production import workaround. ClawSweeper subsequently reviewed 1ed08173c26da25ee0510b3d78d75b7e12ab9944: complete fix, Platinum Hermit, no findings. Hosted CI then exposed the copied-source fixture gap described below.

No merge, release, publication, finalization or release-workflow dispatch performed.

Hosted integration repair

The first correction-head CI run 38003201515 failed in publication admission: newly landed F01 made full-release-validation-policy.mjs import scripts/pr-lib/gh-api-preflight.mjs, but the copied workflow fixture omitted that dependency. Integrated captured main db776fa6a76291770c53957517da7bc58ece4b26; reproduced the healthy-flow failure locally before adding the dependency to the canonical test inventory. Its direct-run.mjs dependency was already present; no runtime parser or extra production inventory was added.

  • Final Bash 5 / Node 24 replay: 203 passed, 2 skipped, across all 109 publication-admission cases, immutable verification and postpublish. Current-main test cleanup removed two redundant immutable happy-path cases; the production immutable owner is byte-identical to the native/public proof candidate above. The first wider replay using macOS Bash 3 exposed its unsupported empty-array behavior and was stopped; the final replay uses installed Bash 5, matching Linux CI. Named follow-up: workflow fixture shell-toolchain selection on macOS.
  • Refreshed the worktree install from the unchanged frozen lockfile: committed main requires fs-safe 0.25.0, while the old install retained 0.24.2. This resolved the inherited missing-export type error. Pre-typecheck changed gates passed; core production, all core-test shards, scripts and all root-test shards passed after the refresh. All remaining classified dead-code/lint/guard commands passed after the cleanup below; this is a resumed native plan, not a claim that the earlier stopped wrapper exited successfully.
  • Fresh staged fixture autoreview: scoped-clean through P2. The prior INDEX-only omission was resolved by staging the already-corrected inventory; no further source workaround.
  • The inherited deprecated-config guard violation on captured main was already repaired by canonical main commit 959197ba0923f883b7150ce97ef5e07295e1f3ee. Integrated that landed owner fix; core types and the guard pass. P01 adds no Gateway repair, suppression or allowlist.
  • Refreshed published head: 98c7d5a266216852a4e16bc7a3c56f96b68a552d, based on 959197ba0923f883b7150ce97ef5e07295e1f3ee. All P01 production owners are byte-identical to the reviewed/native-proof 1ed08173c26 candidate. The only subsequent readback correction is the one-line copied fixture dependency. The cleanup below removes dead exports without changing behavior.
  • After the frozen install, an additional readback/runtime replay passed 96 tooling cases and 43 runtime/retry cases.

Classified gate cleanup and current head

  • Required Knip found two inherited dead exports on current main: the unused Telegram read-only helper after its predicate had been inlined into the canonical control-lane owner, and a model-selection forwarding export whose production callers already use the canonical context resolver. Removed those unused paths; redirected the existing test import to the unchanged resolver. Cleanup production delta −11, tests +1. No routing, runtime or protocol behavior changed.
  • Existing Telegram sequential-key/sequentialize boundary coverage: 17 passed. Existing model-state/context coverage: 42 passed. Fresh staged cleanup autoreview: scoped-clean through P2. Three Knip scans passed with zero entries; core/script/test lint and all remaining classified guards passed.
  • Direct Codex contract inspection for the context-export cleanup: sibling Codex commit bf2aee99c58362d3f588d98432dcbc7adc371c73, codex-rs/protocol/src/openai_models.rs:432–447 and :484–496. No model context resolution or Codex protocol/runtime change.
  • Hosted run 38005498718 failed in the unchanged authenticated-widget-sandbox UI test: the board control never received pointer events after an iframe resize. Inspected its screenshots, final video frames and event diagnostics; the control is visible and unobstructed. The same helper/test are unchanged on current main, and no existing fix was found. Focused real Chromium replay on this checkout passed. The exact failed condition is not proven, so no speculative timeout, assertion weakening or pointer bypass was added. Named follow-up: capture pointer-receipt versus ancestor-layout diagnostics if this inherited UI failure recurs.
  • Current cleanup head: 6f9fd018d23a6bea50609c75c4e8fa9765160a8a; exact-head hosted CI run 38006774597 finished failed. Both hosted UI E2E shards passed, but four OAuth reply-entry cases failed with Agent database execution generation was replaced. The same four-case failure is independently recorded on interrupted-completion recovery #167814. This is not a waiver or a passing gate: local baseline reproduction and native-generation retirement tracing are underway; stale-reader authority checks remain intact. The readback production owner remains byte-identical to the ClawSweeper-reviewed and native/public-proof candidate. No merge performed.

Restart recovery and remaining CI hold

Recovered the interrupted unmodified local replay: node scripts/run-vitest.mjs src/agents/model-fallback.reply-entry.e2e.test.ts completed 9 passed, with no lifecycle edits. Its runner ended [test] passed 1 Vitest shard in 2898.73s; cold runtime/compiler preparation dominated the wall time. This does not supersede the failed hosted gate.

Latest exact-head ClawSweeper review covers 6f9fd018d23a6bea50609c75c4e8fa9765160a8a: Platinum Hermit, no code findings; its remaining pre-merge step is failure attribution. Live GitHub reports this non-draft PR has no conflicts, but its required CI gate remains failed.

The prior reference to #167814 establishes only a shared failure signature. That PR now withdraws its inherited-main attribution because earlier main snapshots passed. Stronger independent evidence is CI run 38010590560, job 114089680253 for merged #168048: directly inspected logs show the same four OAuth cases failing, five passing, at src/state/openclaw-agent-execution-scope.ts:239 through src/auto-reply/reply/agent-runner-core.ts:306. #168048 records a clean-main 89c0368fe52 reproduction (4 failed/5 passed); its standalone baseline log was not available for independent inspection, so that claim remains attributed evidence, not our own baseline run.

Direct source comparison against 89c0368fe52 finds no differences in this E2E, generation owner/assertion, reply admission wrapper, runner core or result-payload owner. No safe lifecycle root-cause repair is established. #168048 used an explicitly authorized inherited-failure exception; that is not a repair or an exception for P01. Current-main security-fast success does not cover this test.

Holding as requested for an outside-P01/shared CI failure. Not merge-ready; no CI waiver, generation-fence weakening, merge, publication, finalization or release dispatch. Required next proof: clean-main replay with retained raw evidence and a proven lifecycle repair or a separately authorized exception. P02/P03 remain separate; no next batch started.

@clawsweeper

clawsweeper Bot commented Oct 8, 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.

@RomneyDa
RomneyDa marked this pull request as ready for review October 8, 2026 23:44
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: L labels Oct 8, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. 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. labels Oct 8, 2026
@clawsweeper

clawsweeper Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR makes invalid registry content and conflicting publication evidence terminal while preserving bounded recovery from transient read failures.

Example: The npm registry returns HTTP 200 with body { for @openclaw/demo.

  • Before: Readback retries three times and reports temporary registry unavailability, which can permit publication verification to be deferred.
  • After: Readback rejects the malformed JSON after one request as a terminal error.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful owner-level repair with applicable real-transport proof and meaningful regression coverage; one required test-policy correction remains, and pending CI is not passing evidence.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The author records the changed read owners using native HTTP fault injection and public exact-byte ClawHub readback, including transient recovery and terminal rejection with zero mutations; GitHub blob comparisons confirm those production owners are unchanged in the reviewed head.
Patch quality 🐚 platinum hermit (4/6) 1 actionable review finding remain.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Release operators can receive eventual success or deferred verification after registry content or immutable evidence has already proved invalid.
Reason: The maintainer-authored repair restores the established terminal-error contract without adding configuration, schemas, or publication capabilities.

Merge readiness

⛔ Needs changes before merge - 1 item remains

Keep open: this maintainer-authored PR repairs a release-readback defect still present on main. The production changes are sound; one test-policy correction remains, and current-head CI is pending.

Priority: P2
Reviewed head: 424553b1cdaa860c02b830e9a2324d5ca818254a

Before merge

  • Advance timeout and retry timers without real waits (P3) - The new GET regression uses the client's real 5 ms timeout and then waits through the default 1000 ms retry timer because no deterministic clock is installed. Every execution therefore spends real time waiting despite root AGENTS.md and the writing-tests guide explicitly prohibiting new real timers and sleeps. Preserve the GET-retries/POST-single-attempt assertions using isolated fake timers and advance both timers explicitly. This concern was already visible in the earlier reviewed head and was missed in that review; GitHub verifies the whole test-file blob is unchanged.

Findings

  • [P3] Advance timeout and retry timers without real waits — src/infra/clawhub-client.test.ts:419-424
Agent review details

How this fits together

Release verification reads npm and ClawHub metadata and package bytes, checks their expected identities, and returns verified evidence or an error to publication orchestration.

flowchart TD
  A[Release orchestration] --> B[Registry read owners]
  B --> C[npm and ClawHub]
  C --> D[Bounded response reader]
  D --> E[Content and identity verification]
  E --> F[Verified evidence or terminal error]
  B --> G[Bounded transient retry]
Loading

Technical review

Best possible solution:

Retain the focused read-owner repair and make its timeout regression deterministic before landing through the enforced gates.

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

Current-main source explicitly retries completed malformed JSON and immutable identity conflicts, and existing tests encode those outcomes; the author also records failing-before regressions, while this review executed no target code.

Is this the best way to solve the issue?

The production repair fits the existing owners, preserves read-only transient recovery and exact-byte verification, and avoids a second publication or finalization path.

Full review comments:

  • [P3] Advance timeout and retry timers without real waits — src/infra/clawhub-client.test.ts:419-424
    The new GET regression uses the client's real 5 ms timeout and then waits through the default 1000 ms retry timer because no deterministic clock is installed. Every execution therefore spends real time waiting despite root AGENTS.md and the writing-tests guide explicitly prohibiting new real timers and sleeps. Preserve the GET-retries/POST-single-attempt assertions using isolated fake timers and advance both timers explicitly. This concern was already visible in the earlier reviewed head and was missed in that review; GitHub verifies the whole test-file blob is unchanged.
    Confidence: 0.99
    Late finding: first raised on code an earlier review cycle already covered.

Overall correctness: patch is correct
Overall confidence: 0.93

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • npm visibility deferral and malformed-content classification keeps the original intent (ee98dce: Accepted publication may be temporarily unreadable, but the parent must verify exact bytes and identity before success.)
  • immutable ClawHub artifact verification changes intended behavior with a stated reason (54cc90b: Verify registry bytes, metadata, tags, and trusted-publisher configuration against the reviewed immutable package artifact.)
  • shared ClawHub read retries keeps the original intent (2c98b21: Recover transient package reads with bounded retries while preserving final diagnostics and avoiding replay of writes.)
  • shared retry scheduling and final-response ownership keeps the original intent (1c42998: Consolidate scheduling while retaining response disposal, terminal error identity, bounded delays, and caller ownership of final HTTP responses.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test src/infra/clawhub-client.test.ts src/infra/clawhub-retry.test.ts --maxWorkers=1
  • node scripts/check-changed.mjs -- src/infra/clawhub-client.test.ts
  • git diff --check

What I checked:

  • Pinned production change: The introduced diff separates malformed npm JSON from retryable transport errors, reuses the shared ClawHub retry owner, and removes the immutable verifier's duplicate streaming reader. (scripts/lib/npm-publish-plan.mjs:260, 424553b1cdaa)
  • Current-main defect and downstream consequence: Main still wraps malformed npm JSON as RetryableNpmRegistryError; the prepared publisher can defer NpmRegistryUnavailableError after an accepted publication. The head instead preserves malformed content as a terminal error. (scripts/plugin-npm-prepared-release.mjs:675, 7008414e344e)
  • Supplied real-transport proof: The complete body and author discussion record native HTTP socket, interrupted-body, stalled-body, and rate-limit recovery, plus terminal malformed JSON and excessive Retry-After rejection. Public readback verified @openclaw/[email protected], 141289 bytes, SHA-256 3910ee8a891c649b42bfaeb02d3254760a142d95124ec9f16d7101b905f267b9, with zero publication or finalization calls. (1ed08173c26d)
  • Proof remains applicable: GitHub contents blob IDs for the native-proof candidate match the checkout for all five changed production read owners: npm publish plan, release beta verifier, immutable artifact verifier, ClawHub retry, and ClawHub client. (scripts/verify-clawhub-published-artifact.mjs:107, 424553b1cdaa)
  • Original publication contract: Merged fix(release): defer plugin npm visibility to parent verification #152438 deliberately permits temporary visibility deferral after accepted publication while requiring conflicting bytes, identity, and unsafe selectors to remain failures. (scripts/lib/npm-publish-plan.mjs, ee98dce3bcc9)
  • Source-only loader contract: Actual release launchers use TSX, and the changed retained-source inventory includes tsconfig.json and the new classification dependencies; the immutable verifier remains a plain-Node module. (scripts/lib/release-publish-children.sh:42, 424553b1cdaa)

PR surface

Source +15, Tests +203, Other -24. Total +194 across 13 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 2 17 2 +15
Tests 7 443 240 +203
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 4 133 157 -24
Total 13 593 399 +194

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #167501
Summary: This PR addresses the linked issue's terminal-versus-transient registry-readback classification defect.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: The repair prevents misleading release verification outcomes without evidence of an urgent end-user outage.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • proof: sufficient: Contributor real behavior proof is sufficient.

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 need explicit maintainer commands such as @clawsweeper autofix or @clawsweeper automerge.

History

Review history (6 earlier review cycles)
  • reviewed 2026-10-08T23:51:59.184Z sha b57918a :: needs changes before merge. :: [P2] Preserve retries for runtime ClawHub request timeouts
  • reviewed 2026-10-09T00:00:14.606Z sha b57918a :: needs changes before merge. :: [P2] Preserve retries for runtime ClawHub request timeouts
  • reviewed 2026-10-09T00:53:52.284Z sha a79c01f :: needs maintainer review before merge. :: none
  • reviewed 2026-10-09T23:17:38.550Z sha 1ed08173c26da25ee0510b3d78d75b7e12ab9944 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-09T23:46:21.388Z sha 98c7d5a :: needs maintainer review before merge. :: none
  • reviewed 2026-10-10T00:11:58.074Z sha 6f9fd01 :: needs changes before merge. :: none

Reviewed October 9, 2026, 10:30 PM ET / October 10, 2026, 02:30 UTC (Revision 7).

@RomneyDa

RomneyDa commented Oct 9, 2026 •

Copy link
Copy Markdown
Member Author

P01 now includes the remaining immutable-artifact owner repair, at cleanup head 6f9fd018d23a6bea50609c75c4e8fa9765160a8a.

Completed invalid content, permanent transport errors and identity conflicts are terminal. Typed transient HTTP/socket/timeout failures still recover without publication; Retry-After is never shortened. Reused the canonical bounded response reader, removing duplicate streaming/retry paths. Correction production delta −23; entire PR production/tooling −20, tests/support +205.

Before production edits: 11 regression failures. Final node scripts/run-vitest.mjs test/scripts/verify-clawhub-published-artifact.test.ts test/scripts/clawhub-postpublish.test.ts: 98 passed. Relevant sibling suites, changed-check guards/format/type/Knip and final script/test lint passed. pnpm build passed; it predates only final diagnostic wrapping and duplicate-test removal, subsequently covered by final tests/types/lint/native execution. Inherited startup-JS budget advisory remains; no budget changed.

Six native HTTP fault scenarios passed, including a real stalled body timeout. Public exact-byte readback of @openclaw/[email protected] verified 141,289 bytes and SHA-256 3910ee8a891c649b42bfaeb02d3254760a142d95124ec9f16d7101b905f267b9, metadata, headers and current publisher binding; nine GETs, zero mutations. Historical publication authentication remains not verified.

Fresh immutable-correction autoreview: scoped-clean through P2. The earlier loader finding was disproven against actual TSX launchers and a disposable raw retained-source replay with no dist/generated retry JavaScript. No import workaround added.

ClawSweeper reviewed the production repair at 1ed08173c26: complete fix, Platinum Hermit, no findings. Subsequent changes repair the copied fixture dependency and remove two inherited dead exports; fresh staged autoreviews are clean. The readback owner is unchanged.

Initial hosted run 38003201515 failed because the newly landed F01 parser import was missing from the copied publication workflow fixture. Reproduced before fixing its canonical inventory. Final Bash 5 replay: 203 passed, 2 skipped. Post-install replay: 96 tooling plus 43 runtime/retry cases passed. Updated existing dependencies from the unchanged frozen lockfile; core, all core-test shards, scripts and root-test types pass. Captured main already had an unrelated deprecated-config guard failure; incorporated its landed canonical fix 959197ba0923f883b7150ce97ef5e07295e1f3ee, and the guard now passes. No duplicated Gateway repair. All remaining classified local commands passed, including three zero-entry Knip scans and core/script/test lint/guards. Cleanup proof: 17 existing Telegram boundary cases and 42 context/model-state cases passed; no behavior change. Hosted run 38005498718 failed in an unchanged widget pointer-routing helper; inspected its CI visuals/diagnostics and focused real Chromium replay passed. No speculative UI workaround added; pointer-versus-layout diagnostics are a named follow-up if it recurs. Exact-head CI 38006774597 on 6f9fd018d23a6bea50609c75c4e8fa9765160a8a finished failed. Both hosted UI E2E shards passed. Four OAuth reply-entry cases failed with database-generation replacement. Attribution and recovered local replay are detailed below; the stale-reader fence remains intact. P02 finalization and P03 authoritative attempt routing remain separate. No merge, publication, finalization or release-workflow dispatch.

Restart recovery and remaining CI hold

Recovered the interrupted unmodified local replay: node scripts/run-vitest.mjs src/agents/model-fallback.reply-entry.e2e.test.ts completed 9 passed, with no lifecycle edits. Its runner ended [test] passed 1 Vitest shard in 2898.73s; cold runtime/compiler preparation dominated the wall time. This does not supersede the failed hosted gate.

Latest exact-head ClawSweeper review covers 6f9fd018d23a6bea50609c75c4e8fa9765160a8a: Platinum Hermit, no code findings; its remaining pre-merge step is failure attribution. Live GitHub reports this non-draft PR has no conflicts, but its required CI gate remains failed.

The prior reference to #167814 establishes only a shared failure signature. That PR now withdraws its inherited-main attribution because earlier main snapshots passed. Stronger independent evidence is CI run 38010590560, job 114089680253 for merged #168048: directly inspected logs show the same four OAuth cases failing, five passing, at src/state/openclaw-agent-execution-scope.ts:239 through src/auto-reply/reply/agent-runner-core.ts:306. #168048 records a clean-main 89c0368fe52 reproduction (4 failed/5 passed); its standalone baseline log was not available for independent inspection, so that claim remains attributed evidence, not our own baseline run.

Direct source comparison against 89c0368fe52 finds no differences in this E2E, generation owner/assertion, reply admission wrapper, runner core or result-payload owner. No safe lifecycle root-cause repair is established. #168048 used an explicitly authorized inherited-failure exception; that is not a repair or an exception for P01. Current-main security-fast success does not cover this test.

Holding as requested for an outside-P01/shared CI failure. Not merge-ready; no CI waiver, generation-fence weakening, merge, publication, finalization or release dispatch. Required next proof: clean-main replay with retained raw evidence and a proven lifecycle repair or a separately authorized exception. P02/P03 remain separate; no next batch started.

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 9, 2026
@RomneyDa

RomneyDa commented Oct 9, 2026

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

P01 now repairs the remaining immutable-artifact classification at 1ed08173c26da25ee0510b3d78d75b7e12ab9944. Please refresh the full-candidate review for this expanded behavior. Updated body and existing proof comment include terminal/transient baseline, 98 final boundary cases, six native HTTP fault scenarios, public exact-byte readback and clean fresh autoreview. Review only; no repair/automerge request.

@clawsweeper

clawsweeper Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Oct 9, 2026
@RomneyDa
RomneyDa force-pushed the fix/release-postmortem-p01-20261008 branch from 1ed0817 to 98c7d5a Compare October 9, 2026 23:39
@openclaw-barnacle openclaw-barnacle Bot added channel: telegram Channel integration: telegram size: XL and removed size: L labels Oct 9, 2026
@clawsweeper clawsweeper Bot added status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 10, 2026
@RomneyDa
RomneyDa force-pushed the fix/release-postmortem-p01-20261008 branch from 6f9fd01 to 424553b Compare October 10, 2026 02:22
@openclaw-barnacle openclaw-barnacle Bot removed the channel: telegram Channel integration: telegram label Oct 10, 2026
@RomneyDa
RomneyDa merged commit d8bb6e4 into main Oct 10, 2026
126 checks passed
@RomneyDa
RomneyDa deleted the fix/release-postmortem-p01-20261008 branch October 10, 2026 02:36
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 10, 2026
…167528)

* fix(release): preserve terminal readback failures

* fix(clawhub): preserve timeout retries and source-only readback

* fix(release): stop immutable readback on terminal evidence
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. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: L 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.

[Bug]: release readback treats invalid content as transient unavailability

1 participant