vault backup: 2026-04-24 18:09:39

This commit is contained in:
Vadym Samoilenko 2026-04-24 18:09:39 +01:00
parent 0f51bf0525
commit 4f36032baf
2 changed files with 11 additions and 2 deletions

View file

@ -9,8 +9,8 @@ url:
server: GCP (same issue as Mod Comms — 30s LB timeout)
tags: [oliver, ai, synthetic-personas, focus-group, insights, gcp, socketio]
created: 2026-04-14
last_commit: 2026-03-30
commits: 109
last_commit: 2026-04-24
commits: 110
---
## Overview
@ -72,6 +72,7 @@ cd backend && python run.py # Starts on port 5137
## Timeline / Git History
| Date | Change |
|------|--------|
| 2026-04-24 | Add LLM usage tracking infrastructure (Phases A-C) |
| 2026-03-30 | Fix: task result not stored in useTaskPolling (false 'no personas' error) |
| 2026-03-23 | Fix AI autonomous mode: cross-loop WebSocket emit + polling fallback |
| 2026-03-23 | Allow document uploads (PDF, DOCX, TXT) as focus group assets |
@ -80,6 +81,10 @@ cd backend && python run.py # Starts on port 5137
| 2026-03-23 | Fix naive vs aware datetime crash + stuck AI mode |
## Sessions
### 2026-04-24 Check if user management and token
**Asked:** Check if user management and token usage tracking with cost breakdown by project/user exists, and create an implementation plan if missing.
**Done:** Verified 70/70 tests passing and confirmed usage infrastructure foundation exists; provided implementation plan outline with model requirements pending pricing details.
### 2026-04-24 Check if the codebase has user
**Asked:** Check if the codebase has user management and token cost tracking by project/user, and create an implementation plan if missing.
**Done:** Analyzed codebase structure and identified missing token cost tracking; created implementation plan requiring cost configuration for supported models.
@ -99,6 +104,7 @@ cd backend && python run.py # Starts on port 5137
## Change Log
| Date | Requested | Changed | Files |
|------|-----------|---------|-------|
| 2026-04-24 | Usage tracking system | LLMCallContext, cost breakdown by project/user, admin dashboard | backend/tests/test_usage_infrastructure.py, llm_service.py, conftest.py |
| 2026-04-24 | Token cost tracking | Add cost config per model, create Usage and Project models, add cost calculation to LLM service | models.py, llm_service.py, CLAUDE.md |
| 2026-04-24 | Token cost tracking system | Add tiktoken dependency, create user management module, implement cost tracking by project and user | requirements.txt, CLAUDE.md |
| 2026-04-24 | CLAUDE.md enhancement | Fixed wiki path, added npm run dev command, clarified ASGI architecture and async Motor/PyMongo distinction | CLAUDE.md |

View file

@ -302,3 +302,6 @@ tags: [daily]
- 18:05 | `cinema-studio-pro-kling`
- **Asked:** Fix generation failures for Veo and Kling API errors and push changes to git.
- **Done:** Committed and pushed all changes to git, then updated Obsidian wiki in parallel.
- 18:08 | `semblance`
- **Asked:** Check if user management and token usage tracking with cost breakdown by project/user exists, and create an implementation plan if missing.
- **Done:** Verified 70/70 tests passing and confirmed usage infrastructure foundation exists; provided implementation plan outline with model requirements pending pricing details.