Verification Strategy¶
Executable Validation
This page defines the preferred verification order for the daemon runtime.
Primary Automated Check¶
The code-backed lifecycle smoke test lives in tests/lifecycle_smoke.rs.
Its scope is intentionally narrow:
- launch daemon
- wait for localhost endpoint to become reachable
- request stop through CLI
- verify daemon endpoint goes away
- verify the daemon child process exits
This is the primary automated regression check for daemon start/stop behavior.
Recommended Validation Order¶
cargo test -- --test-threads=1powershell -File .\src\tests\dev-check.ps1powershell -File .\src\tests\windows-test.ps1 -StartDaemon -SeedReminder
Validation Philosophy
Use the narrowest executable check that can falsify the behavior you changed before widening into broader scripted or manual verification.
Compact index: Architecture Docs · Control API and Lifecycle · Windows Setup