refactor: move server startup CLI to wf_server

This commit is contained in:
lda
2026-06-10 22:57:11 +07:00 Verified
parent 308338cd0e
commit 5c60ff5b9c
9 changed files with 161 additions and 145 deletions
@@ -2,7 +2,7 @@
Date: 2026-06-10
Status: design direction; implementation not started
Status: first move slice implemented
Related:
@@ -90,6 +90,16 @@ wf-rpc-server = "wf_server.cli:main"
Keep `wf_transport_rpc_http.cli` temporarily so tests and imports do not break
immediately.
## Implementation Status
First move slice complete:
- `wf-rpc-server` script entrypoint points at `wf_server.cli:main`.
- `wf_server.cli` owns startup config parsing and server composition.
- `wf_transport_rpc_http.cli` remains as a compatibility shim.
- `wf_transport_rpc_http.create_rpc_app(server)` remains the JSON-RPC HTTP
transport adapter.
## Why Not Move `create_rpc_app`
`create_rpc_app(server)` is transport code: