Repository navigation
chore(sync): merge upstream release/2026.10.5 - #57
Merged
Merged
Conversation
The Anthropic Doctor repair intentionally adds anthropic/* for legacy Claude CLI sign-ins without an API credential. Keep the exact migrated model-map and allowlist assertions, and check that an unseeded Claude model resolves to claude-cli. Isolate ambient Anthropic credentials so the fixture always exercises that repair.
…ts (openclaw#150149) * feat(vllm): expose a reasoning-effort ladder for Qwen thinking formats The vLLM plugin flattens every Qwen thinking-format model to a binary `/think off|on` profile and strips `reasoning_effort` from the request, because Qwen chat-template thinking is an on/off flag. vLLM reasoning parsers can honor `reasoning_effort` as well, though: the server in front of qwen38-flash-next accepts `low`, `medium` and `xhigh` and rejects the rest, so the flag alone leaves the effort at the server default with no way to lower it. Let a model row opt in through the existing `compat.supportedReasoningEfforts` list. When a Qwen-format model declares it, the plugin exposes that ladder (plus `off`) instead of the binary profile, the completions transport keeps sending the level as `reasoning_effort` next to `enable_thinking: true`, and the plugin's payload patch no longer deletes it while thinking is enabled. `/think off` still sends only the disabled flag. Rows without the list keep the binary profile and payload exactly as before. * fix(vllm): preserve model mappings and current-call dialects * fix(vllm): preserve native effort mappings during session setup * style(vllm): use boolean reasoning guards --------- Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: krell11 <[email protected]>
…nclaw#158495) Co-authored-by: Gio Della-Libera <[email protected]> Co-authored-by: Gio Della-Libera <[email protected]>
* fix: send thinking controls to custom reasoning models Enable compatible-route effort defaults for reasoning-capable models while preserving explicit opt-outs and provider dialect exclusions. Omit implicit off controls on custom scalar routes, preserve declared off contracts, and surface unsupported fields with the model-level opt-out instead of silently retrying off. * test: use the request effort type in custom route cases * docs: clarify custom model effort admission and clamping
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Interim section so packaging gates have a 2026.10.5 body; regenerated from full history once the Code SHA is green. Co-Authored-By: Claude Opus 5.5 <[email protected]>
….9.0 bwrap probes (openclaw#168165) * fix(release): review mxc-sdk 0.9.0 bubblewrap probe spawns in plugin npm scan @microsoft/mxc-sdk 0.9.0 (from openclaw#167411) adds three bwrap-probe scripts that spawn a fixed `bwrap --version` probe through a detached Node anchor. Record exact reviewed counts for them and shrink platform.js from 4 to 3 so the @openclaw/mxc-sandbox exact-artifact scan passes again. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(release): keep mxc-sdk platform.js limit covering the stable line Stable v2026.9.9 still ships mxc-sdk 0.8.0 (4 platform.js exec sites), and the dependency inventory is a shared upper bound across supported release lines, so keep the limit at 4 and note that 0.9.0 has 3. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> (cherry picked from commit ae71c92)
…claw#168172) pnpm 12 rejects a frozen install whose lockfile records importers that are absent on disk. The trusted release harness is a sparse checkout (scripts, packages, patches), so every harness install failed with ERR_PNPM_OUTDATED_LOCKFILE after the pnpm 12 bump (openclaw#167411), blocking Full Release Validation's npm artifact preparation. Co-authored-by: Claude Opus 5.5 <[email protected]> (cherry picked from commit 5a68006)
00ae274 (openclaw#168029) intentionally captures native iterator next/return so its wrappers can invoke them with the caller's receiver; record the two suppressions on the explicit allowlist. (cherry picked from commit bc8f693)
Since openclaw#168050, an explicit forced catalog refresh waits for an ordinary expiry renewal and then starts a fresh acquisition. The metadata fixture used that operation as a wait barrier, unintentionally requesting a second renewal and turning its failure case into immediate recovery. Wait for the existing catalog-published or catalog-failed event instead. Preserve every publication, broadcast, pending-status, recovery and dedupe assertion without changing production behavior or timing limits. Linux proof: parent passes 5 cases; openclaw#168050 and current main fail the same 3. The repair passes all 5 and 41 metadata siblings. Injected duplicate publications fail the exact retained assertions. Types, lint, check-changed and P2 review pass. Full owning config records 4894 passes, 13 failures reproduced on clean base, and a separate SQLite WAL-identity SIGKILL; its unfinished test passes separately on clean base. (cherry picked from commit 5033097)
Follow openclaw#167891, which routes embedding availability probes through the query-budget embed operation. Record that operation in the synthetic provider alongside batch embedding so reload recovery still verifies the exact provider generation and subsequent indexing. Keep every recovery, watcher, and indexing assertion unchanged. No production behavior or timeout changes. (cherry picked from commit fc7c504)
…penclaw#168182) The status command intentionally gained trigger-recall and cross-conversation setting details in e5bc415 (openclaw#164409). Keep exact response equality while expecting all three lines, preserving the existing prompt, incognito actor, host-SQL, and authority assertions. (cherry picked from commit dfdda05)
…enclaw#168191) npm --package-lock-only can assign nested override sets to a shared node differently on a fresh tree than when it reloads the written lock, so the package-local bundled dependency install (npm ci --install-strategy=shallow) rejected amazon-bedrock-mantle's lock with 'Missing: @smithy/[email protected]'. Rerun npm from the written lock until it is unchanged (bounded), folded into the existing shrinkwrap-override repair loop. (cherry picked from commit 9250ad1)
…penclaw#168195) (cherry picked from commit 5c7d739)
Backport only the pnpm 12.9.0 selection from main's dependency refresh (c44c2e5, openclaw#168103): packageManager, the lockfile env header, image seed hashes, bootstrap/installer pins and their tests. pnpm 12.9.0 accepts lockfile importers absent from the sparse release harness, which pnpm 12.7.0 rejects. (cherry picked from commit c44c2e5, pnpm hunks only)
…ut (openclaw#168172)" (openclaw#168217) pnpm 12.9.0 (pinned on main since openclaw#168103) already accepts lockfile importers whose directories are absent from the sparse release harness. The narrowing step rewrote .release-harness/pnpm-lock.yaml, which leaves the trusted harness tree dirty and fails npm preflight's clean-harness guard ([[ -z "$(git -C .release-harness status --porcelain)" ]]) in "Prepare publishable npm package". This reverts commit 5a68006. (cherry picked from commit 4578c1d)
…openclaw#168197) openclaw#168043 treated every protocol-free version-2 update lease as legacy custody, but current writers still create root leases of that shape. With another live updater or repair holding the root lease (for example parallel qa-lab packaged-candidate setups sharing the per-machine handoff database), openclaw update repair exited 1 with 'Handoff owners are live or unverified' instead of leaving the live owner alone, which broke checks-ui-e2e-real-gateway on main. Legacy update reclamation now requires a child-lineage key; live root owners make repair a no-op as before, while dead legacy child-lineage rows (openclaw#168000) are still reclaimed and live or uninspectable legacy children still get actionable guidance. Refs openclaw#168000. (cherry picked from commit efa552b)
…ests (openclaw#168230) (cherry picked from commit 0a55cbe)
…resh (openclaw#168235) Since openclaw#167458 cold Gateway startup runs the full discovery an explicit refresh would, including providers without credentials. Since openclaw#168050 an explicit refresh does not join an ordinary in-flight acquisition and acquires fresh responses instead. The credential-free models.list test still asserted that startup made no provider request, so it depended on whether startup discovery had fetched before the first read (CI: 2 requests; slow hosts: model already published). Wait for the startup publication (1 request), then prove the explicit refresh publishes the fresh response (2 requests) and replaces the startup row, and that ordinary reads do not rediscover. (cherry picked from commit 9fc63cc)
…acknowledgement barrier (openclaw#168242) * test(gateway): hold agent config publication mid-RPC instead of across it Since openclaw#167894 agents.create/update/delete acknowledge only after the config reloader applies the write. The config RPC suite held its hot-reload barrier across the whole agent RPC, so the RPC could never settle and the client timed out. Read config.get while publication is held mid-RPC, then release, and drop the unneeded barrier from the large-shrink delete case. * test(gateway): keep the reload hold in one barrier hook (cherry picked from commit 5c6b01a)
…release harness (openclaw#168234) (cherry picked from commit 21490fb)
…nip (openclaw#168241) openclaw#168018 landed src/infra/sqlite-source-fence-admission.ts as the dormant host half of the durable cross-store source fence; only its broker tests import it, so deadcode:full fails check-dependencies on main and release branches. (cherry picked from commit d719f09)
The WhatsApp delivery-recovery test for long bold replies has been red on main since openclaw#167958 (69bfe7b). That change taught the shared render-aware Markdown chunker to carry the overflow of a re-split chunk into the next source window instead of sending it as its own tiny message. A 340-character bold reply at textChunkLimit 160 now arrives as *x158* / *x158* / *x24* instead of *x158* / *xx* / *x158* / *xx* / *x20*; the old expectation encoded exactly the orphan-chunk artifact openclaw#167958 removed. Update the expectation to the intended contract: every chunk keeps its style markers and stays within the limit, the content is exact, only the first chunk quotes the reply target, and each part reports one receipt. Reverting only render-aware-chunking.ts to 69bfe7b^ restores the old output, which pins the cause. Main's scoped CI never selected this suite for the markdown-core change, so the red surfaced only when a later PR widened changed-test selection. (cherry picked from commit 281379b)
…historical owner (openclaw#168314) (cherry picked from commit b43da95)
…in files (openclaw#168313) Plugin source capture routed every Windows file through fs-safe's guarded clone, which skips native copies and path-admission caching on win32, so Gateways with installed plugins spent minutes in synchronous capture before binding (cross-OS installer-fresh, release checks 38020418926). Windows now uses the existing pinned-descriptor copy for small ordinary files, as it did before the guarded-clone migration (openclaw#164680); large and native files keep the guarded clone. The small-copy guard tests now run on Windows too. (cherry picked from commit 2cb2883) (cherry picked from commit e868457)
…point (openclaw#168310) The vitest worker build compiles runtimeProcessEntrypoints but not ad hoc tsdown entries, so children running from the compiled test tree could not load config/sessions/disk-budget.worker.js. (cherry picked from commit 587a191)
…er retirement (openclaw#168327) The test disposed Memory Core immediately after opening its manager, while the dirty startup index sync was still running. Close drains accepted syncs by contract, so on loaded release-ci runners the drain exceeded the fixed 5s plugin retirement budget (PluginInstanceDrainTimeoutError, 2 still-running calls); cleanup itself settled about 3.7s later. Settle the startup index first so the budget measures watcher retirement. (cherry picked from commit fdb06ff)
openclaw#167891 moved the memory embedding probe to provider.embed, so the late-probe fixture parked on embedBatch never entered and the test hung until its 120s timeout in every release-ci checks-node-agentic-plugins run. (cherry picked from commit 3cfab51, src/plugins/memory-runtime.owners.test.ts hunk only)
…og publication (openclaw#168410) * fix(agents): derive run owners from admitted generations after catalog publication * test(agents): cover superseded admitted generations with uncovered selections * fix(agents): re-admit uncovered selections on the configured generation * fix(agents): re-admit only superseded configured generations * test(agents): keep derived parents confined after catalog publication * fix(agents): bind re-admitted generation locally and prove revocation rejects re-admission (cherry picked from commit 171df4e)
…y walk after the openclaw#169563 backport The openclaw#169563 backport carried main's rule that an incomplete ancestry walk never grants continuation. 2026.10.5 still reads Windows ancestry through PowerShell Get-CimInstance, and that walk reports complete only when the chain reaches PID 0, so ordinary Windows chains that end at an exited parent were always incomplete. Candidate Doctor then refused its own update ("this host could not read this process's ancestry") and the Windows packaged 2026.10.2 -> beta.3 upgrade rolled back in Full Release Validation run 38332766825 (Release Checks child 38334632811, both Node lanes). Every PID the walk collects is a creation-ordered verified ancestor, so a found driver proves the continuation, as beta.2 already accepted. Completeness now only decides between not-continuation and ancestry-unverified when the driver is not found. The retained verified-ancestor proof from openclaw#169563 is unchanged.
* feat(meta): support Muse Wonder * test(meta): honor protected egress in live proof (cherry picked from commit 9b998e9)
…penclaw#168291 backport The openclaw#168291 backport (854be9f) gave cron runtime mutations a 1,000 ms host-admission deadline that native SQLite workers compare against host hrtime. Vitest's default fake timers also fake hrtime, so advancing the fake clock expired fresh admissions: FRV run 38333371459 (shard core-runtime-cron-parallel-service) failed service.heartbeat-payload and four timer.timeout-watchdog cases with SqliteWorkerAdmissionTimeoutError and unpublished watchdog outcomes. The backport omitted main's companion test-config fix; this takes it unchanged: keep hrtime native in the cron Vitest config while faking scheduling clocks. Extracted-from: 7c0db64 Co-authored-by: Peter Steinberger <[email protected]>
… the openclaw#169102 backport The openclaw#169102 backport (8c73c69) makes a terminally failed one-shot send a failure alert. server-cron's cancelled-command test runs such a one-shot, so it now sees the cancelled completion plus that intended alert (2 sends, not 1); bisect over 467e83d..e83b02d lands on 8c73c69. Takes main's companion test change unchanged: assert the aborted completion and the independent alert separately, keeping the no-retry guarantee and the disabled error state. No production change. Extracted-from: ddea575 Co-authored-by: Peter Steinberger <[email protected]>
… backport The openclaw#168566 backport (cf399af) removed the reasoning short circuit, so cron fallback candidates and idle native model selections reloaded provider thinking catalogs on the turn path: FRV run 38333371459 failed run.cron-model-override-forwarding (4 catalog loads, expected 2) and get-reply-native-slash-fast-path (rediscovery, expected none). This is a perf regression main repaired in production code; takes main's follow-up unchanged. Cron reuses matching host rows from its captured catalog, and idle model-only host selection skips thinking-policy observation; stored levels, pending followups, native runtimes, and missing rows still get scoped metadata. Extracted-from: dd4b258 Co-authored-by: Peter Steinberger <[email protected]>
…penclaw#169658 backport The openclaw#169658 backport (bc281f3) makes GatewayServiceAuthorityError carry the UPDATE_NATIVE_AUTHORITY: marker, but left out main's companion test update 2a21fcd, so the composed native/config authority cases still expected the unprefixed message and failed (reproduced locally on macOS). (cherry picked from commit 2a21fcd)
…claw#168361 backport The openclaw#168361 backport (ce10298) keys agent database validation by the realpath-based physical key. Opening the same database through a new lexical alias (a directory symlink) now finds the canonical proof and is treated as a validated reopen, so it skipped registerOpenClawAgentDatabase and the alias spelling never reached the agent registry. Update discovery builds its source spellings from that registry, so database restore no longer drained the alias handle and failed with "Cannot remove OpenClaw state directory while another SQLite connection is active" (update-database-restore.test.ts "restores aliased databases through timestamp drift", FRV job 115088212088; reproduced on macOS, passes on beta.2 467e83d and on main; bisected to ce10298). Main avoids this with hasRegisteredOpenClawAgentDatabasePath from openclaw#167739 (bb7d32e), which depends on shared admission infrastructure not on this branch. Instead, each validation receipt now records the lexical spellings it was admitted under (set, adopt, worker transfer), and a validated reopen still registers when its spelling is new. This restores beta.2's registration behavior while keeping openclaw#168361's physical keying. Receipt creation moves into the new receipt module with the spelling record to keep the validation cache within its line budget.
An ENOTDIR discovery candidate could then throw during reader teardown and turn unrelated native incognito placement evidence into unknown. Use the existing captured-path matcher for metadata release. Admission and revocation retain their physical identity checks. Extend both exact and sibling-family cleanup cases with an unreadable candidate while preserving their selected, retained, and parent-proof assertions. (cherry picked from commit 83579fd)
openclaw#170162 backport The openclaw#170162 backport (cf6f760) added a runtime import of agents/run-termination.js to cron/service/active-run-cancellation.ts. The non-isolated runner fixture loads that source through native CommonJS require, which cannot resolve .js specifiers to TypeScript sources, so 09-d and 09-i failed with 'Cannot find module .../run-termination.js' (FRV run 38333371459, job 115088198455). Port the cron fixture portion of main's companion fix openclaw#170263 (aeaae03): prime the native generation through a temporary synchronous resolve hook for relative .js and tsconfig alias imports, and enable --experimental-transform-types in the generated child project. The Gateway lifetime hunks of openclaw#170263 are not ported: they follow openclaw#169880, which is not on this branch, and that test passes here.
The finishing lifecycle payload has retained sanitized cancellation reasons since ea3ffb7. Update the integration assertion to expect the managed command's explicit cancellation reason. Preserve aborted status, permission-failure cleanup, transcript, pending result, and settlement assertions. The exact cancellation case reproduces the old no-error assertion failure before this change. No production behavior changes. All 15 fault-injection tests pass (404.14s Vitest); scoped lint, format, and Codex review pass. (cherry picked from commit 6315f8a)
…er the openclaw#170223 backport The openclaw#170223 backport (d5d64b4) took main's cancelled-terminal assertion that the finishing payload carries both the retained cancellation reason and 'fixture desktop cleanup failed'. Main's table only has computerCleanupFailure: true rows at that point, but this branch still carries the cleanup-failure: false rows, so the (false, cancelled) row failed deterministically (FRV run 38333371459, job 115088208610). The cancellation reason assertion stays unconditional; the desktop cleanup error is asserted only when cleanup fails and asserted absent otherwise.
…ducer scope after the openclaw#170083 backport The openclaw#170083 backport (fb14d0d) moved Talk consultation onto detached Gateway-independent root work admission. client-native-actions.test.ts published committed transcript updates inside the consultation producer scope, so the producer drain aborted them (AbortError from AsyncWorkScope.beginClose; FRV run 38333371459, job 115088201415). Production already detaches these publications (src/gateway/server-runtime-subscriptions.ts, runOutsideAsyncWorkScope). Port main's fixture fix from openclaw#170359 (a55e956): wrap the listener publication in runOutsideAsyncWorkScope, keeping the explicit publication drain and rejection checks. Same root class as f0670cb.
…ventory after the openclaw#168361 backport
Only attribute projection settlement to the owned retry after compaction has completed. The foreground startup barrier is a separate legitimate wait, so total-call and first-call signal assertions were stale and could incorrectly satisfy retry coverage. Preserve fail-fast dirty reads, durable reopen, and cancellation checks. The exact current-main failure reproduced. The repaired retry and eight sibling projection cases pass, as do the focused test type graph, lint, format, and fresh P2 autoreview. check:changed reaches the unrelated existing ClawRouterPoolTraffic unused export in extensions/clawrouter/pool.ts. Co-authored-by: steipete <[email protected]> (cherry picked from commit ebeeb1a)
…runners (openclaw#170702) * ci: give the extension package boundary check room on hosted release runners Full release validation for 2026.10.5-beta.3 cancelled check-additional-extension-package-boundary at its 30-minute limit twice (runs 38333371459, 38350592860) after both boundary checks had passed: hosted ubuntu-24.04 spent 366s preparing and 1374s compiling 128 plugins, finishing at ~30.5 minutes. A concurrent release run took 26.7 minutes on the same runner label, so the job routinely sits at the edge of its budget. Raise only this group to 40 minutes; plugin-sdk-api-diff keeps 30 and other additional checks keep 20. * docs(ci): document the 40-minute package-boundary budget (cherry picked from commit e88c11c)
* fix(minimax): honor M3.1 thinking effort levels * ci: apply existing package-boundary job budget for landing Carry forward the workflow-only correction already on main in 5e5e50e. PR 160089's exact-head run 36407519621 exceeded the former 20-minute whole-job deadline after all 125 plugin compiles and the canary passed. Keep complete validation, compiler concurrency, runner selection, and every required gate unchanged. Only this row gets the existing measured 30-minute budget. No MiniMax runtime or test changes in this preparation commit. Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: Tak Hoffman <[email protected]> Co-authored-by: Takhoffman <[email protected]> * ci: prepare conflict-free main workflow refresh The isolated timeout hunk conflicts with adjacent scheduling and runner updates already on main. Remove the copied workflow hunk so the PR can inherit the complete reviewed main workflow through a normal base refresh, rather than mixing workflow fragments or changing any required gate. No MiniMax source or test changes. Preserve requested landing credit. Co-authored-by: Tak Hoffman <[email protected]> Co-authored-by: Takhoffman <[email protected]> * fix(minimax): preserve signed replay without output-cap metadata * fix(minimax): retain mandatory replay with small output caps * fix(minimax): ignore manual budgets for adaptive replay --------- Co-authored-by: NianJiuZst <[email protected]> Co-authored-by: RoboClaw <[email protected]> Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: Tak Hoffman <[email protected]> Co-authored-by: Dallin Romney <[email protected]> (cherry picked from commit 8cedf20)
… because expired tokens are never refreshed (openclaw#160459) * fix(minimax): refresh expired portal OAuth tokens * fix(minimax): bind portal OAuth refresh to the issuing region * refactor(plugins): keep OAuth dispatch with runtime auth ownership * test(minimax): retire obsolete OAuth mock exception * fix(minimax): recognize the current CN inference host during refresh * fix(plugins): keep Chutes refresh test options out of caller config * test(chutes): verify refresh through registered provider hook --------- Co-authored-by: Dallin Romney <[email protected]> Co-authored-by: Masato Hoshino <[email protected]> (cherry picked from commit 9e28ade)
First merge-based upstream sync. Replaying the fork's 143 own commits onto each new release cut stranded the scheduled sync three times and needs a force-push of main; a merge resolves the fork delta once and keeps the fork's history and merged PRs. Resolution notes: - Release-owned: 166 package.json version conflicts, changelogs, Info.plist, generated manifest/catalog take the release; the root version is pinned to 2026.10.5 and the fork-only deploy:globally script stays. Fork-deleted .github files stay deleted. - Files only the old 10.2 release cut changed (CI plan scripts and tests) take 10.5's version. - Workboard: agent_end maps the node-ticket report first, then lets the session owner decide the run's outcome (upstream); a node ticket's observation is dated at the hook so it never overrides its report. Context tokens, comment source, and the node-ticket stop carry over into upstream's refactors; normalizeLabels callers move to normalizeCappedStringList. - Heartbeat: upstream's single normalizeHeartbeatDelivery delegates its reply branch to the fork's normalizeHeartbeatReply (trailing NO_REPLY and closing HEARTBEAT_OK lines). - workspace-files threads the sandbox mounts through upstream's new session-file lookup; server-chat strips reasoning tags from upstream's projected final text (fork-features entry updated). - Skill Workshop's collection-review prompt is retired upstream (openclaw#161057), so the fork's #36 change to it goes with it. - Fork tests: agent_end callers supply the session reader; node-ticket lifecycle and nudge cooldown tests move to their own files. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…lback The merge mapped a node ticket's report before upstream's session-owned outcome check (openclaw#168215). A first model candidate that failed while fallback continued blocked the card, and the fallback's done report was then lost because the card no longer ran. The hook now reads the session first: a failed attempt on a session that still runs leaves the card to the final attempt, while a successful one maps its report, which exists only in that message. Turn-end context is recorded on the linked cards whether or not the session has settled. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
tomorrowflow
marked this pull request as ready for review
October 13, 2026 09:38
tomorrowflow
added a commit
that referenced
this pull request
Oct 13, 2026
#57 and #58 landed as squashes, so main has the 2026.10.5 content but not its ancestry, and the next merge-based sync would re-merge from the old base. This merge keeps main's tree unchanged (-s ours) and only adds the release as a parent; it is pushed as a fast-forward, not a PR, so it cannot be squashed again. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
tomorrowflow
added a commit
that referenced
this pull request
Oct 13, 2026
The scheduled sync rebased the fork's commits onto each new upstream release cut and force-pushed main. It stranded mid-replay three times (the agent gets one turn), replayed earlier cuts' release commits, and a force-push from a behind checkout can erase merged PRs. The host now starts the sync itself: it picks the target release, and scripts/sync-merge-release.mjs begins `git merge --no-ff --no-commit` and applies every mechanical resolution (upstream CI the fork does not keep, package.json version hunks, release-owned files, the lockfile, files only an earlier release cut changed, the root version pin). When main already contains the release, the agent never starts. The agent resolves the rest, commits the merge, and builds and checks it. The host publishes only a committed, clean merge that contains both the release and everything origin/main had, with a plain fast-forward push. Any failure parks the attempt on sync/attempt-<X.Y.Z>-<time> and puts main back on origin/main, so no run strands the checkout. Replayed on the real 2026.10.5 merge, the script's 175 mechanical resolutions match the hand resolution of #57 byte for byte and leave the same 21 files for judgment. Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
tomorrowflow
added a commit
that referenced
this pull request
Oct 19, 2026
The previous-release-cut rule treated any non-upstream commit touching a file as fork work. The 2026.10.5 sync landed as a squash commit (#57), which touches every file that cut changed, so a trial merge of release/2026.10.10 left 410 conflicts for the agent instead of the ~67 the fork actually changed. Compare main against the newest release commit it already contains instead, and take the release's deletion when the target dropped such a file. Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The fork sits on upstream
2026.10.2. The scheduled sync of 2026-10-12 stranded mid-rebase at commit 61 of 161, on a fork heartbeat fix that upstream had partly fixed on its own. It was the third rebase in a row to strand.Rebasing replays all 143 of the fork's own commits onto each new release cut, one conflict at a time. It then has to force-push
main, which is how merged PRs get lost.Solution
Merge
upstream/release/2026.10.5(1808b57b75f,2026.10.5-beta.3, 1,113 upstream commits) into forkmain. This is a merge commit, not a rebase:The merge conflicted in 216 files. 187 were mechanical:
package.jsonversion bumps take the release side, hunk by hunk. The root version is pinned to2026.10.5, and the fork-onlydeploy:globallyscript stays..githubfiles the fork deletes stay deleted.Info.plistand the generated manifest and catalog take the release side.10.2release cut had changed take10.5's version.The other files were resolved by hand. The commit message has the details:
agent_end:readSessions) decides whether the run is terminal.stopped; the tests caught this.sourcefield carry over into upstream's refactored readers.normalizeLabelscallers move tonormalizeCappedStringList.normalizeHeartbeatDeliverydelegates its reply branch to the fork'snormalizeHeartbeatReply, which strips trailingNO_REPLYand closingHEARTBEAT_OKlines. Upstream Keep quiet heartbeats quiet after tool failures openclaw/openclaw#156174 covers the fork's other heartbeat fix (quiet heartbeats after read-only tool failures).docs/fork-features.txtentry is updated.agent_endcallers now supply a session reader through a newendedSession()helper.queueNodeTicketStartmoves intonode-ticket.ts.Impact
The fork runs
2026.10.5with all fork features in place.Update behavior: this is the normal upstream migration path, the same as earlier syncs. Doctor runs at deploy and the deploy script rolls back on failure.
Follow-ups, not in this PR:
scripts/sync-and-deploy.shand.sandcastle/) from rebase to merge before it next runs on top of this history.main: a sandbox registry usage update drops the recordedmounts. Theregistry.test.tstest "preserves recorded mounts…" fails before and after this merge.Evidence
node scripts/check-fork-features.mjsreports 87 of 87 present.tsgo:coreandtsgo:extensionsare clean.tsgo:extensions:testis clean.tsgo:core:testshows only the known.githubfixture import that the fork deletes.oxlintpasses onextensions/workboardand every file resolved by hand.main, it flags only upstream's newsession-accessor.sqlite-transcript-metadata-read.tsentry.OPENCLAW_INCLUDE_OPTIONAL_BUNDLED=1 pnpm buildpasses in 4 min 35 s, with the optional bundled plugins (e.g.memory-lancedb) indist.Review: an independent review checked every hand resolution. It found the fallback defect (fixed in the second commit) and the context-recording gap (fixed in the same commit). It confirmed the heartbeat delegation keeps upstream openclaw#156174, and that the rest carries the fork's behavior over unchanged.
🤖 Generated with Claude Code