refactor: extract node runtime state
This commit is contained in:
parent
cad4bc0e74
commit
87fe47fd7f
3 changed files with 91 additions and 72 deletions
|
|
@ -35,12 +35,12 @@ Goal: make the documented local quality gate pass before deeper refactors.
|
|||
Goal: split `geth-node` into reviewable daemon subsystems without changing
|
||||
behavior.
|
||||
|
||||
- `[ ]` Extract daemon startup and runtime ownership.
|
||||
- `[~]` 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.
|
||||
- `[ ]` Runtime state is represented by narrow structs with documented
|
||||
- `[x]` Runtime state is represented by narrow structs with documented
|
||||
ownership and locking rules.
|
||||
- `[ ]` Existing daemon startup and status tests pass unchanged.
|
||||
|
||||
|
|
@ -330,7 +330,7 @@ Goal: prove the system works as an actual base layer before broader use.
|
|||
## Working Order
|
||||
|
||||
1. `[~]` Finish Phase 0.
|
||||
2. `[ ]` Refactor `geth-node` into daemon subsystems.
|
||||
2. `[~]` Refactor `geth-node` into daemon subsystems.
|
||||
3. `[ ]` Add stable contract and golden JSON tests.
|
||||
4. `[ ]` Harden store migrations and backup.
|
||||
5. `[ ]` Complete security-boundary test coverage.
|
||||
|
|
|
|||
Loading…
Reference in a new issue