Summary
P8 (#384) keeps production signaling on the portable PGID backend because P7 scope enrollment covers lane_spawn, while the real agent chokepoint lib-agent.sh::_run_with_timeout still launches directly through setsid. A lane can therefore record scope eligibility without proving its primary agent subtree entered that scope.
The signed-off production host is already linger-enabled: loginctl show-user ubuntu -p Linger --value returns yes. P7 currently omits the username; on this host the no-user form returns an empty value with rc 0 and accidentally falls back to pgid. Correcting that probe alone could auto-enable partial scope enrollment, so the probe correction and full-wrapper enrollment must land together in this issue.
Requirements
Testing Requirements
Rollout Gate
P8 strict delayed GC accepts only exact BACKEND=pgid and refuses systemd-scope before scope or PGID signaling. Do not correct the production linger probe or remove that refusal until this issue's full-wrapper E2E evidence is attached and reviewed. Do not alter the host's current linger state as part of this work.
Dependencies
Summary
P8 (#384) keeps production signaling on the portable PGID backend because P7 scope enrollment covers
lane_spawn, while the real agent chokepointlib-agent.sh::_run_with_timeoutstill launches directly throughsetsid. A lane can therefore record scope eligibility without proving its primary agent subtree entered that scope.The signed-off production host is already linger-enabled:
loginctl show-user ubuntu -p Linger --valuereturnsyes. P7 currently omits the username; on this host the no-user form returns an empty value with rc 0 and accidentally falls back topgid. Correcting that probe alone could auto-enable partial scope enrollment, so the probe correction and full-wrapper enrollment must land together in this issue.Requirements
_lane_backendandadt-gc.sh --doctorto callloginctl show-user "${USER:-$(id -un)}" -p Linger --valuewith an explicit user_run_with_timeoutagent launches through the lane's recordedsystemd-scopebackend when eligiblepgidas the complete fallback when any scope prerequisite or registration step failsLinger=yes, user-bus, and probe gatesTesting Requirements
_run_with_timeouttestscgroup.procsRollout Gate
P8 strict delayed GC accepts only exact
BACKEND=pgidand refusessystemd-scopebefore scope or PGID signaling. Do not correct the production linger probe or remove that refusal until this issue's full-wrapper E2E evidence is attached and reviewed. Do not alter the host's current linger state as part of this work.Dependencies