docs(security): add approval state transition contract [skip ci]

This commit is contained in:
Your Name
2026-05-13 18:47:39 +08:00
parent 5a0826bfdb
commit a334ae48cc
30 changed files with 585 additions and 62 deletions

View File

@@ -267,6 +267,7 @@
"decision_recording_rules": [
"每個 gate item 必須記錄人工決策、reviewer、時間、evidence refs 與批准範圍。",
"每個 gate item 可被包成 security_approval_review_packet_v1但 review packet 不代表批准。",
"每個人工決策後的 next state 必須依 security_approval_state_transition_v1 顯示,且不得直接執行。",
"批准只代表該 scope 可進下一步設計、草案、只讀 inventory 或人工 exception不代表可立即執行 runtime action。",
"任何 scan、/execute、repo、refs、deploy、secret、RBAC、NetworkPolicy、firewall 變更都需要 follow-up runtime gate。",
"拒絕、延後或要求補 evidence 時,只更新 gate 狀態與 audit evidence不觸發修復。"