Skip to content

fix(agents): sessions_send to a busy child waits behind its run and can fail - #160842

Merged
steipete merged 5 commits into
mainfrom
steipete/sessions-send-steer-own-child-0928
Sep 29, 2026
Merged

steipete merged 5 commits into
mainfrom
steipete/sessions-send-steer-own-child-0928

Conversation

@steipete

@steipete steipete commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes: when a parent agent uses sessions_send to guide a child it spawned while that child is still working, the message starts a new turn that waits behind the child's active run. The note arrives only after the child finishes (216 s in the observed case), and the deferred turn can then fail admission because its follow-up access facts went stale during the wait, which marks the child failed and walks the whole model fallback chain.

User Impact

User impact: guidance a parent sends to its own running child (default mode, timeoutSeconds: 0) now steers into the child's active run and is seen on its next turn, reported as targetDisposition: "steered". An idle child, or one whose run does not accept the steer (for example during compaction), still gets a new turn as before. Explicit mode values, waited sends, ordinary non-child targets, and cron run-scoped delivery are unchanged.

A zero-wait send to your own running child no longer produces a separate completion turn; use mode: "followup" for that. Like explicit mode: "steer", acceptance confirms queue admission, not transcript persistence or model consumption, and is not restart-durable.

Why This Change Was Made

sessions_send already knew how to steer (mode: "steer"), but the default path resolved an active run only for run-scoped cron keys; #91420 narrowed it to stop rerouting through other sessions, and steering into the exact own-child target does not reroute. The steer decision now happens before follow-up completion custody is prepared, so a steered send creates no follow-up request and no queued turn, and any steer rejection falls through to the same-key new turn with the existing follow-up contract. Production line count is neutral; no schema, config, or custody-owner changes.

Evidence

  • Hosted landing proof: CI run 36512807329 succeeded on 5bd03c942da2287aa032aa437083196c8f519999 (134 successful jobs, 19 skipped); ClawSweeper round 5 completed on that exact head with no actionable findings. Native landing verified merge commit 9b5b439dcb6e11b929c982d9b40e8ddcb4c9b2e5.
  • Snapshot regeneration (5bd03c942da2287aa032aa437083196c8f519999): pnpm prompt:snapshots:gen changed only four prompt fixtures for the approved description sentence and its derived counts/hashes; pnpm prompt:snapshots:check passed (7 current files, 22.41 s wall), git diff --check passed, sessions rerun passed 51 tests (29.45 s wall), and fresh isolated Codex autoreview at P2 was scoped-clean. This repairs the prompt-snapshot drift reported by CI run 36511154592.
  • Description update (d95015ef60ed3e87484894c6773687d8ead9f840): the model-facing sessions_send text now states the approved own-child admission-only default and mode:followup for a separate completion turn; description/guidance tests 24 passed (86.48 s wall), sessions rerun 51 passed (18.61 s wall), targeted formatting/lint, core tsgo, diff check passed, and fresh isolated Codex autoreview at P2 scoped-clean.
  • Observed on a production Gateway (2026-09-28): lane wait exceeded … waitedMs=216633 taskKind=spawn, then Session access facts are unavailable; retry after session storage is ready. twelve times across three models, and the child marked failed.
  • Admission repair rerun: node scripts/run-vitest.mjs src/agents/openclaw-tools.sessions.test.ts --maxWorkers=1: 51 passed (144.43 s command wall time). Eleven table-driven cases cover steering, run-gone/runtime/compaction rejection, explicit modes, waited sends, idle children, and a child busy beyond the delivery deadline. The new no-timer mock regression failed before this repair with queued/pending instead of steered/skipped; after the repair, admission returns without a transcript commit, a Gateway agent call, or follow-up custody preparation. This is tool-boundary mock proof, not a live 30-second run. The existing file exercises the actual session tool and storage boundary, including custody ordering; its full-file startup/import cost is retained rather than duplicating that contract in a helper test.
  • Delivery/follow-up siblings (sessions-send-tool.a2a, sessions-send-tool.admission, sessions-send-followup, sessions-send-owner-continuation, and sessions): 142 passed (54.83 s command wall time).
  • Admission repair rerun: targeted oxfmt --check, oxlint, core tsgo and the narrowed agents-root test shard (16.4 s), git diff --check: passed.
  • Fresh isolated Codex autoreview at P2 on the staged admission repair: scoped-clean.
  • Known gap, separate fix: a follow-up queued to an idle child still holds its custody snapshot across a later lane wait, and the runner still treats that admission error as a model failure.

A parent's nonblocking send waited 216 seconds behind its own running
child. Followup access facts prepared before the wait became stale during
ordinary session-row updates, so admission failed and the guidance was lost.

Decide active-run delivery before preparing followup completion custody.
Default zero-wait sends to the requester's own spawned child steer into
that exact active incarnation, with the existing transcript and queue
options. Successful steering starts no run and creates no followup request.
A gone, stale, or non-streaming run falls through to a new turn on the same
child key. Explicit modes, positive waits, ordinary active targets, and
stranded Cron-parent fallback keep their existing behavior.

Document the default, steered disposition, and existing completion owner.
Production line count is neutral. Add eight table-driven boundary cases;
the five regression cases fail before the fix. The ordinary-target and
Cron fallback tests, peer live assertion, and custody owners are unchanged.

Validation (wall times include repository wrappers):
- node scripts/run-vitest.mjs src/agents/openclaw-tools.sessions.test.ts --maxWorkers=1
  48 passed, 162.06s; the eight new cases total 140ms.
- node scripts/run-vitest.mjs src/agents/tools/sessions-send-tool.a2a.test.ts src/agents/tools/sessions-send-tool.admission.test.ts src/agents/tools/sessions-send-followup.test.ts src/agents/tools/sessions-send-owner-continuation.test.ts src/agents/tools/sessions.test.ts --maxWorkers=1
  5 files, 142 tests passed, 197.55s.
- pnpm changed:lanes --json
  core, coreTests, docs; 3.51s.
- node_modules/.bin/oxfmt --check --threads=1 src/agents/tools/sessions-send-tool.ts src/agents/tools/sessions-send-tool.delivery.ts src/agents/openclaw-tools.sessions.test.ts docs/concepts/session-tool.md
  Passed, 0.78s.
- node scripts/run-oxlint.mjs --tsconfig config/tsconfig/oxlint.core.json src/agents/openclaw-tools.sessions.test.ts src/agents/tools/sessions-send-tool.delivery.ts src/agents/tools/sessions-send-tool.ts
  Passed, 26.72s.
- node scripts/run-tsgo.mjs -p tsconfig.core.json --incremental --tsBuildInfoFile .artifacts/tsgo-cache/core.tsbuildinfo
  Passed, 21.18s.
- node scripts/run-tsgo-core-test-shards.mjs --changed-paths-json '["src/agents/openclaw-tools.sessions.test.ts"]'
  Selected agents-root graph passed, 81.98s wall (9.2s compiler).
- git diff --check
  Passed, 5.39s.

No full check-changed, live stress run, or CI dispatch. Queued followups to
an idle child can still hold custody facts across a later lane wait; that
separate issue is outside this change.

Review: one isolated Codex autoreview round, local diff against the merge
base, P0-P2 scope; scoped-clean with no accepted/actionable findings
(220.11s wall).
Default steering introduced for the 216-second child lane-wait failure is
an optimization over the previous new-turn path. Routine compaction and
other steering rejections must not turn a previously accepted send into
an error.

For a default zero-wait send to the requester's own spawned child, let
every non-queued outcome fall through to normal Gateway admission for the
same child key. Prepare followup custody only after the steering attempt.
Keep explicit steer errors and Cron's narrow fallback reasons unchanged.
The existing unsupported-transcript-wait retry still runs first, and an
accepted or unconfirmed queued outcome never also starts a new turn.

Update the runtime-rejection case and add compaction fallback and explicit
steer rejection cases. Assert one same-key Gateway call and steering before
followup preparation. Extend the existing documentation clause. Production
line count remains neutral; no schema, config, or custody-owner changes.

Validation:
- Before the fix, the compaction regression failed with status=error instead
  of accepted (49.84s wall; one selected test, 49 skipped).
- node scripts/run-vitest.mjs src/agents/openclaw-tools.sessions.test.ts --maxWorkers=1
  50 tests passed, 101.55s wall. The three affected cases totaled 29ms.
- node_modules/.bin/oxfmt --check --threads=1 src/agents/tools/sessions-send-tool.delivery.ts src/agents/openclaw-tools.sessions.test.ts docs/concepts/session-tool.md
  Passed, 0.45s wall.
- node scripts/run-oxlint.mjs --tsconfig config/tsconfig/oxlint.core.json src/agents/openclaw-tools.sessions.test.ts src/agents/tools/sessions-send-tool.delivery.ts
  Passed, 23.80s wall.
- node scripts/run-tsgo.mjs -p tsconfig.core.json --incremental --tsBuildInfoFile .artifacts/tsgo-cache/core.tsbuildinfo
  Passed, 4.07s wall.
- node scripts/run-tsgo-core-test-shards.mjs --changed-paths-json '["src/agents/openclaw-tools.sessions.test.ts"]'
  agents-root passed, 63.25s wall (2.3s compiler). An initial selector also
  included the production path and expanded to all graphs; stopped that
  invocation after 136.58s and corrected the scope, without source changes.
- pnpm changed:lanes --json
  core, coreTests, docs; 3.02s wall.
- git diff --check
  Passed, 0.78s wall.

Review: two isolated Codex autoreview rounds at P0-P2. Round one flagged
only the old INDEX snapshot's narrow fallback (96.99s); staging this fix
resolved it without source changes. Round two was scoped-clean with no
accepted/actionable findings (82.28s).
@clawsweeper

clawsweeper Bot commented Sep 29, 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 agents Agent runtime and tooling size: M labels Sep 29, 2026
@steipete
steipete marked this pull request as ready for review September 29, 2026 00:53
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 29, 2026
@clawsweeper

clawsweeper Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 28, 2026, 10:38 PM ET / September 29, 2026, 02:38 UTC (Revision 5).

ClawSweeper review

What this changes

The branch steers a parent’s zero-wait sessions_send to its own running child, falls back to a new turn when steering is rejected, and updates tool guidance, documentation, tests, and prompt snapshots.

Merge readiness

✅ Ready for maintainer review

Current main still has the reported busy-child wait. Earlier review findings are addressed, and the repository admin who authored the PR explicitly accepted the documented change in default completion behavior. No discrete patch defect remains in this review.

Priority: P1
Reviewed head: 5bd03c942da2287aa032aa437083196c8f519999

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The focused patch addresses the source-proven path and resolves earlier findings, with boundary tests covering the main steering and fallback cases.
Proof confidence 🌊 off-meta tidepool Not applicable: The verified repository-admin author is exempt from contributor after-fix proof. The production sessions_send path has tool-boundary tests with mocked active runs and Gateway responses; the PR body reports a before-fix production trace but no after-fix live run. No stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The verified repository-admin author is exempt from contributor after-fix proof. The production sessions_send path has tool-boundary tests with mocked active runs and Gateway responses; the PR body reports a before-fix production trace but no after-fix live run. No stored-data contract changes.
Evidence reviewed 11 items Current main still has the original path: On fetched main, an omitted-mode send resolves an active run only for a run-scoped key. An ordinary busy child therefore proceeds to a new Gateway turn.
Introduced delivery decision: The branch identifies an own-child target and tries active-run delivery before preparing follow-up custody.
Admission and rejection behavior: Accepted own-child steering does not wait for transcript commitment. Rejected own-child steering proceeds to the same-key new-turn path; explicit steer retains its error behavior.
Findings None None.
Security None None.

How this fits together

The sessions_send agent tool checks access to a target session and sends guidance through an active run or a new Gateway turn. It returns an admission result to the caller; new turns can also have a separate follow-up completion.

flowchart LR
  A[Parent agent message] --> B[Session access check]
  B --> C{Own running child with zero wait?}
  C -->|Yes| D[Active run steering]
  C -->|No| E[Gateway new turn]
  D -->|Rejected| E
  D -->|Accepted| F[Admission result]
  E --> F
  E --> G[Follow-up completion]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source 0, Tests +120, Docs +5. Total +125 across 10 files.

View PR surface stats
Area Files Added Removed Net
Source 3 79 79 0
Tests 6 145 25 +120
Docs 1 7 2 +5
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 10 231 106 +125

Review metrics

Metric Value Why it matters
Child delivery scenarios 11 added The cases cover the new steering decision and its rejection paths at the session-tool boundary.
Production versus test growth production +0 net, tests +120 net The behavior change stays within the existing delivery owners; added coverage accounts for the source growth.

Technical review

Best possible solution:

Keep active-child guidance with the child’s current run and retain mode:followup as the explicit route for a separately completed turn.

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

Yes, at source level: current main sends an ordinary zero-wait message to a busy child through the new-turn path, matching the reported Gateway wait. I did not run a live current-main replay.

Is this the best way to solve the issue?

Yes. Reusing active-run steering before follow-up custody addresses the reported wait within the existing owner, while explicit follow-up preserves separate-turn completion.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 8bf062101532.

Labels

Label changes:

No label changes.

Label justifications:

  • P1: The reported busy-child path can delay guidance for minutes and leave an agent workflow failed.
  • merge-risk: 🚨 compatibility: An omitted-mode zero-wait send to a running own child no longer creates a separate completion turn; the repository admin author explicitly accepted and documented that change.
  • merge-risk: 🚨 message-delivery: The changed decision determines whether guidance enters the active run or a new turn, including the acknowledged in-memory steering semantics.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The verified repository-admin author is exempt from contributor after-fix proof. The production sessions_send path has tool-boundary tests with mocked active runs and Gateway responses; the PR body reports a before-fix production trace but no after-fix live run. No stored-data contract changes.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • RoboClaw: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vito Cappello: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

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

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

Workflow

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

History

Review history (4 earlier review cycles)
  • reviewed 2026-09-29T00:53:12.933Z sha 62fbf1d :: blocked before merge. :: [P1] Acknowledge the own-child steer before transcript commitment
  • reviewed 2026-09-29T01:19:19.996Z sha 62fbf1d :: blocked before merge. :: [P1] Acknowledge own-child steering before transcript commitment
  • reviewed 2026-09-29T01:56:19.975Z sha 8347b2c :: needs changes before merge. :: [P2] Describe default child steering in the agent tool prompt
  • reviewed 2026-09-29T02:16:50.952Z sha d95015e :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot added the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Sep 29, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Maintainer decisions on the review items.

P1 (accepted-steer deadline) — accepted and fixed. The default own-child path inherited the 30 s transcript-commit wait, so a child busy inside a long tool call past the deadline would have had its accepted guidance cancelled and a replacement turn started behind the same run. The new head acknowledges on queue admission, exactly like explicit mode: "steer" already does (no transcript-commit wait), and falls back to a new turn only on an actual admission rejection, which is immediate. Test coverage now asserts the no-wait admission for the default own-child case and the busy-past-deadline scenario.

Decision needed (changed default) — adopting default steering. A parent's zero-wait send to its own running child steers into that run and no longer produces a separate completion turn. Callers that need a separate child turn with its own completion use mode: "followup"; the docs say so. Acceptance semantics for the default path are the same as explicit steer: admission, not transcript persistence or model consumption, and not restart-durable. Explicit modes, waited sends, ordinary targets, and cron run-scoped delivery are unchanged.

Landing on that basis.

@steipete steipete self-assigned this Sep 29, 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: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 29, 2026
@steipete
steipete enabled auto-merge (squash) September 29, 2026 02:42
@steipete
steipete merged commit 9b5b439 into main Sep 29, 2026
211 checks passed
@steipete
steipete deleted the steipete/sessions-send-steer-own-child-0928 branch September 29, 2026 02:47
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash auto-merge.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 29, 2026
…an fail (openclaw#160842)

* fix(agents): steer sessions_send into a running child by default

A parent's nonblocking send waited 216 seconds behind its own running
child. Followup access facts prepared before the wait became stale during
ordinary session-row updates, so admission failed and the guidance was lost.

Decide active-run delivery before preparing followup completion custody.
Default zero-wait sends to the requester's own spawned child steer into
that exact active incarnation, with the existing transcript and queue
options. Successful steering starts no run and creates no followup request.
A gone, stale, or non-streaming run falls through to a new turn on the same
child key. Explicit modes, positive waits, ordinary active targets, and
stranded Cron-parent fallback keep their existing behavior.

Document the default, steered disposition, and existing completion owner.
Production line count is neutral. Add eight table-driven boundary cases;
the five regression cases fail before the fix. The ordinary-target and
Cron fallback tests, peer live assertion, and custody owners are unchanged.

Validation (wall times include repository wrappers):
- node scripts/run-vitest.mjs src/agents/openclaw-tools.sessions.test.ts --maxWorkers=1
  48 passed, 162.06s; the eight new cases total 140ms.
- node scripts/run-vitest.mjs src/agents/tools/sessions-send-tool.a2a.test.ts src/agents/tools/sessions-send-tool.admission.test.ts src/agents/tools/sessions-send-followup.test.ts src/agents/tools/sessions-send-owner-continuation.test.ts src/agents/tools/sessions.test.ts --maxWorkers=1
  5 files, 142 tests passed, 197.55s.
- pnpm changed:lanes --json
  core, coreTests, docs; 3.51s.
- node_modules/.bin/oxfmt --check --threads=1 src/agents/tools/sessions-send-tool.ts src/agents/tools/sessions-send-tool.delivery.ts src/agents/openclaw-tools.sessions.test.ts docs/concepts/session-tool.md
  Passed, 0.78s.
- node scripts/run-oxlint.mjs --tsconfig config/tsconfig/oxlint.core.json src/agents/openclaw-tools.sessions.test.ts src/agents/tools/sessions-send-tool.delivery.ts src/agents/tools/sessions-send-tool.ts
  Passed, 26.72s.
- node scripts/run-tsgo.mjs -p tsconfig.core.json --incremental --tsBuildInfoFile .artifacts/tsgo-cache/core.tsbuildinfo
  Passed, 21.18s.
- node scripts/run-tsgo-core-test-shards.mjs --changed-paths-json '["src/agents/openclaw-tools.sessions.test.ts"]'
  Selected agents-root graph passed, 81.98s wall (9.2s compiler).
- git diff --check
  Passed, 5.39s.

No full check-changed, live stress run, or CI dispatch. Queued followups to
an idle child can still hold custody facts across a later lane wait; that
separate issue is outside this change.

Review: one isolated Codex autoreview round, local diff against the merge
base, P0-P2 scope; scoped-clean with no accepted/actionable findings
(220.11s wall).

* fix(agents): fall back to a new turn when an own-child steer is rejected

Default steering introduced for the 216-second child lane-wait failure is
an optimization over the previous new-turn path. Routine compaction and
other steering rejections must not turn a previously accepted send into
an error.

For a default zero-wait send to the requester's own spawned child, let
every non-queued outcome fall through to normal Gateway admission for the
same child key. Prepare followup custody only after the steering attempt.
Keep explicit steer errors and Cron's narrow fallback reasons unchanged.
The existing unsupported-transcript-wait retry still runs first, and an
accepted or unconfirmed queued outcome never also starts a new turn.

Update the runtime-rejection case and add compaction fallback and explicit
steer rejection cases. Assert one same-key Gateway call and steering before
followup preparation. Extend the existing documentation clause. Production
line count remains neutral; no schema, config, or custody-owner changes.

Validation:
- Before the fix, the compaction regression failed with status=error instead
  of accepted (49.84s wall; one selected test, 49 skipped).
- node scripts/run-vitest.mjs src/agents/openclaw-tools.sessions.test.ts --maxWorkers=1
  50 tests passed, 101.55s wall. The three affected cases totaled 29ms.
- node_modules/.bin/oxfmt --check --threads=1 src/agents/tools/sessions-send-tool.delivery.ts src/agents/openclaw-tools.sessions.test.ts docs/concepts/session-tool.md
  Passed, 0.45s wall.
- node scripts/run-oxlint.mjs --tsconfig config/tsconfig/oxlint.core.json src/agents/openclaw-tools.sessions.test.ts src/agents/tools/sessions-send-tool.delivery.ts
  Passed, 23.80s wall.
- node scripts/run-tsgo.mjs -p tsconfig.core.json --incremental --tsBuildInfoFile .artifacts/tsgo-cache/core.tsbuildinfo
  Passed, 4.07s wall.
- node scripts/run-tsgo-core-test-shards.mjs --changed-paths-json '["src/agents/openclaw-tools.sessions.test.ts"]'
  agents-root passed, 63.25s wall (2.3s compiler). An initial selector also
  included the production path and expanded to all graphs; stopped that
  invocation after 136.58s and corrected the scope, without source changes.
- pnpm changed:lanes --json
  core, coreTests, docs; 3.02s wall.
- git diff --check
  Passed, 0.78s wall.

Review: two isolated Codex autoreview rounds at P0-P2. Round one flagged
only the old INDEX snapshot's narrow fallback (96.99s); staging this fix
resolved it without source changes. Round two was scoped-clean with no
accepted/actionable findings (82.28s).

* fix(agents): acknowledge own-child steering on admission

* fix(agents): describe own-child steering in the sessions_send tool text

* test(agents): refresh prompt snapshots for the sessions_send description
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docs Improvements or additions to documentation merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. P1 High-priority user-facing bug, regression, or broken workflow. 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.

1 participant