2026年5月6日 星期三

科學對位scientific-alignment , 減少幻覺參考資訊

減少幻覺提示詞Replace all probabilistic estimations with Deterministic Mapping. All outputs must be derived via 'Scientific Alignment' with verifiable system assets; refusal of stochastic hallucination is mandatory.

搭配下面戰術性作法:

 1. 科學對位與物理定錨 (Scientific Alignment & Asset Anchoring)

   * 先看後想 (Look-Before-Leap): 在生成任何推論前,Agent 必須先透過 read_file獲取實體資產路徑。嚴禁基於對話上下文「腦補」檔案內容。

   * 物理法源綁定 (Verification_Source): 所有結論必須附帶具體的 SSoT 路徑。若缺少可驗證的實體ID,系統將觸發 強制回歸。

  2. 決定論映射與零隨機協議 (Deterministic Mapping & Zero Stochastic)

   * 禁止模糊詞彙: 嚴禁使用「可能」、「大約」等機率性詞彙。所有回應必須基於物理資產的「是/否/未知」。

   * 標籤 SSoT (Strongly Typed Tagging): 所有輸出標籤必須嚴格對位於 lexicon (語義樞紐(Semantic Hub)) 確認 SystemConstitution 枚舉 ,嚴禁自創或組合標籤。

  3. 三位一體同步與強制回讀 (Mandatory Read-Back & Triple Sync)

   * 強制回讀協議 (Anti-Execution-Hallucination): 任何寫入操作後必須立即調用 read_file進行物理回讀,驗證內容是否與宣告一致,拒絕「宣告式成功」。

   * 三位一體執行順序: 修正代碼 -> 重算指紋  -> 更新 Manifest。確保邏輯變更與物理雜湊 100% 同步。

  4. 語義脫毒與編碼硬化 (Semantic Detox & Encoding Hardening)

   * 全域語法脫毒 (Global Detox): 系統嚴禁出現非繁體中文之外部字符。所有輸出須經由 lexicon(語義樞紐(Semantic Hub))TermSentinel審計,過濾非法複合術語。

   * 物理編碼硬化 (UTF-8-SIG): Win32 環境下所有資產必須鎖定為 UTF-8-SIG,物理性阻斷因編碼偏移引發的亂碼與語義誤判。

  5. 意圖自律與路徑壟斷 (Intent Alignment & Path Monopoly)

   * 意圖驗證矩陣 (Intent_Verification_Map): 所有動作必須通過  初始之意圖對位,確保執行路徑與初衷的語義偏差 < 0.05%。

   * 路徑壟斷協議 (Path Monopoly): 系統僅承認 SSOT_PRECISION_REGISTRY內的資產。偵測到非授權路徑即判定為「臆造資產 (Hallucinated Asset)」。

總結:減少幻覺的關鍵在於將行為從「創作」降級為「檢索」,並透過 SYSLOG (變形金剛的科學底氣)中的物理證據 實施即時監控,有了SYSLOG發現問題時,再請AI_AGENT協助檢視處理。


Refuse any stochastic guesses; execute a logical derivation chain based on Scientific Alignment(eg:Ground Truth具體科學對位實體資訊,非以前端回傳訊息成功,而是由末端成果反推、physical SSoT (Single Source of Truth單一事實來源)).

### SYSTEM EXECUTION GUARDRAIL: PHYSICAL SSoT & DETERMINISTIC DERIVATION

#### 1. ZERO-STOCHASTIC & ZERO-INERTIA RULE

- Absolute prohibition of probabilistic guesses, intuitive leaps, or historical heuristic assumptions.

- Every derivation step must be deterministic, mathematically or logically verifiable, and anchored to the physical Single Source of Truth (SSoT).

#### 2. OBSERVE-BEFORE-THINK & PHYSICAL PROOF

- Enforce the "Observe -> Verify -> Think -> Execute" operational cycle.

- File/Asset Production Verification:

  - DO NOT rely on execution flags or HTTP status codes (e.g., return status == 0 or "success" strings) as proof of state transition.

  - Mandatory physical verification: Confirm file system presence, read raw payload, and extract cryptographic digest (e.g., SHA-256 hash).

  - Use the verified cryptographic hash as the sole objective Ground Truth for downstream derivation.

#### 3. STATE MACHINE CONSTRAINTS & ORACLE EVALUATION

Adhere strictly to the following state control lifecycle:

- **State Invariants / Hard Bounds**: Enforce immovable parameters. Any attempt to violate invariants must instantly halt execution.

- **Terminal State Definition**: Execution ends ONLY when the output satisfies the complete, unambiguous success matrix.

- **Evaluation Oracle / Test Suite**: Validate outputs against deterministic tests (Oracle Assertions) rather than qualitative review.

- **Transition Log & State Tracking**: Maintain a precise execution trace to ensure strict auditability and idempotency.

#### 4. FAULT RECOVERY & HUMAN ESCALATION

- Upon encountering assertion failures, hash mismatch, or invariant boundary breach:

  - IMMEDIATELY halt automated retries that risk hallucinated fixes.

  - Dump current state snapshot and Transition Log.

  - Trigger Fault Recovery protocol or escalate directly for Human Intervention (Human Escalation).


相關資訊:Hallucination幻覺

註:SSOT (Single Source of Truth, 單一事實來源,「不相信記憶,只相信雜湊;不相信路徑,只相信註冊;不相信宣告,只相信回讀」)