sandcastle: @coa/server Hono scaffold with GET /api/health (#10) #24
No reviewers
Labels
No labels
agent-blocked
agent-working
bug
deferred
enhancement
model-haiku
model-opus
model-sonnet
needs-info
needs-triage
no-triage
priority
product-decision
ready-for-agent
ready-for-human
ready-for-session
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/coa!24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/issue-10"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #10
Plan Task 6. New workspace package `server` (@coa/server): - src/app.ts: buildApp(deps), defaultDeps(), AppDeps = { fetch, tcpConnect } - src/routes/health.ts: GET / → { ok: true, phase: 1 }, mounted at /api/health - src/index.ts: listens on COA_PORT (default 8787) - test/health.test.ts: GET /api/health → 200 { ok: true, phase: 1 } Decisions: - Added @types/node (^22.0.0) to devDependencies — not in the plan's dep list, but src/app.ts uses `node:net` and src/index.ts uses `process`, so it is required for `pnpm -r typecheck` to exit 0. Lockfile committed. - buildApp keeps the unused `deps` param per the plan's interface; the prober wired through it is Task 7, out of scope here. Out of scope (deferred): prober, validate-backend, submit routes. Files: server/{package.json,tsconfig.json,vitest.config.ts,src/app.ts, src/index.ts,src/routes/health.ts,test/health.test.ts}, pnpm-lock.yaml, STATUS.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>