feat: 为每个 feature 增加双语 glossary 并同步 ba-write-spec

统一语言落在 glossary.md(中文|英文),iteration1 九份按规格提炼;模板与 harness 安装约定一并回写。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ning-inspire
2026-11-17 14:09:19 +08:00
parent 28f0490dbf
commit 040abf69d0
34 changed files with 555 additions and 22 deletions

View File

@@ -0,0 +1,58 @@
# 术语表
> 本 feature 统一语言(Ubiquitous Language)。规格、Plan、代码命名应对齐本表。
| 中文 | 英文 | 说明(可选) |
|---|---|---|
| 通知 | Notification | 通知消息 |
| 支付回调 | PaymentCallback | 支付/退款回调记录 |
| 服务费率版本 | FeeRateVersion | 服务费率版本 |
| 审计日志 | AuditLog | 审计日志 |
| 限流策略 | RateLimitPolicy | 限流策略 |
| 通知 ID | notification ID | 字段 |
| 接收人 ID | recipient ID | 字段 |
| 事件类型 | event type | 字段 |
| 标题 | title | 字段 |
| 内容 | content | 字段 |
| 业务类型 | business type | 字段 |
| 业务 ID | business ID | 字段 |
| 已读时间 | read at | 字段 |
| 创建时间 | created at | 字段 |
| 渠道 | channel | 字段 |
| 投递状态 | delivery status | 字段 |
| 尝试次数 | attempt count | 字段 |
| 下次重试时间 | next retry at | 字段 |
| 失败码 | failure code | 字段 |
| 记录 ID | record ID | 字段 |
| 回调单号 | callback ID | 字段 |
| 回调类型 | callback type | 字段 |
| 网关 | gateway | 字段 |
| 业务单 ID | business order ID | 字段 |
| 金额 | amount | 字段 |
| 验签结果 | signature valid | 字段 |
| 处理状态 | process status | 字段 |
| 接收时间 | received at | 字段 |
| 费率版本 | fee rate version | 字段 |
| 服务费率 | service fee rate | 字段 |
| 生效时间 | effective at | 字段 |
| 失效时间 | expire at | 字段 |
| 创建人 | created by | 字段 |
| 日志 ID | log ID | 字段 |
| 操作人 | operator | 字段 |
| 动作编码 | action code | 字段 |
| 对象类型/ID | target type/ID | 字段 |
| 结果 | result | 字段 |
| 来源 IP | source IP | 字段 |
| 链路追踪 ID | trace ID | 字段 |
| 操作时间 | operated at | 字段 |
| 策略键 | policy key | 字段 |
| 限额 | limit | 字段 |
| 窗口秒数 | window seconds | 字段 |
| 数据请求类型 | data request type | 字段 |
| 完成时间 | completed at | 字段 |
| 站内信 | inbox message | |
| 回调 | callback | |
| 幂等 | idempotency | |
| 限流 | rate limit | |
| 审计 | audit | |
| 备注 | remark | 通用 |

View File

@@ -55,6 +55,8 @@ NEW
## 2. 功能说明
术语表见 [glossary.md](./glossary.md)。
### 2.1 功能概述
为三端业务提供横切基础设施约定;业务 spec 引用本文件中的规则编号。