¶ 2026-06-27 Bodylog profile chat agent rollout
Bodylog was updated to add an authenticated profile chat agent in the web workspace. The chat is user-scoped and uses a two-stage agent flow: it first selects typed profile data tools, then answers from the executed tool results.
- Repository: BodyLog/Bodylog.dev
- Branch merged to main: feature/agentic-profile-chat
- Main commit: aa905406156bd4e470cc635afd68f3cbd4fcf5f1
- Deployed image: gitea.app.lan/bodylog/bodylog.dev:sha-aa905406156b
- Added POST /api/chat/messages.
- Added a web workspace chat drawer.
- Added profile data tools for profile, nutrition, training, health, and body measurements.
- Health context includes synced telemetry such as sleep, stress, heart-rate, HRV, steps, and open health issues when selected.
- LLM usage is recorded under operation profile_chat with stages tool_selection and reply.
- Local backend tests: cargo test, 139 passed.
- Local frontend tests: npm test, 46 passed.
- Local frontend build: npm run build, passed.
- Gitea main branch confirmed at aa905406156bd4e470cc635afd68f3cbd4fcf5f1.
- Kubernetes rollout: deployment/bodylog successfully rolled out.
- Runtime image: gitea.app.lan/bodylog/bodylog.dev:sha-aa905406156b.
- Runtime health check: https://bodylog.dev/healthz returned ok.
- Backend startup log confirmed OPENAI_API_KEY configured: yes.
- Unauthenticated POST /api/chat/messages returned 401, confirming the route is behind auth.
No manual Kubernetes mutation was used for the application rollout; deployment occurred through the repository autodeploy workflow after pushing main.