Repository navigation
Commit 0ec420a
committed
fix(heartbeat): redact suppressed private final from heartbeat event preview
Addresses ClawSweeper P1: the message_tool_only no-tool suppression path
copied the private reply text into emitHeartbeatEvent.preview, which is
stored as lastHeartbeat, broadcast to gateway subscribers, returned by
last-heartbeat, and rendered in the Debug view. Replace with a metadata-only
marker so the off-channel reply is not exposed via operator status surfaces.
Regression test asserts Telegram is not called and getLastHeartbeatEvent()
does not carry the private final text.1 parent 799a52e commit 0ec420a
2 files changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
448 | 456 | | |
449 | 457 | | |
450 | 458 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1898 | 1898 | | |
1899 | 1899 | | |
1900 | 1900 | | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
| 1905 | + | |
1901 | 1906 | | |
1902 | 1907 | | |
1903 | 1908 | | |
1904 | | - | |
| 1909 | + | |
1905 | 1910 | | |
1906 | 1911 | | |
1907 | 1912 | | |
| |||
0 commit comments