v2026.05.17
π§Ύ v2026.05.17 β AI Audit Logs and Grok Model
β¨ New Features
- π§Ύ AI Audit Log β every OpenRouter evaluation now writes the exact request body and raw response to
logs/ai_audit.jsonl - π§Ή 7-Day Audit Retention β audit records older than 7 days are pruned by
created_aton each write - π€ Grok 4.3 Default Model β the default OpenRouter model is now
x-ai/grok-4.3 - π§΅ Context-Friendly Prompting β the quote prompt now explicitly asks for the minimal dialogue context when the punchline depends on setup or a reply chain
π§ Improvements
- π The AI contract now clearly says to use internal
idvalues forprimary_id,context_ids, and scores, whilemessage_idremains Telegram metadata only - π³ Docker Compose now mounts
/app/logsso file logs survive container rebuilds - π§Ό
.dockerignorekeeps.env, local logs,.venv,.git, and collaborator files out of Docker build context - π AI audit records do not include authorization headers or API keys, and are written to files instead of Docker stdout/stderr
ποΈ Database Changes
No database migration required.
β Validation
.venv/bin/python -m pytestβ 44 passed.venv/bin/alembic headsβ20260513_01 (head)git diff --checkβ clean- WS04
docker compose configβ clean for the existingquotostack - OpenRouter public model list confirms
x-ai/grok-4.3
Full documentation: README.md | README.ru.md