docs(model-gate): 說明 Codex 模型來源與人工覆寫
This commit is contained in:
@@ -155,12 +155,14 @@ gate_line=$("$GATE" report 2>/dev/null || true)
|
||||
gate_stage=$(printf '%s' "$gate_line" | awk '{print $2}')
|
||||
gate_tag=$(printf '%s' "$gate_line" | awk '{print $3}')
|
||||
gate_model=$(printf '%s' "$gate_line" | awk '{print $4}')
|
||||
gate_source=$(printf '%s' "$gate_line" | awk '{print $5}')
|
||||
gate_verdict=$(printf '%s' "$gate_line" | awk '{print $6}')
|
||||
if [ -z "$gate_line" ]; then
|
||||
gate_result="查不到閘門狀態(未上鎖或狀態檔不在),請重跑 sdlc-gate.sh lock $stage"
|
||||
elif [ "$gate_stage" != "$stage" ]; then
|
||||
gate_result="不符:本階段為 $stage,鎖上的卻是 $gate_stage,請重跑 sdlc-gate.sh lock $stage"
|
||||
else
|
||||
gate_result="通過(必要標籤 $(required_tag "$stage"),實際模型 ${gate_model:-未知},鎖上時的標籤 ${gate_tag:-無})"
|
||||
gate_result="通過(必要標籤 $(required_tag "$stage"),實際模型 ${gate_model:-未知},來源 ${gate_source:-未知},判定 ${gate_verdict:-未知},鎖上時的標籤 ${gate_tag:-無})"
|
||||
fi
|
||||
|
||||
# ---- 工作日誌 ----
|
||||
|
||||
Reference in New Issue
Block a user