Skip to content

perf(process): reduce exec memory sampler allocation - #182234

Closed
steipete wants to merge 5 commits into
mainfrom
steipete/perf-micro-exec-memory-sampler-alloc-20260919
Closed

steipete wants to merge 5 commits into
mainfrom
steipete/perf-micro-exec-memory-sampler-alloc-20260919

Conversation

@steipete

@steipete steipete commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Decision

Measurement says skip: do not merge. The final concurrent candidate reduces sampled V8 allocation and CPU, but fails the predeclared total-GC/work gate after four matched untraced A/A controls. No production deployment was performed.

Final tested head: 624230a47907f902720785ec395b592907d0c0e6; sampler source SHA-256 963aefe71bc2f696fee6d5f6cbf7cc767e9270b4700a6663d0e84b97d254276a.

Workload and acceptance

Real Linux procfs, 20 independent execution trees, each with two worker-thread-spawned descendants. Prepared fixtures, five-second warmup, synchronized future start, counterbalanced launch order, and two swapped pairs of interleaved CPUs per mode. Each measured side ran for 60 seconds: 1,200 protected tree-seconds. Node 26.12.1; separate allocation, untraced, and traced-promotion modes. Shared slot/guard, low CPU/IO weights, MemoryMax 24G and MemorySwapMax 0 throughout.

The committed driver is scripts/perf/child-memory-measure.ts, invoked with --owner <immutable-baseline-or-candidate-module> --trees 20 --seconds 60 --start-file <shared-barrier> --output <side-result> --runaway. Allocation adds --allocations; promotion uses --expose-gc --trace-gc-nvp and --gc-log. Plain runs use neither. Source snapshots were native-stripped with identical module topology; the baseline source hash 8bf757074b77b4748d728a1b82fcd7e095fabbb053479df9af08314e8c77cda3 matched main at the final rebase.

Predeclared v5.4 rules: reject an eligible metric at ≥20% adverse paired mean or ≥10% in both pairs; mixed-sign or >5× baselines get one extra pair and a signed-absolute-mean decision. Untraced GC/work, loop, and max-pause gates; promotion has a separate traced baseline. p99 requires 1,000 samples, p95 200; major-GC tails are context below 50 collections. Per-pause changes below 1 ms are context. Max-pause safeguard is candidate >max(50 ms, 2× baseline). GC/promotion/max-pause rejection requires four matched same-mode A/A controls; noisy controls require a longer fixed-work protocol and fresh controls. No trimming, maintenance exclusions, or normalization by collection count.

Final candidate results

Means below are over two matched pairs per mode. Percentages show both the mean paired change and the ratio of aggregate means. Allocation is sampled V8 heap allocation, not external Buffer storage or full-Gateway allocation.

Metric Baseline mean Candidate mean Absolute delta Mean paired delta Pooled delta
Allocation (MiB/s) 1.29324 0.992662 -0.300574 -23.25% -23.24%
Sampler-attributed allocation (MiB/s) 0.996706 0.82105 -0.175656 -17.61% -17.62%
Untraced CPU (ms / 60 s) 620.663 495.609 -125.053 -20.04% -20.15%
Untraced GC (ms / 1,200 tree-s) 6.11114 13.3027 +7.19155 +117.76% +117.68%
Untraced mean reported loop p99 (ms) 20.7667 20.267 -0.499712 -2.41% -2.41%
Traced promotion (bytes / 1,200 tree-s) 4.12232e+06 5.22745e+06 +1.10513e+06 +26.81% +26.81%

Untraced GC rose 106.02% and 129.49% in the individual pairs: both exceed the 10% adverse rule, and the paired mean exceeds 20%. Its absolute mean increase is 7.19 ms per minute at this workload. That small absolute cost does not waive the specified total-GC gate.

Untraced runaway request-to-root-exit observations, including page touching: baseline 97 / 1,043 ms, candidate 289 / 294 ms. Each side still had all 20 trees watched and emitted the visible memory-bound diagnostic. These are two observations per side, not a p95/p99 claim.

Promotion rose 22.84% and 30.79%, but promotion is not the calibrated rejection basis. Two traced A/A controls had already started when the GC rejection was issued; both completed and were retained (4,131,680→4,138,664 bytes and 4,115,608→4,121,288 bytes). The remaining two traced controls and final-head functional probe were not run after rejection.

Matched untraced calibration

The four immediately preceding baseline/baseline controls used the same immutable baseline, benchmark and fixture bytes, Node/dependencies, 20-tree workload, 60-second duration, warmup, start barrier, instrumentation, slot, swapped CPUs, launch order, scopes, and guard. Reuse was explicitly recorded before any concurrent-candidate untraced result was read. All four controls are retained, assessed as two swapped blocks.

A/A pair Total GC baseline→second baseline (ms) Absolute delta (ms) Relative delta GC maxima (ms)
1 10.8219 → 13.4023 +2.5804 +23.84% 1.6798 → 1.9849
2 5.2835 → 5.5740 +0.2904 +5.50% 0.6337 → 0.5866
3 5.6824 → 5.7076 +0.0252 +0.44% 0.6590 → 0.5501
4 5.7361 → 6.8766 +1.1405 +19.88% 0.6200 → 1.2815

Block 1's paired GC mean was +14.67% (+1.4354 ms absolute); block 2 was +10.16% (+0.58285 ms). Neither reaches 20%, neither is ≥10% in both of its constituent pairs, and no max-pause safeguard trips. Every control side had 17 collections. Thus these controls do not invalidate the candidate's much larger GC rejection signal; no lengthened protocol was required.

Per-kind GC, tail counts, both maxima, and untraced control diagnostics

Each GC cell is count / total ms / p95 ms / p99 ms. All GC percentile counts below 200 are context; major counts are also below 50. Loop p99 sample counts are shown directly beside the value. Allocation/traced timing is context only; only plain candidate/control timing gates.

Capture / side Minor GC n/total/p95/p99 Major GC n/total/p95/p99 Incremental GC n/total Total GC n/total Max GC ms Loop p99 ms (n) Max loop ms
alloc1 / baseline 58/9.7024/0.3940/0.5300 3/5.7385/2.6060/2.6060 3/1.6628 64/17.1037 2.5999 20.758527 (2984) 20.938751
alloc1 / candidate 77/12.7360/0.2840/0.3380 3/4.3836/1.6140/1.6140 3/1.4978 83/18.6174 1.6104 20.267007 (2982) 20.955135
alloc2 / baseline 33/7.2005/0.4420/0.6100 3/5.7945/3.1660/3.1660 3/0.6665 39/13.6615 3.1566 20.856831 (2983) 23.035903
alloc2 / candidate 77/14.4721/0.3260/0.4120 2/2.8386/1.6300/1.6300 2/0.4560 81/17.7668 1.6272 20.971519 (2980) 26.378239
plain1 / baseline 15/5.2764/0.5980/0.7140 1/0.6181/0.6180/0.6180 1/0.2578 17/6.1524 0.7142 20.758527 (2984) 20.889599
plain1 / candidate 77/11.9587/0.2450/0.2740 1/0.5502/0.5500/0.5500 1/0.1665 79/12.6755 0.5502 20.250623 (2982) 21.020671
plain2 / baseline 15/5.3817/0.6340/0.6500 1/0.5069/0.5080/0.5080 1/0.1813 17/6.0699 0.6488 20.774911 (2983) 22.183935
plain2 / candidate 75/13.9299/0.3280/0.4680 0/0.0000/0.0000/0.0000 0/0.0000 75/13.9299 0.4804 20.283391 (2982) 21.168127
trace1 / baseline 16/6.5494/0.6580/0.6700 1/0.9414/0.9420/0.9420 1/0.2706 18/7.7615 0.9414 21.086207 (2976) 30.523391
trace1 / candidate 68/17.6331/0.5140/0.6620 1/2.0537/2.0620/2.0620 1/0.2033 70/19.8901 2.0537 21.118975 (2971) 36.503551
trace2 / baseline 16/5.8795/0.5820/0.5820 1/0.5682/0.5700/0.5700 1/0.1786 18/6.6263 0.5802 20.758527 (2984) 20.955135
trace2 / candidate 67/17.8405/0.4600/0.5080 1/0.7063/0.7060/0.7060 1/0.2192 69/18.7660 0.7063 20.234239 (2982) 21.020671
AA-1 / baseline 15/9.7293/1.3740/1.6860 1/0.8261/0.8260/0.8260 1/0.2664 17/10.8219 1.6798 21.839871 (2950) 95.682559
AA-1 / second baseline 15/11.7714/1.7580/1.9900 1/1.4612/1.4620/1.4620 1/0.1697 17/13.4023 1.9849 21.757951 (2958) 55.246847
AA-2 / baseline 15/4.6843/0.4860/0.6340 1/0.4362/0.4360/0.4360 1/0.1631 17/5.2835 0.6337 21.168127 (2980) 27.623423
AA-2 / second baseline 15/4.9338/0.5420/0.5900 1/0.4519/0.4520/0.4520 1/0.1883 17/5.5740 0.5866 21.053439 (2983) 23.068671
AA-3 / baseline 15/4.8801/0.5980/0.6620 1/0.6135/0.6140/0.6140 1/0.1888 17/5.6824 0.6590 20.774911 (2983) 21.643263
AA-3 / second baseline 15/5.1360/0.5380/0.5500 1/0.4144/0.4140/0.4140 1/0.1572 17/5.7076 0.5501 20.807679 (2983) 22.839295
AA-4 / baseline 15/5.1622/0.6100/0.6220 1/0.4182/0.4180/0.4180 1/0.1558 17/5.7361 0.6200 20.758527 (2984) 23.101439
AA-4 / second baseline 15/6.2076/0.5860/1.2860 1/0.5208/0.5220/0.5220 1/0.1483 17/6.8766 1.2815 20.758527 (2984) 21.872639

Earlier variants and correctness

  • Explicit reusable-Buffer/FileHandle I/O regressed sampled allocation from 1.242 to 3.952 MiB/s (+218.2% pooled). It defeated Node's optimized native readFile round trip and was discarded.
  • Raw-Buffer screening reduced allocation 11.45% / 7.37%; callback-I/O screening reduced it 0.33% / 6.84%. All observations remain recorded.
  • The subsequent serialized raw-Buffer revision measured about 5.04% less allocation and passed its three-pair GC decision. It is not an acceptable fallback: the independent-tree regression fails on that exact source because an over-limit tree receives no limit callback while another tree's procfs read remains pending. The final concurrent source passes that regression.
  • Removing the per-file async parsing wrapper improved allocation about 26.07%, but serialized sampling then failed calibrated untraced GC (+93.02% pooled). The final concurrent repair preserved a clear allocation reduction but also failed the calibrated GC gate, as reported above.

The tested final change used one detached, nonoverlapping shared tick, concurrent independent tree traversal, and synchronous byte parsing while retaining all-thread descendant discovery, RSS plus private swap, per-execution budgets, cancellation checks, and the one-second timer delay. A five-second adaptive interval was omitted because a previously low-memory tree can become a runaway immediately. No config, cache, native dependency, or heap-tuning workaround was added.

Proposed diff against main: +56 production lines (100 added / 44 removed), +106 test lines, +282 benchmark lines. None is landing. The production growth carries the byte parser and shared watch lifecycle; the older timer/string/regex/split path is replaced rather than retained alongside it.

Validation, CI, and gaps

44/44 focused sampler/supervisor tests passed (Vitest 4.08 s; wrapper 7.22 s); changed-file formatting/lint and independent review were clean. The independent-tree test was then run against the earlier serialized source and failed at the expected missing limit callback; the final source was restored byte-for-byte and the checkout is clean. The original shared-timer regression also failed on the original per-tree timer implementation. Earlier targeted core typecheck and export/source-closure checks passed; no broad local suites or Testbox leases were used.

Independent subagent review was used under the authorized fallback because the configured autoreview route refused startup; no model/provider configuration was changed.

An earlier raw-Buffer revision passed a real Linux supervisor probe: memory-limit, SIGKILL, visible 1,002 MiB observed / 512 MiB limit diagnostic, and all three captured process IDs absent after owned cleanup. This is earlier-revision evidence, not a final-head functional pass; the final-head probe was stopped after the calibrated performance rejection.

CI run 40075997403 on the preceding synchronous-parser head failed the Linux/Bun launch-authority test with service child cleanup identity lost: write EPIPE. Scheduled main shows the same file/failure signature and stack on byte-identical test, relay, control sender, and supervisor files. Main's failing parameterization was retained=true; the PR's was retained=false. Both fail during construction before memory-watch registration. This is recorded as pre-existing same-signature evidence with the parameter difference preserved, not a claimed repair. Final-head CI run 40077435535 passed on 624230a47907f902720785ec395b592907d0c0e6. No CI rerun was used to chase green; new runs followed actual source changes. Passing CI does not waive the measured GC rejection and does not establish a fix for the earlier relay failure.

All 36 completed measurement pairs are retained and valid; no capture was guard-aborted, trimmed, or excluded. Guard pauses happened before captures. One earlier traced window saw a temporary Dirty-threshold warning without a guard abort and retained its 125.465 ms traced pause; it was not an untraced gate. No captures overlap the declared 04:04–04:20 UTC external-deployment exclusion. Two already-started traced controls completed after the rejection decision; future pairs were stopped, not partially discarded.

The motivating pre-change live profile attributed 79.68 MiB / 30 s to readTreeMemory and its child readFile self-allocation (90.69 MiB inclusive for readTreeMemory). That is pre-change live evidence; no candidate deployment or live before/after comparison was performed. External Buffer allocation and full-Gateway allocation effects were not measured. Production was not modified.

Related: #182111, #182163.

The requested adaptive-interval-only follow-up is #182452. This PR remains closed on the rejected implementation; its rejection and measurements are unchanged.

@clawsweeper

clawsweeper Bot commented Oct 24, 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.

@steipete
steipete marked this pull request as ready for review October 24, 2026 04:54
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-24T08:19:18.040067Z 624230a New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: L labels Oct 24, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 24, 2026
@clawsweeper

clawsweeper Bot commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR shares one procfs sampler and reusable buffer across Linux command memory watches.

Example: A Linux Gateway monitors 20 concurrent command trees.

  • Before: Each tree runs its own timer and allocates buffers and strings while reading procfs.
  • After: One serialized sampler reuses a 4096-byte buffer while retaining separate command budgets.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The implementation is coherent on inspection, but the performance acceptance evidence is pending and the relay CI failure remains unattributed.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🦐 gold shrimp (3/6) No actionable review findings were identified.

Product

Kind: Performance · Worth it: Yes · Fix scope: Complete
User problem: Concurrent Linux host commands make the Gateway repeatedly allocate temporary procfs parsing storage.
Reason: The maintainer-directed change targets recurring monitoring overhead while retaining the existing protection policy and public behavior.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-directed optimization addresses repeated allocation in the existing watchdog, and source review found no discrete introduced defect.

Priority: P2
Reviewed head: 1746a9bec39d2051ab5241abc03d0ea5b90b06cd

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: Supply the pending Linux before/after allocation and timing results, including sudden runaway termination with all 20 trees watched, plus an exec-path result retaining the visible memory-limit outcome.
Agent review details

How this fits together

The process supervisor registers owned command trees with the memory watchdog; procfs supplies resident memory, swap, and descendants, and over-budget samples request existing tree cancellation.

flowchart TD
  A[Host exec command] --> B[Process supervisor]
  B --> C[Shared memory sampler]
  D[Linux procfs] --> C
  C --> E[Per-command budget check]
  E --> B
  B --> F[Tree cancellation and diagnostic]
Loading

Technical review

Best possible solution:

Retain the existing watchdog owner and merge the shared-buffer implementation only after its declared performance and reliability criteria hold.

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

Current-main source establishes per-tree timers and repeated readFile, regex, and string-split allocation; the magnitude of the performance cost has not been demonstrated.

Is this the best way to solve the issue?

Sharing storage inside the existing watchdog is coherent, preserves its callers and accounting contract, and removes the replaced implementation without adding a competing owner.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against bff1d869fcef.

Provenance checked

  • Procfs accounting and watchdog scheduling keeps the original intent (2d8051e: Protect Linux host command trees from runaway resident and swapped memory while retaining descendants and visible failure guidance.)
  • Host memory budget keeps the original intent (377c0fc: Allow legitimate larger commands on large-memory hosts by removing the fixed ceiling while preserving small-host protection.)

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 2d8051e adds src/process/child-memory.ts:26 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 2d8051e83b25; files: src/process/child-memory.ts)

PR surface

Source +72, Tests +128, Other +281. Total +481 across 5 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 116 44 +72
Tests 2 161 33 +128
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 2 281 0 +281
Total 5 558 77 +481

Review metrics

Metric Value Why it matters
Production versus test LOC Production +72 net; tests +128 net Production growth replaces allocation-heavy parsing with streaming parsing and a shared lifecycle; tests cover partial reads, cancellation, restart, platform exclusion, and independent tree failures.

Labels

Label changes:

  • add P2: This is a focused allocation improvement for concurrent Linux host commands, without evidence of an urgent user-facing regression.
  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦐 gold shrimp.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: This is a focused allocation improvement for concurrent Linux host commands, without evidence of an urgent user-facing regression.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦐 gold shrimp.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Publish the declared paired Linux measurements and concurrent runaway termination results.
  • Resolve attribution of the service-child relay EPIPE check failure using accessible job diagnostics or a matched baseline comparison.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 24, 2026, 1:10 AM ET / 05:10 UTC.

@steipete
steipete force-pushed the steipete/perf-micro-exec-memory-sampler-alloc-20260919 branch from 1746a9b to ae24a23 Compare October 24, 2026 05:15
@steipete
steipete marked this pull request as draft October 24, 2026 06:51
@steipete
steipete force-pushed the steipete/perf-micro-exec-memory-sampler-alloc-20260919 branch from ae24a23 to a7f9866 Compare October 24, 2026 07:01
@steipete
steipete marked this pull request as ready for review October 24, 2026 07:02
@steipete
steipete force-pushed the steipete/perf-micro-exec-memory-sampler-alloc-20260919 branch from a7f9866 to 5976d13 Compare October 24, 2026 07:54
Keep RSS plus private swap, all-thread descendants, and visible memory-limit termination. Share a nonoverlapping sampler and parse procfs numbers without per-file scratch buffers or strings.
Parse procfs Buffers without decoded strings or regex allocations. Keep one shared sampler detached from execution async context. FileHandle promise I/O increased sampled allocation by 218%, so retain the native readFile round trip.
Keep one nonoverlapping shared tick while allowing per-read Buffer owners to progress independently. Preserve cancellation and independent memory limits when another tree read is blocked.
@steipete
steipete force-pushed the steipete/perf-micro-exec-memory-sampler-alloc-20260919 branch from 5976d13 to 624230a Compare October 24, 2026 08:17

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 624230a479

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +113 to +114
await Promise.all(
Array.from(watches, async (watch) => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep slow tree scans from delaying other memory watches

On Linux, a command with a large process/thread tree or slow procfs reads now delays subsequent memory checks for every other command: Promise.all must finish before the shared timer is rearmed, and watches registered meanwhile cannot start sampling either. The new blocked-read test demonstrates this gap by expecting no further reads for five seconds, even after the slow watch is stopped. Previously, unrelated watches continued sampling independently. A different command that grows past its budget during this gap can exhaust host memory before protection runs. Keep the shared timer, but track in-flight scans per watch so one slow tree cannot suspend protection globally.

AGENTS.md reference: AGENTS.md:L68-L68

Useful? React with 👍 / 👎.

@steipete

Copy link
Copy Markdown
Contributor Author

Closing without merging under the predeclared v5.4 gate. The final candidate lowered sampled allocation 23.25% and untraced CPU about 20%, but total GC increased from 6.111 to 13.303 ms per 60-second/20-tree window (+7.192 ms; +117.68% pooled), with both swapped pairs adverse. Four matched untraced A/A controls stayed below the paired gates; their provenance was fixed before reading this candidate's untraced results. Promotion was also higher, but was not the calibrated rejection basis.

The earlier GC-neutral serialized variant is not a safe fallback: its independent-tree regression fails because one pending procfs read delays another tree's memory-limit notification. The final concurrent source passes all 44 focused tests and exact-head CI, but those checks do not waive the measured GC rejection.

The PR body contains absolute/relative results, collection and tail counts, both maxima, control calibration, prior variants, and proof limitations. All 36 completed pairs are retained; no capture was trimmed or guard-excluded. No production deployment occurred. Proposed production delta was +56 lines; none is landing. Remaining experiments were stopped, and the isolated sandbox is being removed after evidence export.

@steipete steipete closed this Oct 24, 2026
@steipete steipete changed the title perf(exec): reduce memory-watch allocation across concurrent commands perf(process): sample quiet exec trees less frequently Oct 24, 2026
@steipete steipete changed the title perf(process): sample quiet exec trees less frequently perf(process): reduce exec memory sampler allocation Oct 24, 2026
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. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. scripts Repository scripts size: L 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