Archived
docs: add improvement task plan
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
# 01. Fix lint and add CI scripts
|
||||||
|
|
||||||
|
Status: pending
|
||||||
|
|
||||||
|
Make the hygiene baseline green and easy to run locally/CI:
|
||||||
|
|
||||||
|
- fix current `npm run lint` failures;
|
||||||
|
- keep `npm run typecheck` green;
|
||||||
|
- add a single verification script that runs typecheck and lint.
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# 02. Extract shared DTO/event types
|
||||||
|
|
||||||
|
Status: pending
|
||||||
|
|
||||||
|
Move duplicated API/session DTO definitions into shared modules used by both client and server.
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# 03. Split client API into feature clients
|
||||||
|
|
||||||
|
Status: pending
|
||||||
|
|
||||||
|
Decompose `src/client/src/api.ts` into composable feature clients, shared HTTP helper, parsers, URL builders, and socket helpers.
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# 04. Extract file/git controllers from PiWebApp
|
||||||
|
|
||||||
|
Status: pending
|
||||||
|
|
||||||
|
Move file explorer and git orchestration out of `PiWebApp` into focused controllers.
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# 05. Add Vitest and pure unit tests
|
||||||
|
|
||||||
|
Status: pending
|
||||||
|
|
||||||
|
Add a test runner and cover pure/domain logic such as route parsing, chat transcript updates, cache merge, path safety, and git parsing.
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# 06. Type the session event protocol
|
||||||
|
|
||||||
|
Status: pending
|
||||||
|
|
||||||
|
Define a shared discriminated union for session UI events and use it across server event publishing, sockets, and transcript handling.
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# 07. Improve session daemon health and lifecycle
|
||||||
|
|
||||||
|
Status: pending
|
||||||
|
|
||||||
|
Add health visibility and explicit lifecycle cleanup for the long-lived session daemon.
|
||||||
Reference in New Issue
Block a user