platform

计费与点数账本

为 subscriptions、credits、accepted execution 扣费与后续市场分成预留的文档接口。

Audience

开发者 / 运营

Updated

2026-03-24

Source

docs/data-foundation.md

当前已知原则

  • Testing is not a billing bypass
  • 任何 accepted execution 都应写入账本
  • 编辑可免费,执行需检查 credits
  • 收益分成必须先写 settlement ledger,再进入自动打款

当前代码状态

Usage 模块已有前端入口,但真实扣费、对账、分成与打款还没有接上数据库与执行器。

当前工作台进度

Usage workspace page 已经升级为 ledger workbench,用来承接 preview、reservation、accepted execution 与 future settlement hold 的统一视图。