Repository navigation
Experiment: qualify graceful daemon.shutdown lifecycle handoff - #16
mark-e-deyoung wants to merge 13 commits into
Conversation
|
Decision-changing hosted-Windows result on run |
|
Decision-changing qualification result: the V2-B1 shutdown candidate now passes the complete hosted-native lifecycle rep on both x64 Windows Server 2025 and native ARM64 Windows 11 (run 35117943543). In both treatments the fail-closed transform/configure/build succeeded, the focused two-phase lifecycle regression passed, a real named-pipe Root cause of the prior post-acknowledgement hang was broader than the CoreEngine handoff: background lifecycle owners still contained uninterruptible waits (30 s cleanup; potentially 24 h update/30 s rendezvous) and the named-pipe listener could re-enter blocking Scope boundary: this is hosted-native behavioral evidence for graceful shutdown only. It does not constitute private promotion/merge/release authority or controlled interactive WinBot/native-desktop acceptance. A separate protocol defect observed by this rep—dispatched responses lose the request correlation ID ( |
|
Cross-domain PRE/POST/FRAME proving rep: use this already-qualified shutdown lifecycle as Rep C under Recover the smallest contract that explains the observed failure/recovery sequence: REQUIRES daemon running; transport connected; shutdown lifecycle hook installed; owned lifecycle resources/threads/listeners are accounted for. MODIFIES daemon lifecycle state, shared run gate, listener/owned worker state needed for bounded teardown. PRESERVES unrelated configuration, request/response semantics outside shutdown, authority/config surfaces, diagnostics observability. ENSURES_SUCCESS success response is emitted before shutdown activation; blocking listeners and periodic workers become interruptible; owned threads/resources complete; daemon reaches terminal stopped state; process exits 0 within the existing bound. ENSURES_FAILURE partial shutdown must not silently strand owned resources; diagnostic evidence remains available; unrelated configuration/authority is not mutated. PROGRESS only if it adds independent value: bounded teardown must complete without weakening the timeout. Use the prior iteration as the falsifier: it satisfied the immediate RPC acknowledgement path but violated the whole-system postcondition because periodic waits and the listener could block teardown. Record whether explicit postconditions would have localized that defect earlier than the existing unit/runtime test split. Check one seam (e.g. CoreEngine shutdown request -> transport/lifecycle owner) and classify |
DOPAV historical experiment complete — close without product mergeBounded daemon.shutdown source-transform hosted-native public experiment completed with two successful independent x64 Server 2025 and ARM64 Windows 11 Windows jobs. This experimental synthetic public source lane was explicitly not granted product merge/release authority; preserve immutable source and test receipts as design/qualification evidence, and defer authoritative C++ re-intake to the private product DLE. Exact terminal source: |
Public hosted-native qualification candidate for the daemon shutdown lifecycle.
The candidate is generated by a fail-closed exact transform over the sanitized public source. Each replacement aborts unless the expected public baseline block exists exactly once, so source drift fails closed rather than producing a fuzzy patch.
The public candidate tests the smallest daemon-owned lifecycle repair:
Stoppedafter cleanup.The workflow applies that public transform, builds x64 Windows Server 2025 and native ARM64 Windows 11, runs the focused lifecycle regression, launches the real daemon, sends
daemon.shutdownover the named pipe, requires the OK response, and requires bounded zero-code process teardown.Private tracking coordinates, private source identity, private repair lineage, and internal failed patch attempts are intentionally not reproduced in this public record.
This is hosted-native behavioral qualification only. It grants no merge/release/promotion authority and does not establish controlled interactive WinBot acceptance.