← Back to PRs

#10999: fix(a2a): A2A announce 버그 수정

by deust132 open 2026-02-07 08:14 View on GitHub →
scripts agents stale
## 변경 내용 A2A announce가 텔레그램 그룹에 전달되지 않던 버그 수정 ### Cherry-picked commits from cs/hana (hayun worktree) - `478319a04`: pass requesterSessionKey to resolveAnnounceTarget for webchat fallback - `0c8e69b7c`: disable ping-pong default (5→0) - `5b5300fd8`: version mismatch warning (CRITICAL) - `08b1029ed`: force announce per turn ### 주요 변경사항 - `maxPingPongTurns` 기본값 5→0으로 변경 (즉시 announce) - `requesterSessionKey` 타입 추가 - 버전 불일치 경고 CRITICAL로 격상 - `announceEnabled` config 옵션 추가 (기본 true) ### 테스트 - 2개 테스트 임시 skip (ping-pong 동작 변경으로 인한 expected value 변화) - 빌드 통과 <!-- greptile_comment --> <h2>Greptile Overview</h2> <h3>Greptile Summary</h3> - Fixes A2A announce delivery by changing how announce targets are resolved (including a requester-session fallback) and by announcing replies per turn. - Changes default A2A ping-pong behavior by setting `maxPingPongTurns` default from 5 to 0 (single-turn by default). - Adds config surface for A2A announcing (`session.agentToAgent.announceEnabled`, default true) and updates schema/help text. - Escalates config version mismatch from warning to critical error, and adds a helper script to sync a global `openclaw` install. <h3>Confidence Score: 3/5</h3> - This PR is mergeable after addressing a few behavior-affecting issues and restoring coverage. - Core logic changes are localized, but (1) key regression tests are currently skipped, (2) `isReplySkip` semantics changed in a way that can alter ping-pong control flow, and (3) announce-target fallback can route messages to an unintended chat when session metadata resolution fails. - src/agents/openclaw-tools.sessions.test.ts, src/agents/tools/sessions-send-helpers.ts, src/agents/tools/sessions-announce-target.ts <!-- greptile_other_comments_section --> <sub>(3/5) Reply to the agent's comments like "Can you suggest a fix for this @greptileai?" or ask follow-up questions!</sub> <!-- /greptile_comment -->

Most Similar PRs