补齐 REV004 字典绑定矩阵与字典种子脚本 #5

Open
tangweijie wants to merge 26 commits from feat/rev004-dict-alignment-docs into main

26 Commits

Author SHA1 Message Date
8d7d07dbca docs: add meter reading billing bugfix evidence 2026-06-20 16:30:06 +08:00
c852eb21c3 docs(accounting): record unsold water option no-db evidence 2026-06-19 12:18:51 +08:00
fe0822ad51 docs(accounting): record unsold usage adjust validation evidence 2026-06-19 11:53:40 +08:00
31d41df418 docs(accounting): plan unsold preview option formalization 2026-06-19 11:14:50 +08:00
55b44a585c docs(accounting): design unsold preview option formalization 2026-06-19 11:00:52 +08:00
ad1a3e1829 docs(accounting): record split fixed fee evidence 2026-06-19 10:27:35 +08:00
3eccab2cf9 docs: 文档治理统一 — AGENTS.md 生命周期规则 + 模块归档 + DDL 修正
1. AGENTS.md 更新
   - water-docs: 新增 specs/ 与 docs/design/ 生命周期规则章节
   - water-backend: 更新协作引用(建设期/建成后、evidence 模块化)

2. specs/ 重复合并
   - 006-reminder-event-design 合并入 003-rev006-reminder-event-design
   - 001-rev004-accounting 删除冗余 data-model.md + contracts/
   - 002-rev005-invoice-flow 删除冗余 data-model.md + contracts/

3. evidence 按模块归档
   - 35 个 REV-004 文件归入 evidence/rev004-accounting/
   - 7 个通用 bugfix 文件归入 evidence/bugfix/ 和 bugfix/frontend/
   - 新建 rev005-invoice/、rev006-reminder/、rev007-statistics/ 目录

4. guides/ 清理
   - 14 个 REV004_*.md 移入 evidence/rev004-accounting/

5. 遗留文件处理
   - docs/research/ 归档到 Archive/06_Migration_Plans/
   - backend-check detached worktrees 清理

6. 交叉引用修复
   - 006-reminder-event-design → 003-rev006-reminder-event-design
   - docs/guides/REV004_ → docs/evidence/rev004-accounting/REV004_

7. DB 设计文档修正(01_Database_Design.md)
   - biz_invoice 明确为开票配置表,非发票记录表
   - 新增 biz_invoice_record 为发票申请/结果主表
   - 新增 biz_charge_invoice_rel 账单-发票关联说明
   - REV-005 承接口径表名全部修正

8. 发票审计证据
   - 新增 evidence/rev005-invoice/2026-06-16-invoice-document-audit.md
2026-06-16 11:47:16 +08:00
4432a33be7 spec: 分账连续阶梯重算设计文档 2026-06-12 15:21:24 +08:00
9f027b9b7c docs: 预存余额功能测试结果归档 (2026-06-10) 2026-06-10 01:47:51 +08:00
08550406ad docs(evidence): add counter settle filter bugfix verification 2026-06-09 11:33:29 +08:00
9cbd9a8b75 docs: add revenue bugfix verification evidence 2026-06-08 20:46:46 +08:00
1823213a0b docs: add revenue bugfix frontend evidence 2026-06-08 19:40:18 +08:00
97c505a01c docs: add revenue bugfix implementation plan 2026-06-08 18:01:07 +08:00
256b431add docs: add revenue bugfix first batch design 2026-06-08 17:50:01 +08:00
3bc4e4184f docs(rev004): record accountprocess real wiring evidence 2026-06-05 14:46:34 +08:00
ad2fa59232 docs: record native tag guard evidence 2026-06-05 12:47:25 +08:00
f2babf5353 docs(specs): add new spec documents 2026-05-18 17:38:12 +08:00
226816c6bf docs(output): add generated document exports 2026-05-18 17:38:06 +08:00
c6af582095 docs(rev004): add superpowers workspace plans and specs 2026-05-18 17:38:01 +08:00
e5baed4487 docs(rev004): add guides and handoff documents 2026-05-18 17:37:56 +08:00
fca2d54566 docs(rev004): add development evidence records 2026-05-18 17:37:51 +08:00
7d3472fe8a chore(sql): sync rev004 account adjust dict seed with work_status 2026-05-18 17:37:44 +08:00
a183e44db2 docs(planb): update network topology diagram 2026-05-18 17:37:40 +08:00
107bba565f docs(rev004): add formal document snapshots (RWB-01~RWB-04) 2026-05-18 17:37:36 +08:00
7ea2d5cbc9 docs(rev004): formal write-back of design documents (RWB-01~RWB-04) 2026-05-18 17:37:31 +08:00
8bb2496c16 chore(gitignore): ignore .omx directory 2026-05-18 17:37:25 +08:00