Skip to content

chore: prepare extended-stable 2026.7.33 - #133000

Merged
RomneyDa merged 257 commits into
extended-stable/2026.7.33from
release/2026.7.33-backports
Aug 31, 2026
Merged

RomneyDa merged 257 commits into
extended-stable/2026.7.33from
release/2026.7.33-backports

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Aug 30, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Prepares the extended-stable 2026.7.33 release line from v2026.7.1-2. The previous 26-candidate pass materially undercounted the 19,153 non-equivalent commits since the scan cursor; this PR records the full discovery and carries the relevant, low-risk fixes plus the current pinned release tooling needed to publish this track safely.

Why This Change Was Made

Discovery was rerun over the frozen range b81666ca6af2..3d12ee7cdc5b in 192 batches, with independent early/middle/late deep probes. The resulting ledger accounts for every non-equivalent commit: 128 retained source commits and 19,025 explicit skips. Broad features, config/schema/protocol changes, migrations, Codex changes, and refactors without a narrow extended-stable justification remain excluded.

The release branch is cut from v2026.7.1-2 (0790d9f593ad), versioned to 2026.7.33, and includes the pinned-main npm/Docker publication workflow and its complete helper dependency closure. This PR does not tag, merge, or publish anything.

User Impact

Operators on extended-stable receive 128 targeted fixes spanning gateway/auth, delivery durability, agents, channels/plugins, security hardening, and release reliability while preserving the July frozen-line boundary. Publication remains limited to the core npm package, all publishable npm plugins, and default/slim/browser Docker images under extended-stable aliases.

Evidence

  • Full scan: 19,496 commits; 19,153 non-equivalent commits; 128 backports; 19,025 skips.
  • Changelog verifier: schema v3, 126 unique PRs, 6 issues, verified.
  • Focused tests: 550 original checks passed; repaired runtime set: 301 passed; tooling/type adaptation set: 264 passed with 2 known macOS realpath-only fixture failures. Production dependency audit passes with no high-or-higher advisories.
  • Plugin SDK alias shard: 76 passed, 4 host/worktree failures (/private/var normalization and unavailable built-dist fixture); exact-head CI is the authoritative rerun.
  • Workflow lint: actionlint passed. The final tree leaves .github/workflows/ci.yml byte-identical to the frozen base because its historical anchors crash the branch-pinned Zizmor when the file enters the changed-workflow audit.
  • git diff --check: passed.
  • Exact-head CI (f73551214ce): 86 checks passed, including all Linux suites, production/test types, shrinkwrap, security, iOS build, macOS Swift, and iOS Periphery. The two red dependency checks are the same required admin/secops override for 219 dependency-related files.
  • Autoreview: one P1 watchdog finding; addressed by retaining the fix with a July-owned timeout constant, with its 75-test CLI runner suite passing.
  • Private GHSA discovery: no open/draft/pending advisory.
  • Plugin SDK warning: 0 entrypoints added/removed; 9 reachable exports changed. Digest: ba85a4fb1add503a1abc222ddbed4d47d746c548927c3a2aaceecca6fc8f4df7. Maintainer acknowledgement required before publish.
  • Compatibility warning: dated compatibility records already present on the frozen line require explicit maintainer approval to retain before publish; this PR does not alter config compatibility policy.
  • Production/test delta is large because this aggregates 128 fixes, generated version metadata, and the current release-tooling snapshot: +41,793/-3,901 overall. No SQLite schema or protocol version change is included.
  • CI compatibility repair: kept the provider-class idle-timeout fix with its finite-watchdog prerequisite; excluded six fixes whose runtime owners do not exist on the July line; adapted the Claude watchdog fix to the July timeout owner; adapted tests only to July test support and lane names.
  • Diff classification: +698/-532 dependency lock/shrinkwrap lines; +10,906/-713 test or fixture lines; +30,189/-2,656 other source, workflow, docs, generated metadata, and release tooling lines.
  • Frozen-toolchain repair: retained the substantive backports, removed the unsupported SwiftFormat minimum-version assertion, completed the Bun glossary/docs-map metadata, and removed a Docker-doc link to a fleet feature that does not exist on the July line.
  • CodeQL repair: removed the unused install-trufflehog composite-action input and its checked-out-script execution seam; no workflow called it, and the tooling diff shrank by nine lines.

Discovery boundaries and artifacts

  • Base: v2026.7.1-2 / 0790d9f593ad30c940ed93b5872a8cf6d6f3cf8c
  • Pinned main/tooling: 3d12ee7cdc5b4ead9f2a00da4e64e5c955f56e53
  • Scan cursor: b81666ca6af25c86cc099983a4358cdc5ea9ced8
  • Durable local ledger: .artifacts/releases/2026.7.33/backport-ledger.tsv
  • Approved source list: .artifacts/releases/2026.7.33/approved-backports.txt
  • SDK report: .artifacts/releases/2026.7.33/plugin-sdk-api-diff.json
  • Release handoff: .artifacts/releases/2026.7.33/release-handoff.md

Retained source commits

128 exact source SHAs
  • 02560243f3caf7951cc2dab12d766449812c02c2
  • 048f2096d2473df2a27d26164f6a6a40b5dce6f4
  • 0680dfc6a9a920b835ba8b388f1534a3f2087a04
  • 0c0cbf9709ae42c76e9fff48819f00fdc38c05c1
  • 0c8f070c92a8bbc3a9d967415a9d031ee1212e69
  • 1017ea5bc8048dfee9aff0d6a4be4d7e80f342bf
  • 13817a6108b3d838a408434c828e0e1024bdf12e
  • 145b71f57efce9948a0615bb9e6793d78a0bcf82
  • 14b95c7552338b50be8f285a3c7f516c45116f17
  • 183139f3edae9c4ea979d4d2d45b5d5b409524bf
  • 18e80760a70da0be87e976e32dd29a9c0ab7e098
  • 18e8713b99c69b714f6ff0a71933f7a4ae351ca1
  • 1defbc54731ad97e07ce444deeac7f371bd7b019
  • 1e04925e03b4c238ab6ff63ca3a86a04955cf365
  • 1e0a42432d0a6b6574316fed93fe9ff14e5c6230
  • 1e660ac7b2b8fb1c596b471e52c66ff650f4a8bd
  • 215be4e4ee20a9b0010dd1f9c8529f8b6019046b
  • 232de2315b0b5d7cde6ad97bb39ac1e3b5fd73c1
  • 240d350c7f666b43354653e413c278dbb9f9e0d5
  • 26e1b18a9b5372bb8f3361a4fe3709c4a60f405c
  • 28bbbe4f603c17ca770399f044bd8f25c2c8685f
  • 2b98aec9ef2cebfdc0bc07ee4aa97076b55e2873
  • 2cb482dd40ad59aae51234e80b51361780e2b771
  • 2cbcd05a8ed0ad3c9d811ad228528d649f1d480e
  • 34248e101fd323bb996d9ab265d1c0147c15aa7b
  • 36440de61dc421003758ef794f8d5138f600016f
  • 3ed8143495223f19d572a64143e014ce376d9605
  • 416d113a2c61f415248bcfa069a3dfb11b81c84a
  • 436ed5f3085ba57b7baebb697e4bd7479b872a00
  • 445e262d26667bbe70216aa9cd19a147b1ed9790
  • 457a83a94672f4b144c8407fd04a5d9c21569308
  • 472e5167d38a370b8b9f61b19988dc913585ce95
  • 49a5b6a23575892774967d09d7a2847957942247
  • 49f223e190fe7379af7d60b60833c8b8cba9406f
  • 4a0086d08565e074316883fe778f71892f5b7c66
  • 4aeb426d2d146626147b616548139635492a6768
  • 4af2ca0a4d780f29015ff3c9c33987335a6c08cc
  • 4cfe0077ff0a3079d210338bdd296baaea69d2ff
  • 4fa3118049c1592c3a057b25ac4857fa08cfdc38
  • 51b4e78c339de48614f5fc578e1d4685c2ca9d8b
  • 51bb5f684778c8f86f095249d0cd5ce69a631c85
  • 5300c0d154ed6e0ff53657b98f23cc457d6b93ba
  • 574f1315540a82f7ea53410ac9eb57138af91c8f
  • 58ef98ec13117e891036c684138fdee0ef63a850
  • 5a26748c3eb6a6ee459d643832f68b2e7b961766
  • 5a6d684019d968f44d8be45e3241b13ef1afd426
  • 5b4df5724840cf73e7f541550381932a7273bf64
  • 5d34ea774a79cd6718298d8fdc9bbaea97c3605b
  • 5e4b0d3beaad09dd82a9b0bb4bf2cc0b0da3cf3f
  • 60364137663d9f2c6584e8bd5f5dc410b475e0aa
  • 624dfa6cf6dc19d5f52553b45e503f1d4a4678c7
  • 6a3834d41d0c29b7cb8659552eb9a80fa2714ad9
  • 6e4670f9c14790264516f70acb5c20dab71eadd5
  • 6e4f2e1ec46f05d50083ef3342e4499d334d59bb
  • 7193d29c92a95695a779cdca2eea0df97dbf20f9
  • 780f8d6f62f50b4203fb951ef962c18329baba88
  • 78fca7b0c4f6e18c666e47531b7280f5b007f5d9
  • 79d3daa09b57a9db0a50e424fec22f3921a6c3c0
  • 7abc6665dc813db05eaf8dfc4b963978bc33cc27
  • 7c61f7160005886038af8d50cb5cca15c78aca3e
  • 7de325d06023ca1a679660b73785795fa00e2218
  • 834c1469581c0eed9b001d506f37645e0029043f
  • 84393bea7a7be017c64ce5e79e2e98ea420b451a
  • 85a8f4ba8d9fe0fe9eec40173da28d4f59d51d01
  • 85aa26d34f8b190d9d27d23966391dc616dc4b0c
  • 89984a5082cea059ae792ebff00c17709986e369
  • 8a7242461c37b15a6b3451517ed8952ad6781565
  • 8cf88bfa121fbb51acd89318e881af38283549ea
  • 8f8aad9ae69253ecf91526a48f97dcb8d2d43acf
  • 95f56b84cbd9e205ed0d05aa561eacf19a81eaa3
  • 9614129c2bfb877411780b3568c3a0bc7db0d099
  • 964a83b363d7596c63eb274803d553218c8bad61
  • 9706aae10aeec17c831d89727089e0af2bf6ebe0
  • 97c57585a1001552eb61060e36cb150fc958fb5f
  • 99ddde8726204ad22b0f544156e998d187bdf912
  • 9b057036e3df8bdf3142a05c1bcb9797ec35c406
  • 9b4cbe47589d3bd7ff90c0c80a8dcdadfceed373
  • a11449211a2c18b32c14173ff35f1eae7f714e03
  • a1cc41acbcdd285a7cdb423bdfe45ef06b2f97cb
  • a3f00d32c914ece43c0885d8c7eb26cc78ab612e
  • a498fc511efaa1d96b2e5cc9f1b7f073539438e5
  • a4c1e22731260c62212d72d4d933d43271c00b76
  • a4e524fae3f8cdb20f3b8dfdd865d1f3b26fbff8
  • a522e4309cbb5491c941766922a910cc0a1bb5d6
  • a66d2959e9564bbf899e519e465b4ca49e9ba7ab
  • a6d45c46de78fd1aa3fbacf39b6f2aa21821cb83
  • ab9a1c9a84878497d8acad990cc02f978e3a281b
  • acac359de64ee9510074c1a5ad4ae1a24663dd78
  • b0d40bf63651e9e7ae27201251fcb6992849994d
  • b2702156acae708ff73e1a1b86f7d10a793dd7a7
  • b37476ab0b6416ab0ca98b9a894256ec3ad27e0e
  • b62c796e51d98f6b5dffab31e00b39306d2dc2f0
  • ba5a212c8f078b93659b05ff14107030e8f05779
  • ba5e1740776e6b5e79b51c31fb5477fe6c9a7151
  • bc6a4bdd94ab71faa1fc782b70e4c1374c98d041
  • c3d567db95d0d17f36f484ad9b9c0d14800614b3
  • c459a1876b0542ccb0278894899f155006b60d45
  • c4f148368aee115620c972b5f8c0c6b397e64966
  • c4f46baec3178be8c5036193ff813fdc2cdb7154
  • c765b5de3bdcc9703592b3afa1c88a0e38a1962c
  • ca8f6e1efd62ea98d4fa496a3e3663ed2d6eba52
  • cba9ffb177eca82121c39d1eb5cb644c0e41c2af
  • cc961001f3c5f05f4086b3573d9cf2bf6fc09502
  • cf84b80e48101093915e2d2eb11193133c91ccde
  • cff22e83ca3e1f1ee3a022656812a0e303df69d5
  • d0c49a7ad422b12bede975294cf7ef8ccd34a1e8
  • d5569a98dba2369903de1ab801c5a5257a6c839f
  • d5a31888edeb70e9f24bc4fc9fa7ea027703f66a
  • de916a4fe3f648b560c7ffa3891fad16bf4f78a3
  • e3fc8527ce021ec47c5a34092c5419e1f9772b45
  • e5aefd5656e81fd2eef5ee609d19c1446ad856df
  • e8bd3ae26a952eda29b16f979abab03ab7df3460
  • e90bf318292759ff53a6bb35e3fee75242df1236
  • ead8876ccf1043609da24fc5ea3038cd330d9512
  • ed9ce1c58438353a17cb7fb0a2213d202c5eb3b4
  • f0cc5e500f6658b8dde9100c08588b60649b4c46
  • f0d4d4f2fccda02915cfa9d467e660f82ff9bb1d
  • f4b2a50c9f69a56f4766e331476a2ccea86d2af7
  • f50293c9e73b7e9fce0a0c1123a7335d5d73a1e2
  • f73c5541fe56196b8b34ab87c045a042ecf95391
  • f77c2aafa09598cf378effc5bca7830f82cc2727
  • f85d438164eb954aecdf05b9e1c0102cf05346bf
  • f8aa995856ecec703e7391e0f3818a16ac844847
  • f8c7f67bde400b2a2f60ea2e190c67486511d545
  • f984209f54d5170efe29595a1308b7912d4fe321
  • fa0349aa440b49219889cb9cc59519f8f9e7e461
  • fdf581281746ecc28be6c58d608569313a9e31aa
  • ffec7731a4ac701eb2a13c5a37edfd77ee89fd7a

Rollback and release boundary

Rollback is branch/PR-only until merge. No tag or publication surface has been mutated. If a retained fix fails review, revert its source-attributed cherry-pick and regenerate the changelog/manifest before merge. Exact-head CI (with dependency-policy approval), SDK acknowledgement, and compatibility-retention approval remain pre-publish gates.\n\n## 2026.6.35 parity audit\n\nCompared the pending extended-stable/2026.6.33 branch at 78b6d065e13 (package version 2026.6.35) against this candidate. The June release squash records 258 source-attributed fixes: 59 were already equivalent by ancestry/patch identity; 18 more reverse-applied as already present; 54 clean missing fixes and 10 additional reviewed/adapted fixes were added here. One apparent queue gap is already satisfied by July’s stronger pre-await removal invariant. Post-squash parity added Bun 1.4 startup diagnostics, readable package inventory permissions, and completed QA-artifact status; tar 7.5.22 was already present. Focused parity validation: 192 tests passed across 7 Vitest shards; git diff --check passed.\n\nDependency Guard remains a policy authorization gate, not a failing implementation: this release intentionally changes package versions, manifests, lockfiles, and shrinkwraps. The authenticated PR author has repository maintain rather than admin, so an admin or @openclaw/openclaw-secops member must authorize the exact head using /allow-dependencies-change.\n

yetval and others added 30 commits August 29, 2026 18:21
…tions (#102398)

* fix(plugins): terminate git clone args so git: specs cannot inject options

A git: install spec whose base ends in .git or is scp-form was passed to
git clone as a bare positional. A spec beginning with a dash, such as
git:--upload-pack=/path/pwn.git, was parsed by git as an option rather than
a repository, reaching a command-execution primitive. The sibling
git switch --detach -- <ref> in the same files was already hardened; the
clone sites were missed.

Add a -- option terminator before the URL at both clone call sites
(installPluginFromGitSpec and installSkillFromSource) and reject a
leading-dash URL in isGitUrl as defense in depth.

* test(plugins): prove git option rejection boundary

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

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 9706aae)
Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit fa0349a)
…rency (#102013)

* fix(gateway): bound sessions.usage all-agent session discovery concurrency

* refactor(gateway): centralize usage agent tasks

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 34248e1)
Co-authored-by: WangYan <[email protected]>
(cherry picked from commit 79d3daa)
…ses (#101000)

Co-authored-by: NIO <[email protected]>
Co-authored-by: Cursor <[email protected]>
(cherry picked from commit 8cf88bf)
* fix(gateway): demote startup close transport races

* fix(gateway): remove stale startup close import

(cherry picked from commit 78fca7b)
…104540)

* fix(sessions): prevent corrupted Unicode in persisted tool details

* test(sessions): consolidate UTF-16 persistence coverage

* test(sessions): build redaction fixture from placeholder

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 4a0086d)
…son (#104734)

The provider auth overview passed the caller's synthetic-auth object
through to the JSON payload. Status hands it the full runtime shape,
which also carries the raw credential, so structural typing let live
API keys/tokens ship in a diagnostic surface (#104713). Re-project to
the declared value/source fields at the overview boundary.

Fixes #104713

(cherry picked from commit 4cfe007)
* fix(gateway): stop retired health monitor restarts

* style(gateway): format health monitor regression

* fix(gateway): stop retired monitor account scans

* refactor(gateway): coordinate health monitor handoff

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 9b05703)
…mode=none on HTTP (#102834) (#102881)

* fix(gateway): reject disallowed browser Origin before accepting auth.mode=none on HTTP (#102834)

* refactor(gateway): scope HTTP Origin checks to no-auth

* fix(gateway): preserve trusted-proxy scan boundary

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 232de23)
* fix(hooks): bound HOOK.md reads during hook install validation

* fix(hooks): remove unused fs import after switching to bounded reader

* test(hooks): cover symlinked install metadata

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 5d34ea7)
…ssage loss (#103562)

* fix(discord): retry session conflicts without duplicate inbound work

Co-authored-by: 陈宪彪0668000387 <[email protected]>

* refactor(discord): split session retry policy

* refactor(discord): keep retry error private

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 7abc666)
…s draining error (#113514)

* fix(gateway): retain root-work admission for streamed HTTP runs

Streaming requests to /v1/chat/completions and /v1/responses dispatch the
agent run from a detached `void (async () => {...})()` that intentionally
outlives the HTTP handler. The handler itself runs inside
runWithGatewayHttpWorkAdmission, which releases its root-work admission as
soon as it returns.

Because the detached run inherits that same AsyncLocalStorage store, it ends
up holding a *released* lease. isGatewaySubordinateWorkAdmissionClosed()
returns `current.released` for an inherited store, so every subordinate
session/lane admission the run subsequently requests is refused with
GatewayDrainingError - on a gateway that is not draining at all.

Symptoms: streamed turns fail partway with "Gateway is draining; new tasks
are not accepted", surfacing to OpenAI-compatible clients as a generic error
chunk. Non-streaming requests are unaffected, because they await the run
inside the handler's still-live admission.

Fix: retain the admission across the handler boundary with
retainGatewayRootWorkAdmissionContinuation() - the helper that already
exists for exactly this case ("Transfers an admitted request root to work
that intentionally outlives its handler") - and release it in the existing
finally block so drain accounting stays balanced.

* test(gateway): cover streamed HTTP admission lifetime

* test(gateway): satisfy deferred timer lint

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit f78d958)
Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit a653741)
Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 49f223e)
Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 97c5758)
* fix: preserve tool-call pairing when message hooks block results

* test: satisfy tool-result guard boolean lint

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit de916a4)
…102331)

* fix(google-meet): preserve routed agent across session reuse

* chore: defer google meet release note to release closeout

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit f85d438)
* fix(agents): keep steering metadata truncation UTF-16 safe

Replace raw string slicing with truncateUtf16Safe in promptLiteral so
emoji and CJK surrogate pairs in steering queue metadata are not split
mid-pair at the 500-char MAX_METADATA_CHARS cap.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* test(agents): add emoji surrogate boundary regression for steering metadata

Drive buildMergedAgentSteeringPrompt with a task label placing an emoji
at the 500-char MAX_METADATA_CHARS boundary to prove truncateUtf16Safe
preserves the surrogate pair instead of splitting it.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* test(agents): assert steering truncation output

* test(agents): remove useless string concat in emoji boundary test

---------

Co-authored-by: Alix-007 <[email protected]>
Co-authored-by: Claude Opus 4.8 <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: chengzhichao-xydt <[email protected]>
(cherry picked from commit e8bd3ae)
…01617)

* fix(discord): remove gateway error listener on dispose

* fix(discord): preserve late gateway error guard

* fix(discord): retain late gateway diagnostics

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 1017ea5)
* fix(discord): keep gateway close reasons UTF-16 safe

* test(discord): assert exact close reason truncation

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit e90bf31)
* fix(agents): keep truncation surrogate-safe

* test(agents): tighten process label truncation coverage

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit b62c796)
* fix(discord): split encoded video URLs from captions

Co-authored-by: chatgpt-codex-connector[bot] <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com>

* refactor(discord): scope media filename decoding

---------

Co-authored-by: chatgpt-codex-connector[bot] <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com>
Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 2cb482d)
…afe (#102090)

* fix(gateway): keep session title and preview text truncation UTF-16 safe

* test(gateway): cover session UTF-16 boundaries in place

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 9614129)
mikasa0818 and others added 22 commits August 30, 2026 16:37
* fix(mattermost): cap opaque target cache

* refactor(mattermost): clarify bounded target cache

* chore: keep release notes in PR

* chore: keep release notes in PR

* refactor(mattermost): clarify bounded target cache

---------

Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 20e1368)
…#102753)

* fix(qqbot): treat inbound attachment content types case-insensitively

* test(qqbot): use distinct download paths per image; note voice sentinel in comment

(cherry picked from commit a49567c)
Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit c93f877)
* fix(signal): preserve daemon log lines across chunks

* test(signal): cover split utf-8 daemon output

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit bf642ef)
…105280)

* fix(discord): reconcile commands at the application cap

* docs(changelog): note Discord command cap fix

* chore: keep release changelog unchanged

* fix(discord): narrow command deployment errors

(cherry picked from commit 4249cdb)
* fix(mattermost): add timeout to REST client requests

* fixup: preserve Mattermost DM retry timeout

* test(mattermost): reuse hanging server helper

* test(mattermost): satisfy timeout lint

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 65b2e7a)
…ion (#108397)

* fix(memory-core): write MEMORY.md atomically during short-term promotion

applyShortTermPromotions rewrote MEMORY.md with a single non-atomic
fs.writeFile, which truncates the file before streaming the new content.
An OS write failure part way through (for example EFBIG on a size-limited
or full volume) left MEMORY.md truncated to the bytes written before the
failure, permanently dropping user long-term memory. The dreaming cron
path invokes this writer automatically, and the recall store is only
updated after the write, so the promotion stays eligible and the next
run reads the already-truncated file.

Route the write through replaceFileAtomic (temp file, fsync, atomic
rename), the same durable-write helper the sibling DREAMS.md writer in
this extension already uses. On failure the temp file is discarded and
the existing MEMORY.md is left untouched; on success the content and the
existing file mode are preserved.

* fix(memory-core): harden atomic promotion durability

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 0317d7e)
…nking (#103518)

* fix(auto-reply): treat U+2028/U+2029 as paragraph boundaries when chunking

chunkByParagraph normalized only CR/CRLF before blank-line paragraph detection,
so model output using Unicode LINE/PARAGRAPH SEPARATOR (U+2028/U+2029) instead
of a blank line was not split at those boundaries and fell back to length-based
splitting. Normalize U+2028/U+2029 to \n alongside CR/CRLF, matching how the
Control UI markdown renderer handles them.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* fix(auto-reply): normalize U+2028 as line break, U+2029 as blank-line paragraph boundary

Distinguish U+2028 (LINE SEPARATOR) from U+2029 (PARAGRAPH SEPARATOR):
U+2029 becomes \n\n (blank line — paragraph boundary) while U+2028
becomes \n (single newline — intra-paragraph line break).

The original fix mapped both to \n, so standalone U+2029 still
produced single-line text without a blank-line gap — paragraph
detection failed. The combined U+2028
 input accidentally
produced the right blank-line sequence, which masked the bug.

Adds individual tests for lone U+2029 (splits at paragraph boundary),
lone U+2028 (stays within paragraph), and consecutive U+2028

(combined blank line — matches \n\n behavior).

* test(auto-reply): simplify Unicode separator cases

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 3a4e2ef)
Co-authored-by: 赵旺0668001248 <[email protected]>
(cherry picked from commit 45d15aa)
…102357)

* fix(msteams): preserve streaming delta after whitespace collapse

* fix(msteams): clear stale stream text on rewrite fallback

* test(msteams): update delivery trace stream mock

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 787ed38)
…equestInit (#102951)

* fix(utils): fetchWithTimeout ignores caller-provided AbortSignal in RequestInit

* fix(fetch): preserve caller abort through response body

* test(fetch): satisfy abort rejection lint

* test(mattermost): satisfy promise executor lint

---------

Co-authored-by: Aniruddha Adak <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 991262e)
Recognize Bun 1.4's unquoted importer diagnostic for direct optional launcher imports without masking transitive failures.

Fixes #129139.

Amp-Thread-ID: https://ampcode.com/threads/T-01a037b7-66db-71f0-91e7-1578b383afb2

(cherry picked from commit d1134a4)

Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Amp <[email protected]>
(cherry picked from commit 782a8f7)
* fix(package): make postinstall inventory readable

* test(package): skip inventory mode assertion on Windows

(cherry picked from commit 78b6d06)
…109487)

* fix(config): bound state-directory .env file reads with size limit

Replace unbounded fs.readFileSync with readRegularFileSync capped at
1 MiB (MAX_STATE_DIR_DOTENV_BYTES) so an oversized .env file is
rejected before loading the entire file into memory.

Resolve symlinks via fs.realpathSync before the bounded read so
symlinked .env files keep working — matching the marketplace.ts
pattern for bounded manifest reads.

* fix(config): add diagnostic when oversized state .env is skipped

Log a warning when the state-directory .env file exceeds the 1 MiB
limit so operators know a configured file was skipped — matching the
pattern from #108200 (plugin catalog bounded read diagnostic).

* fix(config): bound global runtime dotenv file reads with size limit

Replace unbounded fs.readFileSync in readDotEnvFile with readRegularFileSync
capped at 1 MiB so CLI/Gateway startup dotenv loading also gets the bounded
read protection — not just the state-dir service-env path.

This addresses the P1 review finding that the original fix only capped the
helper-level reader while the shared readDotEnvFile used by
loadGlobalRuntimeDotEnvFiles was still unbounded.

(cherry picked from commit 0c221d2)
* fix(plugins): bound plugin manifest metadata file reads

* fix(plugins): use correct Error type check in oversized manifest catch

readRegularFileSync throws a plain Error (not RangeError) when the file
exceeds maxBytes. Change the catch-block type check from RangeError to
Error to properly detect oversized plugin manifests and emit the
subsystem warning.

* test(plugins): exercise valid oversized manifests

Co-authored-by: 陈宪彪0668000387 <[email protected]>

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 2e21d53)
@RomneyDa

Copy link
Copy Markdown
Member Author

@openclaw/openclaw-secops Dependency Guard review requested for this extended-stable release PR. The dependency-related changes are intentional release-version, manifest, lockfile, shrinkwrap, and audited backport updates. Focused June-parity validation is green (192 tests across 7 shards), tar is pinned at 7.5.22, and the current exact head is a4ec0d8195fa33415a50ac39dbb57b286820dca5. Please review and, if satisfied, authorize this exact head with /allow-dependencies-change.

@RomneyDa

Copy link
Copy Markdown
Member Author

@openclaw/openclaw-secops Exact head updated only for the CI-proven July SDK adaptation (responseHeaderTimeoutMs → timeoutMs in the Zalo backport); focused Zalo tests and extension production types pass. Please use /allow-dependencies-change against current head 2d7006b365c after the guard posts its exact-head block.

@RomneyDa

Copy link
Copy Markdown
Member Author

@openclaw/openclaw-secops Current exact head is now 23e5fdbb145. The only changes since the prior request repair CI-proven test/deadcode adaptations; dependency graph files are unchanged. Please authorize this exact head with /allow-dependencies-change after the guard posts its block.

@RomneyDa

Copy link
Copy Markdown
Member Author

CI repair update for exact head 23e5fdbb145: fixed the unqualified memory dreaming test constant and classified src/shared/worker-bundle-hash.ts as an intentional script-owned dynamic package-verification input. Local proof: memory dreaming 51/51, deadcode helper 15/15, full test typecheck passed, unused-file scan matched all 28 intentional entries, and git diff --check passed. Exact-head CI now has all completed product checks green; only queued Apple jobs, the known >100-label labeler limitation, and the required dependency admin/secops authorization remain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies-changed PR changes dependency-related files maintainer Maintainer-authored PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.