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,34 @@
# 术语表
> 本 feature 统一语言(Ubiquitous Language)。规格、Plan、代码命名应对齐本表。
| 中文 | 英文 | 说明(可选) |
|---|---|---|
| 时段 | TimeSlot | 30 分钟粒度时段 |
| 例外不可约 | SlotException | 例外不可约 |
| 周固定可约模板 | WeeklySlotTemplate | 周模板(来源 onboarding) |
| 时段 ID | slot ID | 字段 |
| 咨询师 ID | consultant ID | 字段 |
| 开始时间 | start at | 字段 |
| 结束时间 | end at | 字段 |
| 时长 | duration | 字段 |
| 容量 | capacity | 字段 |
| 已占数量 | occupied count | 字段 |
| 状态 | status | 字段 |
| 来源 | source | 字段 |
| 停用原因 | disabled reason | 字段 |
| 乐观锁版本 | optimistic lock version | 字段 |
| 创建时间 | created at | 字段 |
| 例外 ID | exception ID | 字段 |
| 例外日期 | exception date | 字段 |
| 例外类型 | exception type | 字段 |
| 原因说明 | reason note | 字段 |
| 起始日期 | start date | 字段 |
| 截止日期 | end date | 字段 |
| 星期集合 | weekdays | 字段 |
| 批量模式 | batch mode | 字段 |
| 档期 | schedule | |
| 不可约 | unavailable | |
| 占用 | occupy / lock | |
| 释放 | release | |
| 备注 | remark | 通用 |

View File

@@ -55,6 +55,8 @@ NEW
## 2. 功能说明
术语表见 [glossary.md](./glossary.md)。
### 2.1 功能概述
咨询师在周历上维护可约库存;系统保证与订单占用一致,并触发临近提醒。