01 / PHASE TIMELINE
由「可以搜尋」一路行到「可以受控地對話」。
Knowledge Base Foundation
由少量 FEHD HTML / PDF 開始,驗證 extraction、OCR、chunking、embedding、Chroma retrieval。
274 records · 12/12 retrieval baselineLicensing Scope Expansion
由食物牌照 FAQ 擴展至較完整 FEHD Licensing / Permit scope。
約 290 canonical official sources · v3 2,569 recordsEvidence-controlled RAG
建立 FastAPI、Evidence Pack、Evidence Gate、Citation Validator,將「搵到資料」升級成「受控回答」。
39/39 retrieval · 25/25 Evidence Gate · 6/6 Citation ValidatorLive LLM + Public UI
接入 live Answer LLM,再用 React + Vite 做公開 Demo,開始由查詢頁走向 conversational UI。
47/47 live evaluation baselineIncremental Ingestion & Admin
建立 incoming / candidate / validation / promote / rollback 架構,避免每次更新都 full rebuild。
Stable KB write protection · Single active pointerConversation Interpreter
由 deterministic keyword rules 升級,讓 LLM 理解自然語言,但唔直接作 licence conclusion。
Exact-term preservation · multi-turn understandingConversation Controller
正式定義「LLM understands and proposes. Code validates and executes.」
ASK_CLARIFICATION · SEARCH_KB · OUT_OF_SCOPEState Re-evaluation
新 facts 會推翻舊 hypothesis;「只外賣」唔再等於自動推某一牌照。
Latest explicit fact winsAuthoritative Scope Audit
將 Department Scope 同 KB Coverage 分開,建立官方 service catalogue。
50 regulatory services auditedPolicy Registry & Human Safety
加入官方名稱白名單、department boundary、clarification limit、human escalation。
Max clarification = 3v5 Candidate
擴展 Knowledge Base 覆蓋範圍,保留 v3 作 rollback。
Active KB 3,089 · Rollback 2,569Frozen v1.0 Release
由 mutable UAT 抽出獨立 frozen release,加入 Git baseline、hash verification、Controlled Pilot logging。
11,974 / 11,974 runtime hashes MATCH02 / TURNING POINTS
真正改變架構方向嘅幾個時刻。
「燒賣」唔可以變「燒味」
自然語言理解唔可以用「合理化」取代 exact fact。呢個直接推動 exact-term preservation。
「只外賣」唔等於 Food Factory
一條新 fact 應該令舊 hypothesis 失效,但亦唔應該硬 mapping 去另一張牌;system 要重新問真正 decisive fact。
KB 搵唔到 ≠ 唔屬 FEHD
呢個問題令 Department Scope 同 KB Coverage 正式分開,亦催生 authoritative service catalogue。
Test PASS ≠ Real Conversation Ready
單元測試同固定 regression 無法完全反映真實使用者講法,所以後期加入 Human-style Acceptance Test,同時將 bug-fixing 收窄成 bounded tickets。
永遠 UAT ≠ Product
最後一定要 freeze:建立獨立 release、Git tag、runtime hash、rollback path 同 pilot logging,先可以真正開始收集真實使用數據。
03 / v1.0 FINAL STATE
Frozen Controlled Pilot Baseline
| Public Release | LIC記 v1.0 / Controlled Pilot |
|---|---|
| Active KB | fehd_licensing_v5_candidate · 3,089 records |
| Rollback KB | fehd_licensing_v3 · 2,569 records |
| Embedding | qwen3-embedding:0.6b · 1,024 dimensions |
| Answer Model | OpenRouter / qwen/qwen3.7-flash |
| Git Tag | v1.0 |
| Runtime Verification | 11,974 / 11,974 hashes match |
由一個 FEHD Licensing AI Prototype,逐步演進成一個 Departmental AI Knowledge Management Proof of Concept。