Commit graph

2 commits

Author SHA1 Message Date
jedarden
f07ba9575b repo hygiene: remove committed build artifacts and stale config.bak
- Remove coverage/ directory (HTML and lcov files)
- Remove lcov.info and librust_out.rlib build artifacts
- Remove stray file '1' at repo root
- Remove dead config.bak/ module (unreferenced backup)
- Update .gitignore to exclude coverage/, lcov.info, and *.rlib patterns

Verified:
- No references to config.bak or librust_out in codebase
- cargo check --workspace compiles successfully
- notes/, .beads/, tests/, dashboards/ untouched
2026-07-02 07:46:48 -04:00
jedarden
ace9b2b77f P7.5.a: Request ID middleware + X-Request-Id response header
Implemented axum middleware that generates a UUIDv7 per inbound request
with an 8-character hex prefix exposed as X-Request-Id response header.

- Added RequestId newtype wrapper for type-safe extension access
- request_id_middleware generates UUIDv7, hashes to 8-char hex ID
- Stores in Request extensions for handler access
- Preserves existing x-request-id header if present
- Wire into main router via middleware layer

Acceptance:
- Every response includes X-Request-Id: <8-char hex>
- Request.extensions().get::<RequestId>() works from handlers
- Unit tests verify uniqueness across consecutive requests

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-21 08:01:30 -04:00