From 84f67cab560c7eaf028fcc1f90487c86f8d893dd Mon Sep 17 00:00:00 2001 From: kiskaadee Date: Fri, 3 Jul 2026 06:09:58 -0500 Subject: [PATCH] docs(journal): record completion of Milestone 0 --- journal/2026-07-01.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 journal/2026-07-01.md diff --git a/journal/2026-07-01.md b/journal/2026-07-01.md new file mode 100644 index 0000000..ddae282 --- /dev/null +++ b/journal/2026-07-01.md @@ -0,0 +1,42 @@ +# Daily Journal: 2026-07-01 + +## Summary + +Completed Milestone 0 of the Backend Residency and prepared the repository to begin Milestone 1. + +## BiteTrack + +- Moved health-check endpoints outside the versioned API namespace (`/health`, `/healthz`). +- Added the initial router aggregation structure. +- Added a placeholder `users` router under `/api/v2/users`. +- Wrote a temporary `probe.sh` script for quickly verifying HTTP endpoints. +- Simplified the development flake after discovering that premature `LD_LIBRARY_PATH` injection introduced runtime issues. +- Verified: + - `docker compose up` + - FastAPI `/docs` + - Ruff + - Pyright + - pytest + +## Backend Residency + +- Marked Milestone 0 as completed. +- Updated ROADMAP.md. +- Updated CURRENT.md. +- Updated todo.md to begin Milestone 1. + +## Lessons Learned + +### Keep the devShell minimal + +Avoid adding linker configuration until a package actually requires native libraries. + +### Infrastructure endpoints should not be versioned + +Health checks belong outside `/api/vX`, allowing orchestrators and reverse proxies to probe the application independently from API versions. + +## Tomorrow + +- Begin Milestone 1. +- Read FastAPI routing and Pydantic documentation. +- Design the request/response schema for user registration. \ No newline at end of file