You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`analytics.routes.ts` now consumes an explicit route dependency bundle split into `journal`, `sessions`, `strategy`, and `curves`, so the HTTP layer no longer depends on one flat file-watcher-shaped read surface.
48
-
-`analytics.constants.ts` now owns analytics route paging, recent-window, and fallback-message constants instead of leaving route magic numbers and fallback strings inline.
49
-
-`route-response.ts` now builds an explicit route response context before writing success or error envelopes, keeping request-id normalization and shared route execution behavior on one runtime seam.
50
-
-`route-response.test.ts` now guards the shared response helper directly, while`web-server.functional.test.ts`proves the analytics route bundle stays on the narrowed delegates.
44
+
- 2026-06-03: completed `packages/web-server/src/swagger.config.ts web server OpenAPI contract surface boundary follow-up`.
45
+
- 2026-06-03: completed `packages/web-server/src/runtime-discovery-guidance.ts web server runtime discovery guidance boundary follow-up`.
46
+
- 2026-06-03: completed `packages/web-server/src/middleware/request-logging.middleware.ts web server runtime logging boundary follow-up`.
47
+
-`runtime-discovery-guidance.ts` now owns the runtime discovery paragraphs, OpenAPI description assembly, server description copy, and shared docs HTML section so the docs and OpenAPI layers consume one runtime-copy boundary.
48
+
-`request-logging.middleware.ts` now resolves logging config once and delegates finish/error lifecycle logging through focused helpers while still emitting the same shared HTTP log payloads.
49
+
-`swagger.config.ts` now relies on `swagger-contract-helpers.ts` for shared schema, request-body, and envelope builders so the file stays focused on the exported OpenAPI contract surface.
50
+
-`request-logging.middleware.test.ts` now guards config normalization directly, and`web-server.functional.test.ts`continues to prove the runtime discovery and OpenAPI surfaces stay behaviorally stable.
-`analytics.routes.ts` now depends on a nested analytics route bundle (`journal`, `sessions`, `strategy`, `curves`) instead of a flat file-watcher-shaped read surface.
60
-
-`analytics.constants.ts` now owns route defaults and fallback strings for analytics paging, recent-history reads, and curve endpoints.
61
-
-`route-response.ts` now creates an explicit route response context before writing shared success/error envelopes, and `route-response.test.ts` directly guards request-id normalization plus fallback error behavior.
56
+
- 2026-06-03: completed `packages/web-server/src/swagger.config.ts web server OpenAPI contract surface boundary follow-up`.
57
+
- 2026-06-03: completed `packages/web-server/src/runtime-discovery-guidance.ts web server runtime discovery guidance boundary follow-up`.
58
+
- 2026-06-03: completed `packages/web-server/src/middleware/request-logging.middleware.ts web server runtime logging boundary follow-up`.
59
+
-`runtime-discovery-guidance.ts` now owns the runtime discovery paragraph set, docs HTML section, OpenAPI description assembly, and default runtime server description instead of leaving those strings split across `index.ts` and `swagger.config.ts`.
60
+
-`request-logging.middleware.ts` now resolves logging config through one shared boundary and delegates finish/error event logging through focused helpers over the existing request-scoped payload builders.
61
+
-`swagger.config.ts` now consumes `swagger-contract-helpers.ts` for shared OpenAPI envelope, schema-alias, and request-body builders so the file stays focused on the exported contract map.
62
62
63
63
## Last Verification
64
-
-`npm test -- --runInBand packages/web-server/tests/route-response.test.ts`
64
+
-`npm test -- --runInBand packages/web-server/tests/request-logging.middleware.test.ts`
65
65
-`npm test -- --runInBand packages/web-server/tests/web-server.functional.test.ts`
0 commit comments