六池归池记账 + /cost 花费查询 #81
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
#77 [PRD] arise 运营与质量(决策快照 + 六池成本治理 + 管理命令)—— ADR-0010 完整落地
What to build
让部署者第一次能看到机器人花了多少钱,而且是按能力拆开看的——正常回复花了多少、主动开口花了多少、后台反思花了多少、深挖任务花了多少。不然部署者不知道该关掉哪个功能来省钱。
本片只做记账与可见性;预算上限与熔断是下一片(#82)的范围。
Acceptance criteria
RuntimeContext及各调度入口已经区分得很清楚)/cost管理命令:查今日/本月各池已花费,经is_admin校验(复用 #80 建立的权限与命令基建)Blocked by
LLMClient/EmbeddingClient契约携带 token 用量(没有用量数据就无从记账)is_admin+ 四个运行时管理命令(/cost需要权限校验与命令基建)