session-transitions.js:222 emits subagent-spawn-late when a subagent declared finished writes again inside the recheck window. A subagent that writes in bursts slower than STABLE_MS can cross that boundary indefinitely, sending an IPC message to the renderer each time.
Measured: 374 occurrences in the current log and 5 more in the rotated one, oldest dated ten days back. Peak 37 in one hour. The code already damps it — nextStableMs lengthens the stability window on each rehabilitation — so the cost is small.
Filed as a display defect with its own measurement, not as a performance fix. It was briefly suspected during a CPU investigation and cleared: no temporal correlation, and the emitter was not the module suspected.
session-transitions.js:222emitssubagent-spawn-latewhen a subagent declared finished writes again inside the recheck window. A subagent that writes in bursts slower thanSTABLE_MScan cross that boundary indefinitely, sending an IPC message to the renderer each time.Measured: 374 occurrences in the current log and 5 more in the rotated one, oldest dated ten days back. Peak 37 in one hour. The code already damps it —
nextStableMslengthens the stability window on each rehabilitation — so the cost is small.Filed as a display defect with its own measurement, not as a performance fix. It was briefly suspected during a CPU investigation and cleared: no temporal correlation, and the emitter was not the module suspected.