refactor: extract daemon task spawning
This commit is contained in:
parent
fd3651b25f
commit
e7502a7237
3 changed files with 43 additions and 35 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue