openclaw/src/infra
ryanngit 0b3d31c0ce
feat(auth): WHAM-aware Codex cooldown for multi-profile setups (#58625)
Instead of exponential backoff guesses on Codex 429, probe the WHAM
usage API to determine real availability and write accurate cooldowns.

- Burst/concurrency contention: 15s circuit-break
- Genuine rate limit: proportional to real reset time (capped 2-4h)
- Expired token: 12h cooldown
- Dead account: 24h cooldown
- Probe failure: 30s fail-open

This prevents cascade lockouts when multiple agents share a pool of
Codex profiles, and avoids wasted retries on genuinely exhausted
profiles.

Closes #26329, relates to #1815, #1522, #23996, #54060

Co-authored-by: ryanngit <ryanngit@users.noreply.github.com>
2026-03-31 21:09:25 -04:00
..
format-time test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
net fix(media): drop auth headers on cross-origin redirects (#58224) 2026-03-31 19:57:42 +09:00
outbound test: dedupe extension-owned coverage (#58554) 2026-03-31 15:18:29 -07:00
tls Prefer non-user writeable paths (#54346) 2026-03-27 11:29:32 +00:00
abort-pattern.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
abort-signal.test.ts test: tighten abort signal coverage 2026-03-13 18:51:21 +00:00
abort-signal.ts
agent-events.test.ts fix(ci): harden Windows test cleanup 2026-03-30 18:56:29 +09:00
agent-events.ts refactor(core): make event and queue state lazy 2026-03-24 11:45:27 -07:00
approval-native-delivery.test.ts refactor(exec): unify channel approvals and restore routing/auth (#57838) 2026-03-30 15:49:02 -07:00
approval-native-delivery.ts refactor(exec): unify channel approvals and restore routing/auth (#57838) 2026-03-30 15:49:02 -07:00
approval-native-runtime.test.ts refactor(approvals): share native delivery runtime 2026-03-31 23:11:53 +01:00
approval-native-runtime.ts refactor(approvals): share native delivery runtime 2026-03-31 23:11:53 +01:00
approval-request-filters.test.ts refactor(approvals): share request filter matching 2026-03-31 15:32:49 +01:00
approval-request-filters.ts refactor(approvals): share request filter matching 2026-03-31 15:32:49 +01:00
approval-turn-source.test.ts refactor: align same-chat approval routing 2026-03-30 06:52:28 +09:00
approval-turn-source.ts refactor: align same-chat approval routing 2026-03-30 06:52:28 +09:00
archive-helpers.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
archive-path.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
archive-path.ts
archive-staging.test.ts test: add archive staging helper coverage 2026-03-13 23:49:07 +00:00
archive-staging.ts refactor: extract archive staging helpers 2026-03-10 23:52:31 +00:00
archive.test.ts fix: restore latest main gate 2026-03-20 16:46:34 +00:00
archive.ts fix: restore clawhub archive installs and gateway params 2026-03-22 18:31:52 +00:00
backoff.test.ts test: tighten backoff abort coverage 2026-03-14 00:53:47 +00:00
backoff.ts
backup-create.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
backup-create.ts Infra: extract backup and plugin path helpers 2026-03-10 20:16:35 -04:00
binaries.runtime.ts refactor: route plugin runtime through bundled seams 2026-03-27 16:40:27 +00:00
binaries.test.ts test: add outbound and hardlink helper coverage 2026-03-13 19:59:11 +00:00
binaries.ts
bonjour-ciao.test.ts refactor(gateway): separate ciao classification from logging 2026-03-22 15:02:43 -07:00
bonjour-ciao.ts refactor(gateway): separate ciao classification from logging 2026-03-22 15:02:43 -07:00
bonjour-discovery.test.ts
bonjour-discovery.ts refactor(gateway): centralize discovery target handling 2026-03-23 00:38:31 -07:00
bonjour-errors.test.ts fix: tighten bonjour whitespace error coverage 2026-03-14 00:36:31 +00:00
bonjour-errors.ts fix: tighten bonjour whitespace error coverage 2026-03-14 00:36:31 +00:00
bonjour.test.ts fix: stabilize plugin startup boundaries 2026-03-28 05:22:26 +00:00
bonjour.ts fix: stabilize plugin startup boundaries 2026-03-28 05:22:26 +00:00
boundary-file-read.test.ts refactor: share boundary open and gateway test helpers 2026-03-23 00:37:05 +00:00
boundary-file-read.ts refactor: share boundary open and gateway test helpers 2026-03-23 00:37:05 +00:00
boundary-path.test.ts refactor: share temp dir test helper 2026-03-13 18:38:12 +00:00
boundary-path.ts refactor(core): extract shared dedup helpers 2026-03-07 10:41:05 +00:00
brew.test.ts test: tighten brew helper coverage 2026-03-13 23:47:22 +00:00
brew.ts
browser-open.ts refactor: share browser and sandbox helpers 2026-03-26 18:43:57 +00:00
build-stamp.test.ts fix(ci): write dist build stamp after builds 2026-03-22 22:23:25 -07:00
canvas-host-url.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
canvas-host-url.ts
channel-activity.test.ts test: tighten channel activity account isolation 2026-03-14 00:55:32 +00:00
channel-activity.ts
channel-approval-auth.test.ts refactor(exec): unify channel approvals and restore routing/auth (#57838) 2026-03-30 15:49:02 -07:00
channel-approval-auth.ts refactor(exec): unify channel approvals and restore routing/auth (#57838) 2026-03-30 15:49:02 -07:00
channel-summary.test.ts test: fix channel summary registry setup 2026-03-23 08:07:44 +00:00
channel-summary.ts Status: lazy-load read-only account inspectors 2026-03-15 20:10:43 -07:00
channels-status-issues.test.ts test: dedupe activity and diagnostic coverage 2026-03-13 19:56:04 +00:00
channels-status-issues.ts
clawhub.test.ts [codex] harden clawhub plugin publishing and install (#56870) 2026-03-29 11:59:19 -07:00
clawhub.ts fix: resolve CI type and lint regressions 2026-03-30 04:51:33 +09:00
cli-root-options.test.ts test: dedupe exec approval and system run suites 2026-03-28 00:02:09 +00:00
cli-root-options.ts feat(cli): support targeting running containerized openclaw instances (#52651) 2026-03-24 10:17:17 -04:00
clipboard.test.ts test: add clipboard and package helper coverage 2026-03-13 19:50:27 +00:00
clipboard.ts
control-ui-assets.test.ts Reduce lint suppressions in core tests and runtime 2026-03-27 02:11:26 -05:00
control-ui-assets.ts fix packaged control ui asset lookup (#53081) 2026-03-23 13:45:04 -05:00
dedupe.test.ts test: add dedupe and boundary file helper coverage 2026-03-13 20:16:57 +00:00
dedupe.ts refactor: consolidate core runtime state helpers 2026-03-22 18:09:45 +00:00
detect-binary.ts refactor: dedupe helpers and source seams 2026-03-24 21:00:36 +00:00
detect-package-manager.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
detect-package-manager.ts fix: support bun lockfile detection 2026-03-14 00:26:03 +00:00
device-auth-store.test.ts test: add device auth store coverage 2026-03-13 20:20:27 +00:00
device-auth-store.ts refactor: add zod helpers for json file readers 2026-03-27 03:41:40 +00:00
device-bootstrap.test.ts fix(pairing): restore qr bootstrap onboarding handoff (#58382) (thanks @ngutman) 2026-03-31 21:11:35 +03:00
device-bootstrap.ts fix(pairing): restore qr bootstrap onboarding handoff (#58382) (thanks @ngutman) 2026-03-31 21:11:35 +03:00
device-identity.state-dir.test.ts test: expand state dir identity coverage 2026-03-13 19:16:38 +00:00
device-identity.test.ts fix: tighten device identity helper coverage 2026-03-13 23:50:15 +00:00
device-identity.ts fix: tighten device identity helper coverage 2026-03-13 23:50:15 +00:00
device-pairing.test.ts fix(pairing): restore qr bootstrap onboarding handoff (#58382) (thanks @ngutman) 2026-03-31 21:11:35 +03:00
device-pairing.ts fix(pairing): restore qr bootstrap onboarding handoff (#58382) (thanks @ngutman) 2026-03-31 21:11:35 +03:00
diagnostic-events.test.ts test: add diagnostic and port format helper coverage 2026-03-13 20:18:50 +00:00
diagnostic-events.ts chore(plugins): remove opik investigation checkpoints 2026-03-23 01:21:19 -07:00
diagnostic-flags.test.ts test: dedupe activity and diagnostic coverage 2026-03-13 19:56:04 +00:00
diagnostic-flags.ts
dispatch-wrapper-resolution.ts fix(exec): unwrap arch and xcrun dispatch wrappers (#58203) 2026-03-31 21:00:14 +09:00
dotenv.test.ts fix(config): block workspace bundled-root dotenv overrides (#58170) 2026-03-31 19:25:12 +09:00
dotenv.ts fix(ci): restore dotenv trust boundary and windows npm exit handling 2026-03-31 21:51:17 +09:00
env.test.ts test: speed up core runtime suites 2026-03-31 02:25:02 +01:00
env.ts refactor: route plugin runtime through bundled seams 2026-03-27 16:40:27 +00:00
errors.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
errors.ts
exec-allowlist-matching.test.ts test: dedupe utility and config suites 2026-03-28 00:26:55 +00:00
exec-allowlist-pattern.test.ts Gateway: treat scope-limited probe RPC as degraded reachability (#45622) 2026-03-13 23:13:33 -05:00
exec-allowlist-pattern.ts Tests: extend exec allowlist glob coverage 2026-03-12 04:01:49 -04:00
exec-approval-channel-runtime.test.ts refactor(exec): unify channel approvals and restore routing/auth (#57838) 2026-03-30 15:49:02 -07:00
exec-approval-channel-runtime.ts refactor: move tasks into bundled plugin 2026-03-31 15:22:08 +01:00
exec-approval-command-display.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
exec-approval-command-display.ts fix(exec): escape invisible approval filler chars 2026-03-22 22:52:14 -07:00
exec-approval-forwarder.test.ts test: speed up core runtime suites 2026-03-31 02:25:02 +01:00
exec-approval-forwarder.ts refactor(approvals): share request filter matching 2026-03-31 15:32:49 +01:00
exec-approval-reply.test.ts fix(slack): accept bare approve fallback 2026-04-01 06:34:01 +09:00
exec-approval-reply.ts fix(slack): accept bare approve fallback 2026-04-01 06:34:01 +09:00
exec-approval-session-target.test.ts refactor(approvals): share origin target reconciliation 2026-03-31 23:11:53 +01:00
exec-approval-session-target.ts refactor(approvals): share origin target reconciliation 2026-03-31 23:11:53 +01:00
exec-approval-surface.test.ts test: speed up core runtime suites 2026-03-31 02:25:02 +01:00
exec-approval-surface.ts refactor: move approval auth and payload hooks to generic channel capabilities 2026-03-30 08:46:44 +09:00
exec-approvals-allow-always.test.ts fix(exec): restore strict inline-eval allow-always reuse 2026-03-31 23:45:22 +09:00
exec-approvals-allowlist.ts fix(exec): restore strict inline-eval allow-always reuse 2026-03-31 23:45:22 +09:00
exec-approvals-analysis.test.ts fix(exec): harden shell-side approval guardrails (#57839) 2026-03-30 15:49:24 -07:00
exec-approvals-analysis.ts fix(exec): harden shell-side approval guardrails (#57839) 2026-03-30 15:49:24 -07:00
exec-approvals-config.test.ts test: dedupe exec approval and system run suites 2026-03-28 00:02:09 +00:00
exec-approvals-parity.test.ts test: dedupe exec approval and system run suites 2026-03-28 00:02:09 +00:00
exec-approvals-policy.test.ts fix(exec): default implicit target to auto 2026-03-30 06:03:08 +09:00
exec-approvals-safe-bins.test.ts fix(exec): keep awk and sed out of safeBins fast path (#58175) 2026-03-31 19:29:53 +09:00
exec-approvals-store.test.ts test: speed up core runtime suites 2026-03-31 02:25:02 +01:00
exec-approvals-test-helpers.ts refactor: separate exec policy and execution targets 2026-03-23 19:36:44 -07:00
exec-approvals.test.ts refactor: separate exec policy and execution targets 2026-03-23 19:36:44 -07:00
exec-approvals.ts fix: stabilize exec approval approver routing 2026-03-30 06:25:03 +09:00
exec-command-resolution.test.ts test: dedupe config and utility suites 2026-03-28 00:46:53 +00:00
exec-command-resolution.ts refactor: separate exec policy and execution targets 2026-03-23 19:36:44 -07:00
exec-host.test.ts test: add socket and ssh helper coverage 2026-03-13 20:12:04 +00:00
exec-host.ts
exec-inline-eval.test.ts Exec approvals: detect command carriers in strict inline eval (#57842) 2026-03-31 10:58:17 +01:00
exec-inline-eval.ts Exec approvals: detect command carriers in strict inline eval (#57842) 2026-03-31 10:58:17 +01:00
exec-obfuscation-detect.test.ts fix(security): strip Mongolian selectors in exec obfuscation detector 2026-03-12 21:00:00 -04:00
exec-obfuscation-detect.ts fix(mac): adopt canonical session key and add reset triggers (#10898) 2026-03-13 12:35:39 +11:00
exec-safe-bin-policy-profiles.ts refactor(exec): split safe-bin semantics 2026-03-22 10:14:46 -07:00
exec-safe-bin-policy-validator.ts fix: restore repo-wide gate after exec safe-bin refactor 2026-03-22 17:28:04 +00:00
exec-safe-bin-policy.test.ts Exec: tighten jq safe-bin env checks (#55905) 2026-03-27 18:37:31 +00:00
exec-safe-bin-policy.ts refactor(exec): split safe-bin semantics 2026-03-22 10:14:46 -07:00
exec-safe-bin-runtime-policy.test.ts fix(exec): keep awk and sed out of safeBins fast path (#58175) 2026-03-31 19:29:53 +09:00
exec-safe-bin-runtime-policy.ts fix(exec): keep awk and sed out of safeBins fast path (#58175) 2026-03-31 19:29:53 +09:00
exec-safe-bin-semantics.test.ts fix(exec): keep awk and sed out of safeBins fast path (#58175) 2026-03-31 19:29:53 +09:00
exec-safe-bin-semantics.ts fix(exec): keep awk and sed out of safeBins fast path (#58175) 2026-03-31 19:29:53 +09:00
exec-safe-bin-trust.test.ts
exec-safe-bin-trust.ts
exec-safety.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
exec-safety.ts
exec-wrapper-resolution.test.ts fix(exec): unwrap arch and xcrun dispatch wrappers (#58203) 2026-03-31 21:00:14 +09:00
exec-wrapper-resolution.ts refactor(exec): share wrapper trust planning 2026-03-22 23:18:54 -07:00
exec-wrapper-tokens.ts refactor(exec): split wrapper resolution modules 2026-03-22 23:18:54 -07:00
exec-wrapper-trust-plan.test.ts fix(exec): unwrap transparent approval wrappers (#58215) 2026-03-31 19:38:34 +09:00
exec-wrapper-trust-plan.ts fix(infra): preserve blocked dispatch policy target 2026-03-23 19:04:04 -07:00
executable-path.test.ts Gateway: treat scope-limited probe RPC as degraded reachability (#45622) 2026-03-13 23:13:33 -05:00
executable-path.ts Gateway: treat scope-limited probe RPC as degraded reachability (#45622) 2026-03-13 23:13:33 -05:00
fetch.test.ts test: fix fetch mock typing 2026-03-15 21:07:05 -07:00
fetch.ts
file-identity.test.ts test: tighten byte count and file identity coverage 2026-03-13 18:35:55 +00:00
file-identity.ts
file-lock.ts test: harden threaded channel follow-ups 2026-03-24 09:24:29 +00:00
fixed-window-rate-limit.test.ts test: tighten fixed window limiter coverage 2026-03-13 18:49:41 +00:00
fixed-window-rate-limit.ts
fs-pinned-path-helper.ts Agents: pin apply-patch workspace mutations (#56016) 2026-03-30 16:49:49 +01:00
fs-pinned-write-helper.test.ts fix(security): pin staged writes and fs mutations 2026-03-11 02:38:00 +00:00
fs-pinned-write-helper.ts fix(ci): harden test gating under load 2026-03-19 11:08:33 -07:00
fs-safe.test.ts Agents: pin apply-patch workspace mutations (#56016) 2026-03-30 16:49:49 +01:00
fs-safe.ts Agents: pin apply-patch workspace mutations (#56016) 2026-03-30 16:49:49 +01:00
gateway-discovery-targets.ts refactor(gateway): centralize discovery target handling 2026-03-23 00:38:31 -07:00
gateway-lock.test.ts test: harden no-isolate timer and undici seams 2026-03-22 12:04:11 -07:00
gateway-lock.ts refactor: add zod helpers for json file readers 2026-03-27 03:41:40 +00:00
gateway-process-argv.test.ts refactor(core): land plugin auth and startup cleanup 2026-03-15 20:12:37 -07:00
gateway-process-argv.ts refactor(core): land plugin auth and startup cleanup 2026-03-15 20:12:37 -07:00
gateway-processes.test.ts test: add gateway process helper coverage 2026-03-13 20:31:20 +00:00
gateway-processes.ts fix: harden windows gateway lifecycle 2026-03-13 18:33:59 +00:00
gaxios-fetch-compat.test.ts test: speed up infra and shared suites 2026-03-24 23:45:33 +00:00
gaxios-fetch-compat.ts test: speed up infra and shared suites 2026-03-24 23:45:33 +00:00
gemini-auth.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
gemini-auth.ts
git-commit.test.ts test: speed up infra and shared suites 2026-03-24 23:45:33 +00:00
git-commit.ts test: isolate git commit resolution fallbacks 2026-03-08 18:40:14 +00:00
git-root.test.ts test: dedupe infra and plugin-sdk utility suites 2026-03-27 23:08:57 +00:00
git-root.ts
google-api-base-url.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
google-api-base-url.ts refactor: centralize google API base URL handling 2026-03-24 10:01:22 -07:00
hardlink-guards.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
hardlink-guards.ts
heartbeat-active-hours.test.ts
heartbeat-active-hours.ts
heartbeat-events-filter.test.ts test: expand heartbeat event filter coverage 2026-03-13 18:34:13 +00:00
heartbeat-events-filter.ts
heartbeat-events.test.ts Infra: unify plugin split runtime state (#50725) 2026-03-21 11:00:21 -04:00
heartbeat-events.ts refactor: consolidate core runtime state helpers 2026-03-22 18:09:45 +00:00
heartbeat-reason.test.ts test: simplify heartbeat reason coverage 2026-03-13 18:48:12 +00:00
heartbeat-reason.ts fix(acp): implicit streamToParent for mode=run without thread (#42404) 2026-03-10 21:42:15 +01:00
heartbeat-runner.ghost-reminder.test.ts fix(heartbeat): block owner-only auth inheritance for exec events (#57652) 2026-03-31 09:06:51 +09:00
heartbeat-runner.model-override.test.ts test(models): refresh example model fixtures 2026-03-22 23:00:18 -07:00
heartbeat-runner.respects-ackmaxchars-heartbeat-acks.test.ts test: remove heartbeat runner jiti mock pollution 2026-03-22 13:10:55 -07:00
heartbeat-runner.returns-default-unset.test.ts fix(heartbeat): block owner-only auth inheritance for exec events (#57652) 2026-03-31 09:06:51 +09:00
heartbeat-runner.scheduler.test.ts fix: resolve current ci regressions 2026-03-14 00:51:12 +00:00
heartbeat-runner.sender-prefers-delivery-target.test.ts test: remove heartbeat runner jiti mock pollution 2026-03-22 13:10:55 -07:00
heartbeat-runner.test-channel-plugins.ts fix: stabilize serial test suite 2026-03-30 04:46:04 +09:00
heartbeat-runner.test-harness.ts fix: stabilize serial test suite 2026-03-30 04:46:04 +09:00
heartbeat-runner.test-utils.ts fix: stabilize serial test suite 2026-03-30 04:46:04 +09:00
heartbeat-runner.transcript-prune.test.ts test: remove heartbeat runner jiti mock pollution 2026-03-22 13:10:55 -07:00
heartbeat-runner.ts fix(heartbeat): block owner-only auth inheritance for exec events (#57652) 2026-03-31 09:06:51 +09:00
heartbeat-summary.ts Status: split heartbeat summary helpers 2026-03-15 22:55:26 -07:00
heartbeat-visibility.test.ts
heartbeat-visibility.ts
heartbeat-wake.test.ts test: share heartbeat retry fixtures 2026-03-13 21:40:54 +00:00
heartbeat-wake.ts fix(acp): implicit streamToParent for mode=run without thread (#42404) 2026-03-10 21:42:15 +01:00
home-dir.test.ts test: dedupe infra and plugin-sdk utility suites 2026-03-27 23:08:57 +00:00
home-dir.ts fix: ignore poisoned home env values 2026-03-22 12:31:36 -07:00
host-env-security-policy.json fix(exec): block proxy-style env overrides (#58202) 2026-03-31 21:25:36 +09:00
host-env-security.policy-parity.test.ts fix(exec): block dangerous override-only env pivots 2026-03-07 19:18:05 +00:00
host-env-security.test.ts fix(exec): block proxy-style env overrides (#58202) 2026-03-31 21:25:36 +09:00
host-env-security.ts Exec: harden host env override handling across gateway and node (#51207) 2026-03-20 15:44:15 -05:00
http-body.test.ts test: dedupe infra and plugin-sdk utility suites 2026-03-27 23:08:57 +00:00
http-body.ts test: harden no-isolate timer and undici seams 2026-03-22 12:04:11 -07:00
infra-runtime.test.ts refactor: split best-effort network display discovery 2026-03-22 18:35:37 -07:00
infra-store.test.ts test: add diagnostic and port format helper coverage 2026-03-13 20:18:50 +00:00
install-flow.test.ts fix: restore clawhub archive installs and gateway params 2026-03-22 18:31:52 +00:00
install-flow.ts fix: restore clawhub archive installs and gateway params 2026-03-22 18:31:52 +00:00
install-from-npm-spec.test.ts test: add install and pairing helper coverage 2026-03-13 19:54:16 +00:00
install-from-npm-spec.ts
install-mode-options.test.ts test: fix CI type regressions 2026-03-13 19:53:40 +00:00
install-mode-options.ts
install-package-dir.test.ts Fix local copied package installs honoring staged project .npmrc (#54543) 2026-03-25 09:59:33 -06:00
install-package-dir.ts Fix local copied package installs honoring staged project .npmrc (#54543) 2026-03-25 09:59:33 -06:00
install-safe-path.test.ts plugins: quiet scoped manifest id warnings 2026-03-30 19:35:09 -04:00
install-safe-path.ts plugins: quiet scoped manifest id warnings 2026-03-30 19:35:09 -04:00
install-source-utils.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
install-source-utils.ts
install-target.test.ts test: add install and pairing helper coverage 2026-03-13 19:54:16 +00:00
install-target.ts Plugins: preserve scoped ids and reserve bundled duplicates (#47413) 2026-03-15 09:07:10 -07:00
is-main.test.ts fix: isolate CLI startup imports (#50212) 2026-03-19 10:34:29 +05:30
is-main.ts fix: isolate CLI startup imports (#50212) 2026-03-19 10:34:29 +05:30
json-file.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
json-file.ts
json-files.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
json-files.ts fix: stabilize matrix and teams ci assertions 2026-03-24 05:29:05 +00:00
json-utf8-bytes.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
json-utf8-bytes.ts
jsonl-socket.test.ts test: add socket and ssh helper coverage 2026-03-13 20:12:04 +00:00
jsonl-socket.ts test: harden no-isolate timer and undici seams 2026-03-22 12:04:11 -07:00
local-file-access.ts refactor(media): share local file access guards 2026-03-23 00:58:23 -07:00
machine-name.test.ts test: dedupe infra and plugin-sdk utility suites 2026-03-27 23:08:57 +00:00
machine-name.ts fix: tighten machine name coverage 2026-03-13 23:43:06 +00:00
map-size.test.ts test: dedupe infra and plugin-sdk utility suites 2026-03-27 23:08:57 +00:00
map-size.ts
matrix-account-selection.test.ts fix(perf): bypass matrix facade for core helpers 2026-03-30 12:43:55 +09:00
matrix-config-helpers.ts fix: stabilize serial test suite 2026-03-30 04:46:04 +09:00
matrix-legacy-crypto.test.ts fix(doctor/plugins): skip unused Matrix inspector loads and honor enabledByDefault startup plugins (#57931) 2026-03-30 17:06:04 -04:00
matrix-legacy-crypto.ts fix(doctor/plugins): skip unused Matrix inspector loads and honor enabledByDefault startup plugins (#57931) 2026-03-30 17:06:04 -04:00
matrix-legacy-state.test.ts Matrix: rebuild plugin migration branch 2026-03-19 01:58:29 -04:00
matrix-legacy-state.ts fix: stabilize serial test suite 2026-03-30 04:46:04 +09:00
matrix-migration-config.test.ts test: share matrix migration fixtures 2026-03-26 16:25:23 +00:00
matrix-migration-config.ts fix: stabilize serial test suite 2026-03-30 04:46:04 +09:00
matrix-migration-snapshot.test.ts fix(perf): bypass matrix facade for core helpers 2026-03-30 12:43:55 +09:00
matrix-migration-snapshot.ts Matrix: rebuild plugin migration branch 2026-03-19 01:58:29 -04:00
matrix-plugin-helper.test.ts test: share matrix migration fixtures 2026-03-26 16:25:23 +00:00
matrix-plugin-helper.ts fix: load matrix legacy helper through native ESM when possible (#50623) 2026-03-19 14:21:42 -07:00
matrix.test-helpers.ts test: share matrix migration fixtures 2026-03-26 16:25:23 +00:00
network-discovery-display.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
network-discovery-display.ts refactor: split best-effort network display discovery 2026-03-22 18:35:37 -07:00
network-interfaces.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
network-interfaces.ts refactor: split best-effort network display discovery 2026-03-22 18:35:37 -07:00
node-commands.ts
node-pairing.test.ts gateway: restrict node pairing approvals (#55951) 2026-03-27 19:14:16 +00:00
node-pairing.ts gateway: restrict node pairing approvals (#55951) 2026-03-27 19:14:16 +00:00
node-shell.test.ts test: tighten node shell platform normalization 2026-03-14 01:05:46 +00:00
node-shell.ts
node-sqlite.ts feat(tasks): move task ledger to sqlite and add audit CLI (#57361) 2026-03-30 11:34:51 +09:00
npm-integrity.test.ts test: dedupe utility and config suites 2026-03-28 00:26:55 +00:00
npm-integrity.ts
npm-pack-install.test.ts test: expand npm install and update check coverage 2026-03-13 19:45:37 +00:00
npm-pack-install.ts Infra: require explicit opt-in for prerelease npm installs (#38117) 2026-03-06 11:13:30 -05:00
npm-registry-spec.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
npm-registry-spec.ts Infra: require explicit opt-in for prerelease npm installs (#38117) 2026-03-06 11:13:30 -05:00
openclaw-exec-env.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
openclaw-exec-env.ts Exec: mark child command env with OPENCLAW_CLI (#41411) 2026-03-09 19:14:08 -04:00
openclaw-root.test.ts test: dedupe exec approval and system run suites 2026-03-28 00:02:09 +00:00
openclaw-root.ts refactor: share openclaw root package parsing 2026-03-13 21:40:54 +00:00
os-summary.test.ts test: dedupe infra and plugin-sdk utility suites 2026-03-27 23:08:57 +00:00
os-summary.ts
package-json.test.ts test: dedupe infra and plugin-sdk utility suites 2026-03-27 23:08:57 +00:00
package-json.ts fix: tighten package json coverage 2026-03-13 23:39:44 +00:00
package-tag.test.ts test: dedupe exec approval and system run suites 2026-03-28 00:02:09 +00:00
package-tag.ts fix: tighten package tag and channel summary coverage 2026-03-14 00:23:57 +00:00
package-update-utils.ts refactor(cli): extract hook pack update flow 2026-03-22 12:02:52 -07:00
pairing-files.test.ts test: fix current ci regressions 2026-03-14 01:29:04 +00:00
pairing-files.ts
pairing-pending.test.ts test: fix fresh infra type drift 2026-03-13 20:38:24 +00:00
pairing-pending.ts
pairing-token.test.ts test: speed up core runtime suites 2026-03-31 02:25:02 +01:00
pairing-token.ts fix: tighten pairing token blank handling 2026-03-14 01:04:18 +00:00
parse-finite-number.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
parse-finite-number.ts refactor: centralize strict numeric parsing 2026-03-08 03:02:25 +00:00
path-alias-guards.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
path-alias-guards.ts
path-env.test.ts refactor: simplify memory recovery and test setup 2026-03-31 15:02:11 +01:00
path-env.ts Prefer non-user writeable paths (#54346) 2026-03-27 11:29:32 +00:00
path-guards.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
path-guards.ts fix: tighten path guard coverage 2026-03-13 23:37:37 +00:00
path-prepend.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
path-prepend.ts
path-safety.test.ts test: tighten numeric parsing and path safety coverage 2026-03-13 19:24:22 +00:00
path-safety.ts
plain-object.test.ts test: dedupe infra and plugin-sdk utility suites 2026-03-27 23:08:57 +00:00
plain-object.ts
plugin-approval-forwarder.test.ts test: speed up core runtime suites 2026-03-31 02:25:02 +01:00
plugin-approvals.ts feat(hooks): add async requireApproval to before_tool_call (#55339) 2026-03-27 09:06:40 -07:00
plugin-install-path-warnings.test.ts refactor(plugins): decouple bundled plugin runtime loading 2026-03-29 09:10:38 +01:00
plugin-install-path-warnings.ts refactor(plugins): decouple bundled plugin runtime loading 2026-03-29 09:10:38 +01:00
ports-format.test.ts Status: suppress false dual-stack loopback port warning (#53398) 2026-03-28 23:25:02 -07:00
ports-format.ts Status: suppress false dual-stack loopback port warning (#53398) 2026-03-28 23:25:02 -07:00
ports-inspect.ts Fix gateway restart false timeouts on Debian/systemd (#34874) 2026-03-04 10:52:33 -08:00
ports-lsof.test.ts test: tighten system event and lsof helper coverage 2026-03-13 19:35:27 +00:00
ports-lsof.ts
ports-probe.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
ports-probe.ts
ports-types.ts
ports.test.ts test: speed up core runtime suites 2026-03-31 02:25:02 +01:00
ports.ts Status: suppress false dual-stack loopback port warning (#53398) 2026-03-28 23:25:02 -07:00
process-respawn.test.ts test: share process respawn launchd assertions 2026-03-13 21:40:54 +00:00
process-respawn.ts fix(daemon): replace bootout with kickstart -k for launchd restarts on macOS 2026-03-12 01:16:49 +01:00
prototype-keys.test.ts test: tighten prototype key matching 2026-03-14 01:01:27 +00:00
prototype-keys.ts
provider-usage.auth.normalizes-keys.test.ts refactor(config): pin runtime snapshot and drop ttl cache 2026-03-29 22:57:31 +01:00
provider-usage.auth.plugin.test.ts test: speed up core runtime suites 2026-03-31 02:25:02 +01:00
provider-usage.auth.ts fix: repair latest-main ci gate 2026-03-27 17:57:23 +00:00
provider-usage.fetch.claude.test.ts test: tighten claude usage fallback coverage 2026-03-13 19:23:25 +00:00
provider-usage.fetch.claude.ts
provider-usage.fetch.codex.test.ts test: tighten codex usage coverage 2026-03-13 19:22:21 +00:00
provider-usage.fetch.codex.ts feat(auth): WHAM-aware Codex cooldown for multi-profile setups (#58625) 2026-03-31 21:09:25 -04:00
provider-usage.fetch.gemini.test.ts test: expand approval context and gemini usage coverage 2026-03-13 19:13:01 +00:00
provider-usage.fetch.gemini.ts
provider-usage.fetch.minimax.test.ts test: tighten minimax usage coverage 2026-03-13 18:10:40 +00:00
provider-usage.fetch.minimax.ts
provider-usage.fetch.shared.test.ts refactor: simplify memory recovery and test setup 2026-03-31 15:02:11 +01:00
provider-usage.fetch.shared.ts refactor(core): extract shared dedup helpers 2026-03-07 10:41:05 +00:00
provider-usage.fetch.ts refactor(core): land plugin auth and startup cleanup 2026-03-15 20:12:37 -07:00
provider-usage.fetch.zai.test.ts fix: harden zai and ssh helper coverage 2026-03-13 19:15:25 +00:00
provider-usage.fetch.zai.ts fix: harden zai and ssh helper coverage 2026-03-13 19:15:25 +00:00
provider-usage.format.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
provider-usage.format.ts
provider-usage.load.plugin.test.ts test: speed up core runtime suites 2026-03-31 02:25:02 +01:00
provider-usage.load.test.ts test: stabilize gate regressions 2026-03-18 15:36:32 +00:00
provider-usage.load.ts perf: reduce unit test hot path overhead 2026-03-18 18:19:40 +00:00
provider-usage.shared.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
provider-usage.shared.ts fix: slim provider sdk surfaces 2026-03-28 09:35:42 +00:00
provider-usage.test-support.ts perf: reduce unit test hot path overhead 2026-03-18 18:19:40 +00:00
provider-usage.test.ts perf: reduce unit test hot path overhead 2026-03-18 18:19:40 +00:00
provider-usage.ts
provider-usage.types.ts
push-apns.auth.test.ts test: extract apns auth helper coverage 2026-03-14 00:11:03 +00:00
push-apns.relay.test.ts refactor(apns-tests): share relay push params 2026-03-17 07:23:44 +00:00
push-apns.relay.ts feat(push): add iOS APNs relay gateway (#43369) 2026-03-12 18:15:35 +02:00
push-apns.store.test.ts test: extract apns store coverage 2026-03-14 00:13:07 +00:00
push-apns.test.ts test: tighten apns send coverage 2026-03-14 00:19:04 +00:00
push-apns.ts feat(push): add iOS APNs relay gateway (#43369) 2026-03-12 18:15:35 +02:00
remote-env.ts refactor: share plugin setup helpers 2026-03-26 18:34:51 +00:00
resolve-system-bin.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
resolve-system-bin.ts Prefer non-user writeable paths (#54346) 2026-03-27 11:29:32 +00:00
restart-sentinel.test.ts test: harden restart sentinel and host env coverage 2026-03-13 19:36:49 +00:00
restart-sentinel.ts fix(restart): deduplicate reason line in restart sentinel message 2026-03-03 00:30:34 +00:00
restart-stale-pids.test.ts test: speed up core runtime suites 2026-03-31 02:25:02 +01:00
restart-stale-pids.ts fix(gateway): harden service-mode stale process cleanup (#38463, thanks @spirittechie) 2026-03-07 21:36:24 +00:00
restart.deferral-timeout.test.ts fix: resume orphaned subagent sessions after SIGUSR1 reload 2026-03-15 22:32:36 -07:00
restart.test.ts test: speed up core runtime suites 2026-03-31 02:25:02 +01:00
restart.ts refactor(config): centralize runtime config state 2026-03-30 00:17:23 +01:00
retry-policy.test.ts test: dedupe infra and plugin-sdk utility suites 2026-03-27 23:08:57 +00:00
retry-policy.ts refactor: move bundled extension deps to plugin packages 2026-03-19 00:04:50 +00:00
retry.test.ts infra: harden identifier entropy and delay jitter (#57744) 2026-03-30 16:57:30 +01:00
retry.ts infra: harden identifier entropy and delay jitter (#57744) 2026-03-30 16:57:30 +01:00
run-node.test.ts fix(dev): sync run-node test types 2026-03-31 18:04:22 +09:00
runtime-guard.test.ts fix(runtime): support Node 22.14 installs 2026-03-25 06:22:18 -07:00
runtime-guard.ts fix(runtime): support Node 22.14 installs 2026-03-25 06:22:18 -07:00
runtime-status.test.ts fix: tighten runtime status detail coverage 2026-03-14 00:24:59 +00:00
runtime-status.ts fix: tighten runtime status detail coverage 2026-03-14 00:24:59 +00:00
safe-open-sync.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
safe-open-sync.ts
scp-host.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
scp-host.ts fix(imessage): sanitize SCP remote path to prevent shell metacharacter injection 2026-03-14 00:38:14 +01:00
scripts-modules.d.ts perf(ci): gate install smoke on changed-smoke (#52458) 2026-03-22 12:58:08 -07:00
secret-file.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
secret-file.ts fix: detect Ollama "prompt too long" as context overflow error (#34019) 2026-03-16 18:57:33 -07:00
secure-random.test.ts test: speed up core runtime suites 2026-03-31 02:25:02 +01:00
secure-random.ts infra: harden identifier entropy and delay jitter (#57744) 2026-03-30 16:57:30 +01:00
semver-compare.ts refactor: dedupe helpers and source seams 2026-03-24 21:00:36 +00:00
session-cost-usage.test.ts test(models): refresh example model fixtures 2026-03-22 23:00:18 -07:00
session-cost-usage.ts Usage: include reset and deleted session archives (#43215) 2026-03-23 13:10:26 +08:00
session-cost-usage.types.ts
session-maintenance-warning.test.ts test: speed up targeted unit suites 2026-03-24 19:36:08 +00:00
session-maintenance-warning.ts test: speed up targeted unit suites 2026-03-24 19:36:08 +00:00
shell-env.test.ts test: tighten shell env helper coverage 2026-03-13 22:02:18 +00:00
shell-env.ts
shell-inline-command.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
shell-inline-command.ts fix: harden powershell wrapper detection 2026-03-13 20:37:38 +00:00
shell-wrapper-resolution.ts refactor(exec): split wrapper resolution modules 2026-03-22 23:18:54 -07:00
skills-remote.test.ts fix(regression): invalidate remote skill snapshots on disconnect 2026-03-27 20:24:15 -05:00
skills-remote.ts refactor(nodes): remove nodes.run execution path 2026-03-30 00:41:06 +01:00
ssh-config.test.ts fix: harden zai and ssh helper coverage 2026-03-13 19:15:25 +00:00
ssh-config.ts
ssh-tunnel.test.ts test: add socket and ssh helper coverage 2026-03-13 20:12:04 +00:00
ssh-tunnel.ts
stable-node-path.test.ts test: add clipboard and package helper coverage 2026-03-13 19:50:27 +00:00
stable-node-path.ts Gateway: treat scope-limited probe RPC as degraded reachability (#45622) 2026-03-13 23:13:33 -05:00
state-migrations.fs.test.ts test: add update global and migration fs coverage 2026-03-13 19:42:47 +00:00
state-migrations.fs.ts
state-migrations.orphan-keys.test.ts fix: add orphaned session key migration (#57217) 2026-03-30 07:36:46 +05:30
state-migrations.session-roundtrip.test.ts fix: canonicalize session keys at write time (#30654) (thanks @thomasxm) 2026-03-29 18:59:25 +05:30
state-migrations.state-dir.test.ts test: trim stale legacy coverage and repair mocks 2026-03-29 22:00:56 +01:00
state-migrations.test.ts fix: migrate Telegram pairing allowFrom to default account only (#58165) 2026-03-31 12:51:38 +01:00
state-migrations.ts fix: migrate Telegram pairing allowFrom to default account only (#58165) 2026-03-31 12:51:38 +01:00
supervisor-markers.test.ts test: add exec helper coverage 2026-03-13 19:57:49 +00:00
supervisor-markers.ts refactor: flatten supervisor marker hints 2026-03-09 06:19:30 +00:00
system-events.test.ts Gateway: harden node event trust boundaries (#57691) 2026-03-30 14:22:15 +01:00
system-events.ts Gateway: harden node event trust boundaries (#57691) 2026-03-30 14:22:15 +01:00
system-message.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
system-message.ts
system-presence.test.ts test: expand presence and maintenance warning coverage 2026-03-13 19:03:01 +00:00
system-presence.ts refactor: split best-effort network display discovery 2026-03-22 18:35:37 -07:00
system-presence.version.test.ts refactor: dedupe tests and harden suite isolation 2026-03-24 19:16:19 +00:00
system-run-approval-binding.test.ts test: dedupe exec approval and system run suites 2026-03-28 00:02:09 +00:00
system-run-approval-binding.ts refactor(security): simplify system.run approval model 2026-03-11 01:43:06 +00:00
system-run-approval-context.test.ts test: dedupe exec approval and system run suites 2026-03-28 00:02:09 +00:00
system-run-approval-context.ts refactor(security): simplify system.run approval model 2026-03-11 01:43:06 +00:00
system-run-approval-mismatch.contract.test.ts test: dedupe exec approval and system run suites 2026-03-28 00:02:09 +00:00
system-run-command.contract.test.ts test: dedupe exec approval and system run suites 2026-03-28 00:02:09 +00:00
system-run-command.test.ts fix(exec): unwrap arch and xcrun dispatch wrappers (#58203) 2026-03-31 21:00:14 +09:00
system-run-command.ts refactor: share system run command resolution 2026-03-13 18:38:11 +00:00
system-run-normalize.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
system-run-normalize.ts Plugin SDK: use public utility subpaths 2026-03-18 09:43:46 -07:00
tailnet.test.ts refactor: split best-effort network display discovery 2026-03-22 18:35:37 -07:00
tailnet.ts refactor: split best-effort network display discovery 2026-03-22 18:35:37 -07:00
tailscale.test.ts test: simplify tailscale helper coverage 2026-03-13 18:24:02 +00:00
tailscale.ts
temp-download.ts [codex] harden clawhub plugin publishing and install (#56870) 2026-03-29 11:59:19 -07:00
tmp-openclaw-dir.test.ts test: dedupe infra and plugin-sdk utility suites 2026-03-27 23:08:57 +00:00
tmp-openclaw-dir.ts fix: stabilize windows temp and path handling 2026-03-18 23:29:14 -05:00
transport-ready.test.ts test: speed up core runtime suites 2026-03-31 02:25:02 +01:00
transport-ready.ts
tsdown-config.test.ts build: externalize bundled plugin runtime deps 2026-03-31 15:22:08 +01:00
unhandled-rejections.fatal-detection.test.ts fix(infra): classify SQLite transient errors as non-fatal in unhandled rejection handler (#57018) 2026-03-29 21:29:38 +02:00
unhandled-rejections.test.ts fix(infra): classify SQLite transient errors as non-fatal in unhandled rejection handler (#57018) 2026-03-29 21:29:38 +02:00
unhandled-rejections.ts fix(infra): classify SQLite transient errors as non-fatal in unhandled rejection handler (#57018) 2026-03-29 21:29:38 +02:00
update-channels.test.ts test: tighten update channel display precedence 2026-03-14 00:56:42 +00:00
update-channels.ts
update-check.test.ts fix(runtime): support Node 22.14 installs 2026-03-25 06:22:18 -07:00
update-check.ts fix(update): preflight npm target node engine 2026-03-25 06:01:20 -07:00
update-global.test.ts refactor(plugins): decouple bundled plugin runtime loading 2026-03-29 09:10:38 +01:00
update-global.ts refactor: move public artifact metadata into plugins 2026-03-27 16:39:42 +00:00
update-runner.test.ts refactor(plugins): decouple bundled plugin runtime loading 2026-03-29 09:10:38 +01:00
update-runner.ts fix: verify global npm correction installs 2026-03-23 21:04:08 -07:00
update-startup.test.ts fix(ci): tighten type signatures in gateway params validation 2026-03-03 03:04:13 +00:00
update-startup.ts
voicewake.test.ts test: dedupe voicewake and target helper coverage 2026-03-13 20:00:43 +00:00
voicewake.ts
warning-filter.test.ts test: silence warning filter stderr 2026-03-28 11:57:27 +00:00
warning-filter.ts refactor: simplify remaining runtime singletons 2026-03-22 18:09:45 +00:00
watch-node.test.ts refactor(plugins): decouple bundled plugin runtime loading 2026-03-29 09:10:38 +01:00
widearea-dns.test.ts test: dedupe infra utility suites 2026-03-27 23:33:08 +00:00
widearea-dns.ts
windows-install-roots.test.ts Prefer non-user writeable paths (#54346) 2026-03-27 11:29:32 +00:00
windows-install-roots.ts Prefer non-user writeable paths (#54346) 2026-03-27 11:29:32 +00:00
windows-task-restart.test.ts test: speed up core runtime suites 2026-03-31 02:25:02 +01:00
windows-task-restart.ts fix: restart Windows gateway via Scheduled Task (#38825) (#38825) 2026-03-07 18:00:38 +05:30
ws.test.ts test: fix fresh infra type drift 2026-03-13 20:38:24 +00:00
ws.ts
wsl.test.ts test: speed up core runtime suites 2026-03-31 02:25:02 +01:00
wsl.ts Daemon: harden WSL2 systemctl install checks (#39294) 2026-03-07 16:43:19 -08:00