镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

fix(goose): stop posting replies the agent did not send - #1359

Merged
salman1993 merged 2 commits into
duncan/acp-shared-clientfrom
hayt/harness-failure-messages
Oct 20, 2026
Merged

salman1993 merged 2 commits into
duncan/acp-shared-clientfrom
hayt/harness-failure-messages

Conversation

@wpfleger96

@wpfleger96 wpfleger96 commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Goose no longer posts the final assistant text of a turn in which the agent never called send, edit or react. That text now stays in the agent's local activity, as it already does for Claude Code and Codex.

Stack (merge order), 2 of 3: #1227 (shared ACP client) → this PR → #1251 (generic ACP agent)

#1359 and #1251 each branch directly from #1227 and don't depend on each other.

Before: when a turn ended without a successful send, Goose posted its last assistant text into the thread so the thread wasn't left waiting.

Why it changes: every agent's instructions say its assistant text is not published to Buzz and it must use send. Agents therefore write that text as private narration ("I've replied to Will") or reason about why no reply is needed, and Goose then posted it, including over a deliberate decision to stay silent. Claude Code and Codex never post unsent text, so the same agent behaved differently depending on its harness.

After: a failed turn still posts the raw harness error exactly as before; only the unsent-text fallback is removed. src/bundled/goose/runtime.test.ts checks that unsent text is posted nowhere and still reaches local activity.

@wpfleger96
wpfleger96 force-pushed the hayt/harness-failure-messages branch from 0faf771 to 0cf78d0 Compare October 19, 2026 20:25
@wpfleger96
wpfleger96 force-pushed the hayt/harness-failure-messages branch from 0cf78d0 to 4c4454b Compare October 19, 2026 20:32
@wpfleger96
wpfleger96 force-pushed the duncan/acp-shared-client branch from 42746a0 to 3cfa0b7 Compare October 19, 2026 21:44
@wpfleger96
wpfleger96 force-pushed the hayt/harness-failure-messages branch from a595989 to 3a041ea Compare October 19, 2026 21:45
@wpfleger96 wpfleger96 changed the title fix(harness): post Buzz's own failure message for Claude Code and Codex fix(goose): stop posting replies the agent did not send Oct 19, 2026
Duncan added 2 commits October 19, 2026 17:58
Every agent is told its assistant text is not published and it must use
send, so Goose posting the unsent final text published private narration
and broke deliberate silence. Claude Code and Codex never post it; the
text now stays in local activity for Goose too.

Signed-off-by: Duncan <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@buzz.block.builderlab.xyz>
The no-post check ran after a fixed microtask flush, so a post made later in the report step could land after the assertion.

Signed-off-by: Duncan <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@buzz.block.builderlab.xyz>
@wpfleger96
wpfleger96 force-pushed the hayt/harness-failure-messages branch from 3a041ea to ada3f60 Compare October 19, 2026 21:59

@salman1993 salman1993 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🤖 Reviewed on Salman’s behalf. Looks good—thanks!

@salman1993
salman1993 marked this pull request as ready for review October 20, 2026 15:33
@salman1993
salman1993 requested a review from a team as a code owner October 20, 2026 15:33
@salman1993
salman1993 merged commit 926ba1c into duncan/acp-shared-client Oct 20, 2026
33 checks passed
@salman1993
salman1993 deleted the hayt/harness-failure-messages branch October 20, 2026 15:34
@chatgpt-codex-connector

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

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T15:37:38.290868Z ada3f60 Draft marked ready
ℹ️ About Codex in GitHub

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

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

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

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ada3f60fb9

ℹ️ About Codex in GitHub

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

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

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

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

Comment thread src/bundled/goose/runtime.ts Resolved
wpfleger96 added a commit that referenced this pull request Oct 20, 2026
Signed-off-by: Duncan <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@buzz.block.builderlab.xyz>
Co-authored-by: Duncan <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@buzz.block.builderlab.xyz>
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.

2 participants