fix(glossary): 修复历史 V1 漂移并建立 V2 迁移
bat-rust / Build and test Rust (push) Waiting to run
bat-rust / Build and test Go API (push) Waiting to run

This commit is contained in:
2026-09-17 21:25:29 +08:00
parent 7f7d757f15
commit e486f1aaaa
13 changed files with 679 additions and 86 deletions
+3 -2
View File
@@ -213,8 +213,9 @@ bat i18n worker run \
`--watch`,因此可以单次、限定次数或周期执行;`--run-count > 1` 时仍必须
显式指定 `--interval`
Glossary V1 是 Rust `bat` 持有的独立项目级 SQLite 资产,默认位于
`<output>/glossary.sqlite`也可以用 `--glossary-path`
Glossary V2 是 Rust `bat` 持有的独立项目级 SQLite 资产,默认位于
`<output>/glossary.sqlite`V2 正式吸收历史上的 `glossary_term_deletions`
schema drift;也可以用 `--glossary-path`
`BAT_GLOSSARY_PATH``[translation.worker].glossary_path` 指定。worker 只把
`approved` term 转成 provider-neutral constraints,并在 TM 复用、provider 返回
和人工工作台/任务回写时执行相同的确定性 QA。冲突或不符合推荐/允许译法的结果会