jsdoc typing round, phases 1-2: tsc as a no-emit checker over plain mjs (checkJs, strict), the shared shapes in server/shapes.mjs (log events as a tagged union, wire messages, manifests, job state, the ctx), all 12 server modules annotated; requireOwner/requireSuperuser as JSDoc assertion functions so the router guarantee narrows without callsite churn; runtime stays zero-dependency (typescript + @types/node as pinned devDeps, node_modules gitignored, QUESTIONS #4 amended: dev tooling exempt); every non-annotation delta audited onto a small intended list (clerk status ?? 1, dead 401 guards, async wraps on enqueue callsites); smoke 105/105 + restart + repo checks green; the clerk and web/ are the next phases
This commit is contained in:
+7
-5
@@ -171,11 +171,13 @@ example, gitignored real file, env-var option).
|
||||
per-user seam.
|
||||
- **Boutique is dormant** -- a stub that never reached its design step;
|
||||
untouched until its drafting session.
|
||||
- **Stack: zero-dependency** (QUESTIONS #4 resolved). `node:http` with
|
||||
a hand-rolled router, no-build vanilla ES-module SPA, no
|
||||
`package.json`. The hard parts of this project are prompt-side and
|
||||
clerk-side; the web side at loopback single-user scale is the easy
|
||||
part.
|
||||
- **Stack: zero-dependency runtime** (QUESTIONS #4, amended
|
||||
2026-11-15). `node:http` with a hand-rolled router, no-build
|
||||
vanilla ES-module SPA; clone-and-run with node alone. Dev tooling
|
||||
is exempt: `typescript` + `@types/node` type-check the JSDoc
|
||||
annotations (`tsc` no-emit -- everything stays `.mjs`). The hard
|
||||
parts of this project are prompt-side and clerk-side; the web side
|
||||
at loopback single-user scale is the easy part.
|
||||
|
||||
## The multiuser server (2026-11-14, GM)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user