diff --git a/apps/web/messages/en.json b/apps/web/messages/en.json index 076231eb2..814c11f17 100644 --- a/apps/web/messages/en.json +++ b/apps/web/messages/en.json @@ -4915,6 +4915,64 @@ "detail": "kept at 0 before approval" } }, + "allProductCoverageSnapshot": { + "title": "全產品只讀套用快照", + "subtitle": "先回答最常被問的問題:所有專案產品都套用 IwoooS 資安框架,但目前只套可視化、證據欄位與人工 gate,不套掃描、修復、部署或阻擋控制。", + "boundaryTitle": "快照邊界", + "boundaryIntro": "以下鍵值固定:預設區只顯示 compact snapshot;完整三軸明細與 rollout 台帳保留在進階區,runtime ready 仍是 0。", + "summary": { + "scopeCount": { + "label": "產品範圍", + "detail": "核心、網站、版本來源、主機、工具、未來產品六類。" + }, + "readOnlyScopes": { + "label": "只讀已套", + "detail": "六類都先套只讀治理與低摩擦可視化。" + }, + "runtimeReady": { + "label": "runtime ready", + "detail": "目前 0;未經人工 gate 不進執行期。" + }, + "nextGate": { + "label": "下一 gate", + "detail": "第一個可推進 gate 仍是 S4.9 owner response accepted。" + } + }, + "states": { + "connected": "已接入", + "visible": "可見化", + "waitingEvidence": "待證據", + "approvalRequired": "待批准", + "readOnlyFirst": "只讀先行", + "templateReady": "模板就緒" + }, + "items": { + "awoooiCore": { + "title": "AWOOOI / IwoooS / AwoooP", + "body": "核心產品共用同一份 61% / 86-88% / 40-45% 三軸邊界。" + }, + "websites": { + "title": "前台網站與公開頁", + "body": "先顯示資安摘要、合規狀態、繁中文案與低摩擦說明。" + }, + "sourceControl": { + "title": "GitHub / Gitea 專案庫", + "body": "只顯示 primary readiness、refs truth、workflow / secret 名稱證據。" + }, + "hosts": { + "title": "Kali 與開發主機", + "body": "192.168.0.112 / 111 / 168 只進 observe-only coverage。" + }, + "toolsMonitoring": { + "title": "監控、工具與自動化", + "body": "只顯示 metadata-only evidence、阻塞解除條件與人工 gate。" + }, + "futureProducts": { + "title": "未來新增產品", + "body": "預設繼承只讀 governance、繁中可視化與分階段收斂。" + } + } + }, "stageCompletionReport": { "title": "階段完成回報", "subtitle": "每一輪完成後都把正式證據、進度邊界與下一步固定在首頁,讓使用者不用翻對話也能理解目前資安工作推到哪裡。", diff --git a/apps/web/messages/zh-TW.json b/apps/web/messages/zh-TW.json index f5a7b664f..124f7dc54 100644 --- a/apps/web/messages/zh-TW.json +++ b/apps/web/messages/zh-TW.json @@ -4916,6 +4916,64 @@ "detail": "人工批准前維持 0" } }, + "allProductCoverageSnapshot": { + "title": "全產品只讀套用快照", + "subtitle": "先回答最常被問的問題:所有專案產品都套用 IwoooS 資安框架,但目前只套可視化、證據欄位與人工 gate,不套掃描、修復、部署或阻擋控制。", + "boundaryTitle": "快照邊界", + "boundaryIntro": "以下鍵值固定:預設區只顯示 compact snapshot;完整三軸明細與 rollout 台帳保留在進階區,runtime ready 仍是 0。", + "summary": { + "scopeCount": { + "label": "產品範圍", + "detail": "核心、網站、版本來源、主機、工具、未來產品六類。" + }, + "readOnlyScopes": { + "label": "只讀已套", + "detail": "六類都先套只讀治理與低摩擦可視化。" + }, + "runtimeReady": { + "label": "runtime ready", + "detail": "目前 0;未經人工 gate 不進執行期。" + }, + "nextGate": { + "label": "下一 gate", + "detail": "第一個可推進 gate 仍是 S4.9 owner response accepted。" + } + }, + "states": { + "connected": "已接入", + "visible": "可見化", + "waitingEvidence": "待證據", + "approvalRequired": "待批准", + "readOnlyFirst": "只讀先行", + "templateReady": "模板就緒" + }, + "items": { + "awoooiCore": { + "title": "AWOOOI / IwoooS / AwoooP", + "body": "核心產品共用同一份 61% / 86-88% / 40-45% 三軸邊界。" + }, + "websites": { + "title": "前台網站與公開頁", + "body": "先顯示資安摘要、合規狀態、繁中文案與低摩擦說明。" + }, + "sourceControl": { + "title": "GitHub / Gitea 專案庫", + "body": "只顯示 primary readiness、refs truth、workflow / secret 名稱證據。" + }, + "hosts": { + "title": "Kali 與開發主機", + "body": "192.168.0.112 / 111 / 168 只進 observe-only coverage。" + }, + "toolsMonitoring": { + "title": "監控、工具與自動化", + "body": "只顯示 metadata-only evidence、阻塞解除條件與人工 gate。" + }, + "futureProducts": { + "title": "未來新增產品", + "body": "預設繼承只讀 governance、繁中可視化與分階段收斂。" + } + } + }, "stageCompletionReport": { "title": "階段完成回報", "subtitle": "每一輪完成後都把正式證據、進度邊界與下一步固定在首頁,讓使用者不用翻對話也能理解目前資安工作推到哪裡。", diff --git a/apps/web/src/app/[locale]/iwooos/page.tsx b/apps/web/src/app/[locale]/iwooos/page.tsx index f1c7a47e0..755019191 100644 --- a/apps/web/src/app/[locale]/iwooos/page.tsx +++ b/apps/web/src/app/[locale]/iwooos/page.tsx @@ -68,6 +68,14 @@ type IwoooSStageCompletionReportItem = { tone: 'steady' | 'warn' | 'locked' } +type AllProductCoverageSnapshotItem = { + key: string + scope: string + stateKey: string + icon: typeof ShieldCheck + tone: 'steady' | 'warn' | 'locked' +} + type AwoooPReadOnlyLandingReadinessItem = { key: string item: string @@ -619,6 +627,41 @@ const postureMetrics: PostureMetric[] = [ { key: 'activeGates', value: '0', tone: 'locked' }, ] +const allProductCoverageSnapshotSummary = [ + { key: 'scopeCount', value: '6', icon: ListChecks, tone: 'steady' }, + { key: 'readOnlyScopes', value: '6', icon: ShieldCheck, tone: 'steady' }, + { key: 'runtimeReady', value: '0', icon: Lock, tone: 'locked' }, + { key: 'nextGate', value: 'S4.9', icon: ClipboardCheck, tone: 'warn' }, +] as const + +const allProductCoverageSnapshotItems: AllProductCoverageSnapshotItem[] = [ + { key: 'awoooiCore', scope: 'P1', stateKey: 'connected', icon: ShieldCheck, tone: 'steady' }, + { key: 'websites', scope: 'P2', stateKey: 'visible', icon: SearchCheck, tone: 'steady' }, + { key: 'sourceControl', scope: 'P3', stateKey: 'waitingEvidence', icon: GitBranch, tone: 'warn' }, + { key: 'hosts', scope: 'P4', stateKey: 'approvalRequired', icon: Activity, tone: 'warn' }, + { key: 'toolsMonitoring', scope: 'P5', stateKey: 'readOnlyFirst', icon: Radar, tone: 'steady' }, + { key: 'futureProducts', scope: 'P6', stateKey: 'templateReady', icon: FileText, tone: 'warn' }, +] + +const allProductCoverageSnapshotBoundaries = [ + 'iwooos_all_product_coverage_snapshot_scope_count=6', + 'iwooos_all_product_coverage_snapshot_read_only_count=6', + 'iwooos_all_product_coverage_snapshot_runtime_ready_count=0', + 'iwooos_all_product_coverage_snapshot_default_summary_mode=compact_first', + 'iwooos_all_product_coverage_snapshot_detail_ledger_collapsed=true', + 'iwooos_all_product_coverage_snapshot_next_gate=s4_9_owner_response_accepted', + '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 operatorNextTasks: IwoooSOperatorNextTask[] = [ { key: 's49OwnerResponse', step: 'N1', icon: ClipboardCheck, tone: 'warn' }, { key: 'redactedEvidencePacket', step: 'N2', icon: FileText, tone: 'warn' }, @@ -3512,6 +3555,135 @@ function IwoooSStageCompletionReportBoard() { ) } +function IwoooSAllProductCoverageSnapshotBoard() { + const t = useTranslations('iwooos.allProductCoverageSnapshot') + const textWrap = { overflowWrap: 'anywhere' as const, wordBreak: 'break-word' as const } + + return ( +
+
+
+
+
+

{t('title')}

+

+ {t('subtitle')} +

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

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

+
+ ) + })} +
+
+ +
+ {allProductCoverageSnapshotItems.map(item => { + const Icon = item.icon + return ( +
+ +
+
+ {t(`items.${item.key}.title` as never)} +
+
+ {t(`items.${item.key}.body` as never)} +
+
+ {item.scope} + + {t(`states.${item.stateKey}` as never)} + +
+
+
+ ) + })} +
+
+ +
+ + {t('boundaryTitle')} + +

+ {t('boundaryIntro')} +

+
+ {allProductCoverageSnapshotBoundaries.map(item => ( + + {item} + + ))} +
+
+
+
+ ) +} + function ProgressAccelerationLaneCard({ item }: { item: ProgressAccelerationLane }) { const t = useTranslations('iwooos.progressAcceleration') const Icon = item.icon @@ -11903,6 +12075,8 @@ export default function IwoooSPage({ params }: { params: { locale: string } }) { summary={ia('overview.summary')} defaultOpen > + +
- -
+ + diff --git a/docs/LOGBOOK.md b/docs/LOGBOOK.md index a909f4f46..7db4a78eb 100644 --- a/docs/LOGBOOK.md +++ b/docs/LOGBOOK.md @@ -76,6 +76,36 @@ pytest test_decision_manager_bare_metal_kubectl_guard.py test_alert_rule_engine_ - 本輪修復新流量的語意與稽核完整性,不補跑舊 incident 的修復動作。 - 舊 incident 若已是 `execution_success` 但沒有 `extra_metadata.execution_kind`,仍需透過 `automation_operation_log` / `alert_operation_log` 交叉判讀。 +## 2026-05-31|IwoooS 全產品只讀套用快照 + +**背景**: + +- 使用者追問資安框架是否也套用到所有專案產品,且先前回饋 `/zh-TW/iwooos` 內容量過大,使用者不容易一眼理解具體進度。 +- 既有 IwoooS 已有三軸進度、全產品 rollout 台帳與證據接線明細,但預設展開區仍偏厚,容易讓「全產品都有套用,但目前只讀」這件事被埋在細節裡。 + +**本次調整**: + +- `/iwooos` 預設展開區新增 `iwooos-all-product-coverage-snapshot-board`,把六類套用範圍濃縮成 compact snapshot: + - AWOOOI / IwoooS / AwoooP 核心產品 + - 前台網站與公開頁 + - GitHub / Gitea 專案庫 + - Kali 與開發主機 + - 監控、工具與自動化 + - 未來新增產品 +- 將完整 `IwoooSThreeAxisProductProgressBoard` 從預設展開區移到「AwoooP 只讀落地與版本證據」進階收合區,保留完整台帳但降低第一屏資訊量。 +- 新增快照邊界: + - `iwooos_all_product_coverage_snapshot_scope_count=6` + - `iwooos_all_product_coverage_snapshot_read_only_count=6` + - `iwooos_all_product_coverage_snapshot_runtime_ready_count=0` + - `iwooos_all_product_coverage_snapshot_default_summary_mode=compact_first` + - `iwooos_all_product_coverage_snapshot_detail_ledger_collapsed=true` +- 更新 `iwooos-posture-projection.snapshot.json`、rollup、進度文件與 `security-mirror-progress-guard.py`。 + +**進度邊界**: + +- 整體資安網仍維持 61%。 +- 這次是 UI/UX 可理解性與全產品只讀套用快照,不代表 owner response accepted、runtime gate、Kali scan、主機更新、GitHub primary 切換或 Gitea 停用。 + ## 2026-05-31|Legacy HITL PENDING 前台可見性與心跳拆分 **背景**: diff --git a/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md b/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md index 00ed7ddda..002c71b5f 100644 --- a/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md +++ b/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md @@ -35,7 +35,7 @@ | Owner response validation | S4.13 已建立;四包 owner response 目前 received/accepted 皆為 0;4 條 missing response lanes、4 步 collection order、next collection candidate、6 條 evidence routing rules、8 個 display sections、7 條 state transition rules、9 個 reviewer checklist items、7 條 reviewer outcome lanes、4 個 reviewer audit event templates、5 個 reviewer audit display sections、6 個 reviewer audit collection checks、5 個 reviewer audit redaction examples、5 條 reviewer audit retention rules、6 個 reviewer audit retention checks、6 個 reviewer audit handoff packets、6 個 reviewer audit handoff checks、6 個 parallel session sync checks、6 條 parallel session conflict lanes、6 個 parallel session recovery checks 與 7 條 parallel session recovery outcome lanes 可供 AwoooP 直接顯示;下一個建議收件為 S4.9 Gitea owner attestation;latest local validation 為 `SOURCE_CONTROL_OWNER_RESPONSE_GUARD_OK`,reviewer audit emitted 仍為 0,不代表 owner response 已收到或任何執行授權 | | Low-friction rollout policy | S1.3 已補 7 條 non-blocking escalation lanes;LOW / MEDIUM、缺 owner response、partial mirror、source-control drift、Kali observe finding、workflow / secret name gap 與 headline holding 初期只能 observe / warn;`owner_review_required_before_blocking=true`、`runtime_blocking_allowed=false` | | IwoooS frontend posture | S2.8 已新增 `/iwooos` read-only Information Security 入口;顯示 Security Posture / Exposure、source-control supply chain、Kali 112 Mesh、approval boundary、non-blocking lanes 與 evidence refs;不新增執行按鈕 | -| IwoooS posture projection | S2.9 已新增 `iwooos_posture_projection_v1`;S2.10-S2.140 已完成前台資安入口、主機覆蓋、owner evidence、AwoooP read-only landing readiness、跨 Session handoff、全產品只讀 rollout 與人工審查候選預檢補件重試門檻;2026-05-25 已將 AwoooP 正式只讀 landing evidence 納入重估,headline 顯示 61%、framework 86-88%、runtime / ingestion / GitHub primary / AwoooP production landing 40-45%、AwoooP landing evidence=1、active gates 0;仍不新增 action button、不接 execution router、不開 runtime gate | +| IwoooS posture projection | S2.9 已新增 `iwooos_posture_projection_v1`;S2.10-S2.141 已完成前台資安入口、主機覆蓋、owner evidence、AwoooP read-only landing readiness、跨 Session handoff、全產品只讀 rollout、人工審查候選預檢補件重試門檻與全產品只讀套用快照;2026-05-25 已將 AwoooP 正式只讀 landing evidence 納入重估,headline 顯示 61%、framework 86-88%、runtime / ingestion / GitHub primary / AwoooP production landing 40-45%、AwoooP landing evidence=1、active gates 0;仍不新增 action button、不接 execution router、不開 runtime gate | | IwoooS 正式紀錄負責人檢查清單 | S2.93 已在 `/iwooos` 顯示人工決策正式紀錄負責人檢查清單;檢查項=8、通過=0、已指派=0、正式紀錄=0、已批准=0、執行期閘門=0;`owner_response_formal_record_owner_review_checklist_only=true`、`runtime_execution_authorized=false`、`active_runtime_gate_count=0`、`action_buttons_allowed=false`、`not_authorization=true`,仍不代表紀錄負責人指派、正式紀錄、人工批准、GitHub 主要來源切換、Gitea 停用、Kali / SSH / 主機更新或執行期授權 | | IwoooS 正式紀錄負責人檢查結果分流 | S2.94 已在 `/iwooos` 顯示人工決策正式紀錄負責人檢查結果分流;分流=8、可進人工指派確認=0、已指派=0、正式紀錄=0、已批准=0、執行期閘門=0;`owner_response_formal_record_owner_review_outcome_only=true`、`runtime_execution_authorized=false`、`active_runtime_gate_count=0`、`action_buttons_allowed=false`、`not_authorization=true`,仍不代表紀錄負責人指派、正式紀錄、人工批准、GitHub 主要來源切換、Gitea 停用、Kali / SSH / 主機更新或執行期授權 | | IwoooS 正式紀錄負責人指派確認準備包 | S2.95 已在 `/iwooos` 顯示人工決策正式紀錄負責人指派確認準備包;準備包=8、可確認=0、已指派=0、正式紀錄=0、已批准=0、執行期閘門=0;`owner_response_formal_record_owner_assignment_preparation_only=true`、`runtime_execution_authorized=false`、`active_runtime_gate_count=0`、`action_buttons_allowed=false`、`not_authorization=true`,仍不代表紀錄負責人指派、正式紀錄、人工批准、GitHub 主要來源切換、Gitea 停用、Kali / SSH / 主機更新或執行期授權 | @@ -309,6 +309,7 @@ headline progress 只在高層 gate 真正改變時調整。AwoooP production re | 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 停用或正式部署 | +| S2.141 IwoooS 全產品只讀套用快照 | framework detail | 0 | 只在 `/iwooos` 預設展開區顯示 compact snapshot,將核心產品、前台網站、版本來源、Kali / 開發主機、監控工具與未來產品六類全產品套用狀態濃縮成一屏摘要;`iwooos_all_product_coverage_snapshot_scope_count=6`、`iwooos_all_product_coverage_snapshot_read_only_count=6`、`iwooos_all_product_coverage_snapshot_runtime_ready_count=0`、`iwooos_all_product_coverage_snapshot_default_summary_mode=compact_first`、`iwooos_all_product_coverage_snapshot_detail_ledger_collapsed=true`、`runtime_execution_authorized=false`、`active_runtime_gate_count=0`、`not_authorization=true`,不把全產品快照當 runtime 授權、掃描、修復、部署、主機變更、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 f65ecef6b..567739212 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 61% 進度移動訊號驗收條 + IwoooS 第一個進度解鎖路徑 + IwoooS 第一解鎖證據包 + IwoooS 第一解鎖證據包預檢分流 + IwoooS 第一解鎖證據包補件路徑 + IwoooS 第一解鎖證據包補件送審前檢查 + IwoooS 第一解鎖證據包補件送審結果分流 + IwoooS 第一解鎖證據包 reviewer 指派準備包 + IwoooS 第一解鎖證據包 reviewer 指派前檢查 + IwoooS 第一解鎖證據包 reviewer 指派前檢查結果分流 + IwoooS 正式只讀 landing 進度重估 | -| 本階段追加補充 | 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 全產品分階段套用台帳 + IwoooS 全產品 rollout 波次驗收門檻 + IwoooS 全產品 rollout 驗收結果分流 + IwoooS 全產品證據接線地圖 + IwoooS 全產品證據接線預檢 + IwoooS 全產品證據接線預檢結果分流 + IwoooS 全產品預檢補件回收台帳 + IwoooS 全產品補件重試門檻 + IwoooS 全產品重試結果分流 + IwoooS 全產品人工審查候選準備 + IwoooS 全產品人工審查候選預檢 + IwoooS 全產品人工審查候選預檢結果分流 + IwoooS 全產品人工審查候選預檢補件回收台帳 + IwoooS 全產品人工審查候選預檢補件重試門檻 + IwoooS 全產品只讀套用快照 | | 原則 | 低摩擦分階段;文件、schema、read-only evidence 優先;不做 runtime enforcement、不切 primary | ## 0. 本階段完成後整體進度 @@ -29,9 +29,9 @@ python3 scripts/security/security-mirror-progress-guard.py ### 0.2 Headline 61% 不代表 runtime 授權 -近期 AwoooP production read-only landing 已有 commit、CD 與正式站路由證據,因此 headline 從 58% 保守重估到 61%。S4.10、S4.11、S4.12、S4.13、S1.3、S2.8 與 S2.9-S2.140 仍是有效進展,但多數屬於框架細節,不是負責人回覆、執行期閘門、生產匯入或 GitHub 主要來源就緒;因此不能把 61% 解讀成 runtime enforcement。 +近期 AwoooP production read-only landing 已有 commit、CD 與正式站路由證據,因此 headline 從 58% 保守重估到 61%。S4.10、S4.11、S4.12、S4.13、S1.3、S2.8 與 S2.9-S2.141 仍是有效進展,但多數屬於框架細節,不是負責人回覆、執行期閘門、生產匯入或 GitHub 主要來源就緒;因此不能把 61% 解讀成 runtime enforcement。 -S2.50 也把五個可見 gate 拆開:owner response accepted、redacted payload ingestion、active runtime gate、GitHub primary ready、AwoooP read-only landing。目前只有 AwoooP read-only landing evidence=1;其餘四項仍是 0 / false,所以 headline 下一次不應被灌水提高。 +S2.50 也把五個可見 gate 拆開:owner response accepted、redacted payload ingestion、active runtime gate、GitHub primary ready、AwoooP read-only landing。目前只有 AwoooP read-only landing evidence=1;其餘四項仍是 0 / false,所以 headline 下一次不應被灌水提高。S2.141 只把「所有專案產品是否都有套用」改成 `/iwooos` 預設展開區的 compact snapshot,降低 UI/UX 理解成本;headline delta 仍是 0。 | 最近完成 | 目前狀態 | headline delta | |----------|----------|----------------| @@ -204,6 +204,7 @@ S2.50 也把五個可見 gate 拆開:owner response accepted、redacted payloa | 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 | +| S2.141 IwoooS 全產品只讀套用快照 | 已完成草案,在 `/iwooos` 預設展開區顯示六類產品套用 quick snapshot,讓使用者一眼看到 AWOOOI / IwoooS / AwoooP、前台網站、GitHub / Gitea 專案庫、Kali / 開發主機、監控工具與未來產品都已套只讀資安框架;runtime_ready=0、detail ledger 預設收合,仍不把快照當 runtime 授權、掃描、修復、部署、主機變更或版本來源操作 | 0 | headline 要再往上,需要 S4.9 / S4.10 / S4.11 / S4.12 任一 owner response 收到並通過脫敏驗收,或人工批准後出現 active runtime gate、redacted payload ingestion、GitHub primary readiness 這類落地 evidence。 @@ -363,6 +364,7 @@ headline 要再往上,需要 S4.9 / S4.10 / S4.11 / S4.12 任一 owner respons | 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 仍不提高 | +| S2.141 IwoooS 全產品只讀套用快照 | 完成草案 | `/iwooos` 預設展開區改放全產品 compact snapshot,六類產品狀態一屏可讀,完整三軸與 rollout 明細留在進階收合區 | 使用者能直接理解「所有專案產品都有套用,但目前只讀、低摩擦、runtime ready 仍 0」;這是 UI/UX 與可理解性推進,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/iwooos-posture-projection.snapshot.json b/docs/security/iwooos-posture-projection.snapshot.json index f490cda56..078f9ba7a 100644 --- a/docs/security/iwooos-posture-projection.snapshot.json +++ b/docs/security/iwooos-posture-projection.snapshot.json @@ -37,6 +37,11 @@ "github_primary_ready_count": 0, "source_control_primary_readiness_item_count": 6, "action_buttons_allowed": false, + "all_product_coverage_snapshot_scope_count": 6, + "all_product_coverage_snapshot_read_only_count": 6, + "all_product_coverage_snapshot_runtime_ready_count": 0, + "all_product_coverage_snapshot_default_summary_mode": "compact_first", + "all_product_coverage_snapshot_detail_ledger_collapsed": true, "existing_frontend_surface_count": 10, "frontend_surface_reverse_bridge_status_count": 10, "frontend_surface_coverage_group_count": 4, diff --git a/docs/security/security-mirror-status-rollup.snapshot.json b/docs/security/security-mirror-status-rollup.snapshot.json index a3ee42784..a7210b892 100644 --- a/docs/security/security-mirror-status-rollup.snapshot.json +++ b/docs/security/security-mirror-status-rollup.snapshot.json @@ -2161,6 +2161,18 @@ "runtime_delta": false, "execution_authorized": false, "not_authorization": true + }, + { + "delta_id": "s2_141_iwooos_all_product_coverage_snapshot", + "display_order": 170, + "completed_stage": "S2.141 IwoooS 全產品只讀套用快照", + "progress_axis": "framework_detail", + "headline_percent_delta": 0, + "framework_delta_visible": true, + "why_headline_unchanged": "IwoooS 只新增全產品只讀套用快照,把核心產品、前台網站、版本來源、Kali / 開發主機、監控工具與未來產品六類範圍濃縮成 compact snapshot;iwooos_all_product_coverage_snapshot_scope_count=6、iwooos_all_product_coverage_snapshot_read_only_count=6、iwooos_all_product_coverage_snapshot_runtime_ready_count=0、iwooos_all_product_coverage_snapshot_default_summary_mode=compact_first、iwooos_all_product_coverage_snapshot_detail_ledger_collapsed=true、runtime_execution_authorized=false、active_runtime_gate_count=0,不把全產品快照當 owner response 已收到、runtime gate、Kali 執行、主機變更、repo/refs/workflow/secret 操作、GitHub primary 切換、Gitea 停用或正式部署。", + "runtime_delta": false, + "execution_authorized": false, + "not_authorization": true } ], "next_safe_actions": [ @@ -3333,6 +3345,22 @@ "從 IwoooS 三軸進度與全產品套用範圍呼叫 Kali、開 SSH、更新主機、切 GitHub 主要來源、停用 Gitea、送出 request、收 raw payload、收機密明文值、開 reviewer queue、建立 reviewer candidate、指派 reviewer 或建立稽核事件" ] }, + { + "action_id": "show_iwooos_all_product_coverage_snapshot", + "title": "IwoooS 顯示全產品只讀套用快照", + "mode": "observe", + "source_contract": "iwooos_posture_projection_v1", + "allowed_processing": [ + "在 /iwooos 預設展開區顯示 S2.141 全產品只讀套用快照", + "把核心產品、前台網站、版本來源、Kali / 開發主機、監控工具與未來產品六類範圍濃縮成 compact snapshot", + "固定完整三軸與 rollout 明細留在進階收合區,runtime_ready_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": "show_iwooos_product_rollout_wave_ledger", "title": "IwoooS 顯示全產品分階段套用台帳", diff --git a/scripts/security/security-mirror-progress-guard.py b/scripts/security/security-mirror-progress-guard.py index de2e377a8..55eaea9c3 100755 --- a/scripts/security/security-mirror-progress-guard.py +++ b/scripts/security/security-mirror-progress-guard.py @@ -392,6 +392,7 @@ def validate(root: Path) -> None: "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", + "s2_141_iwooos_all_product_coverage_snapshot", ] assert_equal( "progress_delta_ledger.delta_ids", @@ -746,6 +747,11 @@ def validate(root: Path) -> None: [item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)], "show_iwooos_three_axis_product_progress", ) + assert_contains( + "rollup.next_safe_actions.action_ids", + [item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)], + "show_iwooos_all_product_coverage_snapshot", + ) assert_contains( "rollup.next_safe_actions.action_ids", [item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)], @@ -1191,6 +1197,30 @@ def validate(root: Path) -> None: len(expected_iwooos_source_control_primary_readiness_item_ids), ) assert_false("iwooos_projection.summary.action_buttons_allowed", iwooos_projection["summary"]["action_buttons_allowed"]) + assert_equal( + "iwooos_projection.summary.all_product_coverage_snapshot_scope_count", + iwooos_projection["summary"]["all_product_coverage_snapshot_scope_count"], + 6, + ) + assert_equal( + "iwooos_projection.summary.all_product_coverage_snapshot_read_only_count", + iwooos_projection["summary"]["all_product_coverage_snapshot_read_only_count"], + 6, + ) + assert_equal( + "iwooos_projection.summary.all_product_coverage_snapshot_runtime_ready_count", + iwooos_projection["summary"]["all_product_coverage_snapshot_runtime_ready_count"], + 0, + ) + assert_equal( + "iwooos_projection.summary.all_product_coverage_snapshot_default_summary_mode", + iwooos_projection["summary"]["all_product_coverage_snapshot_default_summary_mode"], + "compact_first", + ) + assert_true( + "iwooos_projection.summary.all_product_coverage_snapshot_detail_ledger_collapsed", + iwooos_projection["summary"]["all_product_coverage_snapshot_detail_ledger_collapsed"], + ) expected_iwooos_surface_ids = [ "security_compliance", "legacy_security", @@ -9125,6 +9155,120 @@ def validate(root: Path) -> None: list(web_messages_en["iwooos"]["concreteSecurityBlockerResolution"]["items"].keys()), key, ) + assert_text_contains( + "iwooos_page.all_product_coverage_snapshot_testid", + iwooos_projection_page, + 'data-testid="iwooos-all-product-coverage-snapshot-board"', + ) + assert_text_contains( + "iwooos_page.all_product_coverage_snapshot_boundary_testid", + iwooos_projection_page, + 'data-testid="iwooos-all-product-coverage-snapshot-boundaries"', + ) + assert_text_contains( + "iwooos_page.all_product_coverage_snapshot_component", + iwooos_projection_page, + "IwoooSAllProductCoverageSnapshotBoard", + ) + for text in [ + "iwooos_all_product_coverage_snapshot_scope_count=6", + "iwooos_all_product_coverage_snapshot_read_only_count=6", + "iwooos_all_product_coverage_snapshot_runtime_ready_count=0", + "iwooos_all_product_coverage_snapshot_default_summary_mode=compact_first", + "iwooos_all_product_coverage_snapshot_detail_ledger_collapsed=true", + "iwooos_all_product_coverage_snapshot_next_gate=s4_9_owner_response_accepted", + "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.all_product_coverage_snapshot_boundary", + iwooos_projection_page, + text, + ) + assert_contains( + "web_messages.zh-TW.iwooos.allProductCoverageSnapshot", + list(web_messages_zh["iwooos"].keys()), + "allProductCoverageSnapshot", + ) + assert_contains( + "web_messages.en.iwooos.allProductCoverageSnapshot", + list(web_messages_en["iwooos"].keys()), + "allProductCoverageSnapshot", + ) + for key in [ + "title", + "subtitle", + "summary", + "states", + "items", + "boundaryTitle", + "boundaryIntro", + ]: + assert_contains( + "web_messages.zh-TW.iwooos.allProductCoverageSnapshot.keys", + list(web_messages_zh["iwooos"]["allProductCoverageSnapshot"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.allProductCoverageSnapshot.keys", + list(web_messages_en["iwooos"]["allProductCoverageSnapshot"].keys()), + key, + ) + for key in ["scopeCount", "readOnlyScopes", "runtimeReady", "nextGate"]: + assert_contains( + "web_messages.zh-TW.iwooos.allProductCoverageSnapshot.summary", + list(web_messages_zh["iwooos"]["allProductCoverageSnapshot"]["summary"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.allProductCoverageSnapshot.summary", + list(web_messages_en["iwooos"]["allProductCoverageSnapshot"]["summary"].keys()), + key, + ) + for key in [ + "connected", + "visible", + "waitingEvidence", + "approvalRequired", + "readOnlyFirst", + "templateReady", + ]: + assert_contains( + "web_messages.zh-TW.iwooos.allProductCoverageSnapshot.states", + list(web_messages_zh["iwooos"]["allProductCoverageSnapshot"]["states"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.allProductCoverageSnapshot.states", + list(web_messages_en["iwooos"]["allProductCoverageSnapshot"]["states"].keys()), + key, + ) + for key in [ + "awoooiCore", + "websites", + "sourceControl", + "hosts", + "toolsMonitoring", + "futureProducts", + ]: + assert_contains( + "web_messages.zh-TW.iwooos.allProductCoverageSnapshot.items", + list(web_messages_zh["iwooos"]["allProductCoverageSnapshot"]["items"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.allProductCoverageSnapshot.items", + list(web_messages_en["iwooos"]["allProductCoverageSnapshot"]["items"].keys()), + key, + ) assert_text_contains( "iwooos_page.three_axis_product_progress_testid", iwooos_projection_page,