Skip to content

perf(codex): stream large CLI session JSONL scans - #115997

Merged
vincentkoc merged 9 commits into
openclaw:mainfrom
IWhatsskill:agent/fix-codex-rollout-jsonl-streaming
Jul 29, 2026
Merged

vincentkoc merged 9 commits into
openclaw:mainfrom
IWhatsskill:agent/fix-codex-rollout-jsonl-streaming

Conversation

@IWhatsskill

@IWhatsskill IWhatsskill commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

[AI-assisted]

What Problem This Solves

The production codex.cli.sessions.list node-host command read Codex history and every discovered rollout JSONL with fs.readFile(..., "utf8") and then split the complete string into lines. A large rollout therefore required whole-file UTF-8 storage plus the split-line projection before a session list could be returned, and history-backed sessions could trigger another whole-file read just to inspect the first line.

Why This Change Was Made

JSONL files above 4 MiB now use 1 MiB reads, streaming UTF-8 decoding, fragment-based LF/CRLF framing, and 64 KiB chunks for first-record hydration. Fragments are joined once when a physical record ends, preventing repeated rescans when a record spans many chunks. First-record hydration still reads and materializes the complete first physical record before parsing it. Files at or below 4 MiB retain the whole-file parsing path. Stat, open, read, malformed-line, empty-file, and filename-fallback behavior remains fail-soft.

User Impact

Large Codex history and multi-record rollout files no longer require one complete decoded file plus a split-line array. Through the registered production command, a deterministic 5,184,166-byte history plus matching 134,597,716-byte rollout produced byte-identical Base and Head output while median external maximum RSS fell from 1,652,629,504 to 921,903,104 bytes (44.2%). Streaming memory is still proportional to the largest physical JSONL record because that record must be materialized once for JSON.parse. Session sorting, filtering, limits, previews, cwd hydration, history precedence, and resume behavior are unchanged.

Evidence

Codex review: gpt-5.6-sol (xhigh reasoning) returned clean with 97% overall confidence on exact head a6a828d83c105b03f3b26a9e8289a979c5ff6d00.

At detached clean exact head a6a828d83c105b03f3b26a9e8289a979c5ff6d00, 9/9 focused tests and all 22 extension gates passed. An npm-built and isolatedly installed Codex artifact ran the registered command over a 5,252,808-byte rollout. Base/Head output remained identical over the 139.78 MB high-water fixture while median maximum RSS fell 44.2%.

Inspect exact-head proof ledger

Provenance

  • Base: d7864458a7e0d128013bd15e46d92a7c6410d96d
  • Proof head: a6a828d83c105b03f3b26a9e8289a979c5ff6d00
  • Revalidated: on the bound base

Direct behavior

External three-path maximum-RSS comparison command

PRODUCTION_ENTRYPOINT=codex.cli.sessions.list PEAK_OUTPUT_JSON="$PROOF_RUN/raw-peak-boundaries-clean-a6a828d83c10.json" node "$PROOF_RUN/peak-compare.mjs" "$IMMUTABLE_BASE_CHECKOUT" "$IMMUTABLE_HEAD_CHECKOUT" "$BASE_SHA" "$HEAD_SHA"
  • External three-path maximum-RSS comparison (PRODUCTION_RUNTIME; boundary: bundled extensions/codex plugin registration into the codex.cli.sessions.list node-host handler over a deterministic large Codex history and matching multi-record rollout) — Observed: Four alternating external Base/Head process pairs ran the registered production command from detached clean worktrees over one deterministic 5,184,166-byte, 80-record history and its matching 134,597,716-byte, 2,050-record rollout; the first sample per variant was discarded. The first rollout record splits one UTF-8 emoji at byte 65,536 and its CRLF delimiter at byte 131,072. All six retained runs asserted unchanged source identity before and after execution, decoded cwd, message count, and last-message digest and returned identical output. Median /usr/bin/time maximum RSS was 1,652,629,504 bytes on Base and 921,903,104 bytes on Head, a 44.2% reduction. Result: all six retained runs passed the source-identity and boundary-value assertions and returned the same 1-session, 66,088-byte output; median external maximum RSS fell by 730,726,400 bytes (44.2%). Proves the change preserves output, split UTF-8 decoding, and CRLF framing while exercising the large history scan, matching large-rollout first-record hydration, and full large-rollout summary scan at the registered command boundary. Preserves production plugin registration, filesystem ownership, JSON response identity, and node-host command behavior.

Redacted exact-head production transcript

exact_head=a6a828d83c105b03f3b26a9e8289a979c5ff6d00
base=d7864458a7e0d128013bd15e46d92a7c6410d96d
base_checkout_mode=detached-clean-worktree
base_tree=4573e4b37c4ce18bf578790c936d70dffa3fcaf8
head_checkout_mode=detached-clean-worktree
head_tree=060336d2452f6c6d67828095df90898b2efd705d
source_status_porcelain=empty
source_working_tree_diff_exit=0
source_index_diff_exit=0
source_verified_before_and_after=true
head_jsonl_lines_blob=20099cbed4de8dd51e477ae81f817256683bccd8
head_node_cli_sessions_blob=bae01bf9a87a662df239ced202894a80278357d9
head_node_cli_sessions_test_blob=161f11e7378c2e49dd14ef2fdc0b8f1009ce6637
test_runner=none
entrypoint=extensions/codex/index.ts register -> registerNodeHostCommand -> codex.cli.sessions.list.handle
mocked_affected_owners=none
focused_test_exit=0
focused_test_passed=9
focused_test_failed=0
focused_test_skipped=0
focused_test_output_sha256=e369694dfb5bacf1bd1c5a353674831089f3dc2012911ef433533d4df3c7b7a1
extension_changed_gate_exit=0
extension_changed_gate_checks_passed=22
extension_changed_gate_output_sha256=a7a4d3f2395ee7f8be75d38ca46483fd962aa435469ad2c45c1d09930a80e1b2
package_runtime_files=45
package_tarball_bytes=453161
package_tarball_sha256=e76126cbb1960ce9113ecccc6c5c8244e8df0792ed8802445f7ce26f1c910f7a
package_runtime_entry=./dist/index.js
package_streaming_runtime_file=dist/session-catalog-NBthHkY0.js
package_smoke_rollout_bytes=5252808
package_smoke_physical_records=82
package_smoke_session_count=1
package_smoke_message_count=1
package_smoke_output_sha256=a6af13b141705af49f04e5f65f98f75d0a3fe6bfae65e148a4ccc977d655486b
package_smoke_result_sha256=8fdb855e312075573550f3adbadd1d069970c5e812ed43538afe908279b83101
package_smoke_harness_sha256=627e090d9a9614e73bcc3684da9eda1d70d7c98861ada44729fa77091860a73c
package_smoke_affected_owner_mocks=none
real_store_file_count=50
real_store_total_bytes=31034645
real_store_max_file_bytes=5281510
real_store_retained_samples_per_variant=7
real_store_base_median_elapsed_ms=244
real_store_head_median_elapsed_ms=225
real_store_session_count=10
real_store_output_bytes=4592
real_store_output_digest=7ec2522586af0f376af37fb2b47ec06543fb92a64ded4beecf4f009b80dcbf43
real_store_outputs_identical=true
peak_history_bytes=5184166
peak_history_physical_records=80
peak_history_max_record_bytes=65620
peak_rollout_bytes=134597716
peak_rollout_physical_records=2050
peak_rollout_max_record_bytes=131071
peak_first_record_bytes=131071
peak_first_line_chunk_bytes=65536
peak_boundary_emoji_byte_offset=65534
peak_boundary_cr_byte_offset=131071
peak_boundary_lf_byte_offset=131072
peak_total_bytes=139781882
peak_expected_cwd_bytes=65414
peak_expected_message_count=80
peak_boundary_assertions_passed=true
peak_retained_samples_per_variant=3
peak_base_median_max_rss_bytes=1652629504
peak_head_median_max_rss_bytes=921903104
peak_max_rss_reduction_percent=44.2
peak_session_count=1
peak_output_bytes=66088
peak_output_digest=9f9781d1ef7c0fd0efddf251c0ce988e8c97a51161200ed091f8cff1bad2aa11
peak_outputs_identical=true
source_identity_harness_sha256=806c43e303520784a1b0653cafd1fd1aa1c68142eb3be207ef6a64de926a603c
focused_test_harness_sha256=fc8ed9e2bce6de277426ab9b778d3dbef6386b0739ab5c928572f070d5af95cb
real_store_compare_harness_sha256=41c7785127c5404123df0d383666cba96ed582d19da1e5d8e1fd870db104182b
real_store_proof_harness_sha256=5c9a518e43a4715432d50ee6ec856554ad7d26085c913026011eccba8c73aa1e
peak_compare_harness_sha256=6f9ea32fa8a0996bcbe19ccf0dde4f36aa303a8107e6c2bdd121409d5e520fbf
peak_child_harness_sha256=f96aa8dc8c93d63a1e83514c9641d2fedc667e008f65d33b0003ae63867ea558
artifact_commit=b94d3c805408f0e6aa0c8d09c1efbb4f161d2de2
artifact_manifest_sha256=65d1ba6ba8aaf7ca71627c62ece56d5ba090347c5feef292cdf7edcd9f0826b2
focused_test_raw_sha256=edf46c99d2eecbf5d220ce6f5c891fda160735b6089d9f6e1558d0f28d0195fa
real_store_raw_sha256=00c6fccef88f9ea6de10bb913a94260c79e917f5d099b4ae5ded86ae9caac3f8
peak_raw_sha256=95ae67158d6679af0916a8e2d52f77ea2ff3a53014e4203994cb16ebd9f56b40
verdict=PASS

Automated verification

Codex CLI session reader

node scripts/run-vitest.mjs extensions/codex/src/node-cli-sessions.test.ts
  • node scripts/run-vitest.mjs extensions/codex/src/node-cli-sessions.test.ts — [TEST] 1 test file passed with 9/9 tests, 0 failures, and 0 skips in a detached clean exact-head worktree; raw sanitized stdout/stderr is retained at the immutable artifact commit. Proves history-absent rollout metadata survives a single 5 MiB physical record spanning chunks; a later EIO discards the partial summary and closes the handle; a rejected close remains fail-soft after a complete summary. Preserves history precedence, cwd hydration, UTF-16-safe previews, malformed payload handling, history-absent discovery, and failure recovery.

Exact-head extension gate

OPENCLAW_CHECK_CHANGED_REMOTE_CHILD=1 OPENCLAW_CHANGED_LANES_RAW_SYNC=1 CI=1 node scripts/check-changed.mjs --base d7864458a7e0d128013bd15e46d92a7c6410d96d --head a6a828d83c105b03f3b26a9e8289a979c5ff6d00 --timed
  • OPENCLAW_CHECK_CHANGED_REMOTE_CHILD=1 OPENCLAW_CHANGED_LANES_RAW_SYNC=1 CI=1 node scripts/check-changed.mjs --base d7864458a7e0d128013bd15e46d92a7c6410d96d --head a6a828d83c105b03f3b26a9e8289a979c5ff6d00 --timed — [STATIC] all 22 selected checks passed, including extension production and test typechecks, changed-file lint and format, plugin SDK API and boundary checks, dead exports, package policy guards, and runtime import cycles. Proves the exact three-file change satisfies the repository's extension production and test static gates at the reviewed head. Preserves plugin SDK boundaries, dependency policy, formatting, type safety, lint invariants, and runtime-cycle constraints.

Packaged Codex runtime

node scripts/lib/plugin-npm-runtime-build.mjs extensions/codex && node scripts/lib/plugin-npm-package-manifest.mjs --run extensions/codex -- npm pack --json --ignore-scripts --pack-destination "$PACK_ROOT"
  • node scripts/lib/plugin-npm-runtime-build.mjs extensions/codex && node scripts/lib/plugin-npm-package-manifest.mjs --run extensions/codex -- npm pack --json --ignore-scripts --pack-destination "$PACK_ROOT" — [BUILD] the exact-head package build emitted 45 JavaScript runtime files, npm pack produced one 453,161-byte @openclaw/codex tarball, and the manifest advertised ./dist/index.js as the runtime entry. Proves the new streaming JSONL module is included in the shipped plugin build rather than existing only in TypeScript source. Preserves publishable Codex package metadata, runtime dependencies, and host plugin-SDK externalization.
node "$PROOF_RUN/package-installed-smoke.mjs" "$IMMUTABLE_HEAD_CHECKOUT" "$INSTALL_ROOT" "$CODEX_PLUGIN_TARBALL" "$HEAD_SHA"
  • node "$PROOF_RUN/package-installed-smoke.mjs" "$IMMUTABLE_HEAD_CHECKOUT" "$INSTALL_ROOT" "$CODEX_PLUGIN_TARBALL" "$HEAD_SHA" — [BUILD] an isolated npm installation loaded dist/index.js, found the bundled streaming runtime, registered codex.cli.sessions.list, and returned the expected session id, cwd, message count, and last message from an 82-record, 5,252,808-byte rollout; no affected owner was mocked. Proves the package-installed production command crosses the 4 MiB streaming threshold and is loadable and behaviorally correct from the npm artifact. Preserves plugin registration, packaged runtime resolution, filesystem ownership, and command response semantics.

Preserved boundaries

  • Files at or below 4 MiB still use the whole-file read and split path.
  • History summaries still override rollout message counts, timestamps, and previews.
  • Session files still supply cwd and file identity when history is present.
  • Malformed lines remain skippable and missing or unreadable files remain non-fatal.
  • Empty files remain ignored, CRLF framing remains accepted, and UTF-8 sequences split across chunks decode intact.
  • Filtering, descending update ordering, limits, node invocation policy, and resume execution are unchanged.

Proof gap

A multi-hundred-megabyte genuine default-store rollout, isolated small-file benchmark, Windows filesystem run, and provider-backed turn were not run. The external high-water proof uses a deterministic 5,184,166-byte history plus matching 134,597,716-byte rollout through the real registered command; the separate genuine default store contains a 5.28 MB rollout above the threshold. Streaming memory remains proportional to the largest physical JSONL record because JSON.parse materializes that record once, including the complete first record during hydration. No constant-memory-per-record, small-file performance, giant-rollout OOM-rate, provider-turn latency, or Windows-specific claim is made.

Artifacts

## Maintainer current-head validation

Validated exact PR head 9ff87aea598b08ca26dda87f585b9322f59a0856 against base 97d374b357ebe2d389a9d512d70e689fd1af85cb on July 29, 2026. GitHub reports the intended four-file diff (285 additions, 30 deletions).

ClawSweeper rank-up move addressed: current-head focused session-reader and packaged-command/runtime evidence is refreshed on the actual merge head.

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Jul 29, 2026
@clawsweeper

clawsweeper Bot commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 29, 2026, 2:31 PM ET / 18:31 UTC.

ClawSweeper review

What this changes

The branch adds chunked JSONL scanning to Codex CLI session discovery, tests large records and fail-soft read failures, and renames a Codex native-hook matcher constant.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep this PR open for normal maintainer review. The supplied evidence shows a focused, real runtime memory improvement with output-parity checks, but the evidence ledger is bound to a6a828d83c105b03f3b26a9e8289a979c5ff6d00, while the current PR head is 9ff87aea598b08ca26dda87f585b9322f59a0856; a current-head refresh is the remaining compatibility check before merge. Likely related people: vincentkoc (medium confidence) integrated the reviewed branch and is assigned/requested as a reviewer in the PR history.

Priority: P3
Reviewed head: 9ff87aea598b08ca26dda87f585b9322f59a0856

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Strong real runtime evidence and focused coverage support the parser change, with a current-head compatibility refresh still useful before landing.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The PR body contains redacted after-fix packaged-runtime and registered-command evidence with byte-identical output and measured RSS reduction; the remaining request is to refresh that evidence on the current head rather than to add first proof.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The PR body contains redacted after-fix packaged-runtime and registered-command evidence with byte-identical output and measured RSS reduction; the remaining request is to refresh that evidence on the current head rather than to add first proof.
Evidence reviewed 5 items Current branch wiring: The supplied latest-head diff imports visitJsonlLines into the session reader and routes both history and rollout scanning through it, preserving the existing command boundary rather than adding a parallel session-discovery path.
Streaming implementation: The new helper uses a 4 MiB threshold, incremental UTF-8 decoding, newline framing, first-record chunking, and fail-soft stat/open/read handling; this is the core behavior that can affect existing session discovery.
Focused regression coverage: The supplied PR diff adds coverage for a rollout record spanning multiple chunks and for error recovery, including preservation of fallback session metadata after large-record scanning.
Findings None None.
Security None None.

How this fits together

The bundled Codex plugin reads Codex history and rollout JSONL files from the local Codex home directory to produce session summaries for the codex.cli.sessions.list node-host command. The new reader feeds those summaries into existing sorting, filtering, resume, and display behavior.

flowchart LR
  A[Codex history JSONL] --> C[Session JSONL reader]
  B[Rollout JSONL files] --> C
  C --> D[Session summary extraction]
  D --> E[Session discovery and sorting]
  E --> F[Node-host session list response]
  F --> G[CLI resume and display flows]
Loading

Before merge

  • Resolve merge risk (P1) - The session-list behavior is compatibility-sensitive because it now takes a different parsing path above 4 MiB; the supplied production proof predates the current branch head, so a focused current-head run should confirm output parity across malformed lines, CRLF boundaries, split UTF-8, history precedence, and fail-soft filesystem errors before merge.
  • Complete next step (P2) - No discrete repair finding is supported; the next action is a maintainer review of current-head compatibility evidence and the remaining normal checks.
Agent review details

Security

None.

PR surface

Source +96, Tests +159. Total +255 across 4 files.

View PR surface stats
Area Files Added Removed Net
Source 3 126 30 +96
Tests 1 159 0 +159
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 4 285 30 +255

Review metrics

None.

Stored data model

Persistent data-model change detected: serialized state: extensions/codex/src/jsonl-lines.ts, serialized state: extensions/codex/src/node-cli-sessions.test.ts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Refresh current-head session proof (recommended)
    Run the focused session-reader test and packaged registered-command parity check on 9ff87aea598b08ca26dda87f585b9322f59a0856 before merge so the evidence covers the actual merge result.
  2. Accept the existing proof scope
    Merge based on the a6a828d83c105b03f3b26a9e8289a979c5ff6d00 runtime proof if maintainers confirm that the later merge and relay rename cannot affect session scanning.

Technical review

Best possible solution:

Retain the bounded streaming reader if current-head focused validation confirms that existing Codex session discovery returns the same summaries and remains fail-soft for unreadable or malformed JSONL files.

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

Not applicable as a bug report: the PR provides a concrete production-command benchmark and parity scenario rather than a report of failing existing behavior.

Is this the best way to solve the issue?

Unclear pending current-head validation. Extracting a shared streaming JSONL reader is a maintainable boundary, but the final merge result should demonstrate parity because this replaces the read path for existing session data.

AGENTS.md: unclear because the file could not be read completely.

Codex review notes: model internal, reasoning high; reviewed against 97d374b357eb.

Labels

Label justifications:

  • P3: This is a bounded performance improvement to an existing optional Codex session-list path, with no reported correctness regression.
  • merge-risk: 🚨 compatibility: The branch changes the parser used by existing persisted Codex history and rollout files, so output and fail-soft behavior must remain compatible across the streaming threshold.
  • 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 (terminal): The PR body contains redacted after-fix packaged-runtime and registered-command evidence with byte-identical output and measured RSS reduction; the remaining request is to refresh that evidence on the current head rather than to add first proof.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body contains redacted after-fix packaged-runtime and registered-command evidence with byte-identical output and measured RSS reduction; the remaining request is to refresh that evidence on the current head rather than to add first proof.

Evidence

What I checked:

  • Current branch wiring: The supplied latest-head diff imports visitJsonlLines into the session reader and routes both history and rollout scanning through it, preserving the existing command boundary rather than adding a parallel session-discovery path. (extensions/codex/src/node-cli-sessions.ts:22, 9ff87aea598b)
  • Streaming implementation: The new helper uses a 4 MiB threshold, incremental UTF-8 decoding, newline framing, first-record chunking, and fail-soft stat/open/read handling; this is the core behavior that can affect existing session discovery. (extensions/codex/src/jsonl-lines.ts:3, 9ff87aea598b)
  • Focused regression coverage: The supplied PR diff adds coverage for a rollout record spanning multiple chunks and for error recovery, including preservation of fallback session metadata after large-record scanning. (extensions/codex/src/node-cli-sessions.test.ts:156, 9ff87aea598b)
  • Real runtime proof: The PR body records an isolated packaged-plugin run through the registered codex.cli.sessions.list command, with output parity on a 139.78 MB fixture and a reported 44.2% median maximum-RSS reduction. That proof is concrete and non-mocked, but it is tied to a6a828d83c105b03f3b26a9e8289a979c5ff6d00, not the current head. (a6a828d83c10)
  • Current-head provenance: The PR’s current head includes a merge from current main after the submitted exact-head proof. The current check list also shows the focused and security gates completed successfully while several broader checks remain in progress; pending checks alone do not change triage priority. (9ff87aea598b)

Likely related people:

  • vincentkoc: The PR history shows vincentkoc merging the proof branch, adding the follow-up relay-constant rename, merging current main into the branch, and requesting review; this makes them the strongest available routing candidate for the current merge result. (role: recent reviewer and branch integrator; confidence: medium; commits: eb3a0ab05dff, 348b42c63f93, 9ff87aea598b; files: extensions/codex/src/node-cli-sessions.ts, extensions/codex/src/jsonl-lines.ts, extensions/codex/src/app-server/native-hook-relay.ts)

Rank-up moves

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

  • Refresh the focused session-reader and packaged-command parity evidence on 9ff87aea598b08ca26dda87f585b9322f59a0856.

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 (2 earlier review cycles)
  • reviewed 2026-07-29T16:34:41.123Z sha a6a828d :: needs maintainer review before merge. :: none
  • reviewed 2026-07-29T16:44:20.277Z sha a6a828d :: needs maintainer review before merge. :: none

@IWhatsskill
IWhatsskill marked this pull request as ready for review July 29, 2026 16:39
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Jul 29, 2026
@steipete steipete self-assigned this Jul 29, 2026
@vincentkoc vincentkoc self-assigned this Jul 29, 2026
…o pr-115997-merge-proof

* refs/remotes/origin/pr-115997-head:
  refactor(codex): isolate JSONL line scanning
  test(codex): prove streamed rollout recovery
  perf(codex): avoid rescanning long rollout records
  perf(codex): keep small JSONL reads fast
  perf(codex): scan JSONL in bounded chunks
  fix(codex): stream CLI session JSONL scans
@vincentkoc
vincentkoc requested a review from a team as a code owner July 29, 2026 18:22
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation channel: discord Channel integration: discord channel: googlechat Channel integration: googlechat channel: matrix Channel integration: matrix channel: msteams Channel integration: msteams channel: nextcloud-talk Channel integration: nextcloud-talk channel: slack Channel integration: slack channel: telegram Channel integration: telegram labels Jul 29, 2026
@github-actions

github-actions Bot commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

Dependency graph guard cleared

This PR no longer has blocked dependency graph changes. A future dependency graph change requires a fresh /allow-dependencies-change comment after the guard blocks that new head SHA.

  • Current SHA: 9ff87aea598b08ca26dda87f585b9322f59a0856

@openclaw-barnacle openclaw-barnacle Bot removed docs Improvements or additions to documentation channel: discord Channel integration: discord channel: googlechat Channel integration: googlechat channel: matrix Channel integration: matrix channel: msteams Channel integration: msteams channel: nextcloud-talk Channel integration: nextcloud-talk channel: slack Channel integration: slack channel: telegram Channel integration: telegram channel: tlon Channel integration: tlon channel: voice-call Channel integration: voice-call channel: zalo Channel integration: zalo app: android App: android app: web-ui App: web-ui gateway Gateway runtime extensions: memory-core Extension: memory-core extensions: memory-lancedb Extension: memory-lancedb cli CLI command changes scripts Repository scripts commands Command implementations docker Docker and sandbox tooling agents Agent runtime and tooling channel: feishu Channel integration: feishu labels Jul 29, 2026
@vincentkoc

Copy link
Copy Markdown
Member

Maintainer validation complete on exact head 9ff87aea598b08ca26dda87f585b9322f59a0856.

  • current-base four-file diff confirmed
  • exact-head session reader 9/9 and relay test 15/15
  • exact-head Codex package build/pack verified (45 runtime files)
  • prepared-tree changed checks fully passed
  • fresh autoreview clean at 0.96
  • hosted checks: 55 passing, 0 failing

The ClawSweeper current-head proof move is addressed. The extra constant rename fixes the unrelated red env-var ratchet without raising its budget.

@vincentkoc

Copy link
Copy Markdown
Member

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: codex merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: M 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.

3 participants