Skip to main content

STRAY_MIN_AGE

Constant STRAY_MIN_AGE 

Source
pub const STRAY_MIN_AGE: Duration;
Expand description

The age floor reap_stray_candidates (devflow-cli::commands) refuses to signal a candidate below. An age floor, not a classifier: it refuses every candidate younger than this in BOTH directions — a mid-execve false positive and a genuine stray younger than the floor are both refused, because process_age cannot tell the two apart and does not try to.

The two populations this separates are six orders of magnitude apart: a fork()->execve() window, sub-millisecond even under the 2-core pinned CI load measured in 25-CI-OBSERVATION.md, versus a genuine orphan of a previous run — a monitor wrapper lives for the duration of an agent stage, minutes to hours. No value between those two populations is contentious.

A candidate refused for youth is not lost: gate_sweep (devflow-cli::commands) re-runs discovery after its reaping pass and reports anything still discoverable, so a false refusal is deferred cleanup — cleared on the next invocation — never a missed one.