openclaw/scripts/lib
Peter Steinberger 54abbae585
fix: refresh stale Gateway shutdown budgets during updates and Doctor (#153636)
* fix: refresh stale Gateway stop policies before maintenance

Main recognized historical systemd timeouts, but maintenance could stop the
resident before repair, and Doctor and already-current or no-restart updates
could preserve stale computed policy. A published 2026.9.5 resident also retains
its startup shutdown budget after the unit changes.

Refresh owned policy through the existing definition-mutation and backup owners,
confirm daemon reload, preserve operator drop-ins, and retain restore/reload/input
retirement ordering. Share maintenance between update and Doctor, and warn when
a non-stopping refresh still has a short effective manager timeout.

Publish process-owned shutdown budgets and lifecycle write-custody facts. Reuse
the suspension owner and existing update deadline: stop when idle, warn and stop
at the deadline for ordinary work or unknown custody, and refuse only current
reported write custody with its exact owner phase. Reread native policy when the
new Gateway accepts shutdown without resetting its elapsed budget or watchdog.

Thanks @ezimerman for the installed-unit and shutdown evidence.
Fixes #153153. Refs #150898, #152879, #153017.

* fix: preserve the resident shutdown budget in Gateway status

The kernel request-context adapter copied host lifecycle control methods but
dropped the recorded shutdown-budget getter. Real Linux package proof observed
a 325-second startup budget while status omitted it, forcing maintenance onto
the legacy unknown-budget path.

Forward the live getter through the existing adapter without changing request
authority or adding another budget owner. Add a real-kernel registered-status
regression for short and adequate budgets; the corrected test fails on the
original adapter and passes with the forwarding line.

Refs #153153.

* test: control the Gateway shutdown clock consistently

Restore the explicit node:perf_hooks performance import for the run-loop regressions that retain their own fake-clock assertions. They must control the same monotonic clock as the production shutdown-budget owner. Keep the deadline assertions, timers, and production behavior unchanged.

* fix: preserve Doctor legacy reads during Gateway preflight

The stale-Gateway probe opened the canonical owner-lease database without
Doctor's existing legacy-catalog admission. With a built install and a busy
Gateway port, that read created WAL/SHM files and rejected a supported repair
before maintenance could stop the Gateway.

Carry the existing read admission through restart inspection to the lease owner.
Keep ordinary restart validation unchanged and preserve canonical artifacts.
Use synthetic port, build, and reachability facts in the regression fixture while
retaining real lease reads and byte-preservation assertions.

Refs #153153.

* refactor: keep Gateway maintenance owners within line limits

The L903 stop-policy repair exceeded the existing line-growth gate after
composition with current restart and service identity handling. Move request
upgrade policy into its existing request owner and service revalidation into
one sibling implementation without changing their behavior.

Preserve original request admission time and Doctor's statically primed
maintenance facade across package replacement. The bounded drain, recorded
custody-only refusal, warning policy, and native backup/reload ordering remain
unchanged. No options, schema changes, suppressions, or baseline growth.

Validation: 398 focused tests, core typecheck, line-growth ratchet, and fresh
Codex P1 review passed. Full changed checks continue on the frozen source.

* test: retain backup custody coverage through the archive walker

The rebase incorporated the maintained archive walker, but the L903 custody
regression still referenced the retired tar-create mock. Use the existing
walker mock bound to the real backup command without changing assertions or
production code.

Validation: 132 backup, migration, cron, coordinator, and suspension tests
passed. Fresh Codex P1 review is clean. Full changed checks continue.

* fix: preserve maintenance lifecycle and wrapper contracts

Doctor fixtures advertised a running native service without the matching
resident identity, effective policy, or lifecycle readiness response. Supply
those facts through the same RPC and native-query boundaries used by the real
maintenance owner, including fresh readiness without a resident budget.

Keep exact suspension assertions current with the additive custody category.
Install the model-acquisition fixture's manager after normal PATH setup so
startup and shutdown observe the same policy under the original deadlines.
Include the custody owner in the canonical PR-wrapper source inventory.

Move the unchanged Doctor inspection assertion and shared fixtures into their
existing policy/support owners to preserve the line-growth ratchet. Do not
change the bounded-deferral, warning, or reported-write-custody refusal policy.

* fix: preserve Stop ownership through shutdown budget refresh

An asynchronous systemd budget read could resume after Stop captured a
foreground updater and re-arm the hard-exit worker. Keep watchdog admission
with the run loop's current successor owner, and represent an absent cleanup
deadline with no process-cleanup budget.

Preserve foreground no-op service ownership and the full native allowance
after verified parking. Keep one fake clock for boundary tests, prepare
fixture operations before held scripts, and join cancelled fixture work
before the next case. Move unchanged budget cases into their support owner.

Retain the ruling that unknown custody cannot block an update and only
reported write custody may refuse maintenance. Preserve all existing test
assertions and limits. The full Linux changed gate, 790 focused Linux tests,
and a fresh P1 review passed; local host limitations are recorded in the PR.

* refactor(doctor): extract update-run admission from doctor-maintenance

* fix: preserve native policy and write custody during maintenance

* fix: keep shutdown integration within source and type gates

* fix(test): own survivor model endpoint before baseline setup

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-09-21 12:31:05 +08:00
..
cross-os-release-checks fix(test): serve release artifacts with special filenames (#146104) 2026-09-16 17:25:41 -07:00
ts-topology
actions-artifact-archive.mjs fix(release): defer plugin npm visibility to parent verification (#152438) 2026-09-19 02:32:05 -07:00
android-fastlane.sh feat(ci): add guarded mobile beta releases (#136610) 2026-09-03 15:23:23 +08:00
android-release-signing-process.mjs
android-version.ts refactor(scripts): share mobile changelog extraction (#146909) 2026-09-13 19:47:14 +08:00
arg-utils.mts
arg-utils.runtime.d.mts refactor(scripts): share required option arguments (#133095) 2026-08-30 14:17:08 +08:00
arg-utils.runtime.mjs refactor(scripts): share required option arguments (#133095) 2026-08-30 14:17:08 +08:00
benchmark-harness.mts
benchmark-interval-delay.ts improve: keep large workspace transfers responsive (#147626) 2026-09-13 19:35:25 -07:00
bounded-command.mjs fix(release): bound ClawHub publish without GNU timeout (#125296) 2026-08-30 18:53:07 +05:30
bounded-command.mts fix(release): bound ClawHub publish without GNU timeout (#125296) 2026-08-30 18:53:07 +05:30
bounded-output-tail.mjs refactor(scripts): share bounded output tail (#135802) 2026-09-03 06:56:23 +08:00
bounded-response.mjs refactor(scripts): share response reader cancellation (#135780) 2026-09-03 08:05:54 +08:00
budget-number-args.mts refactor(test): reuse shared budget flag parsing (#143237) 2026-09-09 10:12:16 -07:00
build-artifact-cache.mts fix(test): reuse compiled runtime workers across local runs (#153558) 2026-09-20 03:02:54 -07:00
build-identity.mts refactor(build): share current git commit reader (#140949) 2026-09-07 15:12:51 +08:00
build-metadata.sh
bundled-extension-manifest.ts
bundled-plugin-build-entries-types.d.ts fix(nodes): bootstrap source builds with private QA tooling (#149926) 2026-09-16 04:08:49 -07:00
bundled-plugin-build-entries.mjs fix(nodes): bootstrap source builds with private QA tooling (#149926) 2026-09-16 04:08:49 -07:00
bundled-plugin-dependency-links.mjs fix(docker): stage bundled plugin runtime dependencies under the packaged plugin root (#139117) 2026-09-06 11:07:53 +08:00
bundled-plugin-paths.mjs
bundled-plugin-source-utils.mts fix(build): avoid duplicate asset copies during merge conflict resolution (#148907) 2026-09-16 17:58:43 -07:00
bundled-runtime-sidecar-paths.json fix(release): refresh IMAP plugin baselines (#130351) 2026-08-26 15:09:58 -07:00
callsite-guard.mts
canonical-json.d.mts refactor(release): share ASCII comparator (#135886) 2026-09-03 09:51:44 +08:00
canonical-json.mjs refactor(release): share ASCII comparator (#135886) 2026-09-03 09:51:44 +08:00
changed-extensions.mts fix: changed checks misclassify unusual Git filenames (#126198) 2026-09-07 10:25:28 +08:00
changed-path-facts.mjs improve: avoid Docker validation for unrelated Node planning changes (#148562) 2026-09-14 16:21:41 -07:00
channel-contract-test-plan.mts refactor(ci): share weighted contract test sharding (#132322) 2026-08-29 17:30:49 +08:00
check-timing-summary.mts
ci-changed-node-test-plan.mts ci: budget changed-extension envelopes from measured costs (#153515) 2026-09-20 04:24:50 -07:00
ci-docker-seed-plan.mts improve: avoid Docker validation for unrelated Node planning changes (#148562) 2026-09-14 16:21:41 -07:00
ci-node-test-groups-codec.mts fix(ci): preflight job outputs exceed 1 MiB on full-plan pull requests (#140018) 2026-09-06 20:18:41 +08:00
ci-node-test-plan.mts improve(ci): run Gateway server tests in parallel (#154181) 2026-09-20 18:59:54 -07:00
ci-runtime-test-placement.mts fix(ci): avoid overloaded jobs when runtime test groups grow (#147095) 2026-09-13 09:09:28 -07:00
ci-test-runtime.mts chore(ci): run compatible PR tests on the pinned Bun fork (#154340) 2026-09-21 04:08:42 +00:00
ci-test-timings-refit.mts ci: collect measured timings for PR-only tooling (#153676) 2026-09-20 07:12:46 -07:00
ci-test-timings-schema.mts ci: collect measured timings for PR-only tooling (#153676) 2026-09-20 07:12:46 -07:00
ci-test-timings.mts fix(ci): avoid overloaded jobs when runtime test groups grow (#147095) 2026-09-13 09:09:28 -07:00
clawhub-bootstrap-artifact.mjs
cli-startup-memory-contract.mts fix(perf): isolate benchmark subprocess transport (#144159) 2026-09-11 20:28:53 +08:00
cli-startup-root-help-bundle.ts perf: reduce packaged runtime module-loading overhead (#139754) 2026-09-06 01:31:24 -07:00
cloudflared-macos.json feat(macos): connect gateways through browser sign-in and website handoff (#138745) 2026-09-05 03:11:56 -07:00
code-mode-matrix-comparison.ts test(agents): add live Code Mode comparison workloads (#147537) 2026-09-13 16:32:28 -07:00
code-mode-matrix-gateway-fixtures.ts refactor(code-mode): execute JavaScript with typed API discovery (#154001) 2026-09-20 15:57:08 -07:00
code-mode-matrix-gateway.ts perf: reduce Code Mode source preparation overhead (#154209) 2026-09-20 17:53:24 -07:00
codex-app-server-protocol-artifacts.ts
codex-app-server-protocol-source.ts refactor(codex): compact generated protocol JSON (#129524) 2026-08-25 22:26:54 -07:00
compiler-input-snapshot.mts fix(test): reuse compiled runtime workers across local runs (#153558) 2026-09-20 03:02:54 -07:00
config-boundary-guard.mts fix(cli): keep setup and agent help startup lazy (#133272) 2026-08-30 04:46:54 -07:00
control-ui-i18n-catalog-values.ts fix(ui): localize core configuration labels and help (#137192) 2026-09-09 06:59:59 +05:30
control-ui-i18n-catalog.ts fix(goals): recover unconfirmed controls after reconnects (#153910) 2026-09-21 07:46:12 +08:00
control-ui-i18n-config.json fix(ui): bootstrap source-only locales (#131015) 2026-08-27 22:43:35 +05:30
control-ui-i18n-config.ts fix(ui): bootstrap source-only locales (#131015) 2026-08-27 22:43:35 +05:30
control-ui-i18n-raw-copy.ts
control-ui-i18n-sync-plan.ts refactor(i18n): share placeholder validation helpers (#147747) 2026-09-14 11:44:59 +08:00
control-ui-proof-args.mts refactor(scripts): share Control UI proof option reader (#135387) 2026-09-03 12:26:06 +08:00
copy-assets.ts fix(memory): preserve provenance across dreaming (#126489) 2026-08-20 17:58:31 -07:00
declaration-stage.mts perf(build): overlap staged SDK compilers within memory capacity (#145090) 2026-09-11 13:11:01 -07:00
dependency-ownership.json chore(deps): register Koffi dependency ownership (#139662) 2026-09-06 23:36:10 +08:00
dependency-spec-policy.mts refactor(deps): centralize dependency spec policy (#135110) 2026-09-01 18:49:54 +08:00
deprecated-plugin-sdk-usage.mts
desktop-readiness-proof.mts fix(test): preserve desktop readiness failure diagnostics (#150276) 2026-09-16 13:36:19 -07:00
desktop-resize-proof.mts fix(test): preserve desktop readiness failure diagnostics (#150276) 2026-09-16 13:36:19 -07:00
dev-tooling-safety.ts
direct-run.mjs
dist-artifact-ownership.mts perf(tooling): skip tsx for native compiler shard entry (#153446) 2026-09-19 22:44:55 -07:00
docker-build.sh
docker-e2e-container.sh chore: cover worker state in published upgrade tests (#149487) 2026-09-15 21:51:41 -07:00
docker-e2e-image.sh fix(docker): support legacy fs-safe package exports (#137893) 2026-09-07 12:27:53 +08:00
docker-e2e-json-artifacts.mts refactor(scripts): inline positive integer env adapters (#136034) 2026-09-03 11:46:41 +08:00
docker-e2e-logs.sh refactor(scripts): share plugin lifecycle trace predicate (#147822) 2026-09-14 11:59:42 +08:00
docker-e2e-package.sh refactor(scripts): share release package cleanup (#144798) 2026-09-12 00:16:32 +08:00
docker-e2e-plan.mts improve(upgrade): cover project workspace startup migration (#150077) 2026-09-16 09:36:42 -07:00
docker-e2e-resource-diagnostics.sh chore: cover worker state in published upgrade tests (#149487) 2026-09-15 21:51:41 -07:00
docker-e2e-scenarios.mts fix(release): give the first-hop compat lane a four-hop budget (#151285) 2026-09-17 18:24:32 -07:00
docker-manifest-error.mjs fix(release): scope missing manifest errors (#135113) 2026-09-01 18:59:38 +08:00
docker-plugin-selection.mjs fix(ci): include live provider plugins in shared Docker images (#132702) 2026-08-29 10:51:08 -07:00
docker-release-policy.mjs refactor(docker): share image version parsing (#148243) 2026-09-15 11:39:32 +08:00
docs-markdown.mjs fix(docs): preserve live links between fenced HTML examples (#144537) 2026-09-10 18:21:39 -07:00
docs-published-routes.mts fix(docs): preserve mirrored ClawHub maturity links (#138241) 2026-09-04 07:56:01 -07:00
docs-redirects.mjs refactor(docs): share publishing anchor contracts (#137038) 2026-09-02 23:48:01 -07:00
error-format.mts
extension-boundary-inputs.mts fix(tooling): prevent extension boundary compile timeouts (#150721) 2026-09-17 03:39:20 -07:00
extension-boundary-projects.mts fix(tooling): prevent extension boundary compile timeouts (#150721) 2026-09-17 03:39:20 -07:00
extension-import-boundary-checker.mts
extension-source-classifier.mts
extension-test-plan.mts ci(codex): refresh extension timing calibration (#154243) 2026-09-20 20:09:08 -07:00
extension-vitest-paths.mts refactor(test): simplify Vitest launch and project ownership (#139377) 2026-09-05 14:40:02 -07:00
extension-wildcard-reexport-scanner.mts
failed-trailer.mts
format-generated-module.mts
freebsd-service-discovery.d.mts refactor: preserve caller signal ownership in FreeBSD discovery (#149706) 2026-09-16 15:56:25 +08:00
freebsd-service-discovery.mjs refactor: preserve caller signal ownership in FreeBSD discovery (#149706) 2026-09-16 15:56:25 +08:00
frozen-target-compat.sh fix(release): keep frozen contracts source-cohesive (#148042) 2026-09-14 03:38:35 -07:00
frozen-target-source.mjs perf(ci): reuse verified frozen-source trees (#144421) 2026-09-10 14:41:37 -07:00
fs-safe-prebuild.mjs fix: restore fs-safe native support after update fallback (#152349) 2026-09-18 20:33:14 -07:00
full-release-candidate-reuse.d.mts feat(release): reuse exact full release candidates (#131818) 2026-08-29 03:45:14 +08:00
full-release-candidate-reuse.mjs fix(ci): bind release baselines to immutable candidates (#136914) 2026-09-03 10:59:43 -06:00
gateway-bench-browser.ts improve: reduce busy sidebar session switch overhead (#146243) 2026-09-12 10:49:09 -07:00
gateway-bench-child.ts feat(ci): measure installed Gateway startup on Windows (#151635) 2026-09-18 03:08:47 -07:00
gateway-bench-diagnostics.ts feat: report session list CPU time in diagnostics (#149291) 2026-09-16 23:10:01 -07:00
gateway-bench-installed-diagnostic.ts fix(ci): retain valid installed startup CPU diagnostics (#152888) 2026-09-19 09:50:10 -07:00
gateway-bench-installed-package.ts feat(ci): compare installed Gateway startup packages (#151697) 2026-09-18 04:30:15 -07:00
gateway-bench-installed.ts feat(ci): profile installed Gateway startup (#151825) 2026-09-18 11:33:50 -07:00
gateway-bench-probes.ts improve(status): report external and ArrayBuffer memory (#141902) 2026-09-13 21:33:08 +08:00
gateway-bench-profile-preload.ts improve(bench): verify Gateway work across CPU affinity (#149702) 2026-09-18 12:45:36 +08:00
gateway-bench-profile.ts improve(bench): verify Gateway work across CPU affinity (#149702) 2026-09-18 12:45:36 +08:00
gateway-bench-runtime.ts feat(ci): measure installed Gateway startup on Windows (#151635) 2026-09-18 03:08:47 -07:00
gateway-bench-startup-cpu-preload.mjs fix(ci): retain valid installed startup CPU diagnostics (#152888) 2026-09-19 09:50:10 -07:00
gateway-bench-stop-preload.mjs feat(ci): measure installed Gateway startup on Windows (#151635) 2026-09-18 03:08:47 -07:00
gateway-bench-worker-profile.ts fix(bench): capture Worker isolates in load profiles (#147699) 2026-09-13 19:40:47 -07:00
gateway-run-chunk-metadata.mts perf(build): avoid unrelated gateway artifact scans (#127757) 2026-09-05 16:43:24 -07:00
gateway-server-test-plan.mts
gateway-startup-trace-ranking.ts
gateway-ws-client.ts
generated-output-utils.mts
generated-text-asset.mts
ghsa-patch-subprocess.mts
github-repo.ts
grouped-findings.ts refactor(scripts): share grouped finding reports (#149078) 2026-09-19 02:14:15 +08:00
guard-inventory-utils.mjs fix(tooling): detect imports following regular expressions (#137804) 2026-09-04 04:28:06 -07:00
host-timeout.sh
import-cycle-graph.ts
import-tooling-typescript.mts fix(tooling): load TypeScript tooling under Bun (#139861) 2026-09-06 02:29:56 -07:00
ios-fastlane.sh refactor: share iOS release argument parsing (#146626) 2026-09-12 21:16:26 -07:00
ios-release-plan.ts refactor(scripts): share mobile changelog extraction (#146909) 2026-09-13 19:47:14 +08:00
ios-version.ts refactor(scripts): share mobile changelog extraction (#146909) 2026-09-13 19:47:14 +08:00
kova-report-gate.mts fix(test): preserve repeated samples in Kova report validation (#146146) 2026-09-12 09:37:47 -07:00
kova-report-publish-files.mjs
kova-report-selector.mjs
kova-workflow-evidence.mts
legacy-store-path-domain.mts
list-test-files.mts
live-docker-auth.sh fix(scripts): run macOS tooling under /bin/bash and make the framework-merge fixture self-contained (#141884) 2026-09-08 01:21:30 -07:00
live-docker-stage.sh fix(release): consolidate frozen target harness contracts (#136761) 2026-09-07 13:21:01 -07:00
local-build-metadata-paths.mts
local-build-metadata.mts fix: avoid reusing builds from reverted source edits (#149866) 2026-09-16 02:45:49 -07:00
local-check-runtime.mts fix(ci): give Gateway boot configs exclusive plan admission (#150970) 2026-09-17 13:14:21 -07:00
mac-app-bundle.sh fix(scripts): run macOS tooling under /bin/bash and make the framework-merge fixture self-contained (#141884) 2026-09-08 01:21:30 -07:00
mac-bundle-mutation.py fix(macos): pair app builds with verified node workers (#131466) 2026-08-29 14:47:55 -07:00
mac-native-inventory.py fix(macos): pair app builds with verified node workers (#131466) 2026-08-29 14:47:55 -07:00
mac-node-worker-proof-state.mjs fix(macos): pair app builds with verified node workers (#131466) 2026-08-29 14:47:55 -07:00
mac-notarization-recovery.py fix(macos): resume notarization without rebuilding signed artifacts (#135601) 2026-09-01 16:48:45 -07:00
mac-swift-build.sh fix(scripts): run macOS tooling under /bin/bash and make the framework-merge fixture self-contained (#141884) 2026-09-08 01:21:30 -07:00
mac-worker-portability.mjs fix(macos): pair app builds with verified node workers (#131466) 2026-08-29 14:47:55 -07:00
managed-child-process.mts fix: Windows cleanup leaves descendants running after leader exit (#150244) 2026-09-17 07:40:19 -07:00
managed-handoff-build-config.mts fix(update): identify FreeBSD handoff processes (#147415) 2026-09-14 06:25:04 +08:00
managed-windows-job-entrypoint.mts fix: Windows cleanup leaves descendants running after leader exit (#150244) 2026-09-17 07:40:19 -07:00
managed-windows-job-launcher.mts fix(process): confirm Windows stdio cleanup after parent exit (#151443) 2026-09-18 08:32:42 -07:00
managed-windows-job.mts fix(process): confirm Windows stdio cleanup after parent exit (#151443) 2026-09-18 08:32:42 -07:00
merge-head-diff-base.mjs perf(ci): remove repeated setup and balance complete test workloads (#134038) 2026-08-31 13:32:32 -07:00
mintlify-accordion.mjs fix(docs): preserve fenced examples during formatting (#143394) 2026-09-09 14:22:05 -07:00
mobile-changelog.ts refactor(scripts): share mobile changelog extraction (#146909) 2026-09-13 19:47:14 +08:00
mobile-version.ts refactor(release): share stable pin grammar (#135709) 2026-09-03 12:11:00 +08:00
native-session-catalogs.json feat(onboarding): require explicit AI provider selection (#139675) 2026-09-06 08:04:28 -07:00
node-diagnostic-report.mts fix(test): drain Codex fixture workers and diagnose teardown stalls (#151225) 2026-09-17 17:45:52 -07:00
npm-core-release-packages.json improve(release): prepare publication artifacts during validation (#135639) 2026-09-01 18:41:09 -07:00
npm-json-output.mts improve(release): prepare publication artifacts during validation (#135639) 2026-09-01 18:41:09 -07:00
npm-pack-budget.mts chore: migrate tooling and source installs to pnpm 12 (#131043) 2026-08-28 17:43:09 -07:00
npm-pack-inventory.mts fix(scripts): preserve npm signals in package checks (#145558) 2026-09-11 21:30:49 -07:00
npm-publish-plan.mjs fix(release): defer plugin npm visibility to parent verification (#152438) 2026-09-19 02:32:05 -07:00
npm-registry-signatures.mjs fix: close out stable releases after split publication recovery (#142291) 2026-09-08 10:23:45 -07:00
npm-shrinkwrap-dependencies.mjs fix(release): reject incomplete legacy npm install trees (#152186) 2026-09-18 22:40:23 +00:00
npm-verify-exec.ts
numeric-options.mjs
official-external-channel-catalog.json fix: avoid cold Matrix auth checks without persisted state (#152576) 2026-09-19 03:41:48 -07:00
official-external-channel-seed.json fix(plugins): migrate renamed official plugin installs (#130894) 2026-09-02 12:48:52 +08:00
official-external-plugin-catalog.json feat(typesafe): support local System One decision models (#154059) 2026-09-20 19:44:29 -07:00
official-external-provider-catalog.json fix: Z.AI built-in catalog is empty when using China (open.bigmodel.cn) endpoints (#150851) 2026-09-17 07:36:08 -07:00
openclaw-e2e-instance.sh fix: refresh stale Gateway shutdown budgets during updates and Doctor (#153636) 2026-09-21 12:31:05 +08:00
openclaw-release-clawhub-plan.ts feat(release): prepare npm and ClawHub for one-button publication (#136466) 2026-09-10 13:59:14 +09:00
openclaw-test-state.mjs
openclaw-test-state.mts test(e2e): preserve offline upgrade fixtures and restart proof (#134442) 2026-08-31 14:51:36 -07:00
optional-bundled-clusters-types.d.ts
optional-bundled-clusters.mjs fix(build): bind declaration caches to plugin selection (#134529) 2026-08-31 16:15:43 -07:00
output-root-guard.mjs
output-tail.mts refactor(scripts): share spawn output coercion (#134821) 2026-09-01 13:43:54 +08:00
package-bundled-plugins.mts fix(nodes): bootstrap source builds with private QA tooling (#149926) 2026-09-16 04:08:49 -07:00
package-dist-imports.d.mts improve(workers): reduce cloud runtime preparation overhead (#141141) 2026-09-07 06:32:30 -07:00
package-dist-imports.mjs fix(nodes): bootstrap source builds with private QA tooling (#149926) 2026-09-16 04:08:49 -07:00
package-dist-inventory-contract.mts fix: bound filesystem reads and keep sandbox reads responsive (#146654) 2026-09-12 19:41:19 -07:00
package-dist-inventory.ts refactor(package): reuse fs-safe staging-debris traversal (#153400) 2026-09-19 21:54:58 -07:00
package-lifecycle-marker.d.mts fix(update): complete package lifecycle outside dist inventory 2026-08-31 15:12:42 +05:30
package-lifecycle-marker.mjs fix(update): complete package lifecycle outside dist inventory 2026-08-31 15:12:42 +05:30
package-root-args.mts
packaged-extension-dirs.mts
packed-cargo-policy.mts fix(release): accept frozen targets before worker bundles (#136699) 2026-09-06 11:26:06 +09:00
packed-openclaw-tarballs.mts refactor(packaging): share packed tarball cleanup (#151930) 2026-09-19 00:16:30 +08:00
pairing-guard-context.mts
plain-gh.mjs fix(runtime): support Bun across tooling suite (#146807) 2026-09-13 03:33:13 -07:00
plain-gh.sh fix(scripts): preserve protected GitHub CLI routing (#133624) 2026-08-30 17:59:40 -07:00
plistbuddy.sh fix(scripts): run macOS tooling under /bin/bash and make the framework-merge fixture self-contained (#141884) 2026-09-08 01:21:30 -07:00
plugin-clawhub-release.ts fix(ci): check publication registries before FRV fanout (#147184) 2026-09-14 02:07:41 +08:00
plugin-contract-test-plan.mts refactor(ci): share weighted contract test sharding (#132322) 2026-08-29 17:30:49 +08:00
plugin-gateway-gauntlet.mts fix(nodes): bootstrap source builds with private QA tooling (#149926) 2026-09-16 04:08:49 -07:00
plugin-inventory-doc.mts docs(plugins): mark generated reference pages and fix their shared template (#140254) 2026-09-07 03:14:31 +08:00
plugin-inventory-module-refs.mts refactor: keep plugin work and cleanup owned during retirement (#144252) 2026-09-11 13:42:35 -07:00
plugin-npm-package-manifest.mjs
plugin-npm-package-manifest.mts fix: restore plugin publishing for candidates with legacy shrinkwraps (#151334) 2026-09-18 03:19:07 +00:00
plugin-npm-release.ts fix(ci): check publication registries before FRV fanout (#147184) 2026-09-14 02:07:41 +08:00
plugin-npm-runtime-assets.mts fix(plugins): include assets in untracked source package builds (#142527) 2026-09-08 15:24:06 -07:00
plugin-npm-runtime-build.mjs fix(plugins): fail runtime builds for missing package manifests (#145823) 2026-09-12 02:15:57 -07:00
plugin-npm-runtime-build.mts fix(plugins): archive updates fail on development-only dependencies (#143350) 2026-09-19 07:08:53 -06:00
plugin-npm-security-scan.mts fix(release): recognize the reviewed 2026.9.6 plugin inventory (#153372) 2026-09-19 19:59:19 -07:00
plugin-package-dependencies.mts fix(release): recognize Bun built-in modules (#143436) 2026-09-09 15:37:10 -07:00
plugin-prerelease-test-plan.mts
plugin-publication-candidates.ts feat(release): check publication gates before dispatch (#152470) 2026-09-19 01:41:43 -07:00
plugin-publication-collector.ts feat(release): prepare npm and ClawHub for one-button publication (#136466) 2026-09-10 13:59:14 +09:00
plugin-publication-target.mjs feat(release): prepare npm and ClawHub for one-button publication (#136466) 2026-09-10 13:59:14 +09:00
plugin-sdk-declaration-budget.mts
plugin-sdk-deprecated-barrel-subpaths.json
plugin-sdk-deprecated-public-subpaths.json
plugin-sdk-doc-metadata.ts feat: read GitHub issues, pull requests, and commits beside chat (#148464) 2026-09-18 23:54:04 -07:00
plugin-sdk-entries.mts fix(release): restore private QA imports and frozen scan counts (#149411) 2026-09-15 21:48:30 -07:00
plugin-sdk-entrypoints.json improve(workers): reduce worker startup time and memory (#154293) 2026-09-20 19:45:53 -07:00
plugin-sdk-private-local-only-subpaths.json improve(workers): reduce worker startup time and memory (#154293) 2026-09-20 19:45:53 -07:00
pnpm-lockfile-documents.mjs chore: migrate tooling and source installs to pnpm 12 (#131043) 2026-08-28 17:43:09 -07:00
policy-config-coverage.jsonc
process-memory.mts improve(ci): shorten serial Linux plugin lint (#150342) 2026-09-16 15:53:13 -07:00
proof-video-render.ts feat(dev-skills): add proof-video skill for captioned, zoomed PR recordings (#142259) 2026-09-09 09:16:35 -07:00
protocol-schema-document.mts fix(protocol): fail protocol:check when the published schema drifts (#133090) 2026-08-29 23:38:23 -07:00
recommended-tool-installs.json fix(onboarding): recommend only activatable setup tools (#109951) 2026-08-25 00:05:06 -07:00
record-shared.d.mts
record-shared.mjs
regexp.mjs
release-beta-verifier.ts fix(release): defer plugin npm visibility to parent verification (#152438) 2026-09-19 02:32:05 -07:00
release-changelog.mjs refactor: split release changelogs and synchronize docs mirrors (#145464) 2026-09-11 21:19:18 -07:00
release-context.d.mts improve(release): prepare publication artifacts during validation (#135639) 2026-09-01 18:41:09 -07:00
release-context.mjs improve(release): prepare publication artifacts during validation (#135639) 2026-09-01 18:41:09 -07:00
release-dependency-risk-acceptance.mts fix(ci): prevent release validation bootstrap and cache failures (#150337) 2026-09-16 21:06:58 -07:00
release-docs-mirror.mjs refactor: split release changelogs and synchronize docs mirrors (#145464) 2026-09-11 21:19:18 -07:00
release-notes-compaction.mjs refactor: split release changelogs and synchronize docs mirrors (#145464) 2026-09-11 21:19:18 -07:00
release-publish-children.sh fix(release): defer plugin npm visibility to parent verification (#152438) 2026-09-19 02:32:05 -07:00
release-publish-closeout-preflight.mts feat(release): check publication gates before dispatch (#152470) 2026-09-19 01:41:43 -07:00
release-publish-gates.mts feat(release): check publication gates before dispatch (#152470) 2026-09-19 01:41:43 -07:00
release-publish-preflight-evidence.mts feat(release): check publication gates before dispatch (#152470) 2026-09-19 01:41:43 -07:00
release-publish-preflight-interface.mts feat(release): check publication gates before dispatch (#152470) 2026-09-19 01:41:43 -07:00
release-publish-state.mts feat(release): check publication gates before dispatch (#152470) 2026-09-19 01:41:43 -07:00
release-upgrade-baseline.mjs fix(release): resolve first frozen baseline (#137575) 2026-09-03 14:39:29 -07:00
release-version.d.mts refactor(release): share stable pin grammar (#135709) 2026-09-03 12:11:00 +08:00
release-version.mjs refactor(release): share stable pin grammar (#135709) 2026-09-03 12:11:00 +08:00
repo-root.mjs fix(build): concurrent checks lose generated declarations (#132340) 2026-08-29 01:03:57 -07:00
report-cli-helpers.mts refactor(scripts): share inventory report CLI parsing (#150212) 2026-09-16 18:09:53 -07:00
restart-mac-gateway.sh fix(scripts): run macOS tooling under /bin/bash and make the framework-merge fixture self-contained (#141884) 2026-09-08 01:21:30 -07:00
root-package-bundled-plugin-excludes.mjs refactor(anthropic): replace handwritten Claude sessions with Agent SDK (#128131) 2026-08-24 01:59:16 -07:00
run-node-input-state.mts fix: avoid reusing builds from reverted source edits (#149866) 2026-09-16 02:45:49 -07:00
runtime-artifact-contract.ts fix(update): complete plugin runtime artifacts on first Git update (#145664) 2026-09-12 07:46:15 -07:00
runtime-dependency-ownership-build-plugin.mts fix(nodes): bootstrap source builds with private QA tooling (#149926) 2026-09-16 04:08:49 -07:00
runtime-import-closure.mts fix: Windows cleanup leaves descendants running after leader exit (#150244) 2026-09-17 07:40:19 -07:00
runtime-process-build-entries.mts fix: Windows cleanup leaves descendants running after leader exit (#150244) 2026-09-17 07:40:19 -07:00
runtime-process-core-build-entries.mts fix(state): preserve leases through heartbeat handoffs (#152681) 2026-09-19 02:31:38 -07:00
sanitize-bundler-helper-dts-exports.mts fix(build): sanitize direct tsdown declarations (#137592) 2026-09-07 14:57:37 -07:00
session-accessor-debt-baseline.json fix(transcripts): keep date-shaped IDs readable and stop handles unambiguous (#131723) 2026-08-28 08:40:40 -07:00
shrink-ratchet.mts fix(ci): reject line-cap growth on pull requests (#149622) 2026-09-16 04:25:37 -07:00
sleep.d.mts fix(ci): preserve Docker test failures during shutdown (#152002) 2026-09-19 02:01:13 +08:00
sleep.mjs
source-file-scan-cache.mts perf(tooling): prepare source scan paths before sorting (#139763) 2026-09-05 22:31:50 -07:00
sqlite-benchmark-cli.ts
sqlite-query-plan-evidence.ts improve(sqlite): report production workloads independently (#130994) 2026-08-28 01:02:42 +08:00
sqlite-reliability-cli.ts
sqlite-reliability-compaction-worker.ts fix(sessions): prevent participant misattribution in Activity (#130986) 2026-08-28 06:04:18 -07:00
sqlite-reliability-compaction.ts refactor(scripts): share SQLite reliability message waits (#146900) 2026-09-14 01:45:43 +08:00
sqlite-reliability-contract.ts refactor(sqlite): share reliability proof lifecycle (#139058) 2026-09-05 05:41:53 -07:00
sqlite-reliability-index-repair-worker.ts
sqlite-reliability-index-repair.ts refactor(scripts): share SQLite reliability message waits (#146900) 2026-09-14 01:45:43 +08:00
sqlite-reliability-process.ts refactor(scripts): share SQLite reliability message waits (#146900) 2026-09-14 01:45:43 +08:00
sqlite-reliability-publication-worker.ts
sqlite-reliability-publication.ts refactor(sqlite): share reliability proof lifecycle (#139058) 2026-09-05 05:41:53 -07:00
sqlite-reliability-repository-worker.ts
sqlite-reliability-repository.ts refactor(scripts): share SQLite reliability message waits (#146900) 2026-09-14 01:45:43 +08:00
sqlite-reliability-restore-worker.ts fix: preserve file operations with fs-safe 0.13.1 (#150263) 2026-09-16 17:21:11 -07:00
sqlite-reliability-restore.ts refactor(scripts): share SQLite reliability message waits (#146900) 2026-09-14 01:45:43 +08:00
sqlite-reliability-runner.ts refactor(sqlite): share reliability proof lifecycle (#139058) 2026-09-05 05:41:53 -07:00
sqlite-reliability-wal-monitor.ts
sqlite-reliability-worker-paths.ts
sqlite-reliability-writer.ts refactor(scripts): share SQLite reliability message waits (#146900) 2026-09-14 01:45:43 +08:00
sqlite-session-schema-baseline.ts fix(gateway): fill older chat pages without duplicate transcript storage (#128810) 2026-08-24 10:43:59 -07:00
sqlite-state-benchmark-cli.ts
stable-publish-recovery.mjs fix(release): verify 2026.9.4 split publication recovery (#144638) 2026-09-10 21:04:08 -07:00
stable-release-closeout.mjs feat(release): check publication gates before dispatch (#152470) 2026-09-19 01:41:43 -07:00
state-schema-inline-plugin.mts chore(test): migrate to stable Vitest 5 (#138264) 2026-09-06 04:17:59 +09:00
static-extension-assets.mts fix(build): avoid duplicate asset copies during merge conflict resolution (#148907) 2026-09-16 17:58:43 -07:00
strict-integer-option.ts
swift-toolchain.sh fix(scripts): run macOS tooling under /bin/bash and make the framework-merge fixture self-contained (#141884) 2026-09-08 01:21:30 -07:00
test-group-report.mts refactor(test): share grouped report key pairing (#149142) 2026-09-18 22:15:17 +08:00
test-selector-source-facts.mts fix(ci): catch config-doc drift in changed checks (#137994) 2026-09-04 02:16:54 -07:00
timeout-error.mjs refactor(scripts): share timeout error factory (#135907) 2026-09-03 12:33:35 +08:00
ts-guard-utils.mts perf(dev): defer compiler loading on clean launcher paths (#142338) 2026-09-08 14:37:33 -07:00
tsdown-config-groups.mts perf(build): reuse staged SDK declarations across profiles (#134414) 2026-08-31 14:13:01 -07:00
tsdown-declaration-boundary.mts fix(runtime): support Bun across tooling suite (#146807) 2026-09-13 03:33:13 -07:00
tsdown-declaration-generator-inputs.mts fix(update): identify FreeBSD handoff processes (#147415) 2026-09-14 06:25:04 +08:00
tsdown-declaration-inputs.mts refactor(build): simplify declaration hooks and regression fixtures (#138683) 2026-09-04 17:17:58 -07:00
tsdown-declaration-writer.mts improve: speed up cold declaration builds with spare memory (#149592) 2026-09-15 19:48:11 -07:00
tsdown-output-roots.mts
tsgo-core-test-shards.mts fix(ci): split agent session test type graph (#153943) 2026-09-20 15:20:37 -07:00
tsgo-sparse-guard.mts
tsx-cli-shim.mjs improve(ci): preserve GraphQL quota while waiting for PR CI (#152697) 2026-09-19 02:51:06 -07:00
type-assertion-guard-scope.mjs refactor(agents): use canonical subagent session rows (#136094) 2026-09-02 14:00:04 -07:00
update-compat-chunks.mts fix(update): trace the delegating config runtime alias in the compatibility inventory (#152411) 2026-09-18 20:42:55 -07:00
update-compat-contract.mjs fix(update): keep old updaters able to restart the Gateway (#142195) 2026-09-08 10:43:46 -07:00
update-compat-inventory.json fix(release): record the 2026.9.5 npm release in the update compatibility inventory (#152472) 2026-09-18 22:41:05 -07:00
update-compat-source-imports.mts fix(update): trace the delegating config runtime alias in the compatibility inventory (#152411) 2026-09-18 20:42:55 -07:00
update-config-runtime-compat.mts fix(update): prevent rollback when older updaters inspect candidate dependencies (#151977) 2026-09-18 10:47:11 -07:00
upgrade-survivor-baseline-check.mjs fix(ci): skip unusable published survivor baselines (#151694) 2026-09-18 03:34:51 -07:00
upgrade-survivor-diagnostics.sh fix: keep Workshop event reads off the Gateway request thread (#152583) 2026-09-20 03:43:24 -07:00
upgrade-survivor-policy.d.mts improve(upgrade): cover project workspace startup migration (#150077) 2026-09-16 09:36:42 -07:00
upgrade-survivor-policy.mjs fix(update): restore Gateway and clear stale warnings after repair (#151003) 2026-09-17 16:36:11 -07:00
upgrade-survivor-scenarios.json fix(update): preserve config when plugin load paths are unavailable (#150312) 2026-09-16 16:58:47 -07:00
upstream-repository-advisories.mts fix(release): stop flagging explicitly patched upstream versions (#150657) 2026-09-17 06:58:27 +00:00
version-script-args.ts refactor(mobile): share version script argument parsing (#135264) 2026-09-01 12:35:33 -07:00
vitest-batch-runner.mts chore(ci): run compatible PR tests on the pinned Bun fork (#154340) 2026-09-21 04:08:42 +00:00
vitest-build-prerequisites.mts feat: use paired-node workspaces for attachments, Memory, and Skills (#154087) 2026-09-20 19:26:33 -07:00
vitest-cache-slots.mts fix(test): reuse idle transform caches across scheduler slots (#146167) 2026-09-12 09:29:47 -07:00
vitest-cli-mode.mts fix(test): preserve repeat counts in recovery stress runs (#148810) 2026-09-14 23:01:41 -07:00
vitest-cli.mts fix(test): preserve boolean options in focused test runs (#133449) 2026-09-02 17:44:08 -07:00
vitest-fork-os-diagnostics.mts test: diagnose stalled infra test workers (#152381) 2026-09-19 03:53:39 -07:00
vitest-fork-os-observer.mjs test: diagnose stalled infra test workers (#152381) 2026-09-19 03:53:39 -07:00
vitest-home-selection.mts fix(testing): run package contracts without unrelated runtime builds (#142159) 2026-09-08 07:01:55 -07:00
vitest-isolated-entry.mts fix(test): run local Gateway tests behind protected exec egress (#152318) 2026-09-18 18:36:58 -07:00
vitest-isolated-source.mts fix(test): run local Gateway tests behind protected exec egress (#152318) 2026-09-18 18:36:58 -07:00
vitest-isolated.mts fix(test): run local Gateway tests behind protected exec egress (#152318) 2026-09-18 18:36:58 -07:00
vitest-local-scheduling.mts ci(test): size Vitest workers from measured CI headroom (#152864) 2026-09-19 06:37:55 -07:00
vitest-pair-benchmark-contract.mts feat(ci): add paired Vitest benchmark (#138937) 2026-09-05 16:30:50 +08:00
vitest-pair-benchmark.mts chore(deps): refresh dependencies with seven-day cutoff (#149908) 2026-09-16 09:06:40 -07:00
vitest-process-env.mts fix(ci): restore Vitest cache reuse (#154121) 2026-09-20 18:12:59 -07:00
vitest-process.mts fix(runtime): require Node builds with lossless SQLite reads (#140672) 2026-09-07 10:31:31 -07:00
vitest-profile-runner.mts fix(workers): avoid provisioning during failed-dispatch cleanup (#132224) 2026-08-29 11:51:21 -07:00
vitest-profiler.mts fix(workers): avoid provisioning during failed-dispatch cleanup (#132224) 2026-08-29 11:51:21 -07:00
vitest-report-capture.mts chore(test): migrate to stable Vitest 5 (#138264) 2026-09-06 04:17:59 +09:00
vitest-report-cli-utils.mts
vitest-report-owner.mts fix(test): redact credentials from Vitest failure reports (#150983) 2026-09-17 10:32:29 -07:00
vitest-resource-ownership.mts fix(test): preserve retained inputs across nested Vitest cleanup (#135647) 2026-09-01 19:04:09 -07:00
vitest-resource-reporter.mts fix(test): respect process memory limits in local scheduling (#146298) 2026-09-13 19:58:55 +08:00
vitest-runtime-selection.mts refactor(tasks): prepare cold task and flow reads asynchronously (#148574) 2026-09-17 17:17:32 -07:00
vitest-shard-metadata.mts improve(ci): run Gateway server tests in parallel (#154181) 2026-09-20 18:59:54 -07:00
vitest-shard-timings.mts improve: keep CI focused for precisely selected tests (#146366) 2026-09-12 13:01:42 -07:00
vitest-test-runtime.mts chore(ci): run compatible PR tests on the pinned Bun fork (#154340) 2026-09-21 04:08:42 +00:00
vitest-unhandled-errors.mts
vitest-worker-artifacts.mts fix(test): reuse compiled runtime workers across local runs (#153558) 2026-09-20 03:02:54 -07:00
vitest-worker-bootstrap.mts perf(ci): share compiled workers across test groups (#146353) 2026-09-12 17:16:29 -07:00
vitest-worker-build-entries.mts fix: keep service update replacement tests meaningful and fast (#154263) 2026-09-20 19:16:40 -07:00
vitest-worker-cache-policy.mts ci: reuse verified test workers across jobs (#154095) 2026-09-20 15:32:27 -07:00
vitest-worker-cache.mts fix(test): reuse compiled runtime workers across local runs (#153558) 2026-09-20 03:02:54 -07:00
vitest-worker-compiler.mts fix(test): reuse compiled runtime workers across local runs (#153558) 2026-09-20 03:02:54 -07:00
vitest-worker-declarations.mts perf(state): skip full agent scans on clean same-version restarts (#153463) 2026-09-20 01:50:31 -07:00
vitest-worker-run.mts ci: reuse verified test workers across jobs (#154095) 2026-09-20 15:32:27 -07:00
watch-pr-ci-rollup.mts perf(pr): batch REST author reads during landing (#154040) 2026-09-20 14:24:38 -07:00
weighted-test-shards.mts refactor(ci): share weighted contract test sharding (#132322) 2026-08-29 17:30:49 +08:00
windows-taskkill.d.mts fix(gateway): keep received work inside its state lifetime (#136146) 2026-09-04 16:02:31 -07:00
windows-taskkill.mjs
worker-deploy-build-plugin.mts fix: retire failed setup plugins without replaying facade initialization (#152026) 2026-09-18 14:38:31 -07:00
workspace-bootstrap-smoke.mts fix(anthropic): keep automated heartbeats on subscription usage (#129513) 2026-08-25 14:11:38 -07:00