Commit 86ec92b
fix(heartbeat): board user wakeups bypass gate block backoff (paperclipai#221)
Board user comments are explicit instructions that should always reach
the agent. The gate_block_backoff was unconditionally skipping wakeups
after 3+ consecutive gate blocks, silently dropping board user comments.
Now requestedByActorType=user bypasses the backoff and resets the
gateBlockCount so the agent gets a fresh slate.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8febc80 commit 86ec92b
2 files changed
Lines changed: 55 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
252 | 295 | | |
253 | 296 | | |
254 | 297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3613 | 3613 | | |
3614 | 3614 | | |
3615 | 3615 | | |
| 3616 | + | |
| 3617 | + | |
3616 | 3618 | | |
3617 | | - | |
| 3619 | + | |
| 3620 | + | |
3618 | 3621 | | |
3619 | 3622 | | |
3620 | 3623 | | |
| |||
3631 | 3634 | | |
3632 | 3635 | | |
3633 | 3636 | | |
| 3637 | + | |
| 3638 | + | |
| 3639 | + | |
| 3640 | + | |
| 3641 | + | |
| 3642 | + | |
| 3643 | + | |
| 3644 | + | |
3634 | 3645 | | |
3635 | 3646 | | |
3636 | 3647 | | |
| |||
0 commit comments