From d068b06d2cc953bdb41d355461cd58c46b6c02d2 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 24 May 2026 21:46:08 +0800 Subject: [PATCH] feat(web): add iwooos delivery checklist --- apps/web/messages/en.json | 66 ++++++++ apps/web/messages/zh-TW.json | 66 ++++++++ apps/web/src/app/[locale]/iwooos/page.tsx | 154 ++++++++++++++++++ docs/LOGBOOK.md | 15 ++ .../security/SECURITY-MIRROR-STATUS-ROLLUP.md | 2 + .../SECURITY-SUPPLY-CHAIN-PROGRESS.md | 6 +- ...ecurity-mirror-status-rollup.snapshot.json | 28 ++++ .../security-mirror-progress-guard.py | 105 ++++++++++++ 8 files changed, 440 insertions(+), 2 deletions(-) diff --git a/apps/web/messages/en.json b/apps/web/messages/en.json index 7e570931c..c07942719 100644 --- a/apps/web/messages/en.json +++ b/apps/web/messages/en.json @@ -4932,6 +4932,72 @@ } } }, + "concreteSecurityDeliveryChecklist": { + "title": "目前具體交付清單", + "subtitle": "S2.124 把六條具體工作流再拆成可追蹤交付項目:每一項都標明已交付內容、下一步需要的證據,以及目前仍被禁止的動作。這是只讀交付清單,不是批准、掃描、修復、部署或主機操作入口。", + "deliverableLabel": "交付", + "deliveredLabel": "已交付", + "nextLabel": "下一步", + "blockedLabel": "未開放", + "boundaryTitle": "交付清單邊界", + "boundaryIntro": "以下鍵值固定:交付清單只說明目前實際產出與下一個證據門檻;owner response、reviewer queue、runtime gate、Kali 執行、GitHub primary 切換與 Gitea 停用仍全部未開。", + "summary": { + "items": { + "label": "交付項目", + "detail": "六項對應六條具體工作流。" + }, + "framework": { + "label": "目前型態", + "detail": "只讀框架與證據欄位,不是執行。" + }, + "blocked": { + "label": "下一門檻", + "detail": "先等 S4.9 owner response 脫敏證據。" + }, + "runtime": { + "label": "runtime", + "detail": "目前仍是 0,沒有掃描或部署。" + } + }, + "items": { + "visibilitySurface": { + "title": "IwoooS 前台可見工作台", + "delivered": "已把 IwoooS、既有安全/合規頁與 AwoooP 多個入口串成同一套只讀資安視圖。", + "next": "持續把資安狀態改成使用者看得懂的工作項目與證據狀態。", + "blocked": "不可新增執行按鈕,也不可把前台視圖當成批准紀錄。" + }, + "hostScopeEvidence": { + "title": "主機範圍與證據欄位", + "delivered": "已把 Kali 192.168.0.112、開發主機 192.168.0.168、192.168.0.111 納入只讀 host coverage 與 action gate。", + "next": "等待脫敏主機證據、範圍確認與負責人回覆進入收件流程。", + "blocked": "不可 SSH、更新主機、掃描、調整設定或收未脫敏主機資料。" + }, + "sourceControlEvidence": { + "title": "GitHub / Gitea 遷移證據", + "delivered": "已建立 GitHub primary readiness、rollback ADR、refs truth、workflow/secret 名稱與 owner response 驗收框架。", + "next": "等待 GitHub target owner、refs truth、workflow/secret 名稱與 Gitea attestation 的脫敏 owner response。", + "blocked": "不可建立 repo、同步 refs、修改 workflow/secret、切 GitHub primary 或停用 Gitea。" + }, + "s49OwnerPacket": { + "title": "S4.9 第一解鎖證據包", + "delivered": "已定義工作單、封套欄位、送件前檢查、送件結果分流、送件鏈路與第一解鎖證據包。", + "next": "收到可追溯、已脫敏且可預檢的 S4.9 owner response。", + "blocked": "不可收 raw payload、機密明文、token value 或把草稿當成已收到。" + }, + "reviewerPreparation": { + "title": "人工 reviewer 準備序列", + "delivered": "已把預檢、補件路徑、補件送審前檢查、結果分流、reviewer 指派準備、指派前檢查與結果分流串成只讀序列。", + "next": "等 owner evidence 被接受後,才討論是否開 reviewer queue 與建立 reviewer candidate。", + "blocked": "不可開 queue、建立 candidate、指派 reviewer 或建立稽核事件。" + }, + "runtimeGate": { + "title": "runtime 開閘條件", + "delivered": "已把掃描、修復、部署、主機變更與 Kali 執行放在後續人工批准與 runtime gate 之後。", + "next": "需要明確人工批准、scope、rollback、disable 條件與 active runtime gate。", + "blocked": "不可 scan、deploy、host change、Kali execution、source-control mutation 或生產部署。" + } + } + }, "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 8dec8b35e..bc4583402 100644 --- a/apps/web/messages/zh-TW.json +++ b/apps/web/messages/zh-TW.json @@ -4933,6 +4933,72 @@ } } }, + "concreteSecurityDeliveryChecklist": { + "title": "目前具體交付清單", + "subtitle": "S2.124 把六條具體工作流再拆成可追蹤交付項目:每一項都標明已交付內容、下一步需要的證據,以及目前仍被禁止的動作。這是只讀交付清單,不是批准、掃描、修復、部署或主機操作入口。", + "deliverableLabel": "交付", + "deliveredLabel": "已交付", + "nextLabel": "下一步", + "blockedLabel": "未開放", + "boundaryTitle": "交付清單邊界", + "boundaryIntro": "以下鍵值固定:交付清單只說明目前實際產出與下一個證據門檻;owner response、reviewer queue、runtime gate、Kali 執行、GitHub primary 切換與 Gitea 停用仍全部未開。", + "summary": { + "items": { + "label": "交付項目", + "detail": "六項對應六條具體工作流。" + }, + "framework": { + "label": "目前型態", + "detail": "只讀框架與證據欄位,不是執行。" + }, + "blocked": { + "label": "下一門檻", + "detail": "先等 S4.9 owner response 脫敏證據。" + }, + "runtime": { + "label": "runtime", + "detail": "目前仍是 0,沒有掃描或部署。" + } + }, + "items": { + "visibilitySurface": { + "title": "IwoooS 前台可見工作台", + "delivered": "已把 IwoooS、既有安全/合規頁與 AwoooP 多個入口串成同一套只讀資安視圖。", + "next": "持續把資安狀態改成使用者看得懂的工作項目與證據狀態。", + "blocked": "不可新增執行按鈕,也不可把前台視圖當成批准紀錄。" + }, + "hostScopeEvidence": { + "title": "主機範圍與證據欄位", + "delivered": "已把 Kali 192.168.0.112、開發主機 192.168.0.168、192.168.0.111 納入只讀 host coverage 與 action gate。", + "next": "等待脫敏主機證據、範圍確認與負責人回覆進入收件流程。", + "blocked": "不可 SSH、更新主機、掃描、調整設定或收未脫敏主機資料。" + }, + "sourceControlEvidence": { + "title": "GitHub / Gitea 遷移證據", + "delivered": "已建立 GitHub primary readiness、rollback ADR、refs truth、workflow/secret 名稱與 owner response 驗收框架。", + "next": "等待 GitHub target owner、refs truth、workflow/secret 名稱與 Gitea attestation 的脫敏 owner response。", + "blocked": "不可建立 repo、同步 refs、修改 workflow/secret、切 GitHub primary 或停用 Gitea。" + }, + "s49OwnerPacket": { + "title": "S4.9 第一解鎖證據包", + "delivered": "已定義工作單、封套欄位、送件前檢查、送件結果分流、送件鏈路與第一解鎖證據包。", + "next": "收到可追溯、已脫敏且可預檢的 S4.9 owner response。", + "blocked": "不可收 raw payload、機密明文、token value 或把草稿當成已收到。" + }, + "reviewerPreparation": { + "title": "人工 reviewer 準備序列", + "delivered": "已把預檢、補件路徑、補件送審前檢查、結果分流、reviewer 指派準備、指派前檢查與結果分流串成只讀序列。", + "next": "等 owner evidence 被接受後,才討論是否開 reviewer queue 與建立 reviewer candidate。", + "blocked": "不可開 queue、建立 candidate、指派 reviewer 或建立稽核事件。" + }, + "runtimeGate": { + "title": "runtime 開閘條件", + "delivered": "已把掃描、修復、部署、主機變更與 Kali 執行放在後續人工批准與 runtime gate 之後。", + "next": "需要明確人工批准、scope、rollback、disable 條件與 active runtime gate。", + "blocked": "不可 scan、deploy、host change、Kali execution、source-control mutation 或生產部署。" + } + } + }, "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 2684ad3f0..ff42bee08 100644 --- a/apps/web/src/app/[locale]/iwooos/page.tsx +++ b/apps/web/src/app/[locale]/iwooos/page.tsx @@ -1075,6 +1075,39 @@ const iwooosConcreteSecurityWorkMapBoundaries = [ 'gitea_disablement_authorized=false', ] as const +const iwooosConcreteSecurityDeliveryChecklist = [ + { key: 'visibilitySurface', deliverable: 'D1', state: '已交付', icon: SearchCheck, tone: 'steady' }, + { key: 'hostScopeEvidence', deliverable: 'D2', state: '已框架化', icon: Activity, tone: 'warn' }, + { key: 'sourceControlEvidence', deliverable: 'D3', state: '待 owner', icon: GitBranch, tone: 'warn' }, + { key: 's49OwnerPacket', deliverable: 'D4', state: '待收件', icon: ClipboardCheck, tone: 'warn' }, + { key: 'reviewerPreparation', deliverable: 'D5', state: '佇列未開', icon: ListChecks, tone: 'locked' }, + { key: 'runtimeGate', deliverable: 'D6', state: '未授權', icon: Lock, tone: 'locked' }, +] as const + +const iwooosConcreteSecurityDeliveryChecklistBoundaries = [ + 'iwooos_concrete_security_delivery_item_count=6', + 'iwooos_concrete_security_delivery_visible_item_count=6', + 'iwooos_concrete_security_delivery_framework_only_count=6', + 'iwooos_concrete_security_delivery_runtime_item_count=0', + 'iwooos_concrete_security_delivery_next_owner_evidence=s4_9_owner_response', + 'iwooos_concrete_security_delivery_ready_for_runtime_count=0', + 'iwooos_concrete_security_delivery_evidence_received_count=0', + 'iwooos_concrete_security_delivery_evidence_accepted_count=0', + 'iwooos_concrete_security_delivery_reviewer_queue_open=false', + 'iwooos_concrete_security_delivery_git_primary_ready=false', + 'iwooos_concrete_security_delivery_kali_execution_ready=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' }, @@ -4284,6 +4317,125 @@ function IwoooSConcreteSecurityWorkMapBoard() { ) } +function IwoooSConcreteSecurityDeliveryChecklistBoard() { + const t = useTranslations('iwooos.concreteSecurityDeliveryChecklist') + const summaryItems = [ + { key: 'items', value: '6', tone: 'warn' as const }, + { key: 'framework', value: '只讀', tone: 'steady' as const }, + { key: 'blocked', value: 'S4.9', tone: 'warn' as const }, + { key: 'runtime', value: '0', tone: 'locked' as const }, + ] + const textWrap = { overflowWrap: 'anywhere' as const, wordBreak: 'break-word' as const } + + return ( +
+
+
+
+
+

{t('title')}

+

+ {t('subtitle')} +

+
+
+ {summaryItems.map(item => ( +
+
+ {t(`summary.${item.key}.label` as never)} + +
+
+ {item.value} +
+

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

+
+ ))} +
+
+ {iwooosConcreteSecurityDeliveryChecklist.map(item => { + const Icon = item.icon + return ( +
+
+
+ + + {t('deliverableLabel')} {item.deliverable} + +
+ + {item.state} + +
+
+

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

+

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

+

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

+

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

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

{t('boundaryTitle')}

+
+

+ {t('boundaryIntro')} +

+
+ {iwooosConcreteSecurityDeliveryChecklistBoundaries.map(item => ( + + {item} + + ))} +
+
+
+
+
+ ) +} + function IwoooSFirstProgressUnlockPathBoard() { const t = useTranslations('iwooos.firstProgressUnlockPath') const summaryItems = [ @@ -9015,6 +9167,8 @@ export default function IwoooSPage({ params }: { params: { locale: string } }) { + + diff --git a/docs/LOGBOOK.md b/docs/LOGBOOK.md index 8ac873ff0..2b77a8df2 100644 --- a/docs/LOGBOOK.md +++ b/docs/LOGBOOK.md @@ -1,3 +1,18 @@ +## 2026-05-24 | 資安供應鏈 S2.124:IwoooS 目前具體交付清單 + +**背景**:S2.123 已把資安網拆成六條具體工作流;本階段再把六條工作流轉成「交付清單」,讓使用者能直接看見每項已交付內容、下一步證據門檻與仍禁止的動作。 + +**完成**: +- `/iwooos` 新增「目前具體交付清單」看板,顯示 IwoooS 前台可見工作台、主機範圍與證據欄位、GitHub / Gitea 遷移證據、S4.9 第一解鎖證據包、人工 reviewer 準備序列、runtime 開閘條件六項交付。 +- 每項交付固定顯示「已交付 / 下一步 / 未開放」,避免把只讀框架誤解成 owner response 已收到、reviewer queue 已開或 runtime 已授權。 +- 看板固定顯示 `iwooos_concrete_security_delivery_item_count=6`、`iwooos_concrete_security_delivery_visible_item_count=6`、`iwooos_concrete_security_delivery_framework_only_count=6`、`iwooos_concrete_security_delivery_runtime_item_count=0`、`iwooos_concrete_security_delivery_next_owner_evidence=s4_9_owner_response`、`iwooos_concrete_security_delivery_ready_for_runtime_count=0`、`iwooos_concrete_security_delivery_evidence_received_count=0`、`iwooos_concrete_security_delivery_evidence_accepted_count=0`、`iwooos_concrete_security_delivery_reviewer_queue_open=false`、`iwooos_concrete_security_delivery_git_primary_ready=false`、`iwooos_concrete_security_delivery_kali_execution_ready=false`,並維持 `runtime_execution_authorized=false`、`active_runtime_gate_count=0`、`action_buttons_allowed=false`、`not_authorization=true`。 +- `security_mirror_status_rollup_v1` 新增 `s2_124_iwooos_concrete_security_delivery_checklist` 與 `show_iwooos_concrete_security_delivery_checklist`。 +- `security-mirror-progress-guard.py` 已納入具體交付清單看板、i18n 鍵、六項交付與 false 邊界檢查。 + +**仍禁止**: +- S2.124 只做 `/iwooos` 只讀交付清單,不代表 owner response 已收到、證據已接受、headline review 授權、runtime 授權、人工審批、掃描、修復、部署、主機變更、專案庫建立、refs sync、workflow / secret 修改、GitHub primary 切換、Gitea 停用、Kali / SSH / 主機更新、reviewer queue 開啟、reviewer candidate 建立、reviewer 指派或稽核事件建立。 +- 整體資安網百分比仍是 58%;框架 / 治理 / 文件 / schema / read-only evidence 仍約 80-85%;真正落地執行 / runtime ingestion / GitHub primary / AwoooP production landing 仍約 35-40%。 + ## 2026-05-24 | 資安供應鏈 S2.123:IwoooS 目前具體工作地圖 **背景**:統帥回饋「到目前為止,還蠻難理解有哪些具體的工作」;本階段不再新增一層抽象 reviewer 狀態,而是把目前資安網拆成六條使用者可理解的具體工作流,讓前台直接說清楚已做什麼、下一個真門檻是什麼、哪些仍未授權。 diff --git a/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md b/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md index b287ea548..7cdbb10a2 100644 --- a/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md +++ b/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md @@ -67,6 +67,7 @@ | IwoooS 第一解鎖證據包 reviewer 指派前檢查 | S2.121 已在 `/iwooos` 顯示第一解鎖證據包 reviewer 指派前檢查:佇列仍關閉、角色邊界可追溯、範圍包可追溯、證據索引已脫敏、衝突揭露已釐清、稽核草稿只含 metadata 六項;`iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_check_count=6`、`iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_passed_count=0`、`iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_failed_count=0`、`iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_ready_count=0`、`iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_reviewer_candidate_count=0`、`iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_reviewer_assigned_count=0`、`iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_queue_open=false`、`iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_audit_event_emitted=0`、`runtime_execution_authorized=false`、`active_runtime_gate_count=0`、`not_authorization=true`,仍不代表 reviewer candidate 已成立、queue 已開、reviewer 已指派、補件已送出、證據已補齊、審查已接受、headline review 授權、runtime 授權、掃描、修復、部署、GitHub 主要來源切換、Gitea 停用、Kali / SSH / 主機更新、稽核事件建立或執行期授權 | | IwoooS 第一解鎖證據包 reviewer 指派前檢查結果分流 | S2.122 已在 `/iwooos` 顯示第一解鎖證據包 reviewer 指派前檢查結果分流:維持佇列關閉、退回角色邊界、退回範圍包、隔離未脫敏證據、暫停衝突揭露、保留 metadata-only 稽核草稿六條;`iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_lane_count=6`、`iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_ready_for_candidate_count=0`、`iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_returned_count=0`、`iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_quarantined_count=0`、`iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_conflict_hold_count=0`、`iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_audit_event_emitted=0`、`iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_reviewer_candidate_count=0`、`iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_reviewer_assigned_count=0`、`iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_queue_open=false`、`runtime_execution_authorized=false`、`active_runtime_gate_count=0`、`not_authorization=true`,仍不代表 reviewer candidate 已成立、queue 已開、reviewer 已指派、補件已送出、證據已補齊、審查已接受、headline review 授權、runtime 授權、掃描、修復、部署、GitHub 主要來源切換、Gitea 停用、Kali / SSH / 主機更新、稽核事件建立或執行期授權 | | IwoooS 目前具體工作地圖 | S2.123 已在 `/iwooos` 顯示目前具體工作地圖:前台資安入口與使用者可視化、主機與範圍盤點框架、GitHub / Gitea 版本來源遷移準備、S4.9 負責人回覆與脫敏證據收件、reviewer / 人工審查流程、runtime 掃描修復部署與主機變更六條;`iwooos_concrete_security_workstream_count=6`、`iwooos_concrete_security_visible_workstream_count=6`、`iwooos_concrete_security_framework_only_stream_count=6`、`iwooos_concrete_security_runtime_workstream_count=0`、`iwooos_concrete_security_next_real_gate=s4_9_owner_response_accepted`、`iwooos_concrete_security_owner_response_received_count=0`、`iwooos_concrete_security_owner_response_accepted_count=0`、`iwooos_concrete_security_redacted_payload_ingested=false`、`iwooos_concrete_security_active_runtime_gate_count=0`、`iwooos_concrete_security_github_primary_ready_count=0`、`runtime_execution_authorized=false`、`active_runtime_gate_count=0`、`not_authorization=true`,仍不代表 owner response 已收到、證據已接受、headline review 授權、runtime 授權、掃描、修復、部署、GitHub 主要來源切換、Gitea 停用、Kali / SSH / 主機更新、repo / refs / workflow / secret 操作或執行期授權 | +| IwoooS 目前具體交付清單 | S2.124 已在 `/iwooos` 顯示目前具體交付清單:IwoooS 前台可見工作台、主機範圍與證據欄位、GitHub / Gitea 遷移證據、S4.9 第一解鎖證據包、人工 reviewer 準備序列、runtime 開閘條件六項;`iwooos_concrete_security_delivery_item_count=6`、`iwooos_concrete_security_delivery_visible_item_count=6`、`iwooos_concrete_security_delivery_framework_only_count=6`、`iwooos_concrete_security_delivery_runtime_item_count=0`、`iwooos_concrete_security_delivery_next_owner_evidence=s4_9_owner_response`、`iwooos_concrete_security_delivery_ready_for_runtime_count=0`、`iwooos_concrete_security_delivery_evidence_received_count=0`、`iwooos_concrete_security_delivery_evidence_accepted_count=0`、`iwooos_concrete_security_delivery_reviewer_queue_open=false`、`iwooos_concrete_security_delivery_git_primary_ready=false`、`iwooos_concrete_security_delivery_kali_execution_ready=false`、`runtime_execution_authorized=false`、`active_runtime_gate_count=0`、`not_authorization=true`,仍不代表 owner response 已收到、證據已接受、reviewer queue 已開、headline review 授權、runtime 授權、掃描、修復、部署、GitHub 主要來源切換、Gitea 停用、Kali / SSH / 主機更新、repo / refs / workflow / secret 操作或執行期授權 | | 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 | @@ -275,6 +276,7 @@ | S2.121 IwoooS 第一解鎖證據包 reviewer 指派前檢查 | framework detail | 0 | 只在 `/iwooos` 顯示第一解鎖證據包 reviewer 指派前檢查,把佇列仍關閉、角色邊界可追溯、範圍包可追溯、證據索引已脫敏、衝突揭露已釐清、稽核草稿只含 metadata 六項拆開;iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_check_count=6、iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_current_focus=reviewer_assignment_preflight、iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_passed_count=0、iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_failed_count=0、iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_ready_count=0、iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_reviewer_candidate_count=0、iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_reviewer_assigned_count=0、iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_queue_open=false、iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_audit_event_emitted=0、runtime_execution_authorized=false、active_runtime_gate_count=0、action_buttons_allowed=false、not_authorization=true,不把指派前檢查當 reviewer candidate 已成立、queue 已開、reviewer 已指派、補件已送出、證據已補齊、審查已接受、headline review 授權、runtime 授權、審批、掃描、修復、部署、主機變更、專案庫建立、分支 / 標籤參照同步、工作流程 / 機密設定修改、主要來源切換、Gitea 停用、Kali / SSH / 主機更新、稽核事件建立或執行期授權 | | S2.122 IwoooS 第一解鎖證據包 reviewer 指派前檢查結果分流 | framework detail | 0 | 只在 `/iwooos` 顯示第一解鎖證據包 reviewer 指派前檢查結果分流,把維持佇列關閉、退回角色邊界、退回範圍包、隔離未脫敏證據、暫停衝突揭露、保留 metadata-only 稽核草稿六條拆開;iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_lane_count=6、iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_current_focus=reviewer_assignment_preflight_outcomes、iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_ready_for_candidate_count=0、iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_returned_count=0、iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_quarantined_count=0、iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_conflict_hold_count=0、iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcome_audit_event_emitted=0、iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_reviewer_candidate_count=0、iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_reviewer_assigned_count=0、iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_queue_open=false、runtime_execution_authorized=false、active_runtime_gate_count=0、action_buttons_allowed=false、not_authorization=true,不把結果分流當 reviewer candidate 已成立、queue 已開、reviewer 已指派、補件已送出、證據已補齊、審查已接受、headline review 授權、runtime 授權、審批、掃描、修復、部署、主機變更、專案庫建立、分支 / 標籤參照同步、工作流程 / 機密設定修改、主要來源切換、Gitea 停用、Kali / SSH / 主機更新、稽核事件建立或執行期授權 | | S2.123 IwoooS 目前具體工作地圖 | framework detail | 0 | 只在 `/iwooos` 顯示目前具體工作地圖,把前台資安入口與使用者可視化、主機與範圍盤點框架、GitHub / Gitea 版本來源遷移準備、S4.9 負責人回覆與脫敏證據收件、reviewer / 人工審查流程、runtime 掃描修復部署與主機變更六條具體工作流拆開;iwooos_concrete_security_workstream_count=6、iwooos_concrete_security_visible_workstream_count=6、iwooos_concrete_security_framework_only_stream_count=6、iwooos_concrete_security_runtime_workstream_count=0、iwooos_concrete_security_next_real_gate=s4_9_owner_response_accepted、iwooos_concrete_security_owner_response_received_count=0、iwooos_concrete_security_owner_response_accepted_count=0、iwooos_concrete_security_redacted_payload_ingested=false、iwooos_concrete_security_active_runtime_gate_count=0、iwooos_concrete_security_github_primary_ready_count=0、runtime_execution_authorized=false、active_runtime_gate_count=0、action_buttons_allowed=false、not_authorization=true,不把具體工作地圖當 owner response 已收到、證據已接受、headline review 授權、runtime 授權、審批、掃描、修復、部署、主機變更、專案庫建立、分支 / 標籤參照同步、工作流程 / 機密設定修改、主要來源切換、Gitea 停用、Kali / SSH / 主機更新、reviewer queue 開啟或執行期授權 | +| S2.124 IwoooS 目前具體交付清單 | framework detail | 0 | 只在 `/iwooos` 顯示目前具體交付清單,把 IwoooS 前台可見工作台、主機範圍與證據欄位、GitHub / Gitea 遷移證據、S4.9 第一解鎖證據包、人工 reviewer 準備序列、runtime 開閘條件六項交付拆開;iwooos_concrete_security_delivery_item_count=6、iwooos_concrete_security_delivery_visible_item_count=6、iwooos_concrete_security_delivery_framework_only_count=6、iwooos_concrete_security_delivery_runtime_item_count=0、iwooos_concrete_security_delivery_next_owner_evidence=s4_9_owner_response、iwooos_concrete_security_delivery_ready_for_runtime_count=0、iwooos_concrete_security_delivery_evidence_received_count=0、iwooos_concrete_security_delivery_evidence_accepted_count=0、iwooos_concrete_security_delivery_reviewer_queue_open=false、iwooos_concrete_security_delivery_git_primary_ready=false、iwooos_concrete_security_delivery_kali_execution_ready=false、runtime_execution_authorized=false、active_runtime_gate_count=0、action_buttons_allowed=false、not_authorization=true,不把交付清單當 owner response 已收到、證據已接受、reviewer queue 已開、headline review 授權、runtime 授權、審批、掃描、修復、部署、主機變更、專案庫建立、分支 / 標籤參照同步、工作流程 / 機密設定修改、主要來源切換、Gitea 停用、Kali / SSH / 主機更新或執行期授權 | headline 進度要再往上,至少需要下列任一高層 gate 有實質 evidence: diff --git a/docs/security/SECURITY-SUPPLY-CHAIN-PROGRESS.md b/docs/security/SECURITY-SUPPLY-CHAIN-PROGRESS.md index 9c1345e05..3bbb31231 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 目前具體交付清單 | | 原則 | 低摩擦分階段;文件、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.123 IwoooS / AwoooP 資安投影契約都是有效進展,但它們是框架細節,不是負責人回覆、執行期閘門、生產匯入或 GitHub 主要來源就緒。因此整體百分比仍維持 58%,避免把只讀框架誤算成已落地執行。 +近期 S4.10 請求包、範本狀態台帳、稽核事件範本、脫敏範例、收件檢查、收件預檢,S4.11 請求包 / 範本狀態台帳 / 稽核事件範本 / 脫敏範例 / 收件檢查 / 收件預檢,S4.12 請求包 / 範本狀態台帳 / 稽核事件範本 / 脫敏範例 / 收件檢查 / 收件預檢,S4.13 證據路由規則 / 顯示區塊 / 狀態轉移規則 / 審查清單 / 審查結果分流 / 審查稽核事件範本 / 審查稽核顯示區塊 / 審查稽核收件檢查 / 審查稽核脫敏範例 / 審查稽核保留規則 / 審查稽核保留檢查 / 審查稽核交接包 / 交接檢查 / 平行 Session 同步檢查 / 衝突分流 / 復原檢查 / 復原結果分流,S1.3 低摩擦非阻擋升級分流、S2.8 IwoooS 前端態勢入口,以及 S2.9-S2.124 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 不應被灌水提高。 @@ -187,6 +187,7 @@ S2.50 也把「為什麼 58% 還不動」拆成五個可見 gate:owner respons | S2.121 IwoooS 第一解鎖證據包 reviewer 指派前檢查 | 已完成草案,在 `/iwooos` 顯示佇列仍關閉、角色邊界可追溯、範圍包可追溯、證據索引已脫敏、衝突揭露已釐清、稽核草稿只含 metadata 六項檢查;仍不把指派前檢查當成 reviewer candidate 已成立、queue 已開、reviewer 已指派、headline review 授權、runtime 授權或執行期閘門 | 0 | | S2.122 IwoooS 第一解鎖證據包 reviewer 指派前檢查結果分流 | 已完成草案,在 `/iwooos` 顯示維持佇列關閉、退回角色邊界、退回範圍包、隔離未脫敏證據、暫停衝突揭露、保留 metadata-only 稽核草稿六條結果;仍不把結果分流當成 reviewer candidate 已成立、queue 已開、reviewer 已指派、headline review 授權、runtime 授權或執行期閘門 | 0 | | S2.123 IwoooS 目前具體工作地圖 | 已完成草案,在 `/iwooos` 顯示前台資安入口與使用者可視化、主機與範圍盤點框架、GitHub / Gitea 版本來源遷移準備、S4.9 負責人回覆與脫敏證據收件、reviewer / 人工審查流程、runtime 掃描修復部署與主機變更六條具體工作流;仍不把工作地圖當成 owner response 已收到、runtime 授權、掃描、修復、部署、主機變更或版本來源操作 | 0 | +| S2.124 IwoooS 目前具體交付清單 | 已完成草案,在 `/iwooos` 顯示 IwoooS 前台可見工作台、主機範圍與證據欄位、GitHub / Gitea 遷移證據、S4.9 第一解鎖證據包、人工 reviewer 準備序列、runtime 開閘條件六項交付;仍不把交付清單當成 owner response 已收到、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。 @@ -329,6 +330,7 @@ headline 要再往上,需要 S4.9 / S4.10 / S4.11 / S4.12 任一 owner respons | S2.121 IwoooS 第一解鎖證據包 reviewer 指派前檢查 | 完成草案 | `/iwooos` 新增第一解鎖證據包 reviewer 指派前檢查,列出佇列仍關閉、角色邊界可追溯、範圍包可追溯、證據索引已脫敏、衝突揭露已釐清與稽核草稿只含 metadata 六項 | 使用者能直接看到 reviewer 指派前檢查仍停在只讀核對;目前 passed / ready / candidate / assigned 仍是 0、queue=false,所以 headline 仍不提高 | | S2.122 IwoooS 第一解鎖證據包 reviewer 指派前檢查結果分流 | 完成草案 | `/iwooos` 新增第一解鎖證據包 reviewer 指派前檢查結果分流,列出維持佇列關閉、退回角色邊界、退回範圍包、隔離未脫敏證據、暫停衝突揭露與保留 metadata-only 稽核草稿六條結果 | 使用者能直接看到檢查後仍不自動進 candidate 或 reviewer 指派;目前 ready_for_candidate / candidate / assigned / audit 仍是 0、queue=false,所以 headline 仍不提高 | | S2.123 IwoooS 目前具體工作地圖 | 完成草案 | `/iwooos` 新增目前具體工作地圖,列出前台資安入口、主機盤點、GitHub / Gitea 遷移準備、S4.9 證據收件、reviewer 人工流程與 runtime 執行 gate 六條具體工作流 | 使用者能直接看到現在具體做了哪六類工作;目前 owner response received / accepted 仍是 0、active runtime gate=0,所以 headline 仍不提高 | +| S2.124 IwoooS 目前具體交付清單 | 完成草案 | `/iwooos` 新增目前具體交付清單,列出 IwoooS 前台可見工作台、主機範圍與證據欄位、GitHub / Gitea 遷移證據、S4.9 第一解鎖證據包、人工 reviewer 準備序列與 runtime 開閘條件 | 使用者能直接看到每項已交付內容、下一步與未開放動作;目前 evidence received / accepted 仍是 0、reviewer queue=false、runtime gate=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 7af71c344..150e05731 100644 --- a/docs/security/security-mirror-status-rollup.snapshot.json +++ b/docs/security/security-mirror-status-rollup.snapshot.json @@ -1946,6 +1946,18 @@ "runtime_delta": false, "execution_authorized": false, "not_authorization": true + }, + { + "delta_id": "s2_124_iwooos_concrete_security_delivery_checklist", + "display_order": 153, + "completed_stage": "S2.124 IwoooS 目前具體交付清單", + "progress_axis": "framework_detail", + "headline_percent_delta": 0, + "framework_delta_visible": true, + "why_headline_unchanged": "IwoooS 只新增目前具體交付清單,把 IwoooS 前台可見工作台、主機範圍與證據欄位、GitHub/Gitea 遷移證據、S4.9 第一解鎖證據包、人工 reviewer 準備序列、runtime 開閘條件六項拆開;iwooos_concrete_security_delivery_item_count=6、iwooos_concrete_security_delivery_visible_item_count=6、iwooos_concrete_security_delivery_framework_only_count=6、iwooos_concrete_security_delivery_runtime_item_count=0、iwooos_concrete_security_delivery_next_owner_evidence=s4_9_owner_response、iwooos_concrete_security_delivery_ready_for_runtime_count=0、iwooos_concrete_security_delivery_evidence_received_count=0、iwooos_concrete_security_delivery_evidence_accepted_count=0、iwooos_concrete_security_delivery_reviewer_queue_open=false、iwooos_concrete_security_delivery_git_primary_ready=false、iwooos_concrete_security_delivery_kali_execution_ready=false、runtime_execution_authorized=false、active_runtime_gate_count=0,不把交付清單當 owner response 已收到、證據已接受、reviewer queue 已開、runtime gate、Kali 執行、主機變更、repo/refs/workflow/secret 操作、GitHub primary 切換、Gitea 停用或正式部署。", + "runtime_delta": false, + "execution_authorized": false, + "not_authorization": true } ], "next_safe_actions": [ @@ -3070,6 +3082,22 @@ "從 IwoooS 目前具體工作地圖呼叫 Kali、開 SSH、更新主機、切 GitHub 主要來源、停用 Gitea、送出 request、收 raw payload、收機密明文值、開 reviewer queue、建立 reviewer candidate、指派 reviewer 或建立稽核事件" ] }, + { + "action_id": "show_iwooos_concrete_security_delivery_checklist", + "title": "IwoooS 顯示目前具體交付清單", + "mode": "observe", + "source_contract": "iwooos_posture_projection_v1", + "allowed_processing": [ + "在 /iwooos 顯示 S2.124 目前具體交付清單", + "把前台可見工作台、主機範圍與證據欄位、GitHub/Gitea 遷移證據、S4.9 第一解鎖證據包、人工 reviewer 準備序列與 runtime 開閘條件六項交付拆開", + "固定交付清單只做只讀說明,evidence_received_count=0、evidence_accepted_count=0、reviewer_queue_open=false、ready_for_runtime_count=0、runtime_execution_authorized=false" + ], + "blocked_processing": [ + "把 IwoooS 目前具體交付清單當成 owner response 已收到、證據已接受、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 cfca2048d..525cf9f10 100755 --- a/scripts/security/security-mirror-progress-guard.py +++ b/scripts/security/security-mirror-progress-guard.py @@ -375,6 +375,7 @@ def validate(root: Path) -> None: "s2_121_iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight", "s2_122_iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcomes", "s2_123_iwooos_concrete_security_work_map", + "s2_124_iwooos_concrete_security_delivery_checklist", ] assert_equal( "progress_delta_ledger.delta_ids", @@ -714,6 +715,11 @@ def validate(root: Path) -> None: [item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)], "show_iwooos_concrete_security_work_map", ) + assert_contains( + "rollup.next_safe_actions.action_ids", + [item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)], + "show_iwooos_concrete_security_delivery_checklist", + ) assert_contains( "rollup.next_safe_actions.action_ids", [item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)], @@ -8692,6 +8698,105 @@ def validate(root: Path) -> None: list(web_messages_en["iwooos"]["concreteSecurityWorkMap"]["items"].keys()), key, ) + assert_text_contains( + "iwooos_page.concrete_security_delivery_checklist_testid", + iwooos_projection_page, + 'data-testid="iwooos-concrete-security-delivery-checklist-board"', + ) + assert_text_contains( + "iwooos_page.concrete_security_delivery_checklist_component", + iwooos_projection_page, + "IwoooSConcreteSecurityDeliveryChecklistBoard", + ) + for text in [ + "iwooos_concrete_security_delivery_item_count=6", + "iwooos_concrete_security_delivery_visible_item_count=6", + "iwooos_concrete_security_delivery_framework_only_count=6", + "iwooos_concrete_security_delivery_runtime_item_count=0", + "iwooos_concrete_security_delivery_next_owner_evidence=s4_9_owner_response", + "iwooos_concrete_security_delivery_ready_for_runtime_count=0", + "iwooos_concrete_security_delivery_evidence_received_count=0", + "iwooos_concrete_security_delivery_evidence_accepted_count=0", + "iwooos_concrete_security_delivery_reviewer_queue_open=false", + "iwooos_concrete_security_delivery_git_primary_ready=false", + "iwooos_concrete_security_delivery_kali_execution_ready=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.concrete_security_delivery_checklist_boundary", + iwooos_projection_page, + text, + ) + assert_contains( + "web_messages.zh-TW.iwooos.concreteSecurityDeliveryChecklist", + list(web_messages_zh["iwooos"].keys()), + "concreteSecurityDeliveryChecklist", + ) + assert_contains( + "web_messages.en.iwooos.concreteSecurityDeliveryChecklist", + list(web_messages_en["iwooos"].keys()), + "concreteSecurityDeliveryChecklist", + ) + for key in [ + "title", + "subtitle", + "summary", + "items", + "deliverableLabel", + "deliveredLabel", + "nextLabel", + "blockedLabel", + "boundaryTitle", + "boundaryIntro", + ]: + assert_contains( + "web_messages.zh-TW.iwooos.concreteSecurityDeliveryChecklist.keys", + list(web_messages_zh["iwooos"]["concreteSecurityDeliveryChecklist"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.concreteSecurityDeliveryChecklist.keys", + list(web_messages_en["iwooos"]["concreteSecurityDeliveryChecklist"].keys()), + key, + ) + for key in ["items", "framework", "blocked", "runtime"]: + assert_contains( + "web_messages.zh-TW.iwooos.concreteSecurityDeliveryChecklist.summary", + list(web_messages_zh["iwooos"]["concreteSecurityDeliveryChecklist"]["summary"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.concreteSecurityDeliveryChecklist.summary", + list(web_messages_en["iwooos"]["concreteSecurityDeliveryChecklist"]["summary"].keys()), + key, + ) + for key in [ + "visibilitySurface", + "hostScopeEvidence", + "sourceControlEvidence", + "s49OwnerPacket", + "reviewerPreparation", + "runtimeGate", + ]: + assert_contains( + "web_messages.zh-TW.iwooos.concreteSecurityDeliveryChecklist.items", + list(web_messages_zh["iwooos"]["concreteSecurityDeliveryChecklist"]["items"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.concreteSecurityDeliveryChecklist.items", + list(web_messages_en["iwooos"]["concreteSecurityDeliveryChecklist"]["items"].keys()), + key, + ) assert_text_contains( "iwooos_page.first_progress_unlock_path_testid", iwooos_projection_page,