docs(spec): clarify table dash semantics + DISCOVERY auto-promote rule

Self-review pass: distinguish "—" (N/A for doc type) from
"không thấy" (applies but not retrieved); tighten single-candidate
auto-promote criterion.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
main
VietND 1 month ago
parent 22c9c9d671
commit 5aa4252fc1

@ -83,7 +83,7 @@ When intent = DISCOVERY:
**Triggers that bypass DISCOVERY and go straight to DEEP_ANALYSIS:**
- User explicitly says "phân tích luôn top 3 / top 5".
- Search returns exactly 1 candidate with high relevance.
- Search returns exactly 1 candidate AND the retrieval tool flags it as a strong match (score top-1 noticeably above next candidate; agent uses judgment). If in doubt, stay in DISCOVERY and ask the user to confirm.
## 8. DEEP_ANALYSIS output schema (5 parts)
@ -115,7 +115,12 @@ Compact comparison table:
| Chia lô | … | … | … |
| Địa điểm | … | … | … |
Missing fields → "không thấy trong nguồn đã truy xuất". Never blank, never guessed.
Cell semantics:
- `…` — placeholder for actual value extracted from the document.
- `—` (em dash) — field intentionally not applicable for that document type (e.g., "Bảo đảm dự thầu" doesn't apply to KHLCNT).
- `không thấy trong nguồn đã truy xuất` — field applies in principle but was not found in retrieved chunks.
Never blank, never guessed. Never render `…` literally in agent output.
### Part 3 — Phân tích theo góc nhìn nhà thầu