Commit graph

3 commits

Author SHA1 Message Date
mateo-berri
a9aa4337a9
test(faros): proxy admin placeholder user id is not reported as a Faros user
https://claude.ai/code/session_01S79266vJDYzh7ay3nQ9ENW
2026-06-10 21:18:48 +00:00
mateo-berri
a547735dd4
test(faros): cover callback retrieval path, empty batch, and no-event-loop init
https://claude.ai/code/session_01S79266vJDYzh7ay3nQ9ENW
2026-06-10 19:07:56 +00:00
mateo-berri
1f7d1f912c
feat(integrations): add Faros AI usage logging callback (LIT-2524)
Adds a faros callback that batches successful LLM requests and upserts
them into a Faros graph as canonical vcs_UserToolUsage records (with
backing vcs_UserTool and vcs_User records) via the Faros GraphQL API,
the same write path Faros' own first-party usage trackers use. User
identity resolves from key user email, then key user id, then the
request user param; the proxy admin placeholder id is ignored so master
key traffic attributes to the explicit user param.

https://claude.ai/code/session_01S79266vJDYzh7ay3nQ9ENW
2026-06-10 18:58:36 +00:00