Commit Graph

41778 Commits

Author SHA1 Message Date
Peter Steinberger ad53d4419e fix: make gateway token recovery usable from macOS onboarding (#118051)
* fix(gateway): add safe token recovery

Co-authored-by: 宇宙熊Yzx <53250620+849261680@users.noreply.github.com>

* chore: move gateway release note to PR

* test(cli): classify gateway token output

---------

Co-authored-by: 宇宙熊Yzx <53250620+849261680@users.noreply.github.com>
2026-08-02 10:06:50 -07:00
Peter Steinberger e47f9ba075 test: compact host env security fixtures (#118058) 2026-08-02 10:06:37 -07:00
Peter Steinberger 9bbaf433e9 test(agents): compact OpenAI transport replay fixtures (#118065) 2026-08-02 10:02:58 -07:00
clawsweeper[bot] 059a98ebfd fix(agents): preserve explicit model references in alias guidance (#117869)
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-08-02 10:02:23 -07:00
Vincent Koc 6a0eb2a168 fix(talk): detach mutation digests from voice close (#118025)
* fix(talk): detach mutation digests from voice close

* test(talk): cover bounded mutation digest delivery

* fix(talk): terminalize failed mutation digests

* fix(talk): require successful transcript close barriers

* fix(talk): drive bounded digest retries

* fix(talk): persist unresolved transcript identities

* test(talk): prove transcript barrier survives owner reset

* fix(talk): retain failed digests for lifecycle retry

* fix(talk): close voice lifecycle persistence gaps

* test(talk): split digest lifecycle coverage

* fix(talk): terminalize failed relay transcripts
2026-08-03 00:13:45 +08:00
Vincent Koc 2844876be3 fix(google): align unsupported CLI auth paths (#118034) 2026-08-03 00:13:19 +08:00
Peter Steinberger 38a5d39b33 fix(gateway): hot-reload automatic compaction settings (#118010)
* fix(gateway): hot-reload automatic compaction settings

* test(gateway): isolate compaction hot-reload e2e coverage

---------

Co-authored-by: Peter Steinberger <steipete@macos.shared>
2026-08-02 08:38:07 -07:00
Vincent Koc cd3e2204d0 fix(sqlite): wait for startup checkpoint locks (#118022) 2026-08-02 23:37:36 +08:00
WhatsSkiLL fe81123fe8 fix(onboarding): report browser opener failures (#117979)
* fix(onboarding): report browser opener failures

* test(onboarding): align browser opener fixture

* fix(dashboard): distinguish browser launch failures

* fix(onboarding): distinguish failed browser handoffs

---------

Co-authored-by: IWhatsskill <284122573+IWhatsskill@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-08-02 22:41:49 +08:00
SunnyShu bd486b670a fix(sqlite): skip slow-lock diagnostic when busyTimeoutMs is zero (#115990)
* [AI] fix(sqlite): skip slow-lock diagnostic when busyTimeoutMs is zero

busyTimeoutMs: 0 means "do not wait for locks, fail immediately".
The slow lock wait threshold should not collapse to 1ms in this case,
causing false-positive WARN logs for normal successful transactions.

Fixes #115972

Co-Authored-By: Claude <noreply@anthropic.com>

* test(sqlite): add regression tests for busyTimeoutMs: 0 threshold

The existing test suite did not cover busyTimeoutMs: 0, which caused
false-positive slow-lock warnings for zero-timeout lease transactions.

Added:
  1. 'does not warn for busyTimeoutMs: 0 with fast transactions' —
     verifies the regression is fixed (0 → uses 1000ms default threshold)
  2. 'still warns for busyTimeoutMs: 0 when crossing 1000ms boundary' —
     verifies genuinely slow transactions still trigger the diagnostic

Both tests pass on the patched code (12/12 total).

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-08-02 07:38:16 -07:00
zengLingbiao 568bfd0a12 fix(canvas): serve Content-Length on Canvas document HEAD responses (#117964)
* fix(canvas): serve Content-Length on Canvas document HEAD responses

* fix(canvas): measure decoded HTML representation for Content-Length
2026-08-02 22:31:19 +08:00
Jesse Merhi 0181ba67c2 feat(diagnostics): configure OTEL metric name prefixes (#116687)
* feat(diagnostics): support OTEL metric name prefixes

* feat(diagnostics): replace the default metric prefix

* docs(diagnostics): explain metric prefix migration impact

* fix(diagnostics): validate metric name prefixes
2026-08-03 00:29:05 +10:00
Vincent Koc 507cec77c4 Merge pull request #117972 from openclaw/fix/talk-relay-bounded-retention
* commit 'dcf1ce8f01e2bf9bd5acf9216794f6b01511e7c0':
  fix(talk): enforce relay lifecycle bounds
  fix(talk): enforce relay terminal precedence
  test(talk): cover relay tool-call retention overflow
  fix(talk): bound relay tool-call lifecycle state
2026-08-02 22:02:46 +08:00
Peter Steinberger 0ac3368c8f fix(plugins): contain rejected synchronous hook results (#117988)
Co-authored-by: Peter Steinberger <steipete@macos.shared>
2026-08-02 06:42:17 -07:00
Peter Steinberger d720d78fee fix(cli): preserve shell profiles when completion install fails (#117987)
* fix(cli): publish completion profiles atomically

Closes #117980

* fix(ci): restore environment variable budget

* fix(cli): preserve dangling completion profile symlinks

* fix(cli): narrow completion readlink failures
2026-08-02 06:36:43 -07:00
Peter Steinberger 3748fcfd2c fix(tui): preserve legitimate consecutive backspaces (#117989)
Co-authored-by: Peter Steinberger <steipete@macos.shared>
2026-08-02 06:28:01 -07:00
qingminlong 860960e543 fix: preserve queued messages during /compact (#117840)
* fix: preserve queued work during compact

* fix: guard compaction against summary-elided follow-ups

* fix(sessions): preserve in-flight compact queue work

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-08-02 21:14:03 +08:00
Qiong 94746d7138 fix(compaction): resolve stored session override and cache-inclusive usage for native /compact (#117470) (#117580)
* fix(compaction): resolve stored session override and cache-inclusive usage for native /compact (#117470)

* test: narrow native compact fixture types

* test: keep native compact fixtures isolated

* fix(compaction): disclose unknown resulting context

---------

Co-authored-by: Peter Steinberger <steipete@macos.shared>
2026-08-02 05:55:11 -07:00
Peter Steinberger 5c020ffed2 fix(gateway): report queued transcript broadcast failures (#117539)
Co-authored-by: Peter Steinberger <steipete@macos.shared>
2026-08-02 05:35:49 -07:00
Peter Steinberger 5739f42c48 fix(nodes): preserve screen output on write failure (#117973)
* fix(nodes): publish screen output atomically

Closes #117970

* fix(nodes): keep output schema unchanged
2026-08-02 05:22:34 -07:00
Dinesh H Suthar 35b00ddd14 fix(reply): preserve retryable final delivery recovery (#117597)
* fix(reply): preserve retryable final recovery

* fix(reply): preserve partial-delivery recovery markers

* fix(reply): keep delivery classification cycle-free

---------

Co-authored-by: Peter Steinberger <steipete@macos.shared>
2026-08-02 05:17:02 -07:00
Dallin Romney e9b25aa21d refactor(cua-computer): replace daemon MCP with CUA Driver SDK (#117205)
* chore(cua-computer): freeze CUA Driver 0.14.1 fixtures

* refactor(cua-computer): use CUA Driver SDK directly

* fix(cua-computer): repair CUA CI checks

* style(cua-computer): format driver cleanup

* fix(cua-computer): migrate retired driver path

* fix(cua-computer): start direct driver sessions
2026-08-02 20:03:24 +08:00
Vincent Koc dcf1ce8f01 fix(talk): enforce relay lifecycle bounds 2026-08-02 19:58:28 +08:00
Vincent Koc 4dedd5c77e fix(agents): keep cumulative token totals consistent (#117930)
* fix(agents): keep aggregate usage totals cumulative

* test(agents): cover cumulative usage reporting paths
2026-08-02 19:55:53 +08:00
Peter Steinberger 0cc0475306 test: simplify Codex doctor route fixtures (#117967) 2026-08-02 04:40:05 -07:00
Vincent Koc eec0d0310c fix(talk): enforce relay terminal precedence 2026-08-02 19:26:37 +08:00
Peter Steinberger 641b730134 fix(cron): normalize zoned ISO timestamps consistently (#117969)
Co-authored-by: Peter Steinberger <steipete@macos.shared>
2026-08-02 04:22:47 -07:00
Peter Steinberger 85e4094529 fix(cli): publish TTS output atomically (#117962) 2026-08-02 04:08:55 -07:00
Peter Steinberger ef226529ef test: consolidate verified inference fixtures (#117955) 2026-08-02 04:02:52 -07:00
Peter Steinberger e46b4c34b0 fix(diagnostics): read active assistant context from canonical SQLite sessions (#117945)
* fix(diagnostics): read active assistant context from canonical SQLite sessions

* fix(logging): keep incognito transcript context out of diagnostics
2026-08-02 04:02:34 -07:00
Peter Steinberger 92c7400a54 perf(cli): finish cold read paths (#117957)
* perf(cli): finish cold read paths

* test(cli): satisfy cold path lint gates

* test(cli): fix cold path fixture typing
2026-08-02 03:59:24 -07:00
Vincent Koc ea29bbcc64 test(talk): cover relay tool-call retention overflow 2026-08-02 18:29:13 +08:00
Vincent Koc 275ab9c98b fix(talk): bound relay tool-call lifecycle state 2026-08-02 18:29:12 +08:00
Peter Steinberger d512d1b182 fix(gateway): preserve trusted CA certificates when reinstalling services (#117944) 2026-08-02 03:19:00 -07:00
zengLingbiao 9045484aea fix(agents): bound project memory git remote lookup (#117346)
* fix(agents): bound project memory git remote lookup

* test(agents): prove project memory git timeout

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-08-02 18:17:48 +08:00
Peter Steinberger 610ca42ce3 fix(cli): publish buffered media atomically (#117934) 2026-08-02 03:15:50 -07:00
Qiong d2ad3e4229 fix(gateway): skip provider-auth rewarm for unrelated hot reloads (#117449)
Skip the provider-auth warm worker for hot reloads whose changed paths
cannot affect agent scope, model catalogs, provider config, or auth inputs
(heartbeat/hooks/cron/gmail/mcp/ui/logging). Unrelated reloads previously
cleared the warmed cache and started an O(agents x providers) worker that
pinned one core until the 120s timeout. The whole-config fingerprint guard
preserves correctness by falling through to compute.

Fixes #117411

Co-authored-by: Peter Steinberger <steipete@macos.shared>
2026-08-02 03:15:02 -07:00
zengLingbiao 5c430848b3 fix(acp): kill spawned ACP server when the handshake fails (#117901)
* fix(acp): kill spawned ACP server when the handshake fails

* fix(acp): await failed server teardown

* test(acp): make teardown assertion portable

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-08-02 18:13:40 +08:00
Harjoth Khara 18f31f6d22 fix(media-understanding): resolve inbound media:// refs carried as attachment url (#117268)
* fix(media-understanding): resolve inbound media:// refs carried as attachment url

* fix(media-understanding): resolve stored inbound URL aliases

Co-authored-by: harjoth <harjoth.khara@gmail.com>

* test(qa): classify stored inbound media proof

* test(qa): require exact inbound media completion

* fix(media-understanding): preserve local media refs

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
Co-authored-by: Peter Steinberger <steipete@macos.shared>
2026-08-02 03:01:30 -07:00
Vincent Koc 30c87bde99 fix(agents): reject false success from delegated file mutations (#117938)
* fix(agents): verify delegated writes before reporting success

* fix(agents): verify delegated edits before success

---------

Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
2026-08-02 17:58:40 +08:00
Peter Steinberger 4c7a8d412b feat(cli): support --json across reporting commands (#117928)
* feat(cli): support --json across reporting commands

* test(cli): satisfy json command checks

* test(cli): type json exception map
2026-08-02 02:56:08 -07:00
Peter Steinberger 4d14f298b0 perf(cli): keep read-only commands on cold paths (#117932)
* perf(cli): keep read-only commands on cold paths

* perf(channels): reuse list metadata snapshot
2026-08-02 02:54:40 -07:00
Simone 3f9b4519a9 fix: prevent fractional chunk limits from stalling text splitting (#117727)
* fix: normalize fractional text chunk limits

* fix: normalize markdown chunk limits

* fix: normalize direct newline chunk limits

* fix(matrix): reuse progress-safe text chunker

* test(matrix): align runtime API guard

* test(matrix): keep outbound shard topology stable

* fix(matrix): preserve facade chunk compatibility

* test(matrix): keep runtime export guard stable

* fix(matrix): normalize render-aware chunk limits

* test(matrix): type real-send assertions

* fix(matrix): preserve one-unit event limits

---------

Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-08-02 04:53:31 -05:00
Tak Hoffman c4810336d5 test(gateway): widen aggregate event-loop budget (#117931) 2026-08-02 04:33:50 -05:00
Shakker d4490c6a9d fix: invalidate stale Buzz room targets 2026-08-02 10:30:32 +01:00
Peter Steinberger 8404f5fee3 test(gateway): mock orphan recovery in startup proof (#117922)
Co-authored-by: Peter Steinberger <steipete@macos.shared>
2026-08-02 02:22:36 -07:00
Peter Steinberger a5b8b7052b fix(ui): preserve advanced cron delivery settings when cloning (#117909)
* refactor(ui): consolidate task and log contracts

* fix(cron): preserve advanced delivery routing

* refactor(ui): share relative-time bucketing

* fix(ui): retain narrow cron view types

* fix(ui): keep cron form field keys total

* style(ui): use narrowed task result boolean
2026-08-02 02:13:38 -07:00
Peter Steinberger a0d4aa3466 test(agents): consolidate agent test clusters (#117912) 2026-08-02 02:06:05 -07:00
Peter Steinberger 0138f5b5e3 fix: stop lost cancellations, false success, and stuck Codex compaction (#117902)
* fix(inference): preserve cancellation, lifecycle, and Codex completion ownership

* test(qa): settle visible replies on the active channel transport
2026-08-02 02:03:57 -07:00
Peter Steinberger 83fa625fb6 fix(cli): reject incomplete hosted video downloads (#117893)
* fix(cli): validate streamed video downloads

* test: repair CLI and plugin test gates
2026-08-02 02:03:37 -07:00