Repository navigation
fix: prevent heartbeat runner from leaking private replies when respo… - #94538
xiaoping1988 wants to merge 1 commit into
Conversation
…nse tool not used (fixes #94053) Add early return when usesHeartbeatResponseTool is true but heartbeatToolResponse is falsy. Treat as silent heartbeat to comply with message_tool_only privacy mode.
|
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded. Close as superseded: this is a real heartbeat privacy bug, but this branch is the weaker competing fix because it suppresses too broadly, lacks concrete after-fix proof, and the same remaining work is already owned by the open scoped fix path at #94088 plus the canonical bug report. Canonical path: Close this weaker branch, keep #94053 as the canonical bug, and continue the scoped fix path at #94088 after its preview-redaction issue is repaired. So I’m closing this here and keeping the remaining discussion on #94053 and #94088. Review detailsBest possible solution: Close this weaker branch, keep #94053 as the canonical bug, and continue the scoped fix path at #94088 after its preview-redaction issue is repaired. Do we have a high-confidence way to reproduce the issue? Yes. Source inspection on current main shows a non-empty heartbeat final reply with no Is this the best way to solve the issue? No. The heartbeat runner is the right boundary, but this branch is too broad and exposes private text via previews; the scoped sibling PR is the better base after its own preview issue is repaired. Security review: Security review needs attention: The diff tries to fix a source-channel leak but introduces concrete sensitive-text exposure through heartbeat previews and can suppress marked runtime notices.
AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against d1b917120a47. |
…nse tool not used (fixes #94053)
Add early return when usesHeartbeatResponseTool is true but heartbeatToolResponse is falsy. Treat as silent heartbeat to comply with message_tool_only privacy mode.
Summary
Linked context
Real behavior proof
Tests and validation
Risk checklist
Current review state