refactor: extract daemon task spawning

This commit is contained in:
Eric Wendland 2026-07-05 17:37:12 +02:00
commit e7502a7237
3 changed files with 43 additions and 35 deletions

View file

@ -37,9 +37,10 @@ behavior.
- `[~]` Extract daemon startup and runtime ownership.
Acceptance criteria:
- `[ ]` Daemon startup, shutdown, signal handling, socket setup, Iroh
endpoint ownership, and background task spawning live outside the main
feature handler module.
- `[ ]` Daemon startup, shutdown, signal handling, socket setup, and Iroh
endpoint ownership live outside the main feature handler module.
- `[x]` Iroh accept-loop and background live-sync task spawning live outside
the main feature handler module.
- `[x]` Runtime state is represented by narrow structs with documented
ownership and locking rules.
- `[ ]` Existing daemon startup and status tests pass unchanged.