Skip to content

fix(agents): batch announces + suppress pre-tool text (#116)#4

Merged
Milofax merged 2 commits intodeployfrom
fix/issue-116-announce-collect-gate
Feb 17, 2026
Merged

fix(agents): batch announces + suppress pre-tool text (#116)#4
Milofax merged 2 commits intodeployfrom
fix/issue-116-announce-collect-gate

Conversation

@Milofax
Copy link
Owner

@Milofax Milofax commented Feb 17, 2026

Summary

  • Fix collect-mode gate in maybeQueueSubagentAnnounce() so announces batch even when parent is idle
  • Increase announce debounce from 1s to 3s
  • Add suppressPreToolText feature: splices intermediate assistant texts from tool-use turns
  • Full plumbing: config → FollowupRun → runEmbeddedPiAgent → subscribe (17 files)
  • Addresses Milofax/marakanda-infrastructure#116

Test plan

  • 3 unit tests for collect-mode gate fix
  • 6 unit tests for suppressPreToolText splice logic
  • 4 unit tests for Zod schema validation
  • TypeScript build passes
  • Full test suite (7052 tests) passes

…w#116)

Remove isActive gate for collect mode so the announce queue batches
sub-agent results even when the parent agent is idle. Increase default
announce debounce from 1s to 3s.
…w#116)

Add suppressPreToolText option that splices assistant text blocks
produced during tool-use turns (e.g. "Let me check...") so only the
final answer reaches the user. Controlled via config + verbose level.
@Milofax Milofax merged commit ccce581 into deploy Feb 17, 2026
8 of 12 checks passed
@Milofax Milofax deleted the fix/issue-116-announce-collect-gate branch February 17, 2026 16:04
Milofax added a commit that referenced this pull request Feb 18, 2026
)

* fix(agents): batch sub-agent announces via collect-mode gate (openclaw#116)

Remove isActive gate for collect mode so the announce queue batches
sub-agent results even when the parent agent is idle. Increase default
announce debounce from 1s to 3s.

* feat(agents): suppress intermediate text from tool-use turns (openclaw#116)

Add suppressPreToolText option that splices assistant text blocks
produced during tool-use turns (e.g. "Let me check...") so only the
final answer reaches the user. Controlled via config + verbose level.
Milofax added a commit that referenced this pull request Feb 18, 2026
)

* fix(agents): batch sub-agent announces via collect-mode gate (openclaw#116)

Remove isActive gate for collect mode so the announce queue batches
sub-agent results even when the parent agent is idle. Increase default
announce debounce from 1s to 3s.

* feat(agents): suppress intermediate text from tool-use turns (openclaw#116)

Add suppressPreToolText option that splices assistant text blocks
produced during tool-use turns (e.g. "Let me check...") so only the
final answer reaches the user. Controlled via config + verbose level.
Milofax added a commit that referenced this pull request Mar 8, 2026
…#4)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant