Commit 6c0c9ed
Keep chat available while hook status reconnects
The WT event listener is a session-status enhancement, not an availability gate
for the agent stack. Do not make agent-pane chat, Autofix, history listing or
resume wait for or fail with COM hook subscription readiness.
Master now accepts helpers immediately and starts the listener readiness/retry
loop in the background. A missing WT_COM_CLSID or a listener that remains
unready is logged as "live session status may be stale" while the rest of the
agent experience continues unchanged. Helpers likewise launch their listener
without holding ACP startup behind the 15-second readiness window.
Once the listener reconnects, direct master-owned hook routing resumes. No
special unavailable state is introduced in /sessions: it continues to list and
resume known history, with the same existing limitation that live status can be
stale while hooks are unavailable.
Validation: 1882 WTA tests passed, full solution built with 0 errors, the
SessionHookRouting ItE2E suite passed 3/3 after deployment, and settings.json
was unchanged.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: c6ef3e46-71af-4e5a-82af-a172700ca3ce1 parent 80c81b3 commit 6c0c9ed
2 files changed
Lines changed: 49 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
491 | | - | |
492 | | - | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
493 | 495 | | |
494 | 496 | | |
495 | 497 | | |
496 | | - | |
497 | | - | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
498 | 508 | | |
499 | 509 | | |
500 | 510 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4185 | 4185 | | |
4186 | 4186 | | |
4187 | 4187 | | |
4188 | | - | |
4189 | | - | |
4190 | | - | |
4191 | | - | |
4192 | | - | |
4193 | | - | |
4194 | | - | |
4195 | | - | |
4196 | | - | |
4197 | | - | |
4198 | | - | |
4199 | | - | |
4200 | | - | |
4201 | | - | |
4202 | | - | |
4203 | | - | |
4204 | | - | |
4205 | | - | |
| 4188 | + | |
| 4189 | + | |
| 4190 | + | |
| 4191 | + | |
| 4192 | + | |
| 4193 | + | |
| 4194 | + | |
| 4195 | + | |
| 4196 | + | |
| 4197 | + | |
| 4198 | + | |
| 4199 | + | |
| 4200 | + | |
| 4201 | + | |
| 4202 | + | |
| 4203 | + | |
| 4204 | + | |
| 4205 | + | |
| 4206 | + | |
| 4207 | + | |
| 4208 | + | |
| 4209 | + | |
| 4210 | + | |
| 4211 | + | |
| 4212 | + | |
| 4213 | + | |
| 4214 | + | |
| 4215 | + | |
| 4216 | + | |
| 4217 | + | |
| 4218 | + | |
| 4219 | + | |
4206 | 4220 | | |
4207 | | - | |
4208 | | - | |
| 4221 | + | |
| 4222 | + | |
| 4223 | + | |
4209 | 4224 | | |
4210 | 4225 | | |
4211 | 4226 | | |
| |||
0 commit comments