From eb8eedb07f69bf1036e37128f0c5332b702e85bc Mon Sep 17 00:00:00 2001 From: john Date: Wed, 5 Aug 2026 10:04:02 +0800 Subject: [PATCH] docs: register billing session cost fix branch disposition Record closure of feature/billing-session-cost-priority after merge to main and 103 release 20260805-095542-44121df. Co-authored-by: Cursor --- docs/branch-disposition.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/branch-disposition.md b/docs/branch-disposition.md index 9dd97c3..8237f4b 100644 --- a/docs/branch-disposition.md +++ b/docs/branch-disposition.md @@ -428,3 +428,27 @@ Portal,避免在线修改稳定 `.env`,并确保稳定 8081 与其他用户 - Flux 服务已下线;本地分支已删除。 - **不要** merge、cherry-pick 或从 `ea5b732` 构建 runtime/artifact。 - 103 生产 manifest 已回到 `main` @ `6a48e0a`。 + +## `feature/billing-session-cost-priority` + +**状态:禁止再次引用。改动已提交并进入 `origin/main`,103 已发布,该分支保留仅用于只读追溯。** + +审计日期:2026-08-05 +分支 HEAD:`e7f0627` +`origin/main` 对应提交:`44121df`(103 生产 release `20260805-095542-44121df`) + +### 原始用途 + +修复计费回退 Token 估价导致 DeepSeek 上游成本严重超扣;优先使用 Goose session `accumulated_cost`;新增 8 月 4 日起用户补偿脚本并在 103 执行补偿。 + +### 验证摘要 + +- `node --test billing-token-state.test.mjs billing.test.mjs` +- `node --test db.test.mjs capabilities.test.mjs llm-providers.test.mjs wechat-mp.test.mjs` +- 103 补偿脚本 dry-run + apply(4 用户,合计 ¥94.11) + +### 最终处置 + +- 保留本地分支名用于审计追溯。 +- **不要** merge、cherry-pick 或从该分支构建 runtime/artifact。 +- 103 生产依据 `44121df` / release manifest `20260805-095542-44121df`。