feat: add authoritative legal review corpus
Build and Test Quality Gate / Contract Web typecheck and build (pull_request) Successful in 4m57s
Build and Test Quality Gate / Isolated Alibaba and Tencent KMS gateway (pull_request) Failing after 1m34s
Security Quality Gate / npm audit, Bandit, pip-audit, detect-secrets (pull_request) Failing after 6m20s
Build and Test Quality Gate / Python tests and Contract API migration (pull_request) Failing after 17m3s

This commit is contained in:
2026-08-27 01:10:24 +08:00
parent ddd60875a3
commit af091cdc4f
30 changed files with 2531 additions and 66 deletions
@@ -30,6 +30,16 @@ class LegalCitation(BaseModel):
hybrid_score: float | None = None
retrieval_strategy: str | None = None
matched_terms: list[str] = Field(default_factory=list)
source_ids: list[str] = Field(default_factory=list)
issuing_authority: str | None = None
document_number: str | None = None
version_label: str | None = None
promulgated_on: str | None = None
effective_on: str | None = None
retrieved_on: str | None = None
source_status: str | None = None
content_sha256: str | None = None
source_manifest_sha256: str | None = None
class LegalQaResponse(BaseModel):