Skip to main content

probe_task_output_layout

Function probe_task_output_layout 

Source
pub(crate) fn probe_task_output_layout(base: &Path)
Expand description

One check per process that <base>/claude-<uid> is where this build expects it, so a wholesale CLI layout change announces itself once rather than starving every tail in silence.

Forge’s own health, not a session’s - there is no slot to name (rule 20) - and it fires only when a running call’s output is actually looked up.

The bound is the directory’s existence, and that is the whole check. A base that MOVES leaves its old directory behind, so the probe stays quiet while every composed lookup under the new one misses; what it catches is a CLI that stops making the tree where this build looks at all. D7’s shape: one announcement per process, not a guarantee that a silent probe means the reads are landing.