feat(vision-manager): memory-pressure yield gate (+ retain analysis gate) #8
Reference in New Issue
Block a user
Delete Branch "feat/vision-mem-yield"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Memory-pressure yield gate for the vision autoscaler (see VISION-MEMORY-YIELD.md): actively SIGTERM-stops vision when host MemAvailable-based used% crosses a HIGH watermark, with LOW-watermark + cooldown hysteresis and a 5s sub-poll for between-tick spikes — the friendly, right-victim alternative to the kernel OOM-killer.
Also re-introduces the analysis-enabled gate (+ app_settings read-only grant) that had been applied directly on the host and never committed, so the merged manager has BOTH gates: vision is held down if analysis is disabled OR host RAM is tight. Vision-manager only (no backend code); deployed by host rebuild, not CI.