diff --git a/apps/web/messages/en.json b/apps/web/messages/en.json index b9620fe34..7e570931c 100644 --- a/apps/web/messages/en.json +++ b/apps/web/messages/en.json @@ -4875,6 +4875,63 @@ } } }, + "concreteSecurityWorkMap": { + "title": "目前具體工作地圖", + "subtitle": "S2.123 回應「很難理解有哪些具體工作」:把目前資安網拆成六條實體工作流。已完成的是前台可視化與只讀框架;真正會推動 58% 的下一步仍是 S4.9 負責人回覆被收到、脫敏並接受。", + "workLabel": "工作", + "boundaryTitle": "具體工作邊界", + "boundaryIntro": "以下鍵值固定:這張圖只是把具體工作流講清楚,不是 runtime 授權、Kali 掃描、主機變更、repo/refs/workflow/secret 操作、GitHub primary 切換或 Gitea 停用。", + "summary": { + "streams": { + "label": "工作流", + "detail": "六條把抽象資安網翻成具體工作。" + }, + "visible": { + "label": "前台可見", + "detail": "六條都有可視化框架,不代表已執行。" + }, + "realGate": { + "label": "下一真門檻", + "detail": "S4.9 owner response accepted 才會讓 58% 有機會移動。" + }, + "runtime": { + "label": "執行授權", + "detail": "目前仍是 0,沒有掃描、修復或部署。" + } + }, + "items": { + "frontstageVisibility": { + "title": "前台資安入口與使用者可視化", + "body": "已把 IwoooS、既有安全/合規頁、AwoooP 首頁/工作鏈路/審批/合約/租戶/執行監控接成只讀資安視圖。", + "evidence": "具體產出:使用者現在能從前台看見 58%、GitHub readiness、owner response、host coverage 與 runtime gate 0。" + }, + "hostScopeInventory": { + "title": "主機與範圍盤點框架", + "body": "已把 Kali 192.168.0.112、開發主機 192.168.0.168、192.168.0.111 放入 host coverage、action gate 與 evidence readiness。", + "evidence": "具體產出:看得到主機納管範圍與禁止動作;尚未 SSH、更新主機、掃描或變更設定。" + }, + "sourceControlMigration": { + "title": "GitHub / Gitea 版本來源遷移準備", + "body": "已建立 GitHub primary readiness、rollback ADR、refs truth、workflow/secret 名稱盤點與 owner response 驗收框架。", + "evidence": "具體產出:知道哪些 repo、refs、workflow/secret 要 owner 回覆;尚未建立 repo、同步 refs、切 primary 或停用 Gitea。" + }, + "ownerEvidenceIntake": { + "title": "S4.9 負責人回覆與脫敏證據收件", + "body": "已把第一個能推動 58% 的路徑拆成工作單、封套欄位、送件前檢查、送件鏈路與第一解鎖證據包。", + "evidence": "具體產出:下一步很明確,是收到並驗收可追溯的 S4.9 owner response;目前 received/accepted 仍是 0。" + }, + "reviewerHumanFlow": { + "title": "reviewer / 人工審查流程", + "body": "已把證據包預檢、補件路徑、補件送審前檢查、結果分流、reviewer 指派準備、指派前檢查與結果分流串起來。", + "evidence": "具體產出:人工 reviewer 未來知道看什麼、退回什麼、隔離什麼;目前 queue/candidate/assigned 仍是 0。" + }, + "runtimeExecutionGate": { + "title": "runtime 掃描、修復、部署與主機變更", + "body": "已把所有執行動作放在人工批准與後續 runtime gate 之後,不讓初期框架把資安限制拉太高。", + "evidence": "具體產出:目前 active_runtime_gate_count=0,scan/deploy/host change/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 bf550d65c..8dec8b35e 100644 --- a/apps/web/messages/zh-TW.json +++ b/apps/web/messages/zh-TW.json @@ -4876,6 +4876,63 @@ } } }, + "concreteSecurityWorkMap": { + "title": "目前具體工作地圖", + "subtitle": "S2.123 回應「很難理解有哪些具體工作」:把目前資安網拆成六條實體工作流。已完成的是前台可視化與只讀框架;真正會推動 58% 的下一步仍是 S4.9 負責人回覆被收到、脫敏並接受。", + "workLabel": "工作", + "boundaryTitle": "具體工作邊界", + "boundaryIntro": "以下鍵值固定:這張圖只是把具體工作流講清楚,不是 runtime 授權、Kali 掃描、主機變更、repo/refs/workflow/secret 操作、GitHub primary 切換或 Gitea 停用。", + "summary": { + "streams": { + "label": "工作流", + "detail": "六條把抽象資安網翻成具體工作。" + }, + "visible": { + "label": "前台可見", + "detail": "六條都有可視化框架,不代表已執行。" + }, + "realGate": { + "label": "下一真門檻", + "detail": "S4.9 owner response accepted 才會讓 58% 有機會移動。" + }, + "runtime": { + "label": "執行授權", + "detail": "目前仍是 0,沒有掃描、修復或部署。" + } + }, + "items": { + "frontstageVisibility": { + "title": "前台資安入口與使用者可視化", + "body": "已把 IwoooS、既有安全/合規頁、AwoooP 首頁/工作鏈路/審批/合約/租戶/執行監控接成只讀資安視圖。", + "evidence": "具體產出:使用者現在能從前台看見 58%、GitHub readiness、owner response、host coverage 與 runtime gate 0。" + }, + "hostScopeInventory": { + "title": "主機與範圍盤點框架", + "body": "已把 Kali 192.168.0.112、開發主機 192.168.0.168、192.168.0.111 放入 host coverage、action gate 與 evidence readiness。", + "evidence": "具體產出:看得到主機納管範圍與禁止動作;尚未 SSH、更新主機、掃描或變更設定。" + }, + "sourceControlMigration": { + "title": "GitHub / Gitea 版本來源遷移準備", + "body": "已建立 GitHub primary readiness、rollback ADR、refs truth、workflow/secret 名稱盤點與 owner response 驗收框架。", + "evidence": "具體產出:知道哪些 repo、refs、workflow/secret 要 owner 回覆;尚未建立 repo、同步 refs、切 primary 或停用 Gitea。" + }, + "ownerEvidenceIntake": { + "title": "S4.9 負責人回覆與脫敏證據收件", + "body": "已把第一個能推動 58% 的路徑拆成工作單、封套欄位、送件前檢查、送件鏈路與第一解鎖證據包。", + "evidence": "具體產出:下一步很明確,是收到並驗收可追溯的 S4.9 owner response;目前 received/accepted 仍是 0。" + }, + "reviewerHumanFlow": { + "title": "reviewer / 人工審查流程", + "body": "已把證據包預檢、補件路徑、補件送審前檢查、結果分流、reviewer 指派準備、指派前檢查與結果分流串起來。", + "evidence": "具體產出:人工 reviewer 未來知道看什麼、退回什麼、隔離什麼;目前 queue/candidate/assigned 仍是 0。" + }, + "runtimeExecutionGate": { + "title": "runtime 掃描、修復、部署與主機變更", + "body": "已把所有執行動作放在人工批准與後續 runtime gate 之後,不讓初期框架把資安限制拉太高。", + "evidence": "具體產出:目前 active_runtime_gate_count=0,scan/deploy/host change/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 8bc7efba0..2684ad3f0 100644 --- a/apps/web/src/app/[locale]/iwooos/page.tsx +++ b/apps/web/src/app/[locale]/iwooos/page.tsx @@ -1041,6 +1041,40 @@ const iwooosProgressMovementSignalBoundaries = [ 'gitea_disablement_authorized=false', ] as const +const iwooosConcreteSecurityWorkStreams = [ + { key: 'frontstageVisibility', work: 'W1', state: '已前台化', icon: SearchCheck, tone: 'steady' }, + { key: 'hostScopeInventory', work: 'W2', state: '框架完成', icon: Activity, tone: 'warn' }, + { key: 'sourceControlMigration', work: 'W3', state: '待回覆', icon: GitBranch, tone: 'warn' }, + { key: 'ownerEvidenceIntake', work: 'W4', state: '下一真門檻', icon: ClipboardCheck, tone: 'warn' }, + { key: 'reviewerHumanFlow', work: 'W5', state: '只讀序列', icon: ListChecks, tone: 'locked' }, + { key: 'runtimeExecutionGate', work: 'W6', state: '未開閘', icon: Lock, tone: 'locked' }, +] as const + +const iwooosConcreteSecurityWorkMapBoundaries = [ + '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', + 'iwooos_concrete_security_kali_scan_authorized=false', + 'iwooos_concrete_security_host_change_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' }, @@ -4138,6 +4172,118 @@ function IwoooSProgressMovementSignalsBoard() { ) } +function IwoooSConcreteSecurityWorkMapBoard() { + const t = useTranslations('iwooos.concreteSecurityWorkMap') + const summaryItems = [ + { key: 'streams', value: '6', tone: 'warn' as const }, + { key: 'visible', value: '6', tone: 'steady' as const }, + { key: 'realGate', 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)} + + + ))} + + + {iwooosConcreteSecurityWorkStreams.map(item => { + const Icon = item.icon + return ( + + + + {t('workLabel')} {item.work} + + + + + {item.state} + + + {t(`items.${item.key}.title` as never)} + + + {t(`items.${item.key}.body` as never)} + + + {t(`items.${item.key}.evidence` as never)} + + + ) + })} + + + + + + {t('boundaryTitle')} + + + {t('boundaryIntro')} + + + {iwooosConcreteSecurityWorkMapBoundaries.map(item => ( + + {item} + + ))} + + + + + + ) +} + function IwoooSFirstProgressUnlockPathBoard() { const t = useTranslations('iwooos.firstProgressUnlockPath') const summaryItems = [ @@ -8867,6 +9013,8 @@ export default function IwoooSPage({ params }: { params: { locale: string } }) { + + diff --git a/docs/LOGBOOK.md b/docs/LOGBOOK.md index 8a5156f12..8ac873ff0 100644 --- a/docs/LOGBOOK.md +++ b/docs/LOGBOOK.md @@ -1,3 +1,17 @@ +## 2026-05-24 | 資安供應鏈 S2.123:IwoooS 目前具體工作地圖 + +**背景**:統帥回饋「到目前為止,還蠻難理解有哪些具體的工作」;本階段不再新增一層抽象 reviewer 狀態,而是把目前資安網拆成六條使用者可理解的具體工作流,讓前台直接說清楚已做什麼、下一個真門檻是什麼、哪些仍未授權。 + +**完成**: +- `/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`。 +- `security_mirror_status_rollup_v1` 新增 `s2_123_iwooos_concrete_security_work_map` 與 `show_iwooos_concrete_security_work_map`。 +- `security-mirror-progress-guard.py` 已納入具體工作地圖看板、i18n 鍵、六條具體工作流與 false 邊界檢查。 + +**仍禁止**: +- S2.123 只做 `/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.122:IwoooS 第一解鎖證據包 reviewer 指派前檢查結果分流 **背景**:S2.121 已把 reviewer 指派前六項檢查前台化;本階段再補上檢查後的結果分流,避免使用者或平行 Session 把「檢查可見」誤解成 reviewer candidate 已成立、queue 已開或 reviewer 已指派。 diff --git a/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md b/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md index daee8f92d..b287ea548 100644 --- a/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md +++ b/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md @@ -66,6 +66,7 @@ | IwoooS 第一解鎖證據包 reviewer 指派準備包 | S2.120 已在 `/iwooos` 顯示第一解鎖證據包 reviewer 指派準備包:佇列狀態凍結、reviewer 角色邊界、範圍包、證據索引、衝突揭露、指派稽核草稿六個準備包;`iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation_packet_count=6`、`iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation_ready_count=0`、`iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation_reviewer_candidate_count=0`、`iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation_reviewer_assigned_count=0`、`iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation_audit_event_emitted=0`、`iwooos_first_unlock_evidence_packet_supplement_pre_review_ready_for_queue_count=0`、`iwooos_first_unlock_evidence_packet_supplement_pre_review_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 第一解鎖證據包 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 操作或執行期授權 | | 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 | @@ -273,6 +274,7 @@ | S2.120 IwoooS 第一解鎖證據包 reviewer 指派準備包 | framework detail | 0 | 只在 `/iwooos` 顯示第一解鎖證據包 reviewer 指派準備包,把佇列狀態凍結、reviewer 角色邊界、範圍包、證據索引、衝突揭露、指派稽核草稿六個準備包拆開;iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation_packet_count=6、iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation_ready_count=0、iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation_reviewer_candidate_count=0、iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation_reviewer_assigned_count=0、iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation_audit_event_emitted=0、iwooos_first_unlock_evidence_packet_supplement_pre_review_ready_for_queue_count=0、iwooos_first_unlock_evidence_packet_supplement_pre_review_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.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 開啟或執行期授權 | headline 進度要再往上,至少需要下列任一高層 gate 有實質 evidence: diff --git a/docs/security/SECURITY-SUPPLY-CHAIN-PROGRESS.md b/docs/security/SECURITY-SUPPLY-CHAIN-PROGRESS.md index e887afb84..9c1345e05 100644 --- a/docs/security/SECURITY-SUPPLY-CHAIN-PROGRESS.md +++ b/docs/security/SECURITY-SUPPLY-CHAIN-PROGRESS.md @@ -6,6 +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 目前具體工作地圖 | | 原則 | 低摩擦分階段;文件、schema、read-only evidence 優先;不做 runtime enforcement、不切 primary | ## 0. 本階段完成後整體進度 @@ -28,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.122 IwoooS / AwoooP 資安投影契約都是有效進展,但它們是框架細節,不是負責人回覆、執行期閘門、生產匯入或 GitHub 主要來源就緒。因此整體百分比仍維持 58%,避免把只讀框架誤算成已落地執行。 +近期 S4.10 請求包、範本狀態台帳、稽核事件範本、脫敏範例、收件檢查、收件預檢,S4.11 請求包 / 範本狀態台帳 / 稽核事件範本 / 脫敏範例 / 收件檢查 / 收件預檢,S4.12 請求包 / 範本狀態台帳 / 稽核事件範本 / 脫敏範例 / 收件檢查 / 收件預檢,S4.13 證據路由規則 / 顯示區塊 / 狀態轉移規則 / 審查清單 / 審查結果分流 / 審查稽核事件範本 / 審查稽核顯示區塊 / 審查稽核收件檢查 / 審查稽核脫敏範例 / 審查稽核保留規則 / 審查稽核保留檢查 / 審查稽核交接包 / 交接檢查 / 平行 Session 同步檢查 / 衝突分流 / 復原檢查 / 復原結果分流,S1.3 低摩擦非阻擋升級分流、S2.8 IwoooS 前端態勢入口,以及 S2.9-S2.123 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 不應被灌水提高。 @@ -185,6 +186,7 @@ S2.50 也把「為什麼 58% 還不動」拆成五個可見 gate:owner respons | S2.120 IwoooS 第一解鎖證據包 reviewer 指派準備包 | 已完成草案,在 `/iwooos` 顯示佇列狀態凍結、reviewer 角色邊界、範圍包、證據索引、衝突揭露、指派稽核草稿六個準備包;仍不把準備包當成 reviewer candidate 已成立、queue 已開、reviewer 已指派、headline review 授權、runtime 授權或執行期閘門 | 0 | | 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 | headline 要再往上,需要 S4.9 / S4.10 / S4.11 / S4.12 任一 owner response 收到並通過脫敏驗收,或人工批准後出現 active runtime gate、redacted payload ingestion、GitHub primary readiness 這類落地 evidence。 @@ -326,6 +328,7 @@ headline 要再往上,需要 S4.9 / S4.10 / S4.11 / S4.12 任一 owner respons | S2.120 IwoooS 第一解鎖證據包 reviewer 指派準備包 | 完成草案 | `/iwooos` 新增第一解鎖證據包 reviewer 指派準備包,列出佇列狀態凍結、reviewer 角色邊界、範圍包、證據索引、衝突揭露與指派稽核草稿六個準備包 | 使用者能直接看到 reviewer 指派前還缺哪些安全資料;目前 ready / candidate / assigned 仍是 0、queue=false,所以 headline 仍不提高 | | 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 仍不提高 | | 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 4e2f01547..7af71c344 100644 --- a/docs/security/security-mirror-status-rollup.snapshot.json +++ b/docs/security/security-mirror-status-rollup.snapshot.json @@ -1934,6 +1934,18 @@ "runtime_delta": false, "execution_authorized": false, "not_authorization": true + }, + { + "delta_id": "s2_123_iwooos_concrete_security_work_map", + "display_order": 152, + "completed_stage": "S2.123 IwoooS 目前具體工作地圖", + "progress_axis": "framework_detail", + "headline_percent_delta": 0, + "framework_delta_visible": true, + "why_headline_unchanged": "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,不把具體工作地圖當 owner response 已收到、證據已接受、runtime gate、Kali 掃描、主機變更、repo/refs/workflow/secret 操作、GitHub primary 切換、Gitea 停用或正式部署。", + "runtime_delta": false, + "execution_authorized": false, + "not_authorization": true } ], "next_safe_actions": [ @@ -3042,6 +3054,22 @@ "從 IwoooS 第一解鎖證據包 reviewer 指派前檢查結果分流呼叫 Kali、開 SSH、更新主機、切 GitHub 主要來源、停用 Gitea、送出 request、收 raw payload、收機密明文值、開 reviewer queue、建立 reviewer candidate、指派 reviewer 或建立稽核事件" ] }, + { + "action_id": "show_iwooos_concrete_security_work_map", + "title": "IwoooS 顯示目前具體工作地圖", + "mode": "observe", + "source_contract": "iwooos_posture_projection_v1", + "allowed_processing": [ + "在 /iwooos 顯示 S2.123 目前具體工作地圖", + "把前台資安入口、主機盤點、GitHub/Gitea 遷移準備、S4.9 證據收件、reviewer 人工流程與 runtime 執行 gate 六條具體工作流拆開", + "固定具體工作地圖只做只讀說明,owner_response_received_count=0、owner_response_accepted_count=0、active_runtime_gate_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 705383625..cfca2048d 100755 --- a/scripts/security/security-mirror-progress-guard.py +++ b/scripts/security/security-mirror-progress-guard.py @@ -374,6 +374,7 @@ def validate(root: Path) -> None: "s2_120_iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation", "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", ] assert_equal( "progress_delta_ledger.delta_ids", @@ -708,6 +709,11 @@ def validate(root: Path) -> None: [item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)], "show_iwooos_first_unlock_evidence_packet_reviewer_assignment_preflight_outcomes", ) + 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_work_map", + ) assert_contains( "rollup.next_safe_actions.action_ids", [item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)], @@ -8597,6 +8603,95 @@ def validate(root: Path) -> None: list(web_messages_en["iwooos"]["progressMovementSignals"]["items"].keys()), key, ) + assert_text_contains( + "iwooos_page.concrete_security_work_map_testid", + iwooos_projection_page, + 'data-testid="iwooos-concrete-security-work-map-board"', + ) + assert_text_contains( + "iwooos_page.concrete_security_work_map_component", + iwooos_projection_page, + "IwoooSConcreteSecurityWorkMapBoard", + ) + for text in [ + "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", + "iwooos_concrete_security_kali_scan_authorized=false", + "iwooos_concrete_security_host_change_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.concrete_security_work_map_boundary", + iwooos_projection_page, + text, + ) + assert_contains( + "web_messages.zh-TW.iwooos.concreteSecurityWorkMap", + list(web_messages_zh["iwooos"].keys()), + "concreteSecurityWorkMap", + ) + assert_contains( + "web_messages.en.iwooos.concreteSecurityWorkMap", + list(web_messages_en["iwooos"].keys()), + "concreteSecurityWorkMap", + ) + for key in ["title", "subtitle", "summary", "items", "workLabel", "boundaryTitle", "boundaryIntro"]: + assert_contains( + "web_messages.zh-TW.iwooos.concreteSecurityWorkMap.keys", + list(web_messages_zh["iwooos"]["concreteSecurityWorkMap"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.concreteSecurityWorkMap.keys", + list(web_messages_en["iwooos"]["concreteSecurityWorkMap"].keys()), + key, + ) + for key in ["streams", "visible", "realGate", "runtime"]: + assert_contains( + "web_messages.zh-TW.iwooos.concreteSecurityWorkMap.summary", + list(web_messages_zh["iwooos"]["concreteSecurityWorkMap"]["summary"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.concreteSecurityWorkMap.summary", + list(web_messages_en["iwooos"]["concreteSecurityWorkMap"]["summary"].keys()), + key, + ) + for key in [ + "frontstageVisibility", + "hostScopeInventory", + "sourceControlMigration", + "ownerEvidenceIntake", + "reviewerHumanFlow", + "runtimeExecutionGate", + ]: + assert_contains( + "web_messages.zh-TW.iwooos.concreteSecurityWorkMap.items", + list(web_messages_zh["iwooos"]["concreteSecurityWorkMap"]["items"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.concreteSecurityWorkMap.items", + list(web_messages_en["iwooos"]["concreteSecurityWorkMap"]["items"].keys()), + key, + ) assert_text_contains( "iwooos_page.first_progress_unlock_path_testid", iwooos_projection_page,
+ {t('subtitle')} +
+ {t(`summary.${item.key}.detail` as never)} +
+ {t(`items.${item.key}.body` as never)} +
+ {t('boundaryIntro')} +