Expand description
Limit concurrent visible (PTY) harness sessions (plan.md Phase 5).
Cap comes from env RINNE_HARNESS_STAGE_MAX (set from [harness_stage].max_sessions).
Structs§
- Visible
Slot - RAII guard: holding one slot for a visible harness Stage session.
Functions§
- try_
acquire_ visible - Try to reserve a visible Stage slot.
Nonemeans the cap is full — caller should fall back to headless and narrate.