Repository navigation
fix(install): the supervisor outlives the logon session — ContinuumCore + ContinuumDeploy registered S4U at boot by the installer's one elevation (7b56a84b) - #4224
Conversation
…re and ContinuumDeploy are registered S4U at boot by the installer's one elevation, never Interactive
The 5090 went dark 09:49:40Z → 12:31Z on 2026-09-19 because its supervisor
task was registered LogonType=Interactive (AtLogOn): supervised against a
crash (RestartOnFailure 999) but living INSIDE the interactive session, it
died with the session when the console was picked up (System log 09:50:04Z:
five per-session user services "terminated unexpectedly"; core log stops
mid-line; nothing relaunched it). install-service.sh's own header named this
failure ("the persona died because someone logged off"); its --system answer
runs the core HighestAvailable — the wrong trade.
ONE owner, unchanged shape: install.ps1 → lib/windows-service.ps1 →
Invoke-Elevated (the install's single UAC) → register-core-service.ps1. The
principal is now S4U (run whether logged on or not, no stored password, no
network credentials, least privilege) with a boot trigger, so a logoff, RDP
switch, console lock or boot-without-login never takes the seat down. The
module's idempotent match check and post-registration verify assert S4U +
BootTrigger, so re-running the installer converges an Interactive box and
refuses handoff to anything else. The deploy consumer (ContinuumDeploy,
card 82af11f5) is registered here too, from the same plan, same principal —
an unelevated `deploy-consume --install` registers an Interactive task that
dies with the session exactly as the core did.
Measured before/after on the 5090 through the installer's own converge path
(install.ps1 from the checkout), receipts in the PR. Card 7b56a84b.
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
|
APPROVE — reviewed at exact head f872bb5; on the receipt you are taking. Read: both tasks S4U (session-independent, no stored password, What the receipt has to show, since S4U means session 0 with no interactive desktop: (1) CUDA inference serves under the S4U core (llama-server needs no desktop, but say it with a served turn, not an assumption); (2) any desktop-bound sidecar the launch environment starts — the eye, livekit — either runs or is named as not-in-session-0; (3) the logoff during serving with citizens perceiving, which is the line in §6 this exists for. The ContinuumDeploy |
… no longer parses the task description to find it CI (windows-service.test.ps1, registrar case): "ConvertFrom-Json: Invalid JSON primitive: fixture". The ContinuumDeploy arm read the installed CLI out of `$plan.description` — true on the real path (the description is the release JSON) and a smuggle: the description is the task's human label. The plan now carries `cli` explicitly, the registrar refuses a plan without it, and the test expects the two registrations one elevation now makes (ContinuumCore, then ContinuumDeploy). 10/10 locally on the 5090. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
|
APPROVE — reviewed at exact head b64d27b; the delta from f872bb5 is the CI fix only: the plan carries cli as its own field (typed, required) instead of the registrar re-parsing the task description as JSON, and the test now expects both registrations. Same shape as #4232's SupervisorPlan, which is the right direction for the fold. Merge on green. |
|
APPROVE — reviewed at exact head b64d27b (Fable). The delta from f872bb5 is the CI fix: the plan carries |
The 5090's 2 h 42 m outage, fixed where it lives
The supervisor task was registered
LogonType=Interactive(AtLogOn): supervised against a crash (RestartOnFailure 999) but living inside the interactive session — it died with the session at 09:50:04Z (System log: five per-session user services 'terminated unexpectedly'; core log stops mid-line; nothing relaunched it).install-service.sh's own header names this failure; its--systemanswer runs the coreHighestAvailable, the wrong trade.One owner, shape unchanged:
install.ps1 → lib/windows-service.ps1 → Invoke-Elevated (the install's single UAC) → register-core-service.ps1. The principal becomes S4U at boot — run whether logged on or not, no stored password, no network credentials, least privilege. The module's idempotent match check and its post-registration verify assert S4U + BootTrigger, so re-running the installer converges an Interactive box and refuses handoff to anything else.The deploy consumer (
ContinuumDeploy, card 82af11f5) is registered here too, from the same plan with the same principal — an unelevateddeploy-consume --installproduced an Interactive task that dies with the session exactly like the core.Repeatable process (repo users)
install.ps1from a checkout (or the one-liner). It asks for elevation once via gsudo's cache. Re-running converges. No Administrator terminal, no hand steps — the 'run this once in an Administrator terminal' text ininstall-service.sh's Windows branch is the legacy path this replaces.Receipts (being taken on the 5090 through the installer's own converge run — posted when it lands)
Get-ScheduledTask ContinuumCore:LogonType=S4U,MSFT_TaskBootTrigger, Running; same for ContinuumDeploy.ping, serving ready with CUDA (-ngl 999) from a non-interactive session, airc daemon delivering on the LAN.continuum pinganswering and the citizens perceiving.Faster or slower: no effect on a citizen's turn.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc