diff --git a/apps/web/messages/en.json b/apps/web/messages/en.json index c39fd8688..5ee635cd9 100644 --- a/apps/web/messages/en.json +++ b/apps/web/messages/en.json @@ -5123,6 +5123,72 @@ } } }, + "productRolloutWaveLedger": { + "title": "全產品分階段套用台帳", + "subtitle": "S2.127 把「所有專案產品都套用」轉成六個 rollout wave:先套只讀可視化與證據欄位,再依 owner evidence、人工審查與 runtime gate 分段收嚴。這仍是產品套用台帳,不是掃描、修復、部署或主機操作入口。", + "waveLabel": "波次", + "allowedLabel": "目前可做", + "beforeRuntimeLabel": "進 runtime 前", + "forbiddenLabel": "仍禁止", + "boundaryTitle": "套用台帳邊界", + "boundaryIntro": "以下鍵值固定:全產品 rollout 目前停在 read-only visibility wave;runtime wave、enforcement wave、owner accepted 與 active runtime gate 全部仍是 0。", + "summary": { + "waves": { + "label": "套用波次", + "detail": "六個波次覆蓋核心產品、網站、版本來源、主機、工具與未來產品。" + }, + "current": { + "label": "目前波次", + "detail": "只讀可視化與證據欄位先行。" + }, + "runtime": { + "label": "runtime 波次", + "detail": "目前 0,不會掃描、修復或部署。" + }, + "nextGate": { + "label": "下一門檻", + "detail": "第一個 runtime 候選仍是 S4.9 accepted。" + } + }, + "items": { + "coreProduct": { + "title": "核心產品波次", + "allowed": "AWOOOI、IwoooS、AwoooP 先維持同一份三軸進度與只讀 guard。", + "beforeRuntime": "需要 owner evidence accepted、reviewer queue 人工開啟與 active runtime gate。", + "forbidden": "不得從核心產品頁直接批准、執行、掃描或部署。" + }, + "publicSurfaces": { + "title": "公開網站波次", + "allowed": "前台網站可顯示資安摘要、合規狀態、風險分流與繁中文案。", + "beforeRuntime": "需要公開內容脫敏審查、敏感欄位封鎖與人工內容 owner 接受。", + "forbidden": "不得暴露內網 IP、secret value、raw payload、掃描結果原文或主機細節。" + }, + "sourceControl": { + "title": "版本來源波次", + "allowed": "GitHub / Gitea 專案庫只顯示 target、refs truth、workflow / secret 名稱與 rollback readiness。", + "beforeRuntime": "需要逐 repo owner response、refs truth accepted、workflow / secret 名稱驗收與 rollback ADR approval。", + "forbidden": "不得建立 repo、改可見性、同步 / 刪除 / 強推 refs、修改 workflow / secret 或切 primary。" + }, + "hostCoverage": { + "title": "主機覆蓋波次", + "allowed": "Kali、192.168.0.168、192.168.0.111 只顯示 coverage、action gate 與 evidence readiness。", + "beforeRuntime": "需要明確主機 scope、maintenance window、credential handling、rollback 與人工 runtime gate。", + "forbidden": "不得自動 SSH、更新主機、掃描、調校、收未脫敏資料或執行 Kali /execute。" + }, + "monitoringTools": { + "title": "監控工具波次", + "allowed": "監控、告警、Code Review、工具台只顯示 metadata-only evidence 與阻塞解除條件。", + "beforeRuntime": "需要工具輸出通過 redaction / retention / reviewer checks,且 owner 接受後才接 runtime gate。", + "forbidden": "不得由工具自動觸發修復、部署、付費 provider 變更、secret 收集或外部送出。" + }, + "futureTemplate": { + "title": "未來產品模板波次", + "allowed": "新專案預設繼承三軸進度、繁中 UI、只讀 governance、false runtime flags。", + "beforeRuntime": "需要產品 owner、資料分級、scope、rollback、disable 條件與逐階段審查。", + "forbidden": "不得讓新產品一建立就套 blocking enforcement、host action、source-control mutation 或 production deploy。" + } + } + }, "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 88c64309c..a24222d96 100644 --- a/apps/web/messages/zh-TW.json +++ b/apps/web/messages/zh-TW.json @@ -5124,6 +5124,72 @@ } } }, + "productRolloutWaveLedger": { + "title": "全產品分階段套用台帳", + "subtitle": "S2.127 把「所有專案產品都套用」轉成六個 rollout wave:先套只讀可視化與證據欄位,再依 owner evidence、人工審查與 runtime gate 分段收嚴。這仍是產品套用台帳,不是掃描、修復、部署或主機操作入口。", + "waveLabel": "波次", + "allowedLabel": "目前可做", + "beforeRuntimeLabel": "進 runtime 前", + "forbiddenLabel": "仍禁止", + "boundaryTitle": "套用台帳邊界", + "boundaryIntro": "以下鍵值固定:全產品 rollout 目前停在 read-only visibility wave;runtime wave、enforcement wave、owner accepted 與 active runtime gate 全部仍是 0。", + "summary": { + "waves": { + "label": "套用波次", + "detail": "六個波次覆蓋核心產品、網站、版本來源、主機、工具與未來產品。" + }, + "current": { + "label": "目前波次", + "detail": "只讀可視化與證據欄位先行。" + }, + "runtime": { + "label": "runtime 波次", + "detail": "目前 0,不會掃描、修復或部署。" + }, + "nextGate": { + "label": "下一門檻", + "detail": "第一個 runtime 候選仍是 S4.9 accepted。" + } + }, + "items": { + "coreProduct": { + "title": "核心產品波次", + "allowed": "AWOOOI、IwoooS、AwoooP 先維持同一份三軸進度與只讀 guard。", + "beforeRuntime": "需要 owner evidence accepted、reviewer queue 人工開啟與 active runtime gate。", + "forbidden": "不得從核心產品頁直接批准、執行、掃描或部署。" + }, + "publicSurfaces": { + "title": "公開網站波次", + "allowed": "前台網站可顯示資安摘要、合規狀態、風險分流與繁中文案。", + "beforeRuntime": "需要公開內容脫敏審查、敏感欄位封鎖與人工內容 owner 接受。", + "forbidden": "不得暴露內網 IP、secret value、raw payload、掃描結果原文或主機細節。" + }, + "sourceControl": { + "title": "版本來源波次", + "allowed": "GitHub / Gitea 專案庫只顯示 target、refs truth、workflow / secret 名稱與 rollback readiness。", + "beforeRuntime": "需要逐 repo owner response、refs truth accepted、workflow / secret 名稱驗收與 rollback ADR approval。", + "forbidden": "不得建立 repo、改可見性、同步 / 刪除 / 強推 refs、修改 workflow / secret 或切 primary。" + }, + "hostCoverage": { + "title": "主機覆蓋波次", + "allowed": "Kali、192.168.0.168、192.168.0.111 只顯示 coverage、action gate 與 evidence readiness。", + "beforeRuntime": "需要明確主機 scope、maintenance window、credential handling、rollback 與人工 runtime gate。", + "forbidden": "不得自動 SSH、更新主機、掃描、調校、收未脫敏資料或執行 Kali /execute。" + }, + "monitoringTools": { + "title": "監控工具波次", + "allowed": "監控、告警、Code Review、工具台只顯示 metadata-only evidence 與阻塞解除條件。", + "beforeRuntime": "需要工具輸出通過 redaction / retention / reviewer checks,且 owner 接受後才接 runtime gate。", + "forbidden": "不得由工具自動觸發修復、部署、付費 provider 變更、secret 收集或外部送出。" + }, + "futureTemplate": { + "title": "未來產品模板波次", + "allowed": "新專案預設繼承三軸進度、繁中 UI、只讀 governance、false runtime flags。", + "beforeRuntime": "需要產品 owner、資料分級、scope、rollback、disable 條件與逐階段審查。", + "forbidden": "不得讓新產品一建立就套 blocking enforcement、host action、source-control mutation 或 production deploy。" + } + } + }, "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 f7feb2475..79af45482 100644 --- a/apps/web/src/app/[locale]/iwooos/page.tsx +++ b/apps/web/src/app/[locale]/iwooos/page.tsx @@ -1182,6 +1182,47 @@ const iwooosThreeAxisProductProgressBoundaries = [ 'gitea_disablement_authorized=false', ] as const +const iwooosProductRolloutWaveLedgerSummary = [ + { key: 'waves', value: '6', icon: ListChecks, tone: 'steady' }, + { key: 'current', value: '只讀波次', icon: ShieldCheck, tone: 'steady' }, + { key: 'runtime', value: '0', icon: Lock, tone: 'locked' }, + { key: 'nextGate', value: 'S4.9', icon: ClipboardCheck, tone: 'warn' }, +] as const + +const iwooosProductRolloutWaveLedgerItems = [ + { key: 'coreProduct', wave: 'W0', state: '已接入', icon: ShieldCheck, tone: 'steady' }, + { key: 'publicSurfaces', wave: 'W1', state: '接可視', icon: SearchCheck, tone: 'steady' }, + { key: 'sourceControl', wave: 'W2', state: '等證據', icon: GitBranch, tone: 'warn' }, + { key: 'hostCoverage', wave: 'W3', state: '等授權', icon: Activity, tone: 'warn' }, + { key: 'monitoringTools', wave: 'W4', state: '只讀輸出', icon: Radar, tone: 'steady' }, + { key: 'futureTemplate', wave: 'W5', state: '預設套用', icon: FileText, tone: 'warn' }, +] as const + +const iwooosProductRolloutWaveLedgerBoundaries = [ + 'iwooos_product_rollout_wave_count=6', + 'iwooos_product_rollout_all_products_count=6', + 'iwooos_product_rollout_current_wave=read_only_visibility', + 'iwooos_product_rollout_runtime_wave_count=0', + 'iwooos_product_rollout_enforcement_wave_count=0', + 'iwooos_product_rollout_owner_response_accepted_count=0', + 'iwooos_product_rollout_active_runtime_gate_count=0', + 'iwooos_product_rollout_first_runtime_candidate=s4_9_owner_response_accepted', + 'iwooos_product_rollout_all_products_read_only=true', + 'iwooos_product_rollout_public_secret_exposure_allowed=false', + 'iwooos_product_rollout_kali_execution_authorized=false', + 'iwooos_product_rollout_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' }, @@ -4734,6 +4775,118 @@ function IwoooSThreeAxisProductProgressBoard() { ) } +function IwoooSProductRolloutWaveLedgerBoard() { + const t = useTranslations('iwooos.productRolloutWaveLedger') + const textWrap = { overflowWrap: 'anywhere' as const, wordBreak: 'break-word' as const } + + return ( +
+
+
+
+
+

{t('title')}

+

+ {t('subtitle')} +

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

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

+
+ ) + })} +
+
+ {iwooosProductRolloutWaveLedgerItems.map(item => { + const Icon = item.icon + return ( +
+
+ + {t('waveLabel')} {item.wave} + + +
+
+ {item.state} +
+

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

+

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

+

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

+

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

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

{t('boundaryTitle')}

+
+

+ {t('boundaryIntro')} +

+
+ {iwooosProductRolloutWaveLedgerBoundaries.map(item => ( + + {item} + + ))} +
+
+
+
+
+ ) +} + function IwoooSFirstProgressUnlockPathBoard() { const t = useTranslations('iwooos.firstProgressUnlockPath') const summaryItems = [ @@ -9471,6 +9624,8 @@ export default function IwoooSPage({ params }: { params: { locale: string } }) { + + diff --git a/docs/LOGBOOK.md b/docs/LOGBOOK.md index f1d0a0f71..37dad3949 100644 --- a/docs/LOGBOOK.md +++ b/docs/LOGBOOK.md @@ -1,3 +1,18 @@ +## 2026-05-24 | 資安供應鏈 S2.127:IwoooS 全產品分階段套用台帳 + +**背景**:統帥確認「是否也套用在所有專案產品」。S2.126 已回答全產品都套同一套三軸進度,本階段再把全產品套用方式拆成六個 rollout wave,避免只說「都套用」卻看不出每類產品目前能做什麼、進 runtime 前缺什麼、仍禁止什麼。 + +**完成**: +- `/iwooos` 新增「全產品分階段套用台帳」看板,將核心產品、公開網站、版本來源、主機覆蓋、監控工具與未來產品拆成 W0-W5 六個只讀 rollout waves。 +- 看板逐項顯示「目前可做 / 進 runtime 前 / 仍禁止」,讓前台能理解所有產品都先接可視化與證據欄位,後續才依 owner evidence、人工審查與 runtime gate 分段收嚴。 +- 看板固定顯示 `iwooos_product_rollout_wave_count=6`、`iwooos_product_rollout_all_products_count=6`、`iwooos_product_rollout_current_wave=read_only_visibility`、`iwooos_product_rollout_runtime_wave_count=0`、`iwooos_product_rollout_enforcement_wave_count=0`、`iwooos_product_rollout_owner_response_accepted_count=0`、`iwooos_product_rollout_active_runtime_gate_count=0`、`iwooos_product_rollout_all_products_read_only=true`,並維持 `runtime_execution_authorized=false`、`active_runtime_gate_count=0`、`action_buttons_allowed=false`、`not_authorization=true`。 +- `security_mirror_status_rollup_v1` 新增 `s2_127_iwooos_product_rollout_wave_ledger` 與 `show_iwooos_product_rollout_wave_ledger`。 +- `security-mirror-progress-guard.py` 已納入全產品分階段套用台帳、i18n 鍵、六個 rollout waves 與 false 邊界檢查。 + +**仍禁止**: +- S2.127 只做 `/iwooos` 只讀全產品套用台帳,不代表 owner response 已收到、證據已接受、headline review 授權、runtime 授權、人工審批、掃描、修復、部署、主機變更、專案庫建立、refs sync、workflow / secret 修改、GitHub primary 切換、Gitea 停用、Kali / SSH / 主機更新、reviewer queue 開啟、reviewer candidate 建立、reviewer 指派或稽核事件建立。 +- 整體資安網 headline 仍是 58%;框架 / 治理 / 文件 / schema / read-only evidence 維持 86-88%;真正落地執行 / runtime ingestion / GitHub primary / AwoooP production landing 仍約 35-40%。 + ## 2026-05-24 | 資安供應鏈 S2.126:IwoooS 三軸進度與全產品套用範圍 **背景**:統帥追問「是否也套用在所有專案產品」以及為什麼進度一直像卡在 58%。本階段把進度拆成三軸:整體加權、框架建置、落地執行,並明確標示所有專案產品第一階段都只套只讀治理與可視化。 diff --git a/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md b/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md index 51ca329ea..41a72b307 100644 --- a/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md +++ b/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md @@ -70,6 +70,7 @@ | 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 操作或執行期授權 | | IwoooS 目前阻塞與解除條件 | S2.125 已在 `/iwooos` 顯示目前阻塞與解除條件:S4.9 owner response 尚未收到、脫敏證據參照尚未成立、reviewer queue 仍關閉、GitHub primary readiness 未成立、主機證據仍待收件、runtime gate 未開六個阻塞;`iwooos_concrete_security_blocker_count=6`、`iwooos_concrete_security_visible_blocker_count=6`、`iwooos_concrete_security_headline_blocker_count=6`、`iwooos_concrete_security_blocker_resolved_count=0`、`iwooos_concrete_security_first_resolvable_blocker=s4_9_owner_response_missing`、`iwooos_concrete_security_owner_response_required=true`、`iwooos_concrete_security_redacted_evidence_required=true`、`iwooos_concrete_security_reviewer_queue_open=false`、`iwooos_concrete_security_github_primary_ready=false`、`iwooos_concrete_security_kali_execution_ready=false`、`iwooos_concrete_security_runtime_gate_open=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 操作或執行期授權 | | IwoooS 三軸進度與全產品套用範圍 | S2.126 已在 `/iwooos` 顯示三軸進度與全產品套用範圍:整體加權 58%、框架建置 86-88%、落地執行 35-40%、所有產品第一階段只套只讀治理;`iwooos_three_axis_progress_product_scope_count=6`、`iwooos_three_axis_progress_all_products_read_only=true`、`iwooos_three_axis_progress_runtime_product_rollout_count=0`、`iwooos_three_axis_progress_first_runtime_gate=s4_9_owner_response_accepted`、`iwooos_three_axis_progress_owner_response_accepted_count=0`、`iwooos_three_axis_progress_active_runtime_gate_count=0`、`runtime_execution_authorized=false`、`active_runtime_gate_count=0`、`not_authorization=true`,仍不代表 owner response 已收到、runtime gate、Kali / SSH / 主機更新、repo / refs / workflow / secret 操作、GitHub 主要來源切換、Gitea 停用或正式部署 | +| IwoooS 全產品分階段套用台帳 | S2.127 已在 `/iwooos` 顯示全產品分階段套用台帳:核心產品、公開網站、版本來源、主機覆蓋、監控工具與未來產品拆成 W0-W5 六個只讀 rollout waves;`iwooos_product_rollout_wave_count=6`、`iwooos_product_rollout_all_products_count=6`、`iwooos_product_rollout_current_wave=read_only_visibility`、`iwooos_product_rollout_runtime_wave_count=0`、`iwooos_product_rollout_enforcement_wave_count=0`、`iwooos_product_rollout_owner_response_accepted_count=0`、`iwooos_product_rollout_active_runtime_gate_count=0`、`iwooos_product_rollout_all_products_read_only=true`、`runtime_execution_authorized=false`、`active_runtime_gate_count=0`、`not_authorization=true`,仍不代表 owner response 已收到、runtime gate、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 | @@ -116,7 +117,7 @@ 目前進度不是以「強制防護開了多少」計算,而是以統帥指定的低摩擦路線拆成兩層: -1. 框架期約 86-88%:36 個主要 contract 已有 33 個 ready、2 個 partial、1 個 contract-only、0 blocked,表示治理骨架、只讀 evidence、人工批准語義、AwoooP mirror-only 接口與 IwoooS 前端投影已接近完整,且 S2.126 已把全產品只讀套用範圍前台化。 +1. 框架期約 86-88%:36 個主要 contract 已有 33 個 ready、2 個 partial、1 個 contract-only、0 blocked,表示治理骨架、只讀 evidence、人工批准語義、AwoooP mirror-only 接口與 IwoooS 前端投影已接近完整,且 S2.127 已把全產品只讀套用範圍拆成分階段 rollout 台帳。 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 授權。 @@ -281,6 +282,7 @@ | 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 / 主機更新或執行期授權 | | S2.125 IwoooS 目前阻塞與解除條件 | framework detail | 0 | 只在 `/iwooos` 顯示目前阻塞與解除條件,把 S4.9 owner response 尚未收到、脫敏證據參照尚未成立、reviewer queue 仍關閉、GitHub primary readiness 未成立、主機證據仍待收件、runtime gate 未開六個阻塞拆開;iwooos_concrete_security_blocker_count=6、iwooos_concrete_security_visible_blocker_count=6、iwooos_concrete_security_headline_blocker_count=6、iwooos_concrete_security_blocker_resolved_count=0、iwooos_concrete_security_first_resolvable_blocker=s4_9_owner_response_missing、iwooos_concrete_security_owner_response_required=true、iwooos_concrete_security_redacted_evidence_required=true、iwooos_concrete_security_reviewer_queue_open=false、iwooos_concrete_security_github_primary_ready=false、iwooos_concrete_security_kali_execution_ready=false、iwooos_concrete_security_runtime_gate_open=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 / 主機更新或執行期授權 | | S2.126 IwoooS 三軸進度與全產品套用範圍 | framework detail | 0 | 只在 `/iwooos` 顯示整體加權 58%、框架建置 86-88%、落地執行 35-40% 與六類產品全產品只讀套用範圍;runtime_product_rollout_count=0、owner_response_accepted_count=0、active_runtime_gate_count=0、production_deploy_count=0,不把三軸進度或全產品範圍當 runtime 授權、Kali 執行、主機變更、repo / refs / workflow / secret 操作、GitHub 主要來源切換、Gitea 停用或正式部署 | +| S2.127 IwoooS 全產品分階段套用台帳 | framework detail | 0 | 只在 `/iwooos` 顯示核心產品、公開網站、版本來源、主機覆蓋、監控工具與未來產品六個 read-only rollout waves;runtime_wave_count=0、enforcement_wave_count=0、owner_response_accepted_count=0、active_runtime_gate_count=0,不把全產品 rollout 台帳當 owner response 已收到、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 531f065e0..85121d7ef 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 目前具體交付清單 + 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.126 IwoooS / AwoooP 資安投影契約都是有效進展,但它們是框架細節,不是負責人回覆、執行期閘門、生產匯入或 GitHub 主要來源就緒。因此整體百分比仍維持 58%,避免把只讀框架誤算成已落地執行。 +近期 S4.10 請求包、範本狀態台帳、稽核事件範本、脫敏範例、收件檢查、收件預檢,S4.11 請求包 / 範本狀態台帳 / 稽核事件範本 / 脫敏範例 / 收件檢查 / 收件預檢,S4.12 請求包 / 範本狀態台帳 / 稽核事件範本 / 脫敏範例 / 收件檢查 / 收件預檢,S4.13 證據路由規則 / 顯示區塊 / 狀態轉移規則 / 審查清單 / 審查結果分流 / 審查稽核事件範本 / 審查稽核顯示區塊 / 審查稽核收件檢查 / 審查稽核脫敏範例 / 審查稽核保留規則 / 審查稽核保留檢查 / 審查稽核交接包 / 交接檢查 / 平行 Session 同步檢查 / 衝突分流 / 復原檢查 / 復原結果分流,S1.3 低摩擦非阻擋升級分流、S2.8 IwoooS 前端態勢入口,以及 S2.9-S2.127 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 不應被灌水提高。 @@ -190,6 +190,7 @@ S2.50 也把「為什麼 58% 還不動」拆成五個可見 gate:owner respons | S2.124 IwoooS 目前具體交付清單 | 已完成草案,在 `/iwooos` 顯示 IwoooS 前台可見工作台、主機範圍與證據欄位、GitHub / Gitea 遷移證據、S4.9 第一解鎖證據包、人工 reviewer 準備序列、runtime 開閘條件六項交付;仍不把交付清單當成 owner response 已收到、reviewer queue 已開、runtime 授權、掃描、修復、部署、主機變更或版本來源操作 | 0 | | S2.125 IwoooS 目前阻塞與解除條件 | 已完成草案,在 `/iwooos` 顯示 S4.9 owner response 尚未收到、脫敏證據參照尚未成立、reviewer queue 仍關閉、GitHub primary readiness 未成立、主機證據仍待收件、runtime gate 未開六個阻塞;仍不把阻塞解除圖當成 owner response 已收到、reviewer queue 已開、runtime 授權、掃描、修復、部署、主機變更或版本來源操作 | 0 | | S2.126 IwoooS 三軸進度與全產品套用範圍 | 已完成草案,在 `/iwooos` 顯示整體加權 58%、框架建置 86-88%、落地執行 35-40%,並把 AWOOOI / IwoooS / AwoooP、所有前台網站、GitHub / Gitea 專案庫、Kali 與開發主機、監控工具與未來產品六類範圍標成全產品只讀套用;仍不把三軸進度當 runtime 授權、掃描、修復、部署、主機變更或版本來源操作 | 0 | +| S2.127 IwoooS 全產品分階段套用台帳 | 已完成草案,在 `/iwooos` 顯示核心產品、公開網站、版本來源、主機覆蓋、監控工具與未來產品六個 read-only rollout waves;runtime_wave_count=0、enforcement_wave_count=0、owner_response_accepted_count=0、active_runtime_gate_count=0,仍不把全產品台帳當 runtime 授權、掃描、修復、部署、主機變更或版本來源操作 | 0 | headline 要再往上,需要 S4.9 / S4.10 / S4.11 / S4.12 任一 owner response 收到並通過脫敏驗收,或人工批准後出現 active runtime gate、redacted payload ingestion、GitHub primary readiness 這類落地 evidence。 @@ -335,6 +336,7 @@ headline 要再往上,需要 S4.9 / S4.10 / S4.11 / S4.12 任一 owner respons | S2.124 IwoooS 目前具體交付清單 | 完成草案 | `/iwooos` 新增目前具體交付清單,列出 IwoooS 前台可見工作台、主機範圍與證據欄位、GitHub / Gitea 遷移證據、S4.9 第一解鎖證據包、人工 reviewer 準備序列與 runtime 開閘條件 | 使用者能直接看到每項已交付內容、下一步與未開放動作;目前 evidence received / accepted 仍是 0、reviewer queue=false、runtime gate=0,所以 headline 仍不提高 | | S2.125 IwoooS 目前阻塞與解除條件 | 完成草案 | `/iwooos` 新增目前阻塞與解除條件,列出 S4.9 owner response、脫敏證據、reviewer queue、GitHub primary readiness、主機證據與 runtime gate 六個阻塞 | 使用者能直接看到為什麼 58% 仍不移動,以及第一個可解除阻塞是 S4.9 owner response;目前 blocker resolved=0、runtime gate=0,所以 headline 仍不提高 | | S2.126 IwoooS 三軸進度與全產品套用範圍 | 完成草案 | `/iwooos` 新增三軸進度與全產品套用範圍,顯示整體加權 58%、框架建置 86-88%、落地執行 35-40%,並列出六類產品範圍 | 使用者能直接理解所有專案產品都先套只讀治理與可視化;目前 runtime product rollout=0、owner response accepted=0、active runtime gate=0,所以 headline 仍不提高 | +| S2.127 IwoooS 全產品分階段套用台帳 | 完成草案 | `/iwooos` 新增全產品分階段套用台帳,列出核心產品、公開網站、版本來源、主機覆蓋、監控工具與未來產品六個 rollout waves | 使用者能直接理解所有產品如何分波次套用;目前只進 read-only visibility wave,runtime / enforcement / owner accepted / active 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 3ea21227f..2a0211807 100644 --- a/docs/security/security-mirror-status-rollup.snapshot.json +++ b/docs/security/security-mirror-status-rollup.snapshot.json @@ -1982,6 +1982,18 @@ "runtime_delta": false, "execution_authorized": false, "not_authorization": true + }, + { + "delta_id": "s2_127_iwooos_product_rollout_wave_ledger", + "display_order": 156, + "completed_stage": "S2.127 IwoooS 全產品分階段套用台帳", + "progress_axis": "framework_detail", + "headline_percent_delta": 0, + "framework_delta_visible": true, + "why_headline_unchanged": "IwoooS 只新增全產品分階段套用台帳,把核心產品、公開網站、版本來源、主機覆蓋、監控工具與未來產品拆成六個 read-only rollout waves;iwooos_product_rollout_wave_count=6、iwooos_product_rollout_all_products_count=6、iwooos_product_rollout_current_wave=read_only_visibility、iwooos_product_rollout_runtime_wave_count=0、iwooos_product_rollout_enforcement_wave_count=0、iwooos_product_rollout_owner_response_accepted_count=0、iwooos_product_rollout_active_runtime_gate_count=0、runtime_execution_authorized=false、active_runtime_gate_count=0,不把全產品 rollout 台帳當 owner response 已收到、runtime gate、Kali 執行、主機變更、repo/refs/workflow/secret 操作、GitHub primary 切換、Gitea 停用或正式部署。", + "runtime_delta": false, + "execution_authorized": false, + "not_authorization": true } ], "next_safe_actions": [ @@ -3154,6 +3166,22 @@ "從 IwoooS 三軸進度與全產品套用範圍呼叫 Kali、開 SSH、更新主機、切 GitHub 主要來源、停用 Gitea、送出 request、收 raw payload、收機密明文值、開 reviewer queue、建立 reviewer candidate、指派 reviewer 或建立稽核事件" ] }, + { + "action_id": "show_iwooos_product_rollout_wave_ledger", + "title": "IwoooS 顯示全產品分階段套用台帳", + "mode": "observe", + "source_contract": "iwooos_posture_projection_v1", + "allowed_processing": [ + "在 /iwooos 顯示 S2.127 全產品分階段套用台帳", + "把核心產品、公開網站、版本來源、主機覆蓋、監控工具與未來產品拆成六個 read-only rollout waves", + "固定目前只進 read-only visibility wave,runtime_wave_count=0、enforcement_wave_count=0、owner_response_accepted_count=0、active_runtime_gate_count=0" + ], + "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 e1423e634..8366e87e0 100755 --- a/scripts/security/security-mirror-progress-guard.py +++ b/scripts/security/security-mirror-progress-guard.py @@ -378,6 +378,7 @@ def validate(root: Path) -> None: "s2_124_iwooos_concrete_security_delivery_checklist", "s2_125_iwooos_concrete_security_blocker_resolution", "s2_126_iwooos_three_axis_product_progress", + "s2_127_iwooos_product_rollout_wave_ledger", ] assert_equal( "progress_delta_ledger.delta_ids", @@ -732,6 +733,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_product_rollout_wave_ledger", + ) assert_contains( "rollup.next_safe_actions.action_ids", [item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)], @@ -9007,6 +9013,106 @@ def validate(root: Path) -> None: list(web_messages_en["iwooos"]["threeAxisProductProgress"]["items"].keys()), key, ) + assert_text_contains( + "iwooos_page.product_rollout_wave_ledger_testid", + iwooos_projection_page, + 'data-testid="iwooos-product-rollout-wave-ledger-board"', + ) + assert_text_contains( + "iwooos_page.product_rollout_wave_ledger_component", + iwooos_projection_page, + "IwoooSProductRolloutWaveLedgerBoard", + ) + for text in [ + "iwooos_product_rollout_wave_count=6", + "iwooos_product_rollout_all_products_count=6", + "iwooos_product_rollout_current_wave=read_only_visibility", + "iwooos_product_rollout_runtime_wave_count=0", + "iwooos_product_rollout_enforcement_wave_count=0", + "iwooos_product_rollout_owner_response_accepted_count=0", + "iwooos_product_rollout_active_runtime_gate_count=0", + "iwooos_product_rollout_first_runtime_candidate=s4_9_owner_response_accepted", + "iwooos_product_rollout_all_products_read_only=true", + "iwooos_product_rollout_public_secret_exposure_allowed=false", + "iwooos_product_rollout_kali_execution_authorized=false", + "iwooos_product_rollout_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_rollout_wave_ledger_boundary", + iwooos_projection_page, + text, + ) + assert_contains( + "web_messages.zh-TW.iwooos.productRolloutWaveLedger", + list(web_messages_zh["iwooos"].keys()), + "productRolloutWaveLedger", + ) + assert_contains( + "web_messages.en.iwooos.productRolloutWaveLedger", + list(web_messages_en["iwooos"].keys()), + "productRolloutWaveLedger", + ) + for key in [ + "title", + "subtitle", + "summary", + "items", + "waveLabel", + "allowedLabel", + "beforeRuntimeLabel", + "forbiddenLabel", + "boundaryTitle", + "boundaryIntro", + ]: + assert_contains( + "web_messages.zh-TW.iwooos.productRolloutWaveLedger.keys", + list(web_messages_zh["iwooos"]["productRolloutWaveLedger"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.productRolloutWaveLedger.keys", + list(web_messages_en["iwooos"]["productRolloutWaveLedger"].keys()), + key, + ) + for key in ["waves", "current", "runtime", "nextGate"]: + assert_contains( + "web_messages.zh-TW.iwooos.productRolloutWaveLedger.summary", + list(web_messages_zh["iwooos"]["productRolloutWaveLedger"]["summary"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.productRolloutWaveLedger.summary", + list(web_messages_en["iwooos"]["productRolloutWaveLedger"]["summary"].keys()), + key, + ) + for key in [ + "coreProduct", + "publicSurfaces", + "sourceControl", + "hostCoverage", + "monitoringTools", + "futureTemplate", + ]: + assert_contains( + "web_messages.zh-TW.iwooos.productRolloutWaveLedger.items", + list(web_messages_zh["iwooos"]["productRolloutWaveLedger"]["items"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.productRolloutWaveLedger.items", + list(web_messages_en["iwooos"]["productRolloutWaveLedger"]["items"].keys()), + key, + ) assert_text_contains( "iwooos_page.first_progress_unlock_path_testid", iwooos_projection_page,