Skip to content

perf(worktrees): start first replies while checkout finishes - #169136

Merged
steipete merged 13 commits into
mainfrom
steipete/perf-micro-worktree-prep-first-reply-20260919
Oct 12, 2026
Merged

steipete merged 13 commits into
mainfrom
steipete/perf-micro-worktree-prep-first-reply-20260919

Conversation

@steipete

@steipete steipete commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

What problem this solves

A new worktree chat waits for repository checkout and foreground naming before its first model request. Start inference once the final directory and committed prompt inputs are available, while checkout finishes concurrently.

Workspace-dependent tools and terminal completion await one readiness owner and recheck live run authority afterward. Network-only tools remain independent. Unsupported Git transformations, setup/bootstrap hooks, sandbox projections, required worker placement, and native runtimes without tool-admission hooks retain complete preparation. Preparation failures preserve their original actionable error and produce one terminal outcome.

The prompt inputs use Git's index/checkout semantics at the selected commit, including personal USER.md files and attribute ancestry. Early and complete preparation preserve prompt bytes and file metadata. Feishu local uploads and Lobster workflow files declare workspace access. Queued follow-ups clear the predecessor's readiness context at the existing independent-admission boundary; this prevents stale authority from spinning queue retries.

Existing title, repository setup, host-tool, and initialization-admission owners absorb the changes; extracted implementations are removed from their old locations. Current main's target-worktree configuration hashing and sparse-template validation are preserved. There is no new configuration option, dependency, schema, or persistent store.

Production/tooling delta: +828 lines (+1237/−409). Growth implements bounded committed prompt materialization, shared native/embedded/plugin readiness, and compatibility-safe asynchronous factory construction. Existing setup/title/admission owners are reused and superseded implementations removed; preserving exact prompts and legacy plugin factory access prevents a net-negative implementation.

Full and plugin-only construction share the same yielding preparation owner. Plugin registration defaults preserve existing behavior: legacy factories wait for a complete workspace; static definitions and audited lazy bundled factories can construct early and wait at execution; explicitly independent tools never await checkout. defineToolPlugin forwards the same declaration. Local message attachments, custom media keys, internal-source delivery, and plugin delivery use the retained execution-workspace capability. Text, remote URLs, and inline media remain independent.

Measurement

Real isolated Gateway and synthetic HTTP Responses provider, Linux/Node 24.21, 52,000 tracked files in a verified blobless partial clone. Five model-only and five first-read sessions per revision on the same Hetzner ccx33 lease, cbx_f8f6585bf610, run run_22a72f56a91281c5a2258704dfed699a. Baseline: 042db1e7064930a08c534c4487864d7bfb8c5287; candidate: c8870dc4f5b3ed5f51cf31a488f693cc4c4e9e01 plus the reviewed path-normalizer import repair. The subsequent admission extraction preserves this behavior and has separate runtime proof.

Measurement Before After
Median first text, model-only 2.188 s 1.344 s
Median first text, read task 2.321 s 1.331 s
Median first read result 2.527 s 2.583 s
Median complete model-only turn 2.351 s 2.663 s
Median checkout, model-only 1.648 s 2.122 s
Cold first text, one sample 12.427 s 10.809 s
Peak test-process RSS 2,165,868 KiB 2,263,704 KiB

Median first text improves 1.63× (1.74× for the read task). The tradeoff is more CPU/I/O overlap: first reads are 2% slower and complete model-only turns 13% slower in this instant-response fixture. The benchmark disables template acceleration to exercise native Git fallback and disables bundled plugins; it does not quantify configurations with workspace-reading plugin factories. The four-second cold-start target is missed; five samples do not establish production p99 or production RSS.

Linux template cloning requires Btrfs, and older template=unavailable diagnostics combine several causes. This change retains main's more specific diagnostics and configuration checks. A separate earlier probe measured only 429 ms outside allocation/checkout, rather than the reported 4.5 s; it measured reply initialization at 599→146 ms cold and 169–409→43–48 ms warm, with a 459 ms diff baseline moved behind readiness. These are separate diagnostic samples. The production filesystem and residual stall remain unverified; no production host was accessed. Prior lanes #167936 and #167944 were inspected.

Evidence

  • Hetzner cbx_f8f6585bf610, run_22a72f56a91281c5a2258704dfed699a: 123 tests across 12 affected files passed, including sparse/source-only/template behavior, real Gateway overlap and prompt parity, title behavior, pre-start steering, and native-hook fallback. Export collisions and 20 eager-import/PR-wrapper closure cases passed. pnpm build passed in 6m32s. Both paired source-flow benchmarks passed.
  • Same lease, run_4e7c3f151861ce48fd84244c2510aacb: production core typecheck, the 87-case session-initialization suite, 10 Gateway cases including existing-worktree reuse, and 20 closure cases passed after the final admission extraction. An unsupported lint-only CLI flag was a tooling failure, not a passing gate; the size check and exact-head CI complete that validation separately.
  • Same lease, run_e4991f097cfadb8b5aaed3eac2c2476b: the final line-cap ratchet passes for 57 changed source files. On unchanged 042db1e7064930a08c534c4487864d7bfb8c5287, the same browser run reproduces four failures: follow maintenance, two manual history-prepend cases, and the scroll-to-bottom affordance. The other 17 cases pass.
  • Earlier source-verified AWS proof covered the other media, plugin factory, sandbox/bootstrap, session/reset, and permission siblings. The personal-instruction regression fails in three intended cases on the old selector and passes after the fix. The queue regression reproduced a retry loop before the readiness handoff repair; all three steering cases pass afterward.
  • Real Gateway regression cost: 47–89 s Vitest wall across hosts, including 38–63 s in the test body. It exercises early inference, an early read waiting and succeeding, normalized complete prompt equality, and one checkout-failure terminal. Existing steering coverage took 79 s wrapper wall for three cases (30 s combined test bodies).

Independent Codex reviews completed for conflict integration, admission extraction, and the final compatibility fixes. The final full review is clean, including the plugin-only construction path. Native Codex hooks have focused contract proof; the benchmark uses the built-in runtime. No production host was accessed, and no compiler, baseline, or ignore exceptions were added.

The recurring chat-identity failure also occurs on unchanged main: scheduled run 38176740854, job 114580696456, commit 0ebcb29890ae287bbe8fcc0189eb5c7fc9a3d897. The relevant test/helper blobs are unchanged at the selected base. Final source: 75a30153ac02c54df098006810234a08a8ab21d5. Exact final-head CI and any inherited-only landing disposition are recorded before merge.

Historical CI evidence (before conflict rebase)

CI run 38185420852 tested head 133bb5c2eb2ad40a6b17fc8034192c536a436300 merged onto a9b40cf325e8dfd3540200b6ac95aae740a324b4. Its five red jobs are reproduced on that exact unchanged main parent, with their failing test/owner blobs unchanged by this PR:

  • UI component test types: SourceAccessor<Node[]> versus Element, and missing updateComplete on Element.
  • Session follow-up status: four failures in sessions.send-followup-status.test.ts.
  • UI E2E: tool execution purposes and unsaved dashboard notes.
  • Native settled-turn finalization: four host-summary cases throw SessionTranscriptWriterClaimReboundError at transcript-write-context.ts:547.

Hetzner cbx_ae9dc6d5e356, run run_d7922fec8b17ffc0b444fd5fa848b562, reproduced the UI types, session, and UI E2E failures. Run run_a5cb4cc53592d012a5bceb3fa91e2c34 separately ran node scripts/run-vitest.mjs run --config test/vitest/vitest.extension-database-workers.config.ts extensions/codex/src/app-server/settled-turn-finalizer.native.test.ts --maxWorkers=1: the same four failures, five passing cases, 140.24 s Vitest wall. These are failing baseline proofs, not passing validation.

Final compatibility proof: Hetzner cbx_ae9dc6d5e356, run run_3d5aa73dabec236b2ab7c96a813b2ccd, passed 229 tests across 11 plugin/SDK/agent/bundled-plugin files. Its old-source control fails the three expected legacy/execution ordering cases and passes the independent-tool case. The first attachment run exposed only a synthetic channel fixture missing its outbound surface; that fixture was repaired before the final candidate run.

Final runtime proof: Hetzner cbx_ae9dc6d5e356, run run_3589bc9198454887d80902ca6351b29c, passed 47 attachment/broadcast/dispatch cases, 4 real-Gateway cases, the export-collision guard, and 20 closure cases. The three new attachment cases fail on old source because local files are accessed before readiness. Its changed gate stopped on the missing runner rg executable, then the lease expired during build; neither is counted as passing gate/build evidence. The replacement lease and exact final CI results are recorded below before landing.

Final scoped validation:

  • Hetzner cbx_2e287b332dbd, run_857cce20a46748b5038ce3fd80f03d82: canonical pnpm build passed. Its first core type check exposed an overload/mock incompatibility; the final API uses separate synchronous and asynchronous entry points.
  • Same lease, run_a84a3b369ac1db958990f7079091f92c: core production, all 28 core test type graphs, extension production and extension test types passed. Structural guards passed; the full changed gate stopped on pre-existing unused exports.
  • Same lease, run_a075c36ecf22ae6fbac8d4a65897d0fd: final plugin-only cutover passed 64 construction/regression cases, core production types, and the four affected agent/plugin test-type graphs; the old plugin-only owner fails the two intended legacy factory cases. Line-cap and export-collision guards passed. Two test-variable shadowing lint findings were then fixed with local renames.
  • Same lease, run_0d1b51b9bbfd93b883c533b028c648eb: all remaining canonical changed-gate commands passed, including core/extension lint, import cycles, and schema/storage guards. Candidate and unchanged original main base 042db1e7064930a08c534c4487864d7bfb8c5287 produce identical 144-entry unused-export reports (production plus full-tree views). No ignore entries or baseline allowances were added. The final cleanup removes one obsolete mock-export baseline entry after its mock gained a documented isolation reason.

The extended loaded-plugin regression takes approximately 45–49 s Vitest wall per file on this host; most time is compiler/import setup. Existing source-flow proof covers the unchanged overlap path; final full-head CI is recorded before landing.

Final main integration

Conflict rebase uses main a516e1896458b976f104b5f6d6bc96dc18882ea4, retaining its extracted tool-preparation and checkout-policy owners. The duplicate policy implementation was removed, and Btrfs fallback timing includes prompt materialization. A template-cache fixture uses a fixed clock to keep cache invalidation independent from Btrfs strategy selection; dedicated Btrfs selection tests retain that coverage.

Hetzner cbx_581fcc02d4f7, run run_9e97ab216b156e50d905c2dd904767b4, passed the real Gateway overlap/prompt-parity/failure flow, bootstrap/sandbox preparation, steering, acceleration and sparse siblings. Run run_e364bb1aab6c54bc67ae781e3e255ad0 passed the remaining 46 tests across five files, including prompt bytes, Btrfs strategy, source-only filters, tool registration, and both plugin construction paths. All 76 candidate file hashes match the committed tree. Full rebased and final integration reviews are clean.

The latter command's production typecheck reports only two missing names in the unchanged main file src/state/openclaw-state-db-schema-additive.ts (getAdmittedSqliteSchemaFacts, parseSqliteTableDefinition). The selected main blob is byte-identical to the candidate. Broad final validation is delegated to exact-head PR CI under the current proof policy. The lease is released. Earlier benchmark numbers remain measurements of the explicitly identified revisions above; the conflict rebase was functionally revalidated, without a new timing campaign.

Real run-owner revocation proof

The existing isolated Gateway fixture now runs both write and local-attachment message through allowed and actual chat.abort cases. Each operation must reach the real workspace-readiness wait before abort. The test joins the admitted execution, verifies a persistent file canary outside checkout rollback, and records actual attachment bytes at a localhost HTTP endpoint. Aborted cases leave no file or delivery; allowed controls require the expected bytes. This replaces injected-authority-only evidence for the requested owner transition. Executed at head 998317168b67bffec7a234835eda0c7c5ac49bd6: CI run 38218743688, job 114710079813. The complete real-Gateway case passed in 14.070 s; its group passed 22 files / 213 tests. Sanitized terminal excerpt:

PASS src/gateway/server.chat-worktree-readiness.product.test.ts
  starts inference before checkout, preserves the prompt, and fences revoked workspace effects (14070 ms)
Test Files 22 passed (22)
Tests 213 passed (213)

The case requires a persistent canary containing workspace write canary and one HTTP delivery with the expected attachment bytes for the two allowed controls. After real chat.abort, it joins the admitted run and requires both no canary and zero deliveries. Its assertions execute after checkout is released, so pending work and rollback cannot hide an unauthorized effect. It also proves identical normalized prompt bytes and exactly one actionable checkout-failure terminal. No additional remote leases were created under the updated proof policy.

Final CI cleanup

The shared Git materialization operation moves intact from checkout.ts to checkout-materialize.ts; creation and snapshot restore import the same owner. The wrapper inventory and existing restore-failure spy follow the move. The local line-cap check passes against the selected main base with no new over-cap growth. The real-Gateway proof is assigned to the existing isolated Gateway pool, which keeps real plugin/provider registrations separate from neighboring module mocks. The closed mock's obsolete baseline entry is removed, without adding an exception.

Run 38218743688 had 91 successful jobs and four root failures. Its mock-export shrink failure is fixed here. Its phone-footer failure is also present on unchanged main c2fe11f7, job 114702188289: the same phone overlap assertion reports 19.09375, and this PR changes no UI source. The vanished-incognito test rejected in unchanged request/admission code before this PR's dispatch boundary; a runtime/config snapshot mismatch is suspected, not proven. The built-CLI SQLite deletion proof received an ended AbortError without stopReason. The identical failure is independently reproduced by unchanged main 5a1f8c69, job 114717130399. Neither unresolved failure is claimed as a passing check.

Local verification under the current light-check policy: changed-file formatting, git diff --check, and line-cap ratchet pass. A focused Gateway attempt first stopped on stale dependencies; the locked install was restored once. The subsequent default-pool attempt was stopped after revealing the wrong test owner; it is not claimed as passing proof. Broad export/mock scans were stopped and left to PR CI. The two-file checkout/restore attempt also required a broad cold worker build and was stopped under the same host limit. Final-head CI supplies the full gates and the corrected isolated-pool proof. Independent review of the final seven-file cleanup is scoped-clean, with no actionable P0–P2 findings.

Final cancellation correction and exact-head proof

CI run 38222154254 tested 78be070c656769e4f7b25b97d8a01d2be022dfa4. The real-Gateway prompt/checkout/authority proof passed on that exact head in job 114721280414: 29.917 s, one test/one file; isolated-config wall time 38.45 s. The previously cited 14.070 s receipt is earlier-head evidence, not a replacement for this final-head result. The hosted review of that head accepts the executed authority controls. Its next-head cancellation finding is addressed by the preparation-failure correction below.

Investigation of the inherited SQLite failure found a concrete dispatch-owner omission: if session lifecycle cancellation rejects accepted dispatch before a runtime terminal exists, the outer error owner drops the typed termination fields. The correction carries typed controller-reason fields through the persisted event, replay payload and chat broadcast. Preparation also aborts the controller with its original error, so ordinary preparation failures retain failed status and their diagnosis. Native terminal ownership is preserved; no cancellation state machine is added. A real Gateway regression using the actual admission interruption fails before the repair because agent.wait lacks stopReason. The repaired full Gateway file passed 9 tests in 63.17 s, and the direct dispatch-error sibling passed 25 tests in 95.10 s. The final regression is consolidated into the existing interruption matrix: 3 cases passed in 48.04 s using source-mode Vitest on the changed Gateway file. Changed-file formatting and lint pass. Fresh independent review of the final two-file correction is scoped-clean, with no actionable findings. Full exact-head validation is delegated to PR CI; no new leases were started.

The suppression-inventory failure is introduced by main commit 04cfcd8e25871e3a1f3078bed85b8e854cb4800b: its new cleanup-socket suppression was absent from the unchanged inventory. This PR changes neither file. The incognito failure still lacks established attribution: source-mode single-case and whole-file replays pass (1 case in 88.57 s and 4 cases in 73.38 s), while CI's compiled shared-worker run rejects the stale session with Unknown agent id "work". These passing replays are not claimed as a fix. No CI rerun, dispatch, or branch update was requested merely for green.

Preparation and projection follow-through

The dispatch owner now distinguishes typed cancellation from an ordinary preparation error used to stop inference. The existing pre-prompt worktree-spawn cases assert persisted failed status and the original error, and both pass (152.11 s source-mode file wall). The genuine typed-cancellation case still passes (56.78 s, one selected case). These directly address the hosted preparation-classification finding; no error expectations were relaxed.

Investigation also reproduced an existing session-projection defect. Topology captured configuration before an awaited discovery read but captured its revision after the read. A publication during that await could therefore install the old roster/store as current. The existing epoch now covers the entire operation, and stale discovery retries through the existing materialization drain. The regression holds a real worker response, publishes a new roster/store, and checks the same request sees both. In its final test home it fails old code (24.68 s) and passes with the existing config-change sibling (2 cases, 24.27 s). Two deferred-fact siblings pass (18.02 s). Formatting, changed-file lint and diff checks pass; broader proof remains PR CI. No new test file, production export, cache, schema or configuration is added. The exact CI incognito/history symptoms remain qualified separately; a successful source replay alone is not claimed as their root-cause proof.

Run 38225481310 completed on 539948988033d5388f2f92fcbef9d204a24bba43 with five root failures. Its two worktree-spawn failures exposed the preparation classification and are fixed above. The incognito and committed-history failures motivate the reproduced projection repair. Its unrelated test-type errors are the exact optional fixture accesses introduced on main by 31a4b923387e and already repaired by main 684874efa1c5; the tested merge 873473d7e6bbac90774215c6d703b36b0024e660 has byte-identical test/fixture inputs to its main parent. The reduced-motion mention UI case received an empty pseudo-element animation name instead of none; a narrow source/Vite headless run passes (1 case, 18.07 s), and no matching failing main run was established. This replay is not claimed as a fix or bundled-CI parity. No UI assertion was weakened, no upstream commit copied, and no CI rerun or update-branch was used to chase green.

Fresh independent review of the final three-file correction is scoped-clean, with no actionable P0–P2 findings. The review includes the complete preparation owner, termination classifier and projection-drain context. Its required-argument finding was corrected before commit; both classifier calls explicitly pass undefined for the required signal argument. Final source is 75a30153ac02c54df098006810234a08a8ab21d5; exact-head CI is recorded before landing.

Exact-head CI disposition

CI run 38228919170 tests final head 75a30153ac02c54df098006810234a08a8ab21d5 through merge 635cb8b4a2a5f80ba3c39172c02cac558fda5523, whose main parent is 80f170ea263a21187384cb67d5aead87b1d01fc2. All three observed root failures independently reproduce on that exact unchanged main parent, using focused source-mode Vitest on the Mac under the updated proof policy:

Failed job Exact inherited failure Unchanged-main replay
114743943020 Cron workspace authority: operator and managed conversations return error instead of ok Same two failures, five passes; 85.88 s
114743942846 Storage reader: mismatched-window row returns undefined instead of target-id Same failure, 14 skipped; 17.85 s
114743943551 Self-archive after caller closure: source-authority guard returns true instead of false Same failure, 24 skipped; 45.85 s

Commands (each run from the unchanged main worktree):

pnpm exec vitest run src/cron/isolated-agent/run.session-workspace-authority.test.ts --config test/vitest/vitest.cron.config.ts --configLoader runner --maxWorkers=1
pnpm exec vitest run src/gateway/sessions-resolve-projection.test.ts --config test/vitest/vitest.gateway-core.config.ts --configLoader runner --maxWorkers=1 -t mismatched-window
pnpm exec vitest run src/gateway/local-request-context.session-tools.test.ts --config test/vitest/vitest.gateway-database-workers.config.ts --configLoader runner --maxWorkers=1 -t 'settles self-archive.*closed request'

The failing tests and their cron, storage-reader and device-revocation owners are byte-identical between the tested main parent and actual CI merge. The storage assertion executes before any row projection is created; main 2c7cc827b309 changes the selected canonical-window fields and exposes its legacy expectation. The cron fixture disables both plugin and OpenClaw tool construction and bypasses the readiness host wrappers. The self-archive case uses unchanged request and revocation owners. Passing branch-only replays are not the inheritance proof: that proof is the matching failures on the exact tested main parent.

The earlier preparation-status, incognito, committed-history and reduced-motion mention failures do not recur among these root failures. No upstream fix was copied, no failing assertion weakened, and no CI rerun or branch refresh requested. The current independent local review is scoped-clean. The first hosted review of this head ended with provider_throttle and published no verdict. The completed hosted review, reviewed at 09:45:59 UTC, reports no actionable findings on this exact head and accepts the production-boundary proof. CI finished with 97 successful jobs, 22 skipped jobs and the three inherited test failures plus their aggregate gate. Production/test types, lint, check-plan and security-fast passed. The inherited-failure disposition does not waive review or security gates.

Merged as 325c56d230bcc91a9fe079e31d885c1e3f26cc6e under the standing inherited-failure landing rule.

@clawsweeper

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

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime agents Agent runtime and tooling extensions: codex size: XL labels Oct 11, 2026
@steipete
steipete marked this pull request as ready for review October 11, 2026 13:50
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 11, 2026
@clawsweeper

clawsweeper Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR starts eligible worktree replies during checkout while workspace operations and turn completion await shared readiness.

Example: Model-only first reply in the supplied Linux Gateway benchmark with a 52,000-file partial clone.

  • Before: Median first text arrived after 2.188 seconds.
  • After: Median first text arrived after 1.344 seconds, while complete-turn latency increased from 2.351 to 2.663 seconds.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful, coherent runtime work with measured benefit and meaningful boundary proof; the previous blocker is fixed, and native-runtime evidence remains narrower than the Gateway proof.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (terminal): The supplied real Gateway execution traces and inspected production-path case cover early inference, prompt parity, delayed workspace reads, allowed effects, and actual chat.abort preventing file writes and attachment delivery after readiness settles; focused traces cover the latest preparation-error correction, while native Codex coverage remains contract-level.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Performance · Worth it: Yes · Fix scope: Complete
User problem: A new worktree chat waits for checkout and foreground naming before the model can begin replying.
Reason: The maintainer-authored direction has measured first-text value and explicitly accepts the overlap cost while retaining safe preparation fallbacks.

Merge readiness

✅ Ready for maintainer review

This PR provides a measured first-reply improvement and resolves the previous preparation-error finding; no remaining actionable defect was found, while the red CI gate requires the native inherited-failure landing disposition.

Priority: P2
Reviewed head: 75a30153ac02c54df098006810234a08a8ab21d5

Before merge

None.

Findings

None.

Provenance

  • Uncovered historical areas: original intent not found (unknown: The host provenance walk was partial and local historical diff/blame encountered missing blobs; pinned REST patches establish edits but do not establish every original introduction reason.)
Agent review details

How this fits together

Gateway chat admission prepares committed prompt files in the final worktree directory, starts inference, and carries the same readiness owner into embedded tools, native hooks, plugin factories, attachments, and completion.

flowchart TD
  A[Gateway chat admission] --> B[Committed prompt preparation]
  B --> C[Model inference]
  B --> D[Remaining checkout]
  D --> E[Workspace readiness]
  C --> F[Workspace operations]
  E --> F
  C --> G[Turn completion]
  E --> G
Loading

Technical review

Best possible solution:

Retain the shared readiness implementation and finish landing through the native path that preserves enforced reviews and qualifies inherited CI failures.

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

Current-main source shows full workspace preparation blocking reply initialization, and the supplied controlled Gateway benchmark measures that delay; no target code was executed during this review.

Is this the best way to solve the issue?

The patch uses existing checkout, admission, title, and tool owners, preserves complete preparation for unsupported paths, and explains the measured latency tradeoff.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Worktree checkout and setup ownership keeps the original intent (0acd851: Managed worktrees own creation, provisioning, snapshots, restoration, and cleanup; later worker refactors retain that custody.)
  • Branch naming and display-title preparation changes intended behavior with a stated reason (fix: avoid prompt-derived worktree branch names #153455: Avoid retaining opening-prompt text in branch names when title generation fails or arrives late.)
  • Required workspace and native tool authority keeps the original intent (9729e5e: Preserve Workshop roots through host-mediated tools and reject unsupported native execution before admission.)
  • Template policy and backend selection keeps the original intent (dd46b72: Reuse immutable busy-template validation and select faster checkouts without weakening policy fingerprints or recovery.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

PR surface

PR surface statistics unavailable: the file list is incomplete.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: The measured improvement reduces first-reply latency for eligible new worktrees without establishing an urgent availability regression.
  • merge-risk: 🚨 compatibility: The additive workspaceAccess registration contract affects third-party plugin construction; the maintainer-authored direction retains legacy factory guarantees and documents the new declaration.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.

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.

History

Review history (14 earlier review cycles; latest 8 shown)
  • reviewed 2026-10-11T23:54:47.656Z sha 133bb5c :: needs changes before merge. :: [P1] Preserve readiness for existing workspace-reading plugin tools | [P2] Wait for checkout before loading local message attachments
  • reviewed 2026-10-12T04:18:59.702Z sha 33dcd32 :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-12T04:45:49.710Z sha 33dcd32 :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-12T06:05:05.527Z sha 1d12e57 :: needs real behavior proof before merge. :: [P2] Update the cached-plugin grant fixture for asynchronous resolution
  • reviewed 2026-10-12T07:11:45.784Z sha 99e0c8f :: needs real behavior proof before merge. :: [P2] Extract checkout preparation to satisfy the enforced line-cap ratchet
  • reviewed 2026-10-12T07:49:52.152Z sha 9983171 :: needs real behavior proof before merge. :: [P2] Extract checkout preparation to satisfy the enforced line-cap ratchet
  • reviewed 2026-10-12T08:31:13.885Z sha 78be070 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-12T08:55:27.350Z sha 5399489 :: needs changes before merge. :: [P2] Preserve preparation failures before classifying dispatch cancellation

Reviewed October 12, 2026, 5:45 AM ET / 09:45 UTC (Revision 15).

@steipete
steipete force-pushed the steipete/perf-micro-worktree-prep-first-reply-20260919 branch from b45d6e1 to db70068 Compare October 11, 2026 16:31
@steipete

Copy link
Copy Markdown
Contributor Author

Related: #169239 enables source-only filesystem templates through the existing isolated Git policy and adds template-selection diagnostics. It touches checkout.ts and preparation-timing.ts; the template/cache behavior should be retained when integrating the first-turn overlap work. The patch has clean independent review, native non-root Btrfs proof, and focused plus sibling regression evidence.

@openclaw-barnacle openclaw-barnacle Bot added the scripts Repository scripts label Oct 11, 2026
@steipete
steipete force-pushed the steipete/perf-micro-worktree-prep-first-reply-20260919 branch from 37df511 to 51a173a Compare October 11, 2026 19:50
@openclaw-barnacle openclaw-barnacle Bot added extensions: lobster Extension: lobster channel: feishu Channel integration: feishu labels Oct 11, 2026
@steipete
steipete force-pushed the steipete/perf-micro-worktree-prep-first-reply-20260919 branch from 272fe51 to c8870dc Compare October 11, 2026 22:27
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. label Oct 11, 2026
Publish committed prompt inputs at the allocated cwd, then overlap full
checkout with inference. Workspace tools and turn completion share the
existing pending-workspace owner and retain live authority checks.

Keep display-title generation in the background and preserve one actionable
preparation failure. Add prompt-equivalence and real Gateway regressions.
Keep sandbox projection behind complete managed-worktree publication and
include PDF in the shared workspace tool gate. Cover both with regressions
that fail on the earlier readiness behavior.

Use the current Code Mode metadata owner after its old predicate was removed
on main. Preserve the native control tool exemption without restoring it.
@clawsweeper clawsweeper Bot added merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 12, 2026
@clawsweeper clawsweeper Bot added status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed 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 Oct 12, 2026
@clawsweeper clawsweeper Bot added 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. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 12, 2026
@steipete
steipete merged commit 325c56d into main Oct 12, 2026
198 of 204 checks passed
@steipete
steipete deleted the steipete/perf-micro-worktree-prep-first-reply-20260919 branch October 12, 2026 09:51
@steipete

Copy link
Copy Markdown
Contributor Author

Landed the reviewed head 75a30153ac02c54df098006810234a08a8ab21d5 under the standing inherited-failure landing rule.

CI run 38228919170 completed with 97 successful jobs, 22 skipped jobs, and three failing test jobs plus their aggregate gate. Each failure independently reproduced on its unchanged main parent, 80f170ea263a21187384cb67d5aead87b1d01fc2:

  • Cron workspace authority, operator and managed cases: the same two failures, five passing cases, 85.88 s.
  • Session storage reader, mismatched-window case: the same failure, 14 skipped cases, 17.85 s. This raw reader assertion runs before any row projection.
  • Session self-archive, closed-request case: the same source-authority assertion failure, 24 skipped cases, 45.85 s.

The tested merge is 635cb8b4a2a5f80ba3c39172c02cac558fda5523; its reconstructed tree matches the fetched CI checkout. The failing tests and their relevant cron, storage, request and revocation owners are byte-identical between that main parent and the CI merge. The exact commands and failure links are in the PR body. Production/test types, lint, check-plan and security-fast passed. No CI rerun, branch refresh, weakened assertion, or copied upstream fix was used to obtain green.

The independent final code review is scoped-clean. The completed hosted review reports no actionable findings on this exact head. GitHub confirms squash commit 325c56d230bcc91a9fe079e31d885c1e3f26cc6e, reachable from main.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 13, 2026
…w#169136)

Start eligible first model turns once committed prompt inputs are available, while repository checkout finishes concurrently. Workspace-dependent tools and terminal completion share readiness and revalidate live run ownership. Preserve ready-worktree prompts, legacy plugin construction, local attachment safety, and actionable preparation failures.

The 52,000-file partial-clone benchmark improves median first text from 2.188 s to 1.344 s. Exact-head CI has 97 successful jobs; all three failed test jobs reproduce on its unchanged main parent. Independent and hosted code reviews found no remaining actionable issues.
steipete added a commit that referenced this pull request Oct 13, 2026
## What Problem This Solves

The two background title-recovery cases still expected title generation to wait for reply completion. Commit `82acd0a1c02ab215314a7a45b84589c0677026a9` (#170794) intentionally starts naming alongside worktree and reply preparation, with one retry after the overlapping turn settles. Both cases therefore fail as soon as they observe the legitimate first call.

Use the existing title-start signal to verify that first attempt while dispatch remains held. The generator-error fixture now rejects both attempts and expects two calls; the delayed-success fixture still expects one. The assertions for stable worktree branches, no premature display name, late title persistence, and fallback slug remain intact, as do cleanup and timing budgets. This is a test-only correction (+4/−4 lines); production behavior, SQL statements/requests, and main-thread SQLite (T1) are unchanged.

## Evidence

Scheduled [run 38371740449, large15 job 115210402491](https://github.com/openclaw/openclaw/actions/runs/38371740449/job/115210402491) failed on head `4dd4b8ef9c8fd0c8dd9286f70f98b0842efca758` at the obsolete zero-call assertion in `src/gateway/server.sessions.create.titles.test.ts:319`:

- `sessions.create preserves background title recovery after generator error` — 6.628 s; received one call before dispatch completed.
- `sessions.create preserves background title recovery after delayed title` — 5.249 s; same assertion and observed call.

The old ordering assertion originated in `325c56d230bcc91a9fe079e31d885c1e3f26cc6e` (#169136). The parent-relative patch for #170794 removes the first-progress/finish gate, schedules naming immediately, and retains the turn promise as the retry signal. The production owner and session documentation agree on this contract; existing dispatch and title-owner tests cover retry-after-turn and exhausted fallback. The failing test and affected owners are unchanged between the failing head and candidate base `c86d3033301f51b7b53637c035e3476faa56fdef`.

Changed-file formatting (0.551 s), lint (8.803 s), and `git diff --check` (2.020 s) passed. One Codex review completed with no actionable findings (`scoped-clean`). Normal commit hooks passed. The committed patch is byte-identical to the reviewed patch. [Ordinary PR CI 38375413292](https://github.com/openclaw/openclaw/actions/runs/38375413292/job/115223087521) on candidate `55418e4dd417403d7726fd93531dcc4f2e426c7c` passed all eight tests in `server.sessions.create.titles.test.ts` in 66.96 s (69.19 s command wall time). The original generator-error and delayed-title cases passed in 2.738 s and 2.226 s. All selected type, lint, architecture, ratchet, security, and aggregate gates passed (47 successful checks, 61 unselected/skipped, one neutral advisory result). No local test runtime is claimed.

No product checks were removed, no schema or lifecycle code changed, and no SQL/T1 or update-cell measurement is applicable to this test-only change.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 14, 2026
## What Problem This Solves

The two background title-recovery cases still expected title generation to wait for reply completion. Commit `02a0d2450dc458efd3f80cde982785b5cbd912da` (openclaw#170794) intentionally starts naming alongside worktree and reply preparation, with one retry after the overlapping turn settles. Both cases therefore fail as soon as they observe the legitimate first call.

Use the existing title-start signal to verify that first attempt while dispatch remains held. The generator-error fixture now rejects both attempts and expects two calls; the delayed-success fixture still expects one. The assertions for stable worktree branches, no premature display name, late title persistence, and fallback slug remain intact, as do cleanup and timing budgets. This is a test-only correction (+4/−4 lines); production behavior, SQL statements/requests, and main-thread SQLite (T1) are unchanged.

## Evidence

Scheduled [run 38371740449, large15 job 115210402491](https://github.com/openclaw/openclaw/actions/runs/38371740449/job/115210402491) failed on head `ef293ea529c1a0c2df2feda94ca8096fb5028218` at the obsolete zero-call assertion in `src/gateway/server.sessions.create.titles.test.ts:319`:

- `sessions.create preserves background title recovery after generator error` — 6.628 s; received one call before dispatch completed.
- `sessions.create preserves background title recovery after delayed title` — 5.249 s; same assertion and observed call.

The old ordering assertion originated in `47690293a683ec6f6b7a8aba94ea6cd368ab56d2` (openclaw#169136). The parent-relative patch for openclaw#170794 removes the first-progress/finish gate, schedules naming immediately, and retains the turn promise as the retry signal. The production owner and session documentation agree on this contract; existing dispatch and title-owner tests cover retry-after-turn and exhausted fallback. The failing test and affected owners are unchanged between the failing head and candidate base `e1d88bce4ac5d2c81ff503871be418f5a1dc42c2`.

Changed-file formatting (0.551 s), lint (8.803 s), and `git diff --check` (2.020 s) passed. One Codex review completed with no actionable findings (`scoped-clean`). Normal commit hooks passed. The committed patch is byte-identical to the reviewed patch. [Ordinary PR CI 38375413292](https://github.com/openclaw/openclaw/actions/runs/38375413292/job/115223087521) on candidate `55418e4dd417403d7726fd93531dcc4f2e426c7c` passed all eight tests in `server.sessions.create.titles.test.ts` in 66.96 s (69.19 s command wall time). The original generator-error and delayed-title cases passed in 2.738 s and 2.226 s. All selected type, lint, architecture, ratchet, security, and aggregate gates passed (47 successful checks, 61 unselected/skipped, one neutral advisory result). No local test runtime is claimed.

No product checks were removed, no schema or lifecycle code changed, and no SQL/T1 or update-cell measurement is applicable to this test-only change.
obviyus added a commit that referenced this pull request Nov 21, 2026
…rn ends (#203113)

## Problem

In a worktree session, the first turn starts a background exec with an exit wake and calls `sessions_yield`. When the command exits, the wake is refused before it starts with `Session changed while preparing its project; retry the task.` The exec result never reaches the agent. The chat then shows "This turn yielded, but no registered continuation can resume it. The run has ended." The user has to send another message to get the agent going again.

Cause: the first turn of a session with a deferred checkout runs inside `runWithAgentWorkspaceReadiness` (#169136). The exec child's exit callback runs in that turn's async context, so it inherits the turn's workspace gate. After the turn yields and ends, the session-event wake reaches `admitReplyTurn`, which captures the inherited gate and calls its `assertCurrent()` in the store-writer phase. The retired run is no longer registered, so the check throws the ownership error, about 10 ms after admission starts. Nothing in the session changed. The production log matches: `lifecycle-admission failed reason=writer`, then the refused wake.

Agent runs and follow-ups already clear this gate (#170791). Session-event wakes, queue and mailbox drains, and subagent announce/cleanup did not.

## Fix

`runOutsideAdmittedTurnScopes` (renamed from `runOutsideAdmittedGenerationScopes`) is the single entry point for detached work that is re-admitted when it executes. It now also drops the inherited workspace gate, the same way it drops the inherited plugin generations. Every detached re-admission now runs under the gate of the turn it actually starts. The name change touches only its existing callers.

A pre-start failure is not retried. A retry would have run in the same leaked context and failed the same way, and with the cause removed this failure no longer happens. A real session change before the wake (deleted chat, reset) keeps its existing behavior.

## Evidence

- Regression test (`bash-tools.exec-background-followup.test.ts`): a real background exec started inside a turn's workspace gate. The gate retires before the command exits, and the test asserts that the wake turn runs and its prompt carries the exec output. Red on base with the production error, green with the fix. The rest of that file and the consumer tests (session-event, queue, mailbox, subagent announce, chat-send/agent-run readiness) pass.
- Real Gateway, base vs head, from source. Isolated state, real model (OpenAI, embedded OpenClaw runtime). `sessions.create` with `worktree: true` and an initial message, so the checkout is deferred as in the incident. The agent runs `sleep 20; echo <marker>` in the background with an exit wake, then calls `sessions_yield`:
  - base: the wake fails with `session event execution failed source=exec ... Session changed while preparing its project`, then `completion delivery failed`. The transcript ends with "This turn yielded, but no registered continuation can resume it."
  - head: the wake turn runs, and the agent replies with the exact marker. No ownership errors.
- `tsgo:core`, `check:test-types`, oxlint/oxfmt on the changed files. The `max-lines` finding on `session-event-handoff.ts` is inherited: the file has the same line count as on `main`.

## Merge danger

Two-way door: no state, schema, config, or published contract changes, and a revert fully undoes it. Blast radius if wrong: detached wakes (exec, cron, restart, subagent completions) and queued follow-ups no longer see an inherited first-turn workspace gate. They admit against current session state, as agent runs and follow-ups already do.

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 22, 2026
…rn ends (openclaw#203113)

## Problem

In a worktree session, the first turn starts a background exec with an exit wake and calls `sessions_yield`. When the command exits, the wake is refused before it starts with `Session changed while preparing its project; retry the task.` The exec result never reaches the agent. The chat then shows "This turn yielded, but no registered continuation can resume it. The run has ended." The user has to send another message to get the agent going again.

Cause: the first turn of a session with a deferred checkout runs inside `runWithAgentWorkspaceReadiness` (openclaw#169136). The exec child's exit callback runs in that turn's async context, so it inherits the turn's workspace gate. After the turn yields and ends, the session-event wake reaches `admitReplyTurn`, which captures the inherited gate and calls its `assertCurrent()` in the store-writer phase. The retired run is no longer registered, so the check throws the ownership error, about 10 ms after admission starts. Nothing in the session changed. The production log matches: `lifecycle-admission failed reason=writer`, then the refused wake.

Agent runs and follow-ups already clear this gate (openclaw#170791). Session-event wakes, queue and mailbox drains, and subagent announce/cleanup did not.

## Fix

`runOutsideAdmittedTurnScopes` (renamed from `runOutsideAdmittedGenerationScopes`) is the single entry point for detached work that is re-admitted when it executes. It now also drops the inherited workspace gate, the same way it drops the inherited plugin generations. Every detached re-admission now runs under the gate of the turn it actually starts. The name change touches only its existing callers.

A pre-start failure is not retried. A retry would have run in the same leaked context and failed the same way, and with the cause removed this failure no longer happens. A real session change before the wake (deleted chat, reset) keeps its existing behavior.

## Evidence

- Regression test (`bash-tools.exec-background-followup.test.ts`): a real background exec started inside a turn's workspace gate. The gate retires before the command exits, and the test asserts that the wake turn runs and its prompt carries the exec output. Red on base with the production error, green with the fix. The rest of that file and the consumer tests (session-event, queue, mailbox, subagent announce, chat-send/agent-run readiness) pass.
- Real Gateway, base vs head, from source. Isolated state, real model (OpenAI, embedded OpenClaw runtime). `sessions.create` with `worktree: true` and an initial message, so the checkout is deferred as in the incident. The agent runs `sleep 20; echo <marker>` in the background with an exit wake, then calls `sessions_yield`:
  - base: the wake fails with `session event execution failed source=exec ... Session changed while preparing its project`, then `completion delivery failed`. The transcript ends with "This turn yielded, but no registered continuation can resume it."
  - head: the wake turn runs, and the agent replies with the exact marker. No ownership errors.
- `tsgo:core`, `check:test-types`, oxlint/oxfmt on the changed files. The `max-lines` finding on `session-event-handoff.ts` is inherited: the file has the same line count as on `main`.

## Merge danger

Two-way door: no state, schema, config, or published contract changes, and a revert fully undoes it. Blast radius if wrong: detached wakes (exec, cron, restart, subagent completions) and queued follow-ups no longer see an inherited first-turn workspace gate. They admit against current session state, as agent runs and follow-ups already do.

Co-authored-by: Ayaan Zaidi <[email protected]>
tideclaw-bot pushed a commit that referenced this pull request Nov 24, 2026
…rn ends (#203113)

## Problem

In a worktree session, the first turn starts a background exec with an exit wake and calls `sessions_yield`. When the command exits, the wake is refused before it starts with `Session changed while preparing its project; retry the task.` The exec result never reaches the agent. The chat then shows "This turn yielded, but no registered continuation can resume it. The run has ended." The user has to send another message to get the agent going again.

Cause: the first turn of a session with a deferred checkout runs inside `runWithAgentWorkspaceReadiness` (#169136). The exec child's exit callback runs in that turn's async context, so it inherits the turn's workspace gate. After the turn yields and ends, the session-event wake reaches `admitReplyTurn`, which captures the inherited gate and calls its `assertCurrent()` in the store-writer phase. The retired run is no longer registered, so the check throws the ownership error, about 10 ms after admission starts. Nothing in the session changed. The production log matches: `lifecycle-admission failed reason=writer`, then the refused wake.

Agent runs and follow-ups already clear this gate (#170791). Session-event wakes, queue and mailbox drains, and subagent announce/cleanup did not.

## Fix

`runOutsideAdmittedTurnScopes` (renamed from `runOutsideAdmittedGenerationScopes`) is the single entry point for detached work that is re-admitted when it executes. It now also drops the inherited workspace gate, the same way it drops the inherited plugin generations. Every detached re-admission now runs under the gate of the turn it actually starts. The name change touches only its existing callers.

A pre-start failure is not retried. A retry would have run in the same leaked context and failed the same way, and with the cause removed this failure no longer happens. A real session change before the wake (deleted chat, reset) keeps its existing behavior.

## Evidence

- Regression test (`bash-tools.exec-background-followup.test.ts`): a real background exec started inside a turn's workspace gate. The gate retires before the command exits, and the test asserts that the wake turn runs and its prompt carries the exec output. Red on base with the production error, green with the fix. The rest of that file and the consumer tests (session-event, queue, mailbox, subagent announce, chat-send/agent-run readiness) pass.
- Real Gateway, base vs head, from source. Isolated state, real model (OpenAI, embedded OpenClaw runtime). `sessions.create` with `worktree: true` and an initial message, so the checkout is deferred as in the incident. The agent runs `sleep 20; echo <marker>` in the background with an exit wake, then calls `sessions_yield`:
  - base: the wake fails with `session event execution failed source=exec ... Session changed while preparing its project`, then `completion delivery failed`. The transcript ends with "This turn yielded, but no registered continuation can resume it."
  - head: the wake turn runs, and the agent replies with the exact marker. No ownership errors.
- `tsgo:core`, `check:test-types`, oxlint/oxfmt on the changed files. The `max-lines` finding on `session-event-handoff.ts` is inherited: the file has the same line count as on `main`.

## Merge danger

Two-way door: no state, schema, config, or published contract changes, and a revert fully undoes it. Blast radius if wrong: detached wakes (exec, cron, restart, subagent completions) and queued follow-ups no longer see an inherited first-turn workspace gate. They admit against current session state, as agent runs and follow-ups already do.

Co-authored-by: Ayaan Zaidi <[email protected]>

(cherry picked from commit 582f5d4)

Release adaptation: Preserve stable plugin invocation cleanup while also clearing the retired workspace readiness gate.

Companion audit: #204249, #204105, #203999, #202513 not applicable (later authority changes); #204260, #204178, #197395, #203156 missing in this lane, not dependencies.

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

Labels

agents Agent runtime and tooling channel: feishu Channel integration: feishu docs Improvements or additions to documentation extensions: browser extensions: codex extensions: lobster Extension: lobster extensions: memory-core Extension: memory-core gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. 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. scripts Repository scripts size: XL 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