fix(glossary): 绑定 QA identity 与人工 override
bat-rust / Build and test Rust (push) Canceled after 0s
bat-rust / Build and test Go API (push) Canceled after 0s

This commit is contained in:
2026-09-09 00:25:49 +08:00
parent 0275a890bc
commit 68c6c91b1e
22 changed files with 844 additions and 92 deletions
+1
View File
@@ -513,6 +513,7 @@ type GlossaryTermSnapshot struct {
// GlossaryOverride records explicit human approval for a deviation.
type GlossaryOverride struct {
QAIdentity string `json:"qa_identity"`
Reviewer string `json:"reviewer"`
Reason string `json:"reason"`
Provenance string `json:"provenance"`
+1
View File
@@ -464,6 +464,7 @@ func TestTranslationTaskUpdateSendsWorkerParams(t *testing.T) {
SourceText: "source",
TranslatedText: "译文",
GlossaryOverride: &GlossaryOverride{
QAIdentity: "gqa-v1-test",
Reviewer: "reviewer",
Reason: "approved deviation",
Provenance: "manual-review",