fix(close): keep a disproved boot on record and decide it in the daemon

Merged
TH
2d ago
+323-107

Summary

Follow-up to #4864 (#4791). A boot that a session disproved stays on the session record until the session owns a stop, so a later plain close still warns boot-owner-unverified. CloseBootOwnership becomes the exclusive union proved | inferred | disproved | none, and the ownership decision moves from contracts to the daemon session lifecycle (ADR 0038). The refusal read matches CoreSimulator's own wording only. Help and the iOS skill card state the rule.

Before / after

callbasehead
open (boot disproved), reopen finds it up and fails at dispatch, then closesimulator kept, no warningsimulator kept, warnings: [boot-owner-unverified]
close --shutdown on a disproved sessionstopsstops, no warning

Validation

Head rebased onto 0.22 at 62f24be4fd. Local: build, typecheck, lint, layering, command-docs, daemon-wire-compat, full vitest --project unit-core (20891 passed). Mutation-checked: removing the lifecycle forwarding or the store retention turns the new tests red. Live cases on #4864 still describe the running-simulator behavior. CI: hosted checks at this head.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.