Skip to content

perf(config): avoid repeated environment scans during publication - #156457

Merged
vincentkoc merged 3 commits into
mainfrom
perf/config-env-phase-snapshots-20260923
Sep 24, 2026
Merged

vincentkoc merged 3 commits into
mainfrom
perf/config-env-phase-snapshots-20260923

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Config environment publication and rollback rescan the entire environment for each affected key. The work grows with both the number of environment keys and the number of publication changes.

User Impact

Config publication does less CPU work in larger environments while preserving updates, removals, ambient overrides, Windows key matching, and linked rollback order. No API, configuration, schema, or timeout changes.

Why This Change Was Made

Each existing synchronous phase lazily captures its own environment snapshot at the first lookup. Post-write ownership gets a fresh snapshot, and each linked rollback invocation captures another. Empty phases do no enumeration; nothing is cached across phases or publications.

The tests extend existing behavior and both rollback-order cases, forwarding real Object.entries calls and restoring the observer before assertions.

Evidence

Current head 66c28649c48b7bef63a749fa77e4d4e50f680a80 incorporates main 54bec773831398a7b79fa9771e7a7aa8fb5eaf4d. The original optimization hunks are unchanged; the full files also contain inherited main changes. Its exact-head CI run passed. Earlier comparative runtime measurements remain bound to their stated historical source.

The measurements below remain bound to the original f9c6bae5e1d924796da2103bc25b752a101308a5 source. Pre-integration head 63ec3428c13d4d50834e282870398937c0ebeb0f fixes the hosted shadowed-local and module-length lint findings through local renaming, shorthand, formatting, and an equivalent readonly environment type spelling. All four lazy lookup boundaries, operations, and tests are unchanged. Focused syntax lint passes. Exact-head hosted CI completed successfully for 63ec3428c13d4d50834e282870398937c0ebeb0f, including the aggregate gate, build, production/test types and lint. Skipped compatibility lanes are not execution proof. The earlier runtime measurements were not rerun or relabeled as current-head measurements.

Native proof run, Linux x64, Node 24.19.0, pnpm 12.4, Vitest 5, frozen installs, exact source and dependency endpoints verified:

  • Both complete files in their original order: config.env-vars.test.ts and io.runtime-async.test.ts. Candidate 58/58; baseline 55/58, with exactly the three intended enumeration-count failures. Existing behavior and intermediate rollback states match.
  • One functional execution per arm. Framework file spans (endTime - startTime): env-vars baseline 0.960 s, candidate 0.056 s (48 cases); runtime-async baseline 8.277 s, candidate 6.514 s (10 cases). These are file spans, not command durations or repeated timing results.
  • Two count workers distinguish enumeration calls from key cardinality. With normalized-key unions of 209/337 and two ownership-loop entries, publication enumeration calls fall 211 → 2 / 339 → 2 (starting environment cardinalities 208/336). An empty isolated environment remains 0 → 0. Native no-change and preparation-failure/no-config-state cases verify complete before/prepared/published equality, no predecessor, and zero rollback work. Each linked rollback retains its own fresh observation.
  • Ten uninstrumented timing workers, five alternating matched pairs, eleven ordered cases per worker. Each case has one cold cycle, one warmup, three measured phase cycles, and three separate preparation-inclusive cycles. Every iteration prepares a fresh publication; reset/reseed stays outside the intervals.

Preparation-inclusive results below cover three complete prepare/publish/rollback cycles. Percentages are medians of paired changes, not ratios of arm medians.

Case Baseline → candidate wall median (ms) Paired wall change Paired CPU change
Isolated empty 0.0624 → 0.0625 +1.27% +3.13%
Process no-change 86.385 → 1.905 −97.77% −97.78%
Process preparation failure, no config state 81.630 → 1.996 −97.56% −97.55%
Isolated tiny 0.0705 → 0.0795 +12.79% +12.33%
Process tiny 84.066 → 2.762 −96.83% −96.92%
Isolated +128 keys 2.773 → 0.507 −82.56% −82.49%
Process +128 keys 276.349 → 5.837 −97.88% −97.88%
Linked older-first, tiny 157.225 → 5.895 −96.24% −95.31%
Linked newer-first, tiny 156.970 → 4.836 −96.94% −96.94%
Linked older-first, +128 keys 550.003 → 11.369 −97.90% −97.91%
Linked newer-first, +128 keys 551.940 → 9.849 −98.17% −98.17%

All process and linked cases improved in all five wall/CPU pairs. The isolated tiny control costs about +0.009 ms wall and CPU: wall is worse in 4/5 pairs, CPU in 3/5. Empty-control results are mixed. Preparation-inclusive empty witnesses include two full environment copies; separately measured phase intervals exclude those checks. Three-cycle samples are deliberately limited and do not establish precise production latency.

Whole-worker peak RSS paired median increased 1.90 MiB (4/5 pairs); endpoint RSS increased 3.15 MiB (3/5). The eleven cases share process history, so these do not identify a causal allocation or leak. Imports precede measurement; first use is not startup, and no Gateway/startup or Node 26 performance claim is made.

The complete 69-member native artifact, full console output, control receipts, and external process/provider/source/install custody were verified. Scoped P0–P2 source review found no actionable issues. Formatting and diff checks passed. Exact-head hosted CI, types/build and lint passed as linked above. Native review/prepare/merge, including current review freshness and mergeability, remains outstanding.

Standalone changed-file timing

At 66c28649c48b7bef63a749fa77e4d4e50f680a80, src/config/config.env-vars.test.ts passed all 49 tests in one standalone invocation of the canonical runtime-config project:

/usr/bin/time -p /usr/bin/env VITEST_MAX_WORKERS=1 OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs run src/config/config.env-vars.test.ts --maxWorkers=1 --no-file-parallelism

The measured environment was Linux x64, Node 24.19.0 (ABI 137), pnpm 12.4.2, and the installed patched Vitest 5.0.1. The effective maximum was one Vitest worker; this is not an OS-thread count.

  • POSIX whole-command wall: 24.76 s; user CPU: 33.09 s; system CPU: 6.08 s.
  • Native shard wrapper: 24.47 s.
  • Vitest framework total: 22.87 s, including preparation, transform/import, and worker work. This is not an isolated test-execution span.

The retained exact-head hosted CI job passed 49 tests with a configured maximum of two workers. Its 128 ms is the sum of displayed rounded case durations. Hosted CI did not retain an attributable per-file whole-command wall time, so that case sum is not comparable to the new 24.76 s command wall.

The previously unrun file was measured once; the four already completed file measurements were not repeated. Source, installed-tool identities, artifacts, process settlement, and final custody all verified.

@vincentkoc vincentkoc self-assigned this Sep 23, 2026
@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@vincentkoc
vincentkoc marked this pull request as ready for review September 23, 2026 11:03
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 23, 2026
@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 24, 2026, 2:56 PM ET / 18:56 UTC (Revision 5).

ClawSweeper review

What this changes

The branch reuses an environment snapshot within each config publication or rollback phase and extends tests for scan counts and rollback order.

Merge readiness

✅ Ready for maintainer review

Keep open: current main still has the reported repeated scans, source review found no concrete patch defect, and the updated PR body addresses the prior test-timing request.

Priority: P2
Reviewed head: 66c28649c48b7bef63a749fa77e4d4e50f680a80

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The focused patch has convincing reported native comparison and regression coverage, with no identified correctness or security blocker.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (linked_artifact): The PR links a native Linux run through the config publication owner using real environment enumeration, with lower scan counts and observed rollback behavior after the change. The comparison is tied to the original optimization commit; current-head CI and the supplied diff support the later revision, but this review did not rerun the native scenario. No stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (linked_artifact): The PR links a native Linux run through the config publication owner using real environment enumeration, with lower scan counts and observed rollback behavior after the change. The comparison is tied to the original optimization commit; current-head CI and the supplied diff support the later revision, but this review did not rerun the native scenario. No stored-data contract changes.
Evidence reviewed 7 items Introduced production change: The pinned base-to-head diff changes four publication and rollback lookup loops to reuse a snapshot within each synchronous phase.
Current main still needs the change: Current main has no changes to either touched file since the pinned base; its publication loop still creates a new snapshot for each key.
Behavioral regression coverage: The changed tests count real Object.entries calls on the target environment and check updates, removals, and both linked rollback orders.
Findings None None.
Security None None.

How this fits together

Config loading builds a candidate environment from process variables and inline settings. Publication applies accepted values to the runtime environment and can restore them if the operation fails.

flowchart LR
  A[Process environment] --> C[Candidate environment]
  B[Inline config settings] --> C
  C --> D[Publication snapshot]
  D --> E{Accept or roll back}
  E -->|Accept| F[Runtime environment]
  E -->|Roll back| G[Restored environment]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source 0, Tests +33. Total +33 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 1 12 12 0
Tests 1 41 8 +33
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 53 20 +33

Review metrics

Metric Value Why it matters
Publication scans 211→2 and 339→2 in the reported native comparisons The measurements address the repeated-scan cost this PR targets.
Changed-test timing 24.76 s single-worker command wall; 128 ms summed CI case durations The PR body now supplies the timing requested in the previous review and distinguishes the two measurements.

Technical review

Best possible solution:

Keep snapshots scoped to each synchronous publication or rollback phase so later phases and linked rollbacks observe fresh environment state.

Do we have a high-confidence way to reproduce the issue?

Yes. Current-main source repeats the environment snapshot inside per-key loops, and the PR reports baseline scan counts from a native comparison; this read-only review did not execute the code.

Is this the best way to solve the issue?

Yes. A fresh snapshot for each synchronous phase removes repeated enumeration while retaining the existing publication and rollback boundaries.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 78398c5854c2.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. The PR links a native Linux run through the config publication owner using real environment enumeration, with lower scan counts and observed rollback behavior after the change. The comparison is tied to the original optimization commit; current-head CI and the supplied diff support the later revision, but this review did not rerun the native scenario. No stored-data contract changes.

Label justifications:

  • P2: This is a bounded config-publication performance improvement with measured benefit in larger environments.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (linked_artifact): The PR links a native Linux run through the config publication owner using real environment enumeration, with lower scan counts and observed rollback behavior after the change. The comparison is tied to the original optimization commit; current-head CI and the supplied diff support the later revision, but this review did not rerun the native scenario. No stored-data contract changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR links a native Linux run through the config publication owner using real environment enumeration, with lower scan counts and observed rollback behavior after the change. The comparison is tied to the original optimization commit; current-head CI and the supplied diff support the later revision, but this review did not rerun the native scenario. No stored-data contract changes.

Evidence

What I checked:

  • Introduced production change: The pinned base-to-head diff changes four publication and rollback lookup loops to reuse a snapshot within each synchronous phase. (src/config/config-env-vars.ts:573, 66c28649c48b)
  • Current main still needs the change: Current main has no changes to either touched file since the pinned base; its publication loop still creates a new snapshot for each key. (src/config/config-env-vars.ts:577, 78398c5854c2)
  • Behavioral regression coverage: The changed tests count real Object.entries calls on the target environment and check updates, removals, and both linked rollback orders. (src/config/config.env-vars.test.ts:238, 66c28649c48b)
  • Production callers: The async config reader prepares and publishes the runtime environment after loading config; the Gateway also prepares this environment during reload. (src/config/io.runtime.ts:142, 66c28649c48b)
  • Native proof and timing: The supplied PR body links a Linux Node 24 native run reporting baseline-to-candidate publication scans of 211→2 and 339→2, with functional rollback checks. It also reports a 24.76 s single-worker command wall time at the current head and a separately identified 128 ms sum of CI case durations. These are contributor-reported observations; this read-only review did not rerun them. (66c28649c48b)
  • Feature history: Current-main history identifies earlier transactional reload and recent config work as routing context; the available history does not establish who introduced the exact current source lines. (src/config/config-env-vars.ts, 78398c5854c2)

Likely related people:

  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (4 earlier review cycles)
  • reviewed 2026-09-23T11:11:15.248Z sha f9c6bae :: needs maintainer review before merge. :: none
  • reviewed 2026-09-23T11:24:36.752Z sha 63ec342 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-24T07:17:17.440Z sha 63ec342 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-24T17:06:26.177Z sha 66c2864 :: blocked before merge. :: none

@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Sep 24, 2026
@vincentkoc
vincentkoc merged commit de7281f into main Sep 24, 2026
207 checks passed
@vincentkoc
vincentkoc deleted the perf/config-env-phase-snapshots-20260923 branch September 24, 2026 19:08
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Sep 24, 2026
* commit '926bb1e1d75c6b102bcbf93114c690312c23cf18': (2027 commits)
  refactor(matrix): reuse startup verification account key (#157310)
  perf(config): avoid repeated environment scans during publication (#156457)
  chore(i18n): refresh native locales (#157495)
  fix(update): show quiet step progress and date recorded outcomes (#153407)
  feat(gateway): preserve browser sign-in requirements before connecting (#157454)
  test(scripts): await CLI admission fixture lifetimes (#157424)
  fix(ci): preserve consumer selection across core type stripes (#157373)
  fix(wizard): preserve typed plugin enum values (#127577) (#138090)
  fix(qa): title mock Code Mode fixture calls
  refactor: simplify SQLite worker lifecycle and test fixtures (#157458)
  test: prebuild run-node signal fixture (#157478)
  refactor(exec): reuse approval policy rule keys (#157198)
  fix(ci): reuse prepared runtime for changed-target E2E shards (#157365)
  fix(config): apply Gateway writes without waiting for file events (#157372)
  fix: count recorded nested tool operations once (#157438)
  fix(telegram): stop leaking raw file:// markdown links in messages (#137810)
  refactor(claws): share resource capability changes (#154680)
  improve(channels): reduce redundant preparation for button messages (#157050)
  fix(build): package preparation fails on unrelated test types (#157318)
  refactor(claws): share bounded document reading (#157436)
  ...
vincentkoc added a commit that referenced this pull request Sep 24, 2026
* refactor(config): share config doc wildcard traversal

* refactor(config): refresh wildcard traversal on frozen main

Integrate the frozen main baseline while preserving the documentation wildcard extraction and its public renderer coverage.

* chore: merge main for config doc validation

* commit '926bb1e1d75c6b102bcbf93114c690312c23cf18': (2027 commits)
  refactor(matrix): reuse startup verification account key (#157310)
  perf(config): avoid repeated environment scans during publication (#156457)
  chore(i18n): refresh native locales (#157495)
  fix(update): show quiet step progress and date recorded outcomes (#153407)
  feat(gateway): preserve browser sign-in requirements before connecting (#157454)
  test(scripts): await CLI admission fixture lifetimes (#157424)
  fix(ci): preserve consumer selection across core type stripes (#157373)
  fix(wizard): preserve typed plugin enum values (#127577) (#138090)
  fix(qa): title mock Code Mode fixture calls
  refactor: simplify SQLite worker lifecycle and test fixtures (#157458)
  test: prebuild run-node signal fixture (#157478)
  refactor(exec): reuse approval policy rule keys (#157198)
  fix(ci): reuse prepared runtime for changed-target E2E shards (#157365)
  fix(config): apply Gateway writes without waiting for file events (#157372)
  fix: count recorded nested tool operations once (#157438)
  fix(telegram): stop leaking raw file:// markdown links in messages (#137810)
  refactor(claws): share resource capability changes (#154680)
  improve(channels): reduce redundant preparation for button messages (#157050)
  fix(build): package preparation fails on unrelated test types (#157318)
  refactor(claws): share bounded document reading (#157436)
  ...

Co-authored-by: Vincent Koc <[email protected]>
vincentkoc added a commit that referenced this pull request Sep 24, 2026
* commit 'a0905dfe5c17053a3f0ef2aa0cf8f421bce9381c': (75 commits)
  fix: preserve conversation titles across split-pane agent switches (#157482)
  test(gateway): settle resumed work before checking announcement
  fix(update): avoid socket-arrival assumptions in deadline tests (#157504)
  fix(ci): include Android Access in release coordination
  refactor: share LINE message context test fixtures (#157488)
  refactor(matrix): reuse startup verification account key (#157310)
  perf(config): avoid repeated environment scans during publication (#156457)
  chore(i18n): refresh native locales (#157495)
  fix(update): show quiet step progress and date recorded outcomes (#153407)
  feat(gateway): preserve browser sign-in requirements before connecting (#157454)
  test(scripts): await CLI admission fixture lifetimes (#157424)
  fix(ci): preserve consumer selection across core type stripes (#157373)
  fix(wizard): preserve typed plugin enum values (#127577) (#138090)
  fix(qa): title mock Code Mode fixture calls
  refactor: simplify SQLite worker lifecycle and test fixtures (#157458)
  test: prebuild run-node signal fixture (#157478)
  refactor(exec): reuse approval policy rule keys (#157198)
  fix(ci): reuse prepared runtime for changed-target E2E shards (#157365)
  fix(config): apply Gateway writes without waiting for file events (#157372)
  fix: count recorded nested tool operations once (#157438)
  ...
vincentkoc added a commit that referenced this pull request Sep 24, 2026
* commit '926bb1e1d75c6b102bcbf93114c690312c23cf18': (1903 commits)
  refactor(matrix): reuse startup verification account key (#157310)
  perf(config): avoid repeated environment scans during publication (#156457)
  chore(i18n): refresh native locales (#157495)
  fix(update): show quiet step progress and date recorded outcomes (#153407)
  feat(gateway): preserve browser sign-in requirements before connecting (#157454)
  test(scripts): await CLI admission fixture lifetimes (#157424)
  fix(ci): preserve consumer selection across core type stripes (#157373)
  fix(wizard): preserve typed plugin enum values (#127577) (#138090)
  fix(qa): title mock Code Mode fixture calls
  refactor: simplify SQLite worker lifecycle and test fixtures (#157458)
  test: prebuild run-node signal fixture (#157478)
  refactor(exec): reuse approval policy rule keys (#157198)
  fix(ci): reuse prepared runtime for changed-target E2E shards (#157365)
  fix(config): apply Gateway writes without waiting for file events (#157372)
  fix: count recorded nested tool operations once (#157438)
  fix(telegram): stop leaking raw file:// markdown links in messages (#137810)
  refactor(claws): share resource capability changes (#154680)
  improve(channels): reduce redundant preparation for button messages (#157050)
  fix(build): package preparation fails on unrelated test types (#157318)
  refactor(claws): share bounded document reading (#157436)
  ...
vincentkoc added a commit that referenced this pull request Sep 24, 2026
* refactor(acp): consolidate scalar runtime option validation

* chore: merge main for ACP validation

* commit 'a0905dfe5c17053a3f0ef2aa0cf8f421bce9381c': (75 commits)
  fix: preserve conversation titles across split-pane agent switches (#157482)
  test(gateway): settle resumed work before checking announcement
  fix(update): avoid socket-arrival assumptions in deadline tests (#157504)
  fix(ci): include Android Access in release coordination
  refactor: share LINE message context test fixtures (#157488)
  refactor(matrix): reuse startup verification account key (#157310)
  perf(config): avoid repeated environment scans during publication (#156457)
  chore(i18n): refresh native locales (#157495)
  fix(update): show quiet step progress and date recorded outcomes (#153407)
  feat(gateway): preserve browser sign-in requirements before connecting (#157454)
  test(scripts): await CLI admission fixture lifetimes (#157424)
  fix(ci): preserve consumer selection across core type stripes (#157373)
  fix(wizard): preserve typed plugin enum values (#127577) (#138090)
  fix(qa): title mock Code Mode fixture calls
  refactor: simplify SQLite worker lifecycle and test fixtures (#157458)
  test: prebuild run-node signal fixture (#157478)
  refactor(exec): reuse approval policy rule keys (#157198)
  fix(ci): reuse prepared runtime for changed-target E2E shards (#157365)
  fix(config): apply Gateway writes without waiting for file events (#157372)
  fix: count recorded nested tool operations once (#157438)
  ...

Co-authored-by: Vincent Koc <[email protected]>
@roboclaw-bot roboclaw-bot mentioned this pull request Sep 24, 2026
2 of 8 tasks
vincentkoc added a commit that referenced this pull request Sep 24, 2026
* refactor(agents): centralize tool description exclusions

* Merge main into refactor/tool-description-exclusions-20260915

* commit '84114b5a2711764e2ca333e327e808fd88316063': (40 commits)
  improve(sessions): reuse compiled transcript metadata queries (#148773)
  fix(ci): repair Copilot contracts and config failure diagnostics (#149001)
  test: align model auth and setup fixtures with current behavior (#149023)
  refactor: reuse web search request context (#148949)
  fix(ci): remove duplicate Copilot auth metadata (#149016)
  test(agents): align auth fixtures with runtime store reads (#149004)
  improve: reduce data fetched during reminder maintenance (#148996)
  fix(cron): skip availability checks when session pruning is idle (#148920)
  fix(auth): guard GitHub Copilot device flow authority (#148999)
  fix(agents): prevent early recovery aborts of foreground exec (#148959)
  fix(github-copilot): remove retired Raptor mini (#116505)
  improve(feishu): reduce preparation work for documents with tables (#148997)
  improve: reduce database work when recording participants (#148841)
  test: accept Bun error labels in plugin assertions (#148955)
  fix(models): clarify saved account health and catalog status (#148987)
  test(plugins): align Copilot auth-choice registry expectations (#148981)
  fix(channels): reject blank integer channel add options (#145534)
  fix(ui): preserve archive undo after chat navigation (#148831)
  feat: show cited source previews in macOS and iOS chat (#148906)
  fix: avoid redundant tab updates while chats stream (#148865)
  ...

* refactor(agents): consolidate tool description exclusions

* chore: merge main for tool summary validation

* commit '926bb1e1d75c6b102bcbf93114c690312c23cf18': (1903 commits)
  refactor(matrix): reuse startup verification account key (#157310)
  perf(config): avoid repeated environment scans during publication (#156457)
  chore(i18n): refresh native locales (#157495)
  fix(update): show quiet step progress and date recorded outcomes (#153407)
  feat(gateway): preserve browser sign-in requirements before connecting (#157454)
  test(scripts): await CLI admission fixture lifetimes (#157424)
  fix(ci): preserve consumer selection across core type stripes (#157373)
  fix(wizard): preserve typed plugin enum values (#127577) (#138090)
  fix(qa): title mock Code Mode fixture calls
  refactor: simplify SQLite worker lifecycle and test fixtures (#157458)
  test: prebuild run-node signal fixture (#157478)
  refactor(exec): reuse approval policy rule keys (#157198)
  fix(ci): reuse prepared runtime for changed-target E2E shards (#157365)
  fix(config): apply Gateway writes without waiting for file events (#157372)
  fix: count recorded nested tool operations once (#157438)
  fix(telegram): stop leaking raw file:// markdown links in messages (#137810)
  refactor(claws): share resource capability changes (#154680)
  improve(channels): reduce redundant preparation for button messages (#157050)
  fix(build): package preparation fails on unrelated test types (#157318)
  refactor(claws): share bounded document reading (#157436)
  ...

Co-authored-by: Vincent Koc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 25, 2026
…enclaw#156457)

* perf(config): avoid repeated environment scans during publication

* fix(config): keep environment publication snapshots lint-clean
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 25, 2026
* refactor(config): share config doc wildcard traversal

* refactor(config): refresh wildcard traversal on frozen main

Integrate the frozen main baseline while preserving the documentation wildcard extraction and its public renderer coverage.

* chore: merge main for config doc validation

* commit 'e0f58a77476acbe382bff5e55cd520e9d228d478': (2027 commits)
  refactor(matrix): reuse startup verification account key (openclaw#157310)
  perf(config): avoid repeated environment scans during publication (openclaw#156457)
  chore(i18n): refresh native locales (openclaw#157495)
  fix(update): show quiet step progress and date recorded outcomes (openclaw#153407)
  feat(gateway): preserve browser sign-in requirements before connecting (openclaw#157454)
  test(scripts): await CLI admission fixture lifetimes (openclaw#157424)
  fix(ci): preserve consumer selection across core type stripes (openclaw#157373)
  fix(wizard): preserve typed plugin enum values (openclaw#127577) (openclaw#138090)
  fix(qa): title mock Code Mode fixture calls
  refactor: simplify SQLite worker lifecycle and test fixtures (openclaw#157458)
  test: prebuild run-node signal fixture (openclaw#157478)
  refactor(exec): reuse approval policy rule keys (openclaw#157198)
  fix(ci): reuse prepared runtime for changed-target E2E shards (openclaw#157365)
  fix(config): apply Gateway writes without waiting for file events (openclaw#157372)
  fix: count recorded nested tool operations once (openclaw#157438)
  fix(telegram): stop leaking raw file:// markdown links in messages (openclaw#137810)
  refactor(claws): share resource capability changes (openclaw#154680)
  improve(channels): reduce redundant preparation for button messages (openclaw#157050)
  fix(build): package preparation fails on unrelated test types (openclaw#157318)
  refactor(claws): share bounded document reading (openclaw#157436)
  ...

Co-authored-by: Vincent Koc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 25, 2026
…#157446)

* refactor(acp): consolidate scalar runtime option validation

* chore: merge main for ACP validation

* commit 'a2532ef8d2eb80fd2fd391ef7ea645c051f8be9c': (75 commits)
  fix: preserve conversation titles across split-pane agent switches (openclaw#157482)
  test(gateway): settle resumed work before checking announcement
  fix(update): avoid socket-arrival assumptions in deadline tests (openclaw#157504)
  fix(ci): include Android Access in release coordination
  refactor: share LINE message context test fixtures (openclaw#157488)
  refactor(matrix): reuse startup verification account key (openclaw#157310)
  perf(config): avoid repeated environment scans during publication (openclaw#156457)
  chore(i18n): refresh native locales (openclaw#157495)
  fix(update): show quiet step progress and date recorded outcomes (openclaw#153407)
  feat(gateway): preserve browser sign-in requirements before connecting (openclaw#157454)
  test(scripts): await CLI admission fixture lifetimes (openclaw#157424)
  fix(ci): preserve consumer selection across core type stripes (openclaw#157373)
  fix(wizard): preserve typed plugin enum values (openclaw#127577) (openclaw#138090)
  fix(qa): title mock Code Mode fixture calls
  refactor: simplify SQLite worker lifecycle and test fixtures (openclaw#157458)
  test: prebuild run-node signal fixture (openclaw#157478)
  refactor(exec): reuse approval policy rule keys (openclaw#157198)
  fix(ci): reuse prepared runtime for changed-target E2E shards (openclaw#157365)
  fix(config): apply Gateway writes without waiting for file events (openclaw#157372)
  fix: count recorded nested tool operations once (openclaw#157438)
  ...

Co-authored-by: Vincent Koc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 25, 2026
…8966)

* refactor(agents): centralize tool description exclusions

* Merge main into refactor/tool-description-exclusions-20260915

* commit '4a994031abb1b54d51b76755a55ac8f6e918162d': (40 commits)
  improve(sessions): reuse compiled transcript metadata queries (openclaw#148773)
  fix(ci): repair Copilot contracts and config failure diagnostics (openclaw#149001)
  test: align model auth and setup fixtures with current behavior (openclaw#149023)
  refactor: reuse web search request context (openclaw#148949)
  fix(ci): remove duplicate Copilot auth metadata (openclaw#149016)
  test(agents): align auth fixtures with runtime store reads (openclaw#149004)
  improve: reduce data fetched during reminder maintenance (openclaw#148996)
  fix(cron): skip availability checks when session pruning is idle (openclaw#148920)
  fix(auth): guard GitHub Copilot device flow authority (openclaw#148999)
  fix(agents): prevent early recovery aborts of foreground exec (openclaw#148959)
  fix(github-copilot): remove retired Raptor mini (openclaw#116505)
  improve(feishu): reduce preparation work for documents with tables (openclaw#148997)
  improve: reduce database work when recording participants (openclaw#148841)
  test: accept Bun error labels in plugin assertions (openclaw#148955)
  fix(models): clarify saved account health and catalog status (openclaw#148987)
  test(plugins): align Copilot auth-choice registry expectations (openclaw#148981)
  fix(channels): reject blank integer channel add options (openclaw#145534)
  fix(ui): preserve archive undo after chat navigation (openclaw#148831)
  feat: show cited source previews in macOS and iOS chat (openclaw#148906)
  fix: avoid redundant tab updates while chats stream (openclaw#148865)
  ...

* refactor(agents): consolidate tool description exclusions

* chore: merge main for tool summary validation

* commit 'e0f58a77476acbe382bff5e55cd520e9d228d478': (1903 commits)
  refactor(matrix): reuse startup verification account key (openclaw#157310)
  perf(config): avoid repeated environment scans during publication (openclaw#156457)
  chore(i18n): refresh native locales (openclaw#157495)
  fix(update): show quiet step progress and date recorded outcomes (openclaw#153407)
  feat(gateway): preserve browser sign-in requirements before connecting (openclaw#157454)
  test(scripts): await CLI admission fixture lifetimes (openclaw#157424)
  fix(ci): preserve consumer selection across core type stripes (openclaw#157373)
  fix(wizard): preserve typed plugin enum values (openclaw#127577) (openclaw#138090)
  fix(qa): title mock Code Mode fixture calls
  refactor: simplify SQLite worker lifecycle and test fixtures (openclaw#157458)
  test: prebuild run-node signal fixture (openclaw#157478)
  refactor(exec): reuse approval policy rule keys (openclaw#157198)
  fix(ci): reuse prepared runtime for changed-target E2E shards (openclaw#157365)
  fix(config): apply Gateway writes without waiting for file events (openclaw#157372)
  fix: count recorded nested tool operations once (openclaw#157438)
  fix(telegram): stop leaking raw file:// markdown links in messages (openclaw#137810)
  refactor(claws): share resource capability changes (openclaw#154680)
  improve(channels): reduce redundant preparation for button messages (openclaw#157050)
  fix(build): package preparation fails on unrelated test types (openclaw#157318)
  refactor(claws): share bounded document reading (openclaw#157436)
  ...

Co-authored-by: Vincent Koc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant