# Changelog

> **This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.**

## Score

- CAI 51 → 56 (+5.2)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

## Lenses

- Code Health 62 → 76 (+13.8)
- Architecture 97 → 97 (+0.0)
- Maturity 65 → 69 (+3.7)
- Readiness 70 → 80 (+10.1)
- Security 29 → 32 (+2.8)
- Domain Modelling 100 → 100 (+0.0)
- Performance 100 → 100 (+0.0)

## Resolved (19)

- Deprecated: @opentelemetry/propagator-jaeger (pnpm-lock.yaml)
- Deprecated: @opentelemetry/sdk-trace-base (pnpm-lock.yaml)
- Deprecated: @opentelemetry/sdk-trace-node (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- Outdated (npm): @fastify/otel
- Outdated (npm): @fastify/request-context
- Outdated (npm): @graphql-tools/load-files
- Outdated (npm): @graphql-tools/merge
- Outdated (npm): @opentelemetry/api
- Outdated (npm): @opentelemetry/instrumentation
- Outdated (npm): @opentelemetry/instrumentation-http
- Outdated (npm): @opentelemetry/sdk-node
- Outdated (npm): env-schema
- Outdated (npm): graphql
- Outdated (npm): typebox

## New (18)

- Dependency hygiene PARTLY measured — npm pinning read, dependency currency not (registry.npmjs.org unreachable)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High CVE: [GHSA redacted] (pnpm-lock.yaml)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- Medium CVE: [GHSA redacted] (pnpm-lock.yaml)
- Medium CVE: [GHSA redacted] (pnpm-lock.yaml)
- Medium: security finding (details withheld)
- No assertions: drain() resolves at once when no handler is running (src/shared/cqrs/event-bus.spec.ts)
- No assertions: types the handler by its creator (checked by tsc) (src/shared/cqrs/request-bus.spec.ts)
- Repeated repair: src/config/env.ts (src/config/env.ts)
- Repeated repair: src/index.ts (src/index.ts)
- Repeated repair: src/shared/db/postgres.ts (src/shared/db/postgres.ts)
- redundant comment (src/server/index.ts)
- redundant comment (src/server/index.ts)

## Changes since last survey

- 300 commits — 234 feature/other, 66 fixes

## By area

- (root) — 106 commits
- src/shared — 57 commits
- src/server — 29 commits
- src/modules — 28 commits
- .agents/rules — 24 commits
- .github/workflows — 12 commits
- doc/CQRS.md — 9 commits
- src/config — 7 commits
- tests/user — 6 commits
- src/index.ts — 4 commits
- tests/support — 4 commits
- scripts/generate-types.sh — 3 commits
- tests/shared — 3 commits
- scripts/codegen.ts — 2 commits
- .husky/pre-commit — 1 commit
- db/migrations — 1 commit
- db/seeds — 1 commit
- src/declarations.d.ts — 1 commit
- src/declarations.ts — 1 commit
- src/instrumentation.ts — 1 commit

## Notable commits

- fix: chore(husky): check staged files in pre-commit without writing fixes
- fix: fix(api): cap the page size at 100
- fix: fix(api): keep client error status codes and answer unknown routes with the error envelope
- fix: fix(client): generate GraphQL enums as union types
- fix: fix(config): read the version from package.json
- fix: fix(config): reject a POSTGRES_URL port out of range
- fix: fix(config): reject a malformed POSTGRES_URL and out-of-range numbers at startup
- fix: fix(cqrs): refuse a second handler for the same command or query
- fix: fix(cqrs): reject instead of throwing synchronously in execute()
- fix: fix(cqrs): run queued sequential events in the context they were emitted in
- fix: fix(cqrs): stamp event metadata once, when the event is emitted
- fix: fix(db): answer 400 to values the column cannot hold
- fix: fix(db): connect with separate fields so credentials need no escaping
- fix: fix(db): keep seeds out of the migrations table and stop them writing schema.sql
- fix: fix(db): let a custom repository method call another one through this
- fix: fix(db): log Postgres notices through the logger
- fix: fix(db): log SQL queries through pino without their parameter values
- fix: fix(db): make insert([]) a no-op
- fix: fix(db): map driver errors to domain exceptions in every repository method
- fix: fix(db): map the driver error withTransaction rejects with
- …and 280 more
