Files
Pulse/docs/release-control
rcourtman 00f64efdd2 Open the alert finding for an unanswered sustained warning (#4437)
A warning that wakes Patrol by staying active was left to the model's
judgment. A model that describes the fault and files nothing has not
judged it quiet, though. On Docker fault set v1, qwen3:8b woke by itself
on D2 (worker segfaulted, Exited 139) and D6 (full mount, commands on),
described both, and filed neither. So neither was investigated.

When such a run files nothing, Pulse now opens the finding from the
alert, but only where its own facts meet the rule that check is given:
- a restart-loop, memory-kill or health alert;
- a container that is restarting, was killed for memory, or exited with
a code other than 0 or a stop signal (130, 137, 143);
- a `disk` alert on a host or guest Pulse can read
(`patrolAlertSubjectReadPlace`, from #4431).

A finished job raises no state alert and a stop exits 0 or with a stop
signal, so neither gets a finding. Watch only, one finding per alert and
dismissals are unchanged.

Tests: `TestSustainedWarningOnAFailedContainerOpensTheFinding`,
`TestSustainedWarningKeepsTheModelsJudgmentWherePulseSeesNoFault`,
`TestSustainedDiskWarningOpensTheFindingOnlyWherePulseCanRead`.

Fault set v1 replay on this branch (fresh Pulse per profile, Ask first,
one run per cell):

| Fault | Sonnet, commands on | Sonnet, default agent | qwen3:8b,
commands on (main → this PR) |
|---|---|---|---|
| D2 worker segfaulted, stays exited | Fixed, woke by itself | Handed
over, woke by itself | Not looked at → Handed back, woke by itself |
| D3 finished job | Quiet | Quiet | not run |
| D6 host disk 92% from one folder | Handed over, woke by itself |
Handed back, had to be asked | Not looked at → Handed back, woke by
itself |

Sonnet's grades match main (#4431's replay), and Sonnet filed both
findings itself, so the fallback never fired for it. With commands off
nothing on the host is readable, so D6 stays the model's call. For
qwen3:8b both faults now get a finding and an investigation. On D2 the
investigation read the logs and named the segfault in ONNX Runtime but
proposed no start. On D6 it got the resource type wrong in its own tool
calls and never read the disk. Both of those are limits of the model,
not of when Patrol wakes.
2026-11-15 17:24:04 +00:00
..