Skip to content

fix(release): backport known tooling and CI repairs to 2026.10.6 - #178170

Merged
RomneyDa merged 40 commits into
release/2026.10.6from
tideclaw/ledger-fixes-release-2026.10.6
Oct 20, 2026
Merged

RomneyDa merged 40 commits into
release/2026.10.6from
tideclaw/ledger-fixes-release-2026.10.6

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes: the 2026.10.6 release branch is missing applicable release-tooling and CI-flake repairs recorded in the release retrospective ledger.

User Impact

User impact: release operators get the known recovery, publication, landing, Android, Codex, Telegram, and test-stability fixes that still apply to this branch; there is no intentional product behavior change outside those repairs.

Why This Change Was Made

This is one aggregate backport for 37 ledger-linked repairs, cherry-picked with provenance and adapted where the release branch predates current-main APIs.

Included repair PRs: #168153, #168179, #168152, #168267, #168266, #168675, #169495, #169496, #169500, #169497, #168271, #169739, #169647, #169595, #170490, #170704, #170964, #171507, #172515, #170274, #172661, #170297, #172689, #172745, #172954, #172974, #173105, #173068, #173205, #172668, #172705, #173615, #173656, #173465, #174556, #174614, and #174924.

Audit exclusions include repairs already present through earlier branch-specific ports, extended-stable-only work, Solid-UI-only fixes, and older implementations superseded by newer branch logic (notably #168681 and #174812).

Evidence

  • git diff --check passes; all 40 branch commits carry the required co-author trailer (37 repair commits plus 3 branch-adaptation commits).
  • Linux publication regression suite: 59 tests passed.
  • Worker deployment/archive regression suite: 18 tests passed.
  • Codex recovery suite: 52 unaffected tests passed; the adapted unloaded-thread recovery regression passes in isolation.
  • Locked dependency install passes.
  • Full workflow validation remains delegated to PR CI: local check:workflows lacks python3.14-venv, and the host lacks rg for the aggregate pnpm check preflight.
  • Independent autoreview was attempted with both canonical Codex and OpenClaw engines; the Codex executable is unavailable and the OpenClaw engine hit a sandbox-skill cleanup permission error. This PR remains draft pending CI/review.

RomneyDa and others added 30 commits October 20, 2026 06:22
…168153)

* fix(release): verify ClawHub only after public finalization

* fix: align ClawHub recovery with authoritative publication state

(cherry picked from commit 7985ac2)
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 51c0f56)
Co-authored-by: RomneyDa <[email protected]>
…168267)

* feat(release): reconcile exact owned FRV cancellation trees

* fix(release): parse cancellation provenance with fixed patterns

* fix(release): normalize rerun copies before cancellation discovery

(cherry picked from commit 02a2bd2)
Co-authored-by: RomneyDa <[email protected]>
…68266)

* fix: recover failed release receipts without rerunning workloads

* test(release): materialize publication harness preload closure

(cherry picked from commit 4485101)
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 1fbfd4a)
Co-authored-by: RomneyDa <[email protected]>
…backports (#169495)

(cherry picked from commit 696fb2f)
Co-authored-by: RomneyDa <[email protected]>
…usted main (#169496)

(cherry picked from commit 513d0e7)
Co-authored-by: RomneyDa <[email protected]>
… before admission dispatch (#169500)

(cherry picked from commit 992410c)
Co-authored-by: RomneyDa <[email protected]>
…fication (#169497)

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

* fix(release): report candidate supersession and resume watchers

* fix(release): keep invalid candidate metadata advisory to watchers

(cherry picked from commit cdb57ac)
Co-authored-by: RomneyDa <[email protected]>
* ci: finish PR jobs and classify failures against main

* ci: distinguish signature and job-name failure attribution

* test(ci): avoid object spread in failure fixtures

* ci: classify differing validation scopes as unknown

(cherry picked from commit 7c4ff5a)
Co-authored-by: RomneyDa <[email protected]>
…ained (#169595)

* fix(pr): release drained failed-operation locks instead of requiring manual recovery

* test(pr): drop unused lock owner initializer

* docs(pr): drop obsolete blanket failure-retention claim

(cherry picked from commit a939a9d)
Co-authored-by: RomneyDa <[email protected]>
* fix(release): require current website downloads at closeout

* fix(release): verify request-time downloads before closeout receipts

* style(release): use braces for dispatch validation

(cherry picked from commit 0c51cc6)
Co-authored-by: RomneyDa <[email protected]>
* fix(ci): preserve FRV work through transient GitHub reads

* fix(ci): retain cache reads for frozen workflow targets

* fix(ci): count contributing packed release timing samples

* fix(ci): avoid stalled iOS simulator diagnostics

* test(ci): correct FRV regression assertions and output capture

(cherry picked from commit 5cd688d)
Co-authored-by: RomneyDa <[email protected]>
* test(update): await recovery descendant before fixture expiry

Expire the generated helper recovery timeout callback after the isolated command has persisted a live descendant PID and emitted readiness. Keep process-group termination and close joins native, retain the durable failed sentinel and dead-descendant assertions, and bound missing readiness with a fixture watchdog.

Refs #170803 (stalled-recovery fixture race only).

* test(update): load recovery clock from fixture module

Replace the added hand-written preload source template with a test-owned ESM fixture and per-case JSON configuration. Preserve exact helper and recovery command scoping, native timeout callback and watchdog cleanup, persisted descendant readiness and existing deadline, close-order, sentinel and process-death assertions.

Production behavior and deadlines are unchanged. Refs #170803 (stalled-recovery fixture race only).

* test(update): join state workers before handoff cleanup

Await the maintained state-database test cleanup owner before removing managed-handoff fixture directories. Synchronous native-handle close only starts worker retirement and can race the final WAL cleanup, observed as ENOTEMPTY in the retained-notification triage case.

Reuse closeStateDatabaseForTest without retries, timing seams, triage behavior changes or production changes. Refs #170803 (managed-handoff test fixtures only).

(cherry picked from commit 4a25358)
Co-authored-by: RomneyDa <[email protected]>
#170297)

* fix(release): expose Linux builder admission and retain failed bundles

* fix(release): preserve unconfirmed Linux dispatch status

* fix(ci): make Linux build event admission explicit

* fix(ci): separate Linux mirror dispatch from release builds

* fix(ci): budget cold Linux source package builds

(cherry picked from commit 614f559)
Co-authored-by: RomneyDa <[email protected]>
…avaScript files (#172954)

(cherry picked from commit 244cd79)
Co-authored-by: RomneyDa <[email protected]>
…rity test leaks sharing reads (#172974)

(cherry picked from commit 54f0b41)
Co-authored-by: RomneyDa <[email protected]>
…ring its cold compile (#173105)

* test(plugins): IRC direct import smoke times out on loaded runners during its cold compile

* test(googlechat): keep the direct smoke test deadline above its child budget

(cherry picked from commit 8bc4915)
Co-authored-by: RomneyDa <[email protected]>
… a generation (#173068)

* fix(test): interrupted test runs miss their signal exit verifying a generation they will delete

* fix(test): keep borrower disposal verification; skip it only for interrupted wrappers

* fix(test): return the shim interruption result on every path

(cherry picked from commit b66e0fc)
Co-authored-by: RomneyDa <[email protected]>
…rement outlasts its 1s poll (#173205)

(cherry picked from commit 7cd0f47)
Co-authored-by: RomneyDa <[email protected]>
* fix(android): prepare focused proof before running Gradle

* test(android): reach proof prerequisites on Linux ARM

* test: remove duplicated Android job structure assertion

* fix: seed stored inference account for Docker cron cleanup

(cherry picked from commit 404b708)
Co-authored-by: RomneyDa <[email protected]>
@clawsweeper clawsweeper Bot added 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. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. proof: sufficient ClawSweeper judged the real behavior proof convincing. 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-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 20, 2026
@clawsweeper

clawsweeper Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR backports release, CI, recovery, and test-stability repairs to the 2026.10.6 release branch.

Example: A bound Codex conversation receives its next message after an app-server restart.

  • Before: Missing-thread recovery creates a replacement thread and loses the existing native conversation history.
  • After: A definite pre-acceptance rejection triggers one attempt to resume the original thread.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) Established upstream repairs provide useful evidence, but confirmed branch-specific fixture defects prevent a passing patch assessment.
Proof confidence 🦐 gold shrimp (3/6) Sufficient (terminal): Reusable upstream evidence includes real npm CLI provenance acceptance and forbidden-identity rejection before installation, production FRV cancellation boundary controls for borrowed/replaced ownership, and Linux writer/parent revocation coverage; ordinary contributor proof requirements do not apply to this maintainer-authored backport.
Patch quality 🦪 silver shellfish (2/6) 3 actionable review findings remain.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: Release operators encounter already-understood tooling failures and unstable validation on the release branch.
Reason: The maintainer-authored backport has explicit direction and identifiable upstream repairs; repairing branch-specific mismatches preserves that value.

Merge readiness

⛔ Needs changes before merge - 3 items remain

Keep open: this maintainer-authored release backport has clear value, but three release-branch fixture defects block validation.

Priority: P2
Reviewed head: 45927e90330c972e5b53dcf85475ab714c615150

Before merge

  • Remove the import of the absent upstream fixture module (P2) - This release branch has no update-managed-service-handoff-artifacts.test-support.ts, yet the backport adds imports from it. This introduces an unresolved module into infra test typechecking; both imported helpers are unused here. Remove the upstream-only import instead of adding an unrelated fixture migration.
  • Restore cleanup compatible with the existing Set (P2) - tempDirs is still constructed as new Set<string>() at line 68. Set has no cleanup method, so every completed test using this fixture reaches a TypeError in afterEach and its directories are not removed. Retain the awaited database retirement, then remove the tracked directories and clear the Set as this branch previously did.
  • Use the release branch's Codex helper signature (P2) - conversationThreadStartResult takes the thread ID first and an optional boolean capability second. Passing tempDir and "thread-1" introduces a TypeScript argument error and constructs the wrong fixture identity. Use conversationThreadStartResult("thread-1") so the new authentication-failure case matches the bound thread.

Findings

  • [P2] Remove the import of the absent upstream fixture module — src/infra/update-managed-service-handoff-fixture.test-support.ts:9-12
  • [P2] Restore cleanup compatible with the existing Set — src/infra/update-managed-service-handoff-fixture.test-support.ts:133
  • [P2] Use the release branch's Codex helper signature — extensions/codex/src/conversation-binding.test.ts:2001

Tests

  • Missing end-to-end proof: The adapted Codex failure case and managed-service teardown lack demonstrated before/after regression runs on this release branch.
Agent review details

How this fits together

Release scripts coordinate GitHub workflows, publication evidence, and recovery; the backport also changes Codex conversation recovery and shared test infrastructure.

flowchart TD
  A[Release operator] --> B[Release CLI]
  B --> C[GitHub workflows]
  C --> D[Publication and validation evidence]
  D --> B
  E[Conversation message] --> F[Codex binding owner]
  F --> G[Codex app server]
Loading

Technical review

Best possible solution:

Keep the approved backports and repair the missing fixture import, Set teardown, and Codex helper call using the release branch's existing contracts.

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

The pinned source establishes an unresolved module import, a cleanup call on a Set, and a string argument supplied to a boolean test-helper parameter; no execution was performed.

Is this the best way to solve the issue?

Backporting the established owners is appropriate, but upstream fixture assumptions must be adapted completely to this release branch.

Full review comments:

  • [P2] Remove the import of the absent upstream fixture module — src/infra/update-managed-service-handoff-fixture.test-support.ts:9-12
    This release branch has no update-managed-service-handoff-artifacts.test-support.ts, yet the backport adds imports from it. This introduces an unresolved module into infra test typechecking; both imported helpers are unused here. Remove the upstream-only import instead of adding an unrelated fixture migration.
    Confidence: 1
  • [P2] Restore cleanup compatible with the existing Set — src/infra/update-managed-service-handoff-fixture.test-support.ts:133
    tempDirs is still constructed as new Set<string>() at line 68. Set has no cleanup method, so every completed test using this fixture reaches a TypeError in afterEach and its directories are not removed. Retain the awaited database retirement, then remove the tracked directories and clear the Set as this branch previously did.
    Confidence: 1
  • [P2] Use the release branch's Codex helper signature — extensions/codex/src/conversation-binding.test.ts:2001
    conversationThreadStartResult takes the thread ID first and an optional boolean capability second. Passing tempDir and "thread-1" introduces a TypeScript argument error and constructs the wrong fixture identity. Use conversationThreadStartResult("thread-1") so the new authentication-failure case matches the bound thread.
    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 5b1e93eaef0e.

Provenance checked

  • PR CI cancellation and failure attribution changes intended behavior with a stated reason (d53f229: Stop sibling PR work after failures; the merged replacement deliberately lets jobs finish and separates descriptive attribution from gate exemptions.)
  • Advisory bot admission gate changes intended behavior with a stated reason (3254c6c: Require a completed bot review; the recorded maintainer decision removes the queue dependency while retaining enforced review and CI.)
  • Codex missing-thread recovery keeps the original intent (9fe4372: Preserve persisted native history and replay only after an exact pre-acceptance rejection, replacing force-new recovery.)
  • Managed-service recovery fixture keeps the original intent (1894081: Wait for descendant readiness and database retirement before timeout and directory cleanup; the backport retains that intent but carries incompatible fixture assumptions.)
  • Linux publication and readback keeps the original intent (10d67c8: Preserve updater delivery across core releases; bounded digest-confirmed reads and the mirror cutover preserve that contract.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test src/infra/update-managed-service-handoff-recovery-systemd.test.ts src/infra/update-managed-service-handoff-triage.test.ts --maxWorkers=1
  • pnpm test extensions/codex/src/conversation-binding.test.ts --maxWorkers=1
  • pnpm tsgo:test:src
  • pnpm tsgo:extensions:test
  • git diff --check

What I checked:

PR surface

PR surface statistics unavailable: the file list is incomplete.

Review metrics

Metric Value Why it matters
Persisted release-state addition 1 optional field: closeout.websiteRunId Tracks pending website verification while preserving version-1 records without that field.

Labels

Label changes:

  • add P2: Useful release-operator repairs need focused branch adaptations; no production emergency is established.
  • add merge-risk: 🚨 compatibility: The backport adds clearActivePluginRegistry to the public plugin testing surface and changes recovery behavior; upstream maintainer direction is recorded.
  • add merge-risk: 🚨 automation: Introduced fixture type errors and invalid teardown can break release-branch validation.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦐 gold shrimp and patch quality is 🦪 silver shellfish.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P2: Useful release-operator repairs need focused branch adaptations; no production emergency is established.
  • merge-risk: 🚨 automation: Introduced fixture type errors and invalid teardown can break release-branch validation.
  • merge-risk: 🚨 compatibility: The backport adds clearActivePluginRegistry to the public plugin testing surface and changes recovery behavior; upstream maintainer direction is recorded.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦐 gold shrimp and patch quality is 🦪 silver shellfish.
  • 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 execution lanes are retired.

Reviewed October 20, 2026, 3:02 AM ET / 07:02 UTC.

@RomneyDa
RomneyDa marked this pull request as ready for review October 20, 2026 07:08
@RomneyDa
RomneyDa merged commit 081fe02 into release/2026.10.6 Oct 20, 2026
183 checks passed
@RomneyDa
RomneyDa deleted the tideclaw/ledger-fixes-release-2026.10.6 branch October 20, 2026 07:09
RomneyDa added a commit that referenced this pull request Oct 20, 2026
* test(discord): classify native registry cases as test support

Keep the backported native routing cases out of production dependency and database-worker inventories while retaining their focused coverage.

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

* chore(agents): shrink settings assertion baseline

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

* fix(agents): keep the poll vote echo matcher private (#168333)

#167979 moved the matcher's only production caller into suppressPollVoteEcho,
leaving isPollVoteEchoText exported solely for its unit test. The Knip
production unused-export scan rejects that export, so pnpm check:changed fails
on main for local and Testbox runs (GitHub Actions only reports it as advisory).

Make the matcher module-private and drive the unchanged matcher table through
the module's real public pair, recordPollVote -> suppressPollVoteEcho. No
production behavior change.

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

* test(cron): await archive RPC after cancellation

The PR-automation archive fixture treated the cron finished event as a
session-patch response receipt. Archiving cancels the occurrence from the
committed cron update while the archive RPC is still finishing, so the
response assertion raced that handler.

Capture and join the actual archive request before inspecting its response.
Hold the real cron update after commit to reproduce this ordering without
timers, while preserving every existing session identity, cancellation,
disabled-job and teardown assertion. Keep worker run rows and launch checks
unchanged.

The forced pre-fix control reproduced the hourly's zero-response failure
(1 failed, 2 passed). The fixed file passed all 3 cases: 100.79s Vitest,
105.94s wrapper with --maxWorkers=1; most elapsed time was compilation/import.
Cron test types, type-aware lint, boundary lint and formatting passed.
P2 autoreview is scoped-clean. Full cron-config proof passed: 1,961 tests
in 251 files, 1090.77s, one worker.

Focused command: pnpm test src/cron/service.pr-automation.test.ts --maxWorkers=1
Full config: node scripts/run-vitest.mjs run --config
test/vitest/vitest.cron.config.ts --maxWorkers=1

Refs: main CI run 38881317413, job 116908788842.
Co-authored-by: RomneyDa <[email protected]>

* fix(update): settle state writers before Doctor schema repair (#177844)

* fix(update): consume SQLite migration source once

* fix(update): retain captured source through Doctor preparation

* fix(update): settle state writers before Doctor schema repair

Drain prior canonical handles before private schema repair so their native-close receipts publish legitimate maintenance writes and release exclusive custody. Keep all migration attribution and strict source checks; remove the source-consumption workaround that lost later Doctor writes.

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

* fix(release): close required-backport compatibility gaps

Restore test-only transcript access, classify the extracted update helper as test support, retain the full PR-wrapper runtime closure, align native-bootstrap journal expectations, and point non-isolated fixtures at the extracted state owner.

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

* fix(cli): preserve JSON output when gateway commands exit (#176795)

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

* test(cli): preserve exit semantics in gateway harness

Construct the mocked runtime exit with the production ExitError so JSON completion remains distinguishable from ordinary command failures.

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

* test(agents): distinguish hidden recovery prompts from user turns

prompts as hidden internal_system user rows to preserve model-prefix
bytes. The finalization and cron fallback tests still counted those rows
as new user turns.

Require the expected hidden rows and their provenance, retain the single
visible original turn, and verify finalization does not hide the next real
user message. Keep receipt, attempt-count, provider-request, fallback-notice
and final-answer assertions intact. No production behavior changes.

Proof: both hourly failures reproduced on current main; all eight focused
cases pass with --maxWorkers=1, including runtime retry/cold-reopen coverage.
Agents and cron test typechecks, typed lint, boundary lint, formatting and
P2 autoreview pass.

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

* test(memory): join background dreaming cleanup at stop

Align the startup-admission proof with #169945: the gateway hook no longer blocks on historical cleanup, while service stop remains the deterministic settlement boundary.

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

* fix(cli): use typed exits for gateway JSON commands

Backport the narrow runtime exit contract required by #176795 without importing the full #168587 refactor, and keep the gateway harness mock non-throwing outside the explicit typed-exit proof.

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

* fix(update): restore initialization selector revalidation

Restore the selector fence omitted by the partial #168882 compatibility backport while keeping the core file within the release line count ratchet.

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

* test(agents): align recovery prompts with release behavior

Match the current finalization prompt text while retaining the release-line provider fallback contract of one visible cron user turn.

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

* fix(update): finalization ignores TMPDIR for disposable copies

Keep update inspection images and source captures on the candidate helper temporary volume without relocating native admissions or recovery backups.

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

* fix: native app messages fail after reconnecting

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

* test: prove native reconnect dispatch and stale-session policy

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

* fix(codex): previews block replies after context refresh

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

* fix(codex): preserve persistent policy checks during context refresh

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

* test(codex): narrow active binding before checking successor

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

* fix(ui): offer desktop setup instead of Retry when Host Desktop is off

- The chat Desktop panel asks environments.list for desktopSetup only when
  its unresolved automatic target is the Gateway host.
- The panel says desktop access is not enabled on the Gateway host and that
  it shares the Gateway host's screen, shows setup steps worded for the
  Gateway host plus account and network notes, and offers Enable desktop
  access when the connection can patch config (else the administrator
  hint) or Check again, then re-reads inventory and connects the Gateway
  desktop.
- Systems and the panel share the setup state selection and the
  desktop.host.enabled patch helper; other targets, document mode and a
  failed setup check keep desktop.sourceUnavailable.
- The setup helper declares its own runtime-config shape and imports
  nothing from desktop-panel-inputs.ts, so the type import runs one way.
- Docs mention the chat panel path.

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

* test(ui): adapt Host Desktop setup proof to Lit

Use the release-line i18n registry, shadow-root assertions, and Lit settlement instead of the upstream Solid-only test helpers.

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

* fix(release): repair merged validation fixtures

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

* refactor(release): close candidate source ratchets

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

* test(update): restore safe managed handoff fixtures

Complete the #168722 fixture integration omitted by the release backport.

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

* test(release): drop incompatible question cleanup

The release snapshot does not retain the mainline sharing-read owner introduced after this branch point.

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

* test(codex): adapt recovery fixture to release helper

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

* refactor(cli): simplify update and offline repair bookkeeping

Use the rehearsed configuration during update activation instead of looping
through candidate checks after late config edits. Rely on the sequential node
auto-update caller and Doctor's exclusive maintenance ownership for internal
pause and title bookkeeping. Preserve validation, schema, authorization,
service-publication, privacy and work-settlement boundaries.

Best-effort tradeoffs accepted:
- Late root/include edits no longer restart rehearsal (b36eb3e's injected
  save cases); incompatible edits can require correction or Doctor/restart.
- Unsupported overlapping pause/resume calls do not retain distinct tokens
  (#149517); the production auto-update loop awaits each pause before resume.
- Concurrent foreground title changes during offline Doctor are unsupported
  (#151211); existing names/incognito sessions and live commit authority stay.

Remove 76 net production lines and 292 test lines. Focused proof covers 177
supported node/update/Doctor cases; core types, both zero-cycle checks, typed
lint, formatting and independent P2 review pass. The lint-suppression test has
an inherited allowlist mismatch already fixed on main in dab6a8d. Full
changed-check and release-matrix proof are not claimed for this branch-only
below-500 simplification.

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

* refactor(cli): simplify update and worker lifecycle guards

Carry admitted snapshots through updates and retain live authority at effects. Remove speculative observation, generation, and bookkeeping machinery while preserving rollback, native settlement, bounded resources, and public interfaces.

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

* test(cli): align Windows probes with single service inspection

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

* test(cli): retire remaining synthetic completion checks

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

* fix(cli): preserve shutdown and update fixture contracts

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

* fix(cli): preserve full config read failures

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

* test: retire obsolete command revalidation scenarios

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

* test: revoke publication authority after confirmed service stop

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

* test(cli): align progress fixtures with simplified ownership

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

* fix(plugins): retain Windows dependency links across Doctor phases

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

* fix(update): guide Windows task disable permission failures

Refs #170956 (finding 3). Preserve the autostart disable guard while reporting definite access denials with elevation and manual-update guidance, without attempting an unnecessary enable.

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

* fix(doctor): suggest retry after snapshot contention

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

* fix: Windows backup scratch cleanup fails with EPERM

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

* fix(update): recognize Dutch Scheduled Task access denial

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

* fix(release): retain native lifecycle dependencies

Adapt required PR #168882 to the 2026.10.6 architecture without importing unrelated mainline dependency trees.

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

* fix(release): preserve initialization revalidation

Retain the later release-specific selector fence while adapting required PR #168882.

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

* test(release): adapt Doctor contention fixture

Exercise the required #176779 guidance through the 2026.10.6 database admission interface.

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

* test(release): shrink mock export baseline

Remove the obsolete plugin lifecycle config mock exception eliminated by required PR #168882.

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

* fix(release): adapt lifecycle refactor interfaces

Preserve required PR #168882 while retaining the 2026.10.6 progress, child-binding, and Doctor convergence contracts.

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

* test(release): adapt simplified update lifecycle

Keep the required #168882 validation coverage while retaining the 2026.10.6 sidecar catalog and update-run fixture contracts.

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

* test(release): drop unsupported settle-window fixture

Remove the #178170 test-only import that depends on #172069 settlement timing, which is not part of the 2026.10.6 release architecture.

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

* fix(release): close expanded candidate lint

Remove stale and redundant constructs while restoring the two pre-existing max-lines suppressions accidentally dropped by the earlier repair commit.

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

* refactor(release): split oversized candidate files

Split the BTW runtime helpers and Doctor memory-auth scenarios so the required backports satisfy the source-size ratchet without adding suppressions. Consolidate the duplicated Docker activation marker spelling to close inherited environment-inventory drift.

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

* test(release): document split isolation boundaries

Document the intentionally closed Doctor mocks and runtime transcript assertions introduced by the validation-safe file split, and prune the repaired assertion baseline entry.

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

* style(release): format validation runner changes

Apply the repository formatter to the backported test runner and workflow guard updates.

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

* fix(cli): preserve typed exits after output drain

Catch the default runtime's typed ExitError inside the legacy output-drain callback and retain its process status. This keeps the V8-safe typed exit contract while preventing successful help renders from surfacing as uncaught failures.

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

* perf(ui): defer page-only English copy from startup

Adapt upstream PR #178054 to the release branch after the TypeScript page migration.

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

* chore(ui): refresh Host Desktop locales

Adapt upstream locale refresh PR #178236 to the 20-locale release catalog.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

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

* fix(ui): register lazy secret copy at view boundary

Keep direct page rendering self-contained and retain the current plugin catalog anchor type.

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

* docs(changelog): refresh 2026.10.6 contribution record

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

* fix(windows): recognize task permission denials in every locale (#178624)

(cherry picked from commit 00cb4b3)

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

* docs(changelog): record Windows locale recovery backport

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

* fix(apple): Shared OpenClawKit Periphery fails on every OpenClawKit PR (#168171)

The reconnect-backoff hooks added in #168024 lived in OpenClawKit
Sources but were called only from OpenClawKitTests. The shared
Periphery workflow scans the iOS and macOS consumer indexes, and
neither builds OpenClawKitTests, so both reported
_test_setReconnectBackoffMs(_:) and _test_reconnectBackoffMs() as
unused and the intersection failed on every PR touching the kit.

Move the setter into the test file's existing @testable fileprivate
GatewayChannelActor extension, beside seedPathRecoveryConnectBackoff,
and read the internal backoffMs directly. The remaining _test_ hooks
stay because the macOS OpenClawIPCTests call them.

Proof: swift test --filter GatewayNetworkPath (10 tests in 2 suites,
including the reset-both-backoffs case) passes; SwiftFormat clean.

(cherry picked from commit 46d5488)

* chore(ui): move Host Desktop locale refresh out of source PR

This reverts commit f777409.
CI preflight requires generated Control UI locale artifacts to land
isolated from source changes; the refresh lands on the release branch
as its own generated-only commit after this PR merges.

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: Jacqueline Henriksen <[email protected]>
Co-authored-by: Mitchell Etzel <[email protected]>
Co-authored-by: n572770 <[email protected]>
Co-authored-by: xuzhijun <[email protected]>
Co-authored-by: openclaw-mantis[bot] <281431406+openclaw-mantis[bot]@users.noreply.github.com>
RomneyDa pushed a commit that referenced this pull request Oct 20, 2026
Allow explicitly confirmed recovery of an accepted, terminally failed direct REST merge only after an authoritative result reread and fresh ordinary admission. Retain the exact async failure and prior outcome through existing CAS ancestry; keep pending, expired, SHA-bearing, and changed-head outcomes fenced.

Backport note: #178170 carried this change's async-failure admission
check and tests (through #169595/#169739 conflict context) without the
async_failure declaration, recovery selection, intent recording, and
outcome validation, so every merge-run under set -u exited with
"async_failure: unbound variable". The merge.sh conflict keeps the
release form without the retired ClawSweeper review gate; the test
file keeps the post-#169595 expectations already on the branch.

(cherry picked from commit 1a6709e)
RomneyDa added a commit that referenced this pull request Oct 20, 2026
#178170 backported ci-android-focused-testbox.yml, which admits with
TESTBOX_PROFILE=check-focused, but not the profile from #170747, so
ci-testbox-budget.mjs rejected every Android focused Testbox admission
("requires a known profile"). Add main's check-focused policy (4 vCPU,
60-minute default and ceiling). check-routine stays out because its
workflow is not on this branch.

Partial backport of a959e70 (#170747).
RomneyDa added a commit that referenced this pull request Oct 20, 2026
#178170 backported #169647, which renamed the PR-only pr-fail-fast job
to pr-failure-report, but kept ci-hourly.test.ts's special case on the
old name (main deleted that test in #168983 before the rename). The
scheduled/push runner-parity loop then evaluated pr-failure-report's
PR-only runs-on and threw on github.event.pull_request.head. Point the
special case at the renamed job so it still asserts the job is skipped
for schedule and push.
RomneyDa added a commit that referenced this pull request Oct 20, 2026
…isting

Release-only e30ce4f gave full-release-child-evidence.mjs its own
--paginate job listing with a 2,000-job ceiling and pinned that shape in
tests. #178170 then backported #170964, which moved the producer onto
createReleaseEvidenceClient().getRunAttemptJobs: explicit page/per_page
reads through readReleaseJobListing, with main's 1,000-job ceiling and
its "incomplete or duplicated" error. The tests kept asserting the
removed implementation.

Assert the owner's contract at the producer boundary instead: the same
100 -> 50 -> 30 page-size fallback after a 5xx, the 1,000-job ceiling
(1,001 refused), and no read past the ceiling page. Real normalCi
attempts are far below the ceiling (run 39489347223: 234 jobs).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui channel: googlechat Channel integration: googlechat channel: irc docs Improvements or additions to documentation extensions: codex extensions: openshell extensions: qa-lab gateway Gateway runtime merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. scripts Repository scripts size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants