Skip to content

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.

  1. cargo test -- --test-threads=1
  2. powershell -File .\src\tests\dev-check.ps1
  3. powershell -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