From e8de357e69fd1f1857002dd5b5ffc6138dc857b7 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 25 May 2026 16:30:32 +0800 Subject: [PATCH] =?UTF-8?q?feat(web):=20=E6=96=B0=E5=A2=9E=20iwooos=20?= =?UTF-8?q?=E8=A3=9C=E4=BB=B6=E9=87=8D=E8=A9=A6=E9=96=80=E6=AA=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/messages/en.json | 78 ++++++++ apps/web/messages/zh-TW.json | 78 ++++++++ apps/web/src/app/[locale]/iwooos/page.tsx | 167 ++++++++++++++++++ docs/LOGBOOK.md | 15 ++ .../security/SECURITY-MIRROR-STATUS-ROLLUP.md | 4 +- .../SECURITY-SUPPLY-CHAIN-PROGRESS.md | 6 +- ...ecurity-mirror-status-rollup.snapshot.json | 28 +++ .../security-mirror-progress-guard.py | 118 +++++++++++++ 8 files changed, 491 insertions(+), 3 deletions(-) diff --git a/apps/web/messages/en.json b/apps/web/messages/en.json index d0983d904..f85b64056 100644 --- a/apps/web/messages/en.json +++ b/apps/web/messages/en.json @@ -6098,6 +6098,84 @@ } } }, + "productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGates": { + "title": "全產品人工審查候選預檢補件重試門檻", + "subtitle": "S2.140 把 S2.139 的補件回收台帳再拆成八個只讀重試門檻:識別、來源、範圍、脫敏、版本、主機窗口、工具摘要與 runtime 分離。這讓所有專案產品知道補件回收後何時可以重新回到 S2.137 預檢,但仍不接受補件、不標記通過、不建立 reviewer candidate、不開 reviewer queue、不產生稽核事件,也不開 runtime gate。", + "gateLabel": "門檻", + "readyLabel": "可重試條件", + "retryLabel": "重試方式", + "blockedLabel": "仍禁止", + "boundaryTitle": "補件重試門檻邊界", + "boundaryIntro": "以下鍵值固定:目前只做 read-only retry review candidate preflight recovery retry gate;candidate、submitted、passed、ready for preflight retry、ready for human review、candidate created、reviewer assigned、audit emitted 與 ready for runtime 全部仍是 0 / false。", + "summary": { + "gates": { + "label": "重試門檻", + "detail": "八個門檻覆蓋識別、來源、範圍、脫敏、版本、主機、工具摘要與 runtime 分離。" + }, + "candidates": { + "label": "可重試候選", + "detail": "目前 0,不把補件回收台帳當可重試成立。" + }, + "passed": { + "label": "已通過", + "detail": "目前 0,不把重試條件可見當預檢通過。" + }, + "runtime": { + "label": "runtime 就緒", + "detail": "目前 0,補件重試門檻不會開執行期閘門。" + } + }, + "items": { + "identityGate": { + "title": "識別重試門檻", + "ready": "產品名稱、批次、來源分流、重試時間、owner、evidence ref 與缺漏原因都補齊。", + "retry": "只能回到 S2.137 候選識別預檢,重新檢查 metadata 可讀性。", + "blocked": "不得跳過識別重試、建立審查排程、送出 request、建立候選或代填 owner。" + }, + "traceGate": { + "title": "來源重試門檻", + "ready": "S2.135 分流、退回 / 隔離 / 等待原因、補件來源與前一輪預檢參照都一致。", + "retry": "只標示 outcome trace 可重新預檢,等待人工判讀來源鏈路。", + "blocked": "不得覆寫原分流、刪除失敗原因、改寫證據歷程或把來源缺口視為通過。" + }, + "ownerScopeGate": { + "title": "負責人與範圍重試門檻", + "ready": "owner role、decision、reason、scope、follow-up owner、公開面、內部面與口頭同意排除聲明都可讀。", + "retry": "只能重跑 owner scope 預檢,不標記 owner response accepted。", + "blocked": "不得代簽、代填、送審批、把口頭同意當正式證據或建立正式紀錄。" + }, + "redactionGate": { + "title": "脫敏重試門檻", + "ready": "脫敏摘要、遮罩策略、不含 raw payload 聲明、secret value 排除聲明與 evidence ref 都存在。", + "retry": "只以安全摘要與 evidence pointer 回到脫敏預檢;若仍含敏感值,維持隔離。", + "blocked": "不得顯示、轉送、匯入、保存、貼上或讓工具處理敏感原文。" + }, + "sourceControlGate": { + "title": "版本來源重試門檻", + "ready": "GitHub / Gitea 目標、分支 / 標籤真相、workflow / secret 名稱、rollback owner 與 evidence ref 都可追溯。", + "retry": "只重跑 source-control truth 預檢,不改任何版本來源狀態。", + "blocked": "不得建立 repo、同步 refs、改 workflow / secret、切 primary、停用 Gitea 或改可見性。" + }, + "hostWindowGate": { + "title": "主機窗口重試門檻", + "ready": "Kali、192.168.0.168、192.168.0.111 的 scope、maintenance window、credential handling、rollback owner、validation 指標與 no-execution 聲明都補齊。", + "retry": "只以 metadata-only host window 回到主機安全窗口預檢。", + "blocked": "不得 SSH、更新主機、掃描、調校、收 credential 明文或執行 Kali /execute。" + }, + "toolSummaryGate": { + "title": "工具摘要重試門檻", + "ready": "摘要、狀態、時間、來源工具、脫敏方式、evidence ref 與外送資料排除聲明都存在。", + "retry": "只讓人工審查重新理解訊號來源,不讓工具自動修復。", + "blocked": "不得讓工具自動修復、部署、外送資料、增加付費 provider 呼叫或收機密明文。" + }, + "runtimeGate": { + "title": "runtime 分離重試門檻", + "ready": "active runtime gate=0、action button 關閉、rollback / disable 尚待確認、後驗證待補與 no-execution attestation 都可見。", + "retry": "只重跑 runtime separation 預檢,確認仍不可執行。", + "blocked": "不得掃描、修復、部署、主機變更、版本來源操作、正式環境變更或開啟 action button。" + } + } + }, "firstProgressUnlockPath": { "title": "第一個進度解鎖路徑", "subtitle": "S2.114 把 58% 下一個真正能往前的路徑收斂到 S4.9 負責人回覆:先收到可追溯回覆,再補齊脫敏證據參照,通過收件預檢與審查接受後,才可能成為 headline review 候選。", diff --git a/apps/web/messages/zh-TW.json b/apps/web/messages/zh-TW.json index b0d5eb9c6..06d1136b9 100644 --- a/apps/web/messages/zh-TW.json +++ b/apps/web/messages/zh-TW.json @@ -6099,6 +6099,84 @@ } } }, + "productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGates": { + "title": "全產品人工審查候選預檢補件重試門檻", + "subtitle": "S2.140 把 S2.139 的補件回收台帳再拆成八個只讀重試門檻:識別、來源、範圍、脫敏、版本、主機窗口、工具摘要與 runtime 分離。這讓所有專案產品知道補件回收後何時可以重新回到 S2.137 預檢,但仍不接受補件、不標記通過、不建立 reviewer candidate、不開 reviewer queue、不產生稽核事件,也不開 runtime gate。", + "gateLabel": "門檻", + "readyLabel": "可重試條件", + "retryLabel": "重試方式", + "blockedLabel": "仍禁止", + "boundaryTitle": "補件重試門檻邊界", + "boundaryIntro": "以下鍵值固定:目前只做 read-only retry review candidate preflight recovery retry gate;candidate、submitted、passed、ready for preflight retry、ready for human review、candidate created、reviewer assigned、audit emitted 與 ready for runtime 全部仍是 0 / false。", + "summary": { + "gates": { + "label": "重試門檻", + "detail": "八個門檻覆蓋識別、來源、範圍、脫敏、版本、主機、工具摘要與 runtime 分離。" + }, + "candidates": { + "label": "可重試候選", + "detail": "目前 0,不把補件回收台帳當可重試成立。" + }, + "passed": { + "label": "已通過", + "detail": "目前 0,不把重試條件可見當預檢通過。" + }, + "runtime": { + "label": "runtime 就緒", + "detail": "目前 0,補件重試門檻不會開執行期閘門。" + } + }, + "items": { + "identityGate": { + "title": "識別重試門檻", + "ready": "產品名稱、批次、來源分流、重試時間、owner、evidence ref 與缺漏原因都補齊。", + "retry": "只能回到 S2.137 候選識別預檢,重新檢查 metadata 可讀性。", + "blocked": "不得跳過識別重試、建立審查排程、送出 request、建立候選或代填 owner。" + }, + "traceGate": { + "title": "來源重試門檻", + "ready": "S2.135 分流、退回 / 隔離 / 等待原因、補件來源與前一輪預檢參照都一致。", + "retry": "只標示 outcome trace 可重新預檢,等待人工判讀來源鏈路。", + "blocked": "不得覆寫原分流、刪除失敗原因、改寫證據歷程或把來源缺口視為通過。" + }, + "ownerScopeGate": { + "title": "負責人與範圍重試門檻", + "ready": "owner role、decision、reason、scope、follow-up owner、公開面、內部面與口頭同意排除聲明都可讀。", + "retry": "只能重跑 owner scope 預檢,不標記 owner response accepted。", + "blocked": "不得代簽、代填、送審批、把口頭同意當正式證據或建立正式紀錄。" + }, + "redactionGate": { + "title": "脫敏重試門檻", + "ready": "脫敏摘要、遮罩策略、不含 raw payload 聲明、secret value 排除聲明與 evidence ref 都存在。", + "retry": "只以安全摘要與 evidence pointer 回到脫敏預檢;若仍含敏感值,維持隔離。", + "blocked": "不得顯示、轉送、匯入、保存、貼上或讓工具處理敏感原文。" + }, + "sourceControlGate": { + "title": "版本來源重試門檻", + "ready": "GitHub / Gitea 目標、分支 / 標籤真相、workflow / secret 名稱、rollback owner 與 evidence ref 都可追溯。", + "retry": "只重跑 source-control truth 預檢,不改任何版本來源狀態。", + "blocked": "不得建立 repo、同步 refs、改 workflow / secret、切 primary、停用 Gitea 或改可見性。" + }, + "hostWindowGate": { + "title": "主機窗口重試門檻", + "ready": "Kali、192.168.0.168、192.168.0.111 的 scope、maintenance window、credential handling、rollback owner、validation 指標與 no-execution 聲明都補齊。", + "retry": "只以 metadata-only host window 回到主機安全窗口預檢。", + "blocked": "不得 SSH、更新主機、掃描、調校、收 credential 明文或執行 Kali /execute。" + }, + "toolSummaryGate": { + "title": "工具摘要重試門檻", + "ready": "摘要、狀態、時間、來源工具、脫敏方式、evidence ref 與外送資料排除聲明都存在。", + "retry": "只讓人工審查重新理解訊號來源,不讓工具自動修復。", + "blocked": "不得讓工具自動修復、部署、外送資料、增加付費 provider 呼叫或收機密明文。" + }, + "runtimeGate": { + "title": "runtime 分離重試門檻", + "ready": "active runtime gate=0、action button 關閉、rollback / disable 尚待確認、後驗證待補與 no-execution attestation 都可見。", + "retry": "只重跑 runtime separation 預檢,確認仍不可執行。", + "blocked": "不得掃描、修復、部署、主機變更、版本來源操作、正式環境變更或開啟 action button。" + } + } + }, "firstProgressUnlockPath": { "title": "第一個進度解鎖路徑", "subtitle": "S2.114 把 58% 下一個真正能往前的路徑收斂到 S4.9 負責人回覆:先收到可追溯回覆,再補齊脫敏證據參照,通過收件預檢與審查接受後,才可能成為 headline review 候選。", diff --git a/apps/web/src/app/[locale]/iwooos/page.tsx b/apps/web/src/app/[locale]/iwooos/page.tsx index 114be1842..dfd1c9dd1 100644 --- a/apps/web/src/app/[locale]/iwooos/page.tsx +++ b/apps/web/src/app/[locale]/iwooos/page.tsx @@ -1816,6 +1816,59 @@ const iwooosProductEvidenceWiringPreflightRetryReviewPreflightRecoveryBoundaries 'gitea_disablement_authorized=false', ] as const +const iwooosProductEvidenceWiringPreflightRetryReviewPreflightRecoveryRetryGateSummary = [ + { key: 'gates', value: '8', icon: SearchCheck, tone: 'steady' }, + { key: 'candidates', value: '0', icon: ClipboardCheck, tone: 'warn' }, + { key: 'passed', value: '0', icon: CheckCircle2, tone: 'locked' }, + { key: 'runtime', value: '0', icon: Lock, tone: 'locked' }, +] as const + +const iwooosProductEvidenceWiringPreflightRetryReviewPreflightRecoveryRetryGates = [ + { key: 'identityGate', gate: 'G1', state: '識別可重試', icon: ClipboardCheck, tone: 'warn' }, + { key: 'traceGate', gate: 'G2', state: '來源可重試', icon: SearchCheck, tone: 'warn' }, + { key: 'ownerScopeGate', gate: 'G3', state: '範圍可重試', icon: FileText, tone: 'warn' }, + { key: 'redactionGate', gate: 'G4', state: '脫敏可重試', icon: ShieldCheck, tone: 'steady' }, + { key: 'sourceControlGate', gate: 'G5', state: '版本可重試', icon: GitBranch, tone: 'warn' }, + { key: 'hostWindowGate', gate: 'G6', state: '主機窗口待證', icon: Activity, tone: 'locked' }, + { key: 'toolSummaryGate', gate: 'G7', state: '摘要可重試', icon: Radar, tone: 'warn' }, + { key: 'runtimeGate', gate: 'G8', state: 'runtime 仍關閉', icon: Lock, tone: 'locked' }, +] as const + +const iwooosProductEvidenceWiringPreflightRetryReviewPreflightRecoveryRetryGateBoundaries = [ + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_gate_count=8', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_current_stage=read_only_retry_review_candidate_preflight_recovery_retry_gate', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_visible_gate_count=8', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_candidate_count=0', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_submitted_count=0', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_passed_count=0', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_failed_count=0', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_ready_for_preflight_retry_count=0', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_ready_for_human_review_count=0', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_candidate_created_count=0', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_reviewer_assigned_count=0', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_audit_event_emitted_count=0', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_ready_for_runtime_count=0', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_owner_response_accepted_count=0', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_redacted_evidence_pointer_accepted_count=0', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_source_control_truth_accepted_count=0', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_host_safety_window_approved=false', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_tool_summary_ingested=false', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_runtime_gate_open=false', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_public_secret_exposure_allowed=false', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_kali_execution_authorized=false', + 'iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_source_control_mutation_authorized=false', + 'runtime_execution_authorized=false', + 'active_runtime_gate_count=0', + 'action_buttons_allowed=false', + 'not_authorization=true', + 'secret_value_collection_allowed=false', + 'repo_creation_authorized=false', + 'refs_sync_authorized=false', + 'workflow_modification_authorized=false', + 'github_primary_switch_authorized=false', + 'gitea_disablement_authorized=false', +] as const + const iwooosFirstProgressUnlockPathSteps = [ { key: 'ownerResponseScope', step: '01', state: '待收件', icon: ClipboardCheck, tone: 'warn' }, { key: 'redactedEvidencePointer', step: '02', state: '待補證', icon: FileText, tone: 'warn' }, @@ -6836,6 +6889,118 @@ function IwoooSProductEvidenceWiringPreflightRetryReviewCandidatePreflightRecove ) } +function IwoooSProductEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGatesBoard() { + const t = useTranslations('iwooos.productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGates') + const textWrap = { overflowWrap: 'anywhere' as const, wordBreak: 'break-word' as const } + + return ( +
+
+
+
+
+

{t('title')}

+

+ {t('subtitle')} +

+
+
+ {iwooosProductEvidenceWiringPreflightRetryReviewPreflightRecoveryRetryGateSummary.map(item => { + const Icon = item.icon + return ( +
+
+ {t(`summary.${item.key}.label` as never)} + +
+
+ {item.value} +
+

+ {t(`summary.${item.key}.detail` as never)} +

+
+ ) + })} +
+
+ {iwooosProductEvidenceWiringPreflightRetryReviewPreflightRecoveryRetryGates.map(item => { + const Icon = item.icon + return ( +
+
+ + {t('gateLabel')} {item.gate} + + +
+
+ {item.state} +
+

+ {t(`items.${item.key}.title` as never)} +

+

+ {t('readyLabel')}:{t(`items.${item.key}.ready` as never)} +

+

+ {t('retryLabel')}:{t(`items.${item.key}.retry` as never)} +

+

+ {t('blockedLabel')}:{t(`items.${item.key}.blocked` as never)} +

+
+ ) + })} +
+
+
+
+ +

{t('boundaryTitle')}

+
+

+ {t('boundaryIntro')} +

+
+ {iwooosProductEvidenceWiringPreflightRetryReviewPreflightRecoveryRetryGateBoundaries.map(item => ( + + {item} + + ))} +
+
+
+
+
+ ) +} + function IwoooSFirstProgressUnlockPathBoard() { const t = useTranslations('iwooos.firstProgressUnlockPath') const summaryItems = [ @@ -11599,6 +11764,8 @@ export default function IwoooSPage({ params }: { params: { locale: string } }) { + + diff --git a/docs/LOGBOOK.md b/docs/LOGBOOK.md index 29de80de0..fee5e750a 100644 --- a/docs/LOGBOOK.md +++ b/docs/LOGBOOK.md @@ -1,3 +1,18 @@ +## 2026-05-25 | 資安供應鏈 S2.140:IwoooS 全產品人工審查候選預檢補件重試門檻 + +**背景**:S2.139 已把人工審查候選預檢後的補件回收台帳前台化;本階段補上補件回收後何時可重新回到 S2.137 預檢的重試門檻,避免使用者或平行 Session 把「補件已列入台帳」誤解成補件已送出、已接受或預檢已通過。 + +**完成**: +- `/iwooos` 新增「全產品人工審查候選預檢補件重試門檻」看板,將識別、來源、範圍、脫敏、版本、主機窗口、工具摘要與 runtime 分離拆成八個 read-only retry gates。 +- 看板逐項顯示「可重試條件 / 重試方式 / 仍禁止」,讓所有專案產品知道補件回收後只能回到對應預檢,而不能直接進 reviewer queue 或 runtime。 +- 看板固定顯示 `iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_gate_count=8`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_current_stage=read_only_retry_review_candidate_preflight_recovery_retry_gate`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_candidate_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_submitted_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_passed_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_ready_for_preflight_retry_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_ready_for_human_review_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_candidate_created_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_reviewer_assigned_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_audit_event_emitted_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_ready_for_runtime_count=0`,並維持 `runtime_execution_authorized=false`、`active_runtime_gate_count=0`、`action_buttons_allowed=false`、`not_authorization=true`。 +- `security_mirror_status_rollup_v1` 新增 `s2_140_iwooos_product_evidence_wiring_preflight_retry_review_candidate_preflight_recovery_retry_gates` 與 `show_iwooos_product_evidence_wiring_preflight_retry_review_candidate_preflight_recovery_retry_gates`。 +- `security-mirror-progress-guard.py` 已納入全產品人工審查候選預檢補件重試門檻、i18n 鍵、八個 retry gates 與 false 邊界檢查。 + +**仍禁止**: +- S2.140 只做 `/iwooos` 只讀人工審查候選預檢補件重試門檻,不代表補件已送出、補件已接受、預檢通過、預檢可重跑、reviewer candidate 已建立、reviewer queue 已開、reviewer 已指派、稽核事件已建立、request sent、owner response 已收到、證據已接受、headline review 授權、runtime 授權、人工審批、掃描、修復、部署、主機變更、專案庫建立、refs sync、workflow / secret 修改、GitHub primary 切換、Gitea 停用、Kali / SSH / 主機更新或任何工具自動修復。 +- 整體資安網 headline 仍是 58%;框架 / 治理 / 文件 / schema / read-only evidence 維持 86-88%;真正落地執行 / runtime ingestion / GitHub primary / AwoooP production landing 仍約 35-40%。 + ## 2026-05-25 | 資安供應鏈 S2.139:IwoooS 全產品人工審查候選預檢補件回收台帳 **背景**:S2.138 已把人工審查候選預檢後的八條結果分流前台化;本階段補上退回、隔離與暫停後的補件回收台帳,避免使用者或平行 Session 只看到「被退回」卻不知道要補什麼、由誰補、如何回到預檢。 diff --git a/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md b/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md index 2f4b04cc0..f6cd12572 100644 --- a/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md +++ b/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md @@ -83,6 +83,7 @@ | IwoooS 全產品人工審查候選預檢 | S2.137 已在 `/iwooos` 顯示全產品人工審查候選預檢:候選識別、結果來源、負責人與範圍、脫敏聲明、版本來源證據、主機窗口、工具摘要與 runtime 分離八個 read-only preflight checks;`iwooos_product_evidence_wiring_preflight_retry_review_preflight_check_count=8`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_current_stage=read_only_retry_review_candidate_preflight`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_passed_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_ready_for_queue_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_queue_open=false`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_candidate_created_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_reviewer_assigned_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_audit_event_emitted_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_ready_for_runtime_count=0`、`runtime_execution_authorized=false`、`active_runtime_gate_count=0`、`not_authorization=true`,仍不代表 reviewer candidate 已建立、reviewer queue 已開、reviewer 已指派、稽核事件已建立、Kali / SSH / 主機更新、repo / refs / workflow / secret 操作、GitHub 主要來源切換、Gitea 停用或正式部署 | | IwoooS 全產品人工審查候選預檢結果分流 | S2.138 已在 `/iwooos` 顯示全產品人工審查候選預檢結果分流:維持只讀、退回識別、退回來源、退回範圍、隔離敏感、版本 / 主機暫停、等待人工審查與 runtime 仍關閉八條 read-only preflight outcome lanes;`iwooos_product_evidence_wiring_preflight_retry_review_preflight_outcome_lane_count=8`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_outcome_current_stage=read_only_retry_review_candidate_preflight_outcome_routing`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_outcome_ready_for_queue_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_outcome_returned_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_outcome_quarantined_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_outcome_candidate_created_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_outcome_reviewer_assigned_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_outcome_audit_event_emitted_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_outcome_ready_for_runtime_count=0`、`runtime_execution_authorized=false`、`active_runtime_gate_count=0`、`not_authorization=true`,仍不代表 reviewer candidate 已建立、reviewer queue 已開、reviewer 已指派、稽核事件已建立、Kali / SSH / 主機更新、repo / refs / workflow / secret 操作、GitHub 主要來源切換、Gitea 停用或正式部署 | | IwoooS 全產品人工審查候選預檢補件回收台帳 | S2.139 已在 `/iwooos` 顯示全產品人工審查候選預檢補件回收台帳:識別補件、來源補件、範圍補件、脫敏重送、版本補證、主機窗口補證、工具摘要補件與 runtime 聲明八個 read-only recovery queues;`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_queue_count=8`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_current_stage=read_only_retry_review_candidate_preflight_recovery_ledger`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_submitted_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_accepted_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_quarantined_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_ready_for_preflight_retry_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_ready_for_human_review_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_candidate_created_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_reviewer_assigned_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_audit_event_emitted_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_ready_for_runtime_count=0`、`runtime_execution_authorized=false`、`active_runtime_gate_count=0`、`not_authorization=true`,仍不代表補件已送出、已接受、預檢可重跑、reviewer candidate 已建立、reviewer queue 已開、reviewer 已指派、稽核事件已建立、Kali / SSH / 主機更新、repo / refs / workflow / secret 操作、GitHub 主要來源切換、Gitea 停用或正式部署 | +| IwoooS 全產品人工審查候選預檢補件重試門檻 | S2.140 已在 `/iwooos` 顯示全產品人工審查候選預檢補件重試門檻:識別、來源、範圍、脫敏、版本、主機窗口、工具摘要與 runtime 分離八個 read-only retry gates;`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_gate_count=8`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_current_stage=read_only_retry_review_candidate_preflight_recovery_retry_gate`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_candidate_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_submitted_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_passed_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_ready_for_preflight_retry_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_ready_for_human_review_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_candidate_created_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_reviewer_assigned_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_audit_event_emitted_count=0`、`iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_ready_for_runtime_count=0`、`runtime_execution_authorized=false`、`active_runtime_gate_count=0`、`not_authorization=true`,仍不代表補件已送出、已接受、預檢通過、reviewer candidate 已建立、reviewer queue 已開、reviewer 已指派、稽核事件已建立、Kali / SSH / 主機更新、repo / refs / workflow / secret 操作、GitHub 主要來源切換、Gitea 停用或正式部署 | | AwoooP approvals IwoooS owner response focus | S2.55 已把 S4.9-S4.12 owner response 下一個人工收件焦點放進 `/awooop/approvals` 只讀面板;received=0、accepted=0、active runtime gates=0、headline=58%、approval_record_created=false;仍不新增 approve、execute、deploy、primary switch、refs action 或 runtime gate | | AwoooP contracts IwoooS security contract candidate | S2.56 已把四個 security mirror contract refs 放進 `/awooop/contracts` 只讀面板;total contracts=36、ready=33、partial=2、active runtime gates=0、contract_publish_authorized=false;仍不發布 contract revision、不改 lifecycle、不寫 platform contracts API、不新增 action button | | AwoooP tenants IwoooS tenant scope candidate | S2.57 已把 AWOOOI first tenant、IwoooS security mirror、Kali 112 / Dev 168 / Dev 111 與 S4.9-S4.12 owner response waiting 放進 `/awooop/tenants` 只讀面板;host coverage=3、tenant policy changes=0、tenant_migration_mode_changed=false;仍不改 migration mode、不改 tenant policy、不寫 platform tenants API、不新增 action button | @@ -129,7 +130,7 @@ 目前進度不是以「強制防護開了多少」計算,而是以統帥指定的低摩擦路線拆成兩層: -1. 框架期約 86-88%:36 個主要 contract 已有 33 個 ready、2 個 partial、1 個 contract-only、0 blocked,表示治理骨架、只讀 evidence、人工批准語義、AwoooP mirror-only 接口與 IwoooS 前端投影已接近完整,且 S2.139 已把全產品只讀套用範圍推進到人工審查候選預檢補件回收台帳。 +1. 框架期約 86-88%:36 個主要 contract 已有 33 個 ready、2 個 partial、1 個 contract-only、0 blocked,表示治理骨架、只讀 evidence、人工批准語義、AwoooP mirror-only 接口與 IwoooS 前端投影已接近完整,且 S2.140 已把全產品只讀套用範圍推進到人工審查候選預檢補件重試門檻。 2. 落地期約 35-40%:owner responses 仍為 0、active runtime gate 為 0、payload ingestion 為 false、GitHub primary ready 為 0、AwoooP production ingestion 尚未啟用。 因此跨 Session 採用 **58%** 作為目前整體進度。這代表「框架健康、尚未過度收緊」,不是 runtime enforcement 或 primary cutover 授權。 @@ -307,6 +308,7 @@ | S2.137 IwoooS 全產品人工審查候選預檢 | framework detail | 0 | 只在 `/iwooos` 顯示八個 read-only preflight checks;passed=0、ready_for_queue=0、queue_open=false、candidate_created=0、reviewer_assigned=0、audit_event_emitted=0、ready_for_runtime=0,不把候選預檢當 reviewer candidate 已建立、reviewer queue 已開、reviewer 已指派、runtime 授權、Kali 執行、主機變更、repo / refs / workflow / secret 操作、GitHub 主要來源切換、Gitea 停用或正式部署 | | S2.138 IwoooS 全產品人工審查候選預檢結果分流 | framework detail | 0 | 只在 `/iwooos` 顯示八條 read-only preflight outcome lanes;ready_for_queue=0、returned=0、quarantined=0、candidate_created=0、reviewer_assigned=0、audit_event_emitted=0、ready_for_runtime=0,不把預檢結果分流當 reviewer candidate 已建立、reviewer queue 已開、reviewer 已指派、runtime 授權、Kali 執行、主機變更、repo / refs / workflow / secret 操作、GitHub 主要來源切換、Gitea 停用或正式部署 | | S2.139 IwoooS 全產品人工審查候選預檢補件回收台帳 | framework detail | 0 | 只在 `/iwooos` 顯示八個 read-only recovery queues;submitted=0、accepted=0、quarantined=0、ready_for_preflight_retry=0、ready_for_human_review=0、candidate_created=0、reviewer_assigned=0、audit_event_emitted=0、ready_for_runtime=0,不把補件回收台帳當補件已送出、已接受、預檢可重跑、reviewer candidate 已建立、reviewer queue 已開、reviewer 已指派、runtime 授權、Kali 執行、主機變更、repo / refs / workflow / secret 操作、GitHub 主要來源切換、Gitea 停用或正式部署 | +| S2.140 IwoooS 全產品人工審查候選預檢補件重試門檻 | framework detail | 0 | 只在 `/iwooos` 顯示八個 read-only retry gates;candidate=0、submitted=0、passed=0、ready_for_preflight_retry=0、ready_for_human_review=0、candidate_created=0、reviewer_assigned=0、audit_event_emitted=0、ready_for_runtime=0,不把補件重試門檻當補件已送出、已接受、預檢通過、reviewer candidate 已建立、reviewer queue 已開、reviewer 已指派、runtime 授權、Kali 執行、主機變更、repo / refs / workflow / secret 操作、GitHub 主要來源切換、Gitea 停用或正式部署 | headline 進度要再往上,至少需要下列任一高層 gate 有實質 evidence: diff --git a/docs/security/SECURITY-SUPPLY-CHAIN-PROGRESS.md b/docs/security/SECURITY-SUPPLY-CHAIN-PROGRESS.md index 882a500db..33cde4f6a 100644 --- a/docs/security/SECURITY-SUPPLY-CHAIN-PROGRESS.md +++ b/docs/security/SECURITY-SUPPLY-CHAIN-PROGRESS.md @@ -6,7 +6,7 @@ | 狀態 | S0/S1 read-only evidence 建置中 | | 本階段完成 | 資安供應鏈 contract manifest + Source Control Approval Board + Draft Reconcile Plan + Ref Detail Diff + Ref Truth Classification + Source Control Ref Truth Owner Response 收件包 + GitHub Primary Readiness Gate + GitHub Primary Rollback ADR + GitHub Target Owner Decision Response 收件包 + Gitea 認證清冊匯出請求 + Gitea 認證清冊匯入驗收契約 + Gitea 清冊覆蓋 Owner Attestation + Gitea Owner Attestation Approval Lane 對齊 + Gitea Owner Attestation Response 收件包 + Workflow / Secret Name Inventory + Workflow / Secret Name Local Evidence + Workflow / Secret Name Redacted Export Request + Workflow / Secret Name Owner Response 收件包 + Source Control Owner Response Validation Rollup + Kali 112 live integration status + Security Finding contract + Kali scan scope approval package + Security Approval Queue + S3 人工批准 Gate + S3 人工決策紀錄 + S3 人工審查封包 + S3 人工決策狀態轉移 + S3 後續 runtime gate 準備契約 + 鏡像 readiness index + 鏡像接收計畫 + 鏡像事件信封 + 鏡像路由矩陣 + 鏡像驗收契約 + 鏡像隔離契約 + 鏡像 dry-run 報告契約 + 鏡像狀態彙整契約 + IwoooS 前端態勢入口 + IwoooS posture projection contract + IwoooS 既有前端資安頁面整合 + IwoooS 覆蓋與邊界矩陣 + IwoooS 只讀資安處理旅程 + IwoooS owner evidence readiness board + IwoooS host coverage view + IwoooS host action gate matrix + IwoooS host evidence readiness board + IwoooS host evidence collection order + IwoooS host evidence intake preflight + IwoooS host evidence review outcome lanes + IwoooS host evidence review handoff packets + IwoooS host evidence reviewer checklist + IwoooS host evidence reviewer outcome lanes + IwoooS host owner decision candidate packets + IwoooS host owner decision review checklist + IwoooS host owner decision review outcome lanes + IwoooS host owner decision record draft packets + IwoooS host owner decision record draft review checklist + IwoooS host owner decision record draft review outcome lanes + IwoooS host owner decision record write-up packets + IwoooS host owner decision record write-up review checklist + IwoooS host owner decision record write-up review outcome lanes + IwoooS host owner decision record formal candidate packets + IwoooS host owner decision record formal candidate review checklist + IwoooS host owner decision record formal candidate review outcome lanes + IwoooS host owner decision record formal record queue packets + IwoooS host owner decision record formal record queue review checklist + IwoooS host owner decision record formal record queue review outcome lanes + IwoooS host owner decision record human handoff readiness packets + IwoooS host owner decision record human handoff readiness review checklist + IwoooS host owner decision record human handoff readiness review outcome lanes + IwoooS host owner decision record human record owner review candidate packets + IwoooS host owner decision record human record owner review candidate checklist + IwoooS host owner decision record human record owner review candidate outcome lanes + IwoooS host owner decision record human record owner review preparation packets + IwoooS host owner decision record human record owner review preparation checklist + IwoooS progress acceleration lanes + IwoooS owner response next-action focus + IwoooS S4.9 owner response preflight + IwoooS S4.9 owner response request templates + IwoooS progress hold movement gates + IwoooS AwoooP read-only landing readiness + IwoooS AwoooP cross-session handoff packets + AwoooP 首頁 IwoooS 資安鏡像候選 + AwoooP 工作鏈路 IwoooS 資安鏡像候選 + AwoooP 審批佇列 IwoooS owner response 只讀焦點 | | 本階段追加 | AwoooP 合約儀表板 IwoooS 資安契約只讀候選 + AwoooP 租戶管理 IwoooS 資安租戶範圍只讀候選 + AwoooP 執行監控 IwoooS 執行狀態只讀候選 + 既有安全 / 合規頁面 IwoooS 只讀反向橋接 + 告警 / 錯誤 / 授權 / 治理頁面 IwoooS 只讀反向橋接 + 稽核 / 工程審查頁面 IwoooS 深色只讀反向橋接 + IwoooS 前端資安頁面連接狀態板 + IwoooS GitHub 主要來源就緒度只讀狀態板 + AwoooP 工作鏈路 GitHub 主要來源就緒度只讀工作項 + AwoooP 合約儀表板 GitHub 主要來源就緒度合約只讀候選 + AwoooP 審批佇列 GitHub 主要來源就緒度審批邊界 + AwoooP 首頁 GitHub 主要來源就緒度只讀摘要 + AwoooP 租戶管理 GitHub 主要來源就緒度租戶範圍 + AwoooP 執行監控 GitHub 主要來源就緒度執行邊界 + IwoooS / AwoooP 資安可視區塊繁體中文呈現防護檢查 + AwoooP 執行詳情 / 審批詳情繁體中文呈現防護檢查 + AwoooP 首頁負責人回覆驗收總覽 + AwoooP 工作鏈路負責人回覆驗收只讀工作項 + AwoooP 合約儀表板負責人回覆驗收契約只讀候選 + AwoooP 審批佇列負責人回覆驗收只讀審查邊界 + AwoooP 租戶管理負責人回覆驗收租戶範圍 + AwoooP 執行監控負責人回覆驗收執行邊界 + AwoooP 執行詳情負責人回覆驗收詳情邊界 + AwoooP 審批決策負責人回覆驗收審批邊界 + IwoooS AwoooP 資安入口覆蓋狀態板 + IwoooS 階段式資安收斂節奏圖 + IwoooS 下一步人工收件作戰板 + IwoooS 人工回覆安全驗收閘道 + IwoooS 人工回覆審查結果分流 + IwoooS 人工決策準備佇列 + IwoooS 人工決策紀錄草稿防誤用 + IwoooS 人工決策正式紀錄負責人指派確認準備包 + IwoooS 人工決策正式紀錄負責人指派確認清單 + IwoooS 人工決策正式紀錄負責人指派確認結果分流 + IwoooS 人工決策正式紀錄負責人指派決策準備包 + IwoooS 人工決策正式紀錄負責人指派決策檢查清單 + IwoooS S4.9 負責人回覆封套欄位 + IwoooS S4.9 負責人回覆封套送件前檢查 + IwoooS S4.9 負責人回覆封套送件前結果分流 + IwoooS S4.9 負責人回覆送件請求草稿 + IwoooS S4.9 負責人回覆送件鏈路摘要 + IwoooS 低摩擦分階段收斂主控 + IwoooS 低摩擦下一步行動邊界 + IwoooS 58% 進度移動訊號驗收條 + IwoooS 第一個進度解鎖路徑 + IwoooS 第一解鎖證據包 + IwoooS 第一解鎖證據包預檢分流 + IwoooS 第一解鎖證據包補件路徑 + IwoooS 第一解鎖證據包補件送審前檢查 + IwoooS 第一解鎖證據包補件送審結果分流 + IwoooS 第一解鎖證據包 reviewer 指派準備包 + IwoooS 第一解鎖證據包 reviewer 指派前檢查 + IwoooS 第一解鎖證據包 reviewer 指派前檢查結果分流 | -| 本階段追加補充 | IwoooS 目前具體工作地圖 + IwoooS 目前具體交付清單 + IwoooS 目前阻塞與解除條件 + IwoooS 三軸進度與全產品套用範圍 + IwoooS 全產品分階段套用台帳 + IwoooS 全產品 rollout 波次驗收門檻 + IwoooS 全產品 rollout 驗收結果分流 + IwoooS 全產品證據接線地圖 + IwoooS 全產品證據接線預檢 + IwoooS 全產品證據接線預檢結果分流 + IwoooS 全產品預檢補件回收台帳 + IwoooS 全產品補件重試門檻 + IwoooS 全產品重試結果分流 + IwoooS 全產品人工審查候選準備 + IwoooS 全產品人工審查候選預檢 + IwoooS 全產品人工審查候選預檢結果分流 + IwoooS 全產品人工審查候選預檢補件回收台帳 | +| 本階段追加補充 | IwoooS 目前具體工作地圖 + IwoooS 目前具體交付清單 + IwoooS 目前阻塞與解除條件 + IwoooS 三軸進度與全產品套用範圍 + IwoooS 全產品分階段套用台帳 + IwoooS 全產品 rollout 波次驗收門檻 + IwoooS 全產品 rollout 驗收結果分流 + IwoooS 全產品證據接線地圖 + IwoooS 全產品證據接線預檢 + IwoooS 全產品證據接線預檢結果分流 + IwoooS 全產品預檢補件回收台帳 + IwoooS 全產品補件重試門檻 + IwoooS 全產品重試結果分流 + IwoooS 全產品人工審查候選準備 + IwoooS 全產品人工審查候選預檢 + IwoooS 全產品人工審查候選預檢結果分流 + IwoooS 全產品人工審查候選預檢補件回收台帳 + IwoooS 全產品人工審查候選預檢補件重試門檻 | | 原則 | 低摩擦分階段;文件、schema、read-only evidence 優先;不做 runtime enforcement、不切 primary | ## 0. 本階段完成後整體進度 @@ -29,7 +29,7 @@ python3 scripts/security/security-mirror-progress-guard.py ### 0.2 Headline 58% 不代表停滯 -近期 S4.10 請求包、範本狀態台帳、稽核事件範本、脫敏範例、收件檢查、收件預檢,S4.11 請求包 / 範本狀態台帳 / 稽核事件範本 / 脫敏範例 / 收件檢查 / 收件預檢,S4.12 請求包 / 範本狀態台帳 / 稽核事件範本 / 脫敏範例 / 收件檢查 / 收件預檢,S4.13 證據路由規則 / 顯示區塊 / 狀態轉移規則 / 審查清單 / 審查結果分流 / 審查稽核事件範本 / 審查稽核顯示區塊 / 審查稽核收件檢查 / 審查稽核脫敏範例 / 審查稽核保留規則 / 審查稽核保留檢查 / 審查稽核交接包 / 交接檢查 / 平行 Session 同步檢查 / 衝突分流 / 復原檢查 / 復原結果分流,S1.3 低摩擦非阻擋升級分流、S2.8 IwoooS 前端態勢入口,以及 S2.9-S2.139 IwoooS / AwoooP 資安投影契約都是有效進展,但它們是框架細節,不是負責人回覆、執行期閘門、生產匯入或 GitHub 主要來源就緒。因此整體百分比仍維持 58%,避免把只讀框架誤算成已落地執行。 +近期 S4.10 請求包、範本狀態台帳、稽核事件範本、脫敏範例、收件檢查、收件預檢,S4.11 請求包 / 範本狀態台帳 / 稽核事件範本 / 脫敏範例 / 收件檢查 / 收件預檢,S4.12 請求包 / 範本狀態台帳 / 稽核事件範本 / 脫敏範例 / 收件檢查 / 收件預檢,S4.13 證據路由規則 / 顯示區塊 / 狀態轉移規則 / 審查清單 / 審查結果分流 / 審查稽核事件範本 / 審查稽核顯示區塊 / 審查稽核收件檢查 / 審查稽核脫敏範例 / 審查稽核保留規則 / 審查稽核保留檢查 / 審查稽核交接包 / 交接檢查 / 平行 Session 同步檢查 / 衝突分流 / 復原檢查 / 復原結果分流,S1.3 低摩擦非阻擋升級分流、S2.8 IwoooS 前端態勢入口,以及 S2.9-S2.140 IwoooS / AwoooP 資安投影契約都是有效進展,但它們是框架細節,不是負責人回覆、執行期閘門、生產匯入或 GitHub 主要來源就緒。因此整體百分比仍維持 58%,避免把只讀框架誤算成已落地執行。 S2.50 也把「為什麼 58% 還不動」拆成五個可見 gate:owner response accepted、redacted payload ingestion、active runtime gate、GitHub primary ready、AwoooP read-only landing。這五個 gate 目前仍全部是 0 / false,所以 headline 不應被灌水提高。 @@ -203,6 +203,7 @@ S2.50 也把「為什麼 58% 還不動」拆成五個可見 gate:owner respons | S2.137 IwoooS 全產品人工審查候選預檢 | 已完成草案,在 `/iwooos` 顯示候選識別、結果來源、負責人與範圍、脫敏聲明、版本來源證據、主機窗口、工具摘要與 runtime 分離八個 read-only preflight checks;passed=0、ready_for_queue=0、queue_open=false、candidate_created=0、reviewer_assigned=0、audit_event_emitted=0、ready_for_runtime=0,仍不把候選預檢當 reviewer candidate、reviewer queue、稽核事件、runtime 授權、掃描、修復、部署、主機變更或版本來源操作 | 0 | | S2.138 IwoooS 全產品人工審查候選預檢結果分流 | 已完成草案,在 `/iwooos` 顯示維持只讀、退回識別、退回來源、退回範圍、隔離敏感、版本 / 主機暫停、等待人工審查與 runtime 仍關閉八條 read-only preflight outcome lanes;ready_for_queue=0、returned=0、quarantined=0、candidate_created=0、reviewer_assigned=0、audit_event_emitted=0、ready_for_runtime=0,仍不把預檢結果分流當 reviewer candidate、reviewer queue、稽核事件、runtime 授權、掃描、修復、部署、主機變更或版本來源操作 | 0 | | S2.139 IwoooS 全產品人工審查候選預檢補件回收台帳 | 已完成草案,在 `/iwooos` 顯示識別補件、來源補件、範圍補件、脫敏重送、版本補證、主機窗口補證、工具摘要補件與 runtime 聲明八個 read-only recovery queues;submitted=0、accepted=0、quarantined=0、ready_for_preflight_retry=0、ready_for_human_review=0、candidate_created=0、reviewer_assigned=0、audit_event_emitted=0、ready_for_runtime=0,仍不把補件回收台帳當補件已送出、已接受、預檢可重跑、reviewer queue、稽核事件、runtime 授權、掃描、修復、部署、主機變更或版本來源操作 | 0 | +| S2.140 IwoooS 全產品人工審查候選預檢補件重試門檻 | 已完成草案,在 `/iwooos` 顯示識別、來源、範圍、脫敏、版本、主機窗口、工具摘要與 runtime 分離八個 read-only retry gates;candidate=0、submitted=0、passed=0、ready_for_preflight_retry=0、ready_for_human_review=0、candidate_created=0、reviewer_assigned=0、audit_event_emitted=0、ready_for_runtime=0,仍不把補件重試門檻當補件已送出、已接受、預檢通過、reviewer queue、稽核事件、runtime 授權、掃描、修復、部署、主機變更或版本來源操作 | 0 | headline 要再往上,需要 S4.9 / S4.10 / S4.11 / S4.12 任一 owner response 收到並通過脫敏驗收,或人工批准後出現 active runtime gate、redacted payload ingestion、GitHub primary readiness 這類落地 evidence。 @@ -361,6 +362,7 @@ headline 要再往上,需要 S4.9 / S4.10 / S4.11 / S4.12 任一 owner respons | S2.137 IwoooS 全產品人工審查候選預檢 | 完成草案 | `/iwooos` 新增全產品人工審查候選預檢,列出候選識別、結果來源、負責人與範圍、脫敏聲明、版本來源、主機窗口、工具摘要與 runtime 分離八個 preflight checks | 使用者能直接理解準備包進 reviewer queue 前還要通過哪些只讀預檢;目前 passed / ready for queue / reviewer candidate / audit emitted / ready for runtime 仍為 0,所以 headline 仍不提高 | | S2.138 IwoooS 全產品人工審查候選預檢結果分流 | 完成草案 | `/iwooos` 新增全產品人工審查候選預檢結果分流,列出維持只讀、退回識別、退回來源、退回範圍、隔離敏感、版本 / 主機暫停、等待人工審查與 runtime 關閉八條 preflight outcome lanes | 使用者能直接理解預檢後會被分流到哪裡;目前 ready for queue / returned / quarantined / reviewer candidate / audit emitted / ready for runtime 仍為 0,所以 headline 仍不提高 | | S2.139 IwoooS 全產品人工審查候選預檢補件回收台帳 | 完成草案 | `/iwooos` 新增全產品人工審查候選預檢補件回收台帳,列出識別、來源、範圍、脫敏、版本、主機、工具摘要與 runtime 聲明八個 recovery queues | 使用者能直接理解退回、隔離與暫停後要補什麼、由誰補、怎麼回到預檢;目前 submitted / accepted / ready for preflight retry / reviewer candidate / audit emitted / ready for runtime 仍為 0,所以 headline 仍不提高 | +| S2.140 IwoooS 全產品人工審查候選預檢補件重試門檻 | 完成草案 | `/iwooos` 新增全產品人工審查候選預檢補件重試門檻,列出識別、來源、範圍、脫敏、版本、主機窗口、工具摘要與 runtime 分離八個 retry gates | 使用者能直接理解補件回收後何時可以重新回到 S2.137 預檢;目前 retry candidate / submitted / passed / ready for preflight retry / reviewer candidate / audit emitted / ready for runtime 仍為 0,所以 headline 仍不提高 | | S3 approval gate | 進行中 | `security_approval_gate_v1` 已建立 8 個人工 gate items:7 pending、1 block candidate、0 approved | 不得繞過人工批准;批准後仍需 follow-up runtime gate | | S3.0 人工批准 Gate 契約 | 完成草案 | 定義批准範圍、決策選項、required reviewers、still forbidden 與 follow-up runtime gate | AwoooP 可記錄決策,不可執行 gate item | | S3.1 人工決策紀錄契約 | 完成草案 | `security_approval_decision_record_v1` 已建立;目前 0 筆 decision records、0 個 runtime action 授權 | AwoooP 可稽核決策,不可把決策當執行 | diff --git a/docs/security/security-mirror-status-rollup.snapshot.json b/docs/security/security-mirror-status-rollup.snapshot.json index b10477570..b19bc44ed 100644 --- a/docs/security/security-mirror-status-rollup.snapshot.json +++ b/docs/security/security-mirror-status-rollup.snapshot.json @@ -2138,6 +2138,18 @@ "runtime_delta": false, "execution_authorized": false, "not_authorization": true + }, + { + "delta_id": "s2_140_iwooos_product_evidence_wiring_preflight_retry_review_candidate_preflight_recovery_retry_gates", + "display_order": 169, + "completed_stage": "S2.140 IwoooS 全產品人工審查候選預檢補件重試門檻", + "progress_axis": "framework_detail", + "headline_percent_delta": 0, + "framework_delta_visible": true, + "why_headline_unchanged": "IwoooS 只新增全產品人工審查候選預檢補件重試門檻,把識別、來源、範圍、脫敏、版本、主機窗口、工具摘要與 runtime 分離拆成八個 read-only retry gates;iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_gate_count=8、iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_current_stage=read_only_retry_review_candidate_preflight_recovery_retry_gate、iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_candidate_count=0、iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_submitted_count=0、iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_passed_count=0、iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_ready_for_preflight_retry_count=0、iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_ready_for_human_review_count=0、iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_ready_for_runtime_count=0、runtime_execution_authorized=false、active_runtime_gate_count=0,不把補件重試門檻當補件已送出、已接受、預檢通過、reviewer candidate 已建立、reviewer queue 已開、runtime gate、Kali 執行、主機變更、repo/refs/workflow/secret 操作、GitHub primary 切換、Gitea 停用或正式部署。", + "runtime_delta": false, + "execution_authorized": false, + "not_authorization": true } ], "next_safe_actions": [ @@ -3518,6 +3530,22 @@ "從 IwoooS 全產品人工審查候選預檢補件回收台帳呼叫 Kali、開 SSH、更新主機、切 GitHub 主要來源、停用 Gitea、送出 request、收 raw payload、收機密明文值、開 reviewer queue、建立 reviewer candidate、指派 reviewer 或建立稽核事件" ] }, + { + "action_id": "show_iwooos_product_evidence_wiring_preflight_retry_review_candidate_preflight_recovery_retry_gates", + "title": "IwoooS 顯示全產品人工審查候選預檢補件重試門檻", + "mode": "observe", + "source_contract": "iwooos_posture_projection_v1", + "allowed_processing": [ + "在 /iwooos 顯示 S2.140 全產品人工審查候選預檢補件重試門檻", + "把識別、來源、範圍、脫敏、版本、主機窗口、工具摘要與 runtime 分離拆成八個 read-only retry gates", + "固定目前只做 read-only retry review candidate preflight recovery retry gate,candidate=0、submitted=0、passed=0、ready_for_preflight_retry=0、ready_for_human_review=0、candidate_created=0、reviewer_assigned=0、audit_event_emitted=0、ready_for_runtime=0" + ], + "blocked_processing": [ + "把 IwoooS 全產品人工審查候選預檢補件重試門檻當成補件已送出、補件已接受、預檢通過、reviewer candidate 已建立、reviewer queue 已開、reviewer 已指派、稽核事件已建立、headline review 授權、runtime 授權、掃描、修復、部署、主機變更或版本來源操作入口", + "從 IwoooS 全產品人工審查候選預檢補件重試門檻建立專案庫、改可見性、同步 / 刪除 / 強制推送 refs,或修改工作流程 / 機密設定", + "從 IwoooS 全產品人工審查候選預檢補件重試門檻呼叫 Kali、開 SSH、更新主機、切 GitHub 主要來源、停用 Gitea、送出 request、收 raw payload、收機密明文值、開 reviewer queue、建立 reviewer candidate、指派 reviewer 或建立稽核事件" + ] + }, { "action_id": "enforce_traditional_chinese_security_surface_wording", "title": "IwoooS / AwoooP 資安可視區塊維持繁體中文呈現", diff --git a/scripts/security/security-mirror-progress-guard.py b/scripts/security/security-mirror-progress-guard.py index 96750f416..f7e33399d 100755 --- a/scripts/security/security-mirror-progress-guard.py +++ b/scripts/security/security-mirror-progress-guard.py @@ -391,6 +391,7 @@ def validate(root: Path) -> None: "s2_137_iwooos_product_evidence_wiring_preflight_retry_review_candidate_preflight", "s2_138_iwooos_product_evidence_wiring_preflight_retry_review_candidate_preflight_outcomes", "s2_139_iwooos_product_evidence_wiring_preflight_retry_review_candidate_preflight_recovery_ledger", + "s2_140_iwooos_product_evidence_wiring_preflight_retry_review_candidate_preflight_recovery_retry_gates", ] assert_equal( "progress_delta_ledger.delta_ids", @@ -810,6 +811,11 @@ def validate(root: Path) -> None: [item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)], "show_iwooos_product_evidence_wiring_preflight_retry_review_candidate_preflight_recovery_ledger", ) + assert_contains( + "rollup.next_safe_actions.action_ids", + [item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)], + "show_iwooos_product_evidence_wiring_preflight_retry_review_candidate_preflight_recovery_retry_gates", + ) assert_contains( "rollup.next_safe_actions.action_ids", [item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)], @@ -10490,6 +10496,118 @@ def validate(root: Path) -> None: list(web_messages_en["iwooos"]["productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryLedger"]["items"].keys()), key, ) + assert_text_contains( + "iwooos_page.product_evidence_wiring_preflight_retry_review_candidate_preflight_recovery_retry_gates_testid", + iwooos_projection_page, + 'data-testid="iwooos-product-evidence-wiring-preflight-retry-review-candidate-preflight-recovery-retry-gates-board"', + ) + assert_text_contains( + "iwooos_page.product_evidence_wiring_preflight_retry_review_candidate_preflight_recovery_retry_gates_component", + iwooos_projection_page, + "IwoooSProductEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGatesBoard", + ) + for text in [ + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_gate_count=8", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_current_stage=read_only_retry_review_candidate_preflight_recovery_retry_gate", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_visible_gate_count=8", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_candidate_count=0", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_submitted_count=0", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_passed_count=0", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_failed_count=0", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_ready_for_preflight_retry_count=0", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_ready_for_human_review_count=0", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_candidate_created_count=0", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_reviewer_assigned_count=0", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_audit_event_emitted_count=0", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_ready_for_runtime_count=0", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_owner_response_accepted_count=0", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_redacted_evidence_pointer_accepted_count=0", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_source_control_truth_accepted_count=0", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_host_safety_window_approved=false", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_tool_summary_ingested=false", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_runtime_gate_open=false", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_public_secret_exposure_allowed=false", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_kali_execution_authorized=false", + "iwooos_product_evidence_wiring_preflight_retry_review_preflight_recovery_retry_source_control_mutation_authorized=false", + "runtime_execution_authorized=false", + "active_runtime_gate_count=0", + "action_buttons_allowed=false", + "not_authorization=true", + "secret_value_collection_allowed=false", + "repo_creation_authorized=false", + "refs_sync_authorized=false", + "workflow_modification_authorized=false", + "github_primary_switch_authorized=false", + "gitea_disablement_authorized=false", + ]: + assert_text_contains( + "iwooos_page.product_evidence_wiring_preflight_retry_review_candidate_preflight_recovery_retry_gates_boundary", + iwooos_projection_page, + text, + ) + assert_contains( + "web_messages.zh-TW.iwooos.productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGates", + list(web_messages_zh["iwooos"].keys()), + "productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGates", + ) + assert_contains( + "web_messages.en.iwooos.productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGates", + list(web_messages_en["iwooos"].keys()), + "productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGates", + ) + for key in [ + "title", + "subtitle", + "summary", + "items", + "gateLabel", + "readyLabel", + "retryLabel", + "blockedLabel", + "boundaryTitle", + "boundaryIntro", + ]: + assert_contains( + "web_messages.zh-TW.iwooos.productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGates.keys", + list(web_messages_zh["iwooos"]["productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGates"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGates.keys", + list(web_messages_en["iwooos"]["productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGates"].keys()), + key, + ) + for key in ["gates", "candidates", "passed", "runtime"]: + assert_contains( + "web_messages.zh-TW.iwooos.productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGates.summary", + list(web_messages_zh["iwooos"]["productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGates"]["summary"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGates.summary", + list(web_messages_en["iwooos"]["productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGates"]["summary"].keys()), + key, + ) + for key in [ + "identityGate", + "traceGate", + "ownerScopeGate", + "redactionGate", + "sourceControlGate", + "hostWindowGate", + "toolSummaryGate", + "runtimeGate", + ]: + assert_contains( + "web_messages.zh-TW.iwooos.productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGates.items", + list(web_messages_zh["iwooos"]["productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGates"]["items"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGates.items", + list(web_messages_en["iwooos"]["productEvidenceWiringPreflightRetryReviewCandidatePreflightRecoveryRetryGates"]["items"].keys()), + key, + ) assert_text_contains( "iwooos_page.first_progress_unlock_path_testid", iwooos_projection_page,