Skip to content

Fix ACP empty turns appearing as assistant text - #231

Open
Luna Qiu (lunaqiu) wants to merge 2 commits into
mainfrom
fix/acp-empty-turn-transcript
Open

Luna Qiu (lunaqiu) wants to merge 2 commits into
mainfrom
fix/acp-empty-turn-transcript

Conversation

@lunaqiu

Copy link
Copy Markdown
Collaborator

Summary

  • Stop showing internal ACP diagnostics as assistant text
  • Keep genuinely empty ACP turns empty
  • Add regression coverage and document the behavior

Testing

  • pnpm typecheck
  • pnpm format
  • pnpm lint:fix
  • ACP driver tests: 55 passed

Copilot AI 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.

Copilot review overview

🟢 Approval recommended

The focused behavior change is consistent with the event-folding contract and has regression coverage and documentation.

Review effort: Balanced
Findings: None

What changed in this PR

Removes synthetic ACP diagnostic prose so empty turns remain empty while preserving normal terminal metadata.

Changes:

  • Removes the empty-turn text fallback.
  • Adds regression coverage for empty completion.
  • Documents ACP empty-turn behavior.
File Description
external/​agenetes/​packages/​acp-driver/​src/​handle.ts Stops synthesizing assistant text.
external/​agenetes/​packages/​acp-driver/​src/​recovery.test.ts Tests empty-turn completion.
docs/​architecture/​agent-architecture.md Documents the resulting contract.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

This branch has not been deployed

No deployments
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