Done: GET /api/v1/health answer a Server-Timing header naming session, health, render, in that order, the way GET …/tags does (notePhase(ctx.request, "session", takeSessionTime(ctx.request)), then timePhase/timePhaseAsync around the read and around json(…)). The bodies, status codes and access rules do not change.
[ ] Each route above names its phases; a refused read (401/403/404) still names session.
[ ] One test per route asserts the header's phase names in order (pattern: test/crew-timing.test.ts), and fails without the change.
[ ] bun test for the touched files passes.
Files: src/http/api.ts, one new test file.
Risk: none to behaviour; keep the access check outside the read's phase, and never put a name, token or value in a phase.
Done: GET /api/v1/health answer a
Server-Timingheader namingsession,health,render, in that order, the way GET …/tags does (notePhase(ctx.request, "session", takeSessionTime(ctx.request)), thentimePhase/timePhaseAsyncaround the read and aroundjson(…)). The bodies, status codes and access rules do not change.session.bun testfor the touched files passes.Files: src/http/api.ts, one new test file. Risk: none to behaviour; keep the access check outside the read's phase, and never put a name, token or value in a phase.