diff --git a/apps/web/messages/en.json b/apps/web/messages/en.json index f6332587a..76c537ab9 100644 --- a/apps/web/messages/en.json +++ b/apps/web/messages/en.json @@ -5169,6 +5169,57 @@ } } }, + "firstUnlockEvidencePacketReviewerAssignmentPreparation": { + "title": "第一解鎖證據包 reviewer 指派準備包", + "subtitle": "S2.120 把補件結果分流之後,若未來要進人工 reviewer 指派前需要整理的六個準備包前台化:佇列狀態凍結、reviewer 角色邊界、範圍包、證據索引、衝突揭露、指派稽核草稿。這裡只顯示準備包,不代表 reviewer candidate 已成立、queue 已開或 reviewer 已指派。", + "packetLabel": "準備包", + "boundaryTitle": "指派準備邊界", + "boundaryIntro": "以下鍵值固定:這是 reviewer 指派前的只讀準備包,不是開 queue、指派 reviewer、接受補件、建立稽核事件、headline review、掃描、修復、部署或執行期入口。", + "summary": { + "packets": { + "label": "準備包", + "detail": "六個準備包讓指派前資料不混成授權。" + }, + "ready": { + "label": "可指派", + "detail": "目前仍是 0,沒有可指派狀態。" + }, + "candidates": { + "label": "候選 reviewer", + "detail": "目前仍是 0,沒有候選 reviewer。" + }, + "assigned": { + "label": "已指派", + "detail": "目前仍是 0,沒有 reviewer 指派。" + } + }, + "items": { + "queueStatusFreeze": { + "title": "佇列狀態凍結", + "body": "把 queue_open=false、ready_for_queue_count=0 與 request_sent=false 固定在同一個準備包,避免被誤讀成已開佇列。" + }, + "reviewerRoleBoundary": { + "title": "reviewer 角色邊界", + "body": "只描述未來人工 reviewer 需要檢查的責任邊界,不建立 reviewer candidate 或 reviewer assignment。" + }, + "scopePacket": { + "title": "範圍包", + "body": "整理 S4.9 scope、來源脈絡與 evidence refs 的對照,仍不能把其他主機或其他專案混入。" + }, + "evidencePointerIndex": { + "title": "證據索引", + "body": "只索引 metadata 與 evidence pointer;raw payload、token value、私鑰與登入口令仍不得進入準備包。" + }, + "conflictDisclosure": { + "title": "衝突揭露", + "body": "標示 source、scope、owner 或禁止變更條款的衝突,衝突未釐清前不能進 reviewer 指派。" + }, + "assignmentAuditDraft": { + "title": "指派稽核草稿", + "body": "只準備未來可留痕的 metadata shape;目前 assignment_audit_event_emitted 仍是 0。" + } + } + }, "s49OwnerResponseWorkOrder": { "title": "S4.9 Owner Response 人工收件工作單", "subtitle": "S2.101 把第一個真正能推動 58% 的 S4.9 回覆收件格式放到 IwoooS:每項都要包含 owner role/team、decision、decision reason、受影響 scope、脫敏 evidence refs 與 follow-up owner。這裡只是人工收件工作單,不送出 request、不收件、不標記 received / accepted。", diff --git a/apps/web/messages/zh-TW.json b/apps/web/messages/zh-TW.json index f31e6d0e3..ca7b5fe3f 100644 --- a/apps/web/messages/zh-TW.json +++ b/apps/web/messages/zh-TW.json @@ -5170,6 +5170,57 @@ } } }, + "firstUnlockEvidencePacketReviewerAssignmentPreparation": { + "title": "第一解鎖證據包 reviewer 指派準備包", + "subtitle": "S2.120 把補件結果分流之後,若未來要進人工 reviewer 指派前需要整理的六個準備包前台化:佇列狀態凍結、reviewer 角色邊界、範圍包、證據索引、衝突揭露、指派稽核草稿。這裡只顯示準備包,不代表 reviewer candidate 已成立、queue 已開或 reviewer 已指派。", + "packetLabel": "準備包", + "boundaryTitle": "指派準備邊界", + "boundaryIntro": "以下鍵值固定:這是 reviewer 指派前的只讀準備包,不是開 queue、指派 reviewer、接受補件、建立稽核事件、headline review、掃描、修復、部署或執行期入口。", + "summary": { + "packets": { + "label": "準備包", + "detail": "六個準備包讓指派前資料不混成授權。" + }, + "ready": { + "label": "可指派", + "detail": "目前仍是 0,沒有可指派狀態。" + }, + "candidates": { + "label": "候選 reviewer", + "detail": "目前仍是 0,沒有候選 reviewer。" + }, + "assigned": { + "label": "已指派", + "detail": "目前仍是 0,沒有 reviewer 指派。" + } + }, + "items": { + "queueStatusFreeze": { + "title": "佇列狀態凍結", + "body": "把 queue_open=false、ready_for_queue_count=0 與 request_sent=false 固定在同一個準備包,避免被誤讀成已開佇列。" + }, + "reviewerRoleBoundary": { + "title": "reviewer 角色邊界", + "body": "只描述未來人工 reviewer 需要檢查的責任邊界,不建立 reviewer candidate 或 reviewer assignment。" + }, + "scopePacket": { + "title": "範圍包", + "body": "整理 S4.9 scope、來源脈絡與 evidence refs 的對照,仍不能把其他主機或其他專案混入。" + }, + "evidencePointerIndex": { + "title": "證據索引", + "body": "只索引 metadata 與 evidence pointer;raw payload、token value、私鑰與登入口令仍不得進入準備包。" + }, + "conflictDisclosure": { + "title": "衝突揭露", + "body": "標示 source、scope、owner 或禁止變更條款的衝突,衝突未釐清前不能進 reviewer 指派。" + }, + "assignmentAuditDraft": { + "title": "指派稽核草稿", + "body": "只準備未來可留痕的 metadata shape;目前 assignment_audit_event_emitted 仍是 0。" + } + } + }, "s49OwnerResponseWorkOrder": { "title": "S4.9 Owner Response 人工收件工作單", "subtitle": "S2.101 把第一個真正能推動 58% 的 S4.9 回覆收件格式放到 IwoooS:每項都要包含 owner role/team、decision、decision reason、受影響 scope、脫敏 evidence refs 與 follow-up owner。這裡只是人工收件工作單,不送出 request、不收件、不標記 received / accepted。", diff --git a/apps/web/src/app/[locale]/iwooos/page.tsx b/apps/web/src/app/[locale]/iwooos/page.tsx index f27cf44b0..9ad56e7fa 100644 --- a/apps/web/src/app/[locale]/iwooos/page.tsx +++ b/apps/web/src/app/[locale]/iwooos/page.tsx @@ -1234,6 +1234,43 @@ const iwooosFirstUnlockEvidencePacketSupplementPreReviewOutcomeBoundaries = [ 'gitea_disablement_authorized=false', ] as const +const iwooosFirstUnlockEvidencePacketReviewerAssignmentPreparationPackets = [ + { key: 'queueStatusFreeze', packet: 'P1', state: '凍結佇列', icon: Clock3, tone: 'locked' }, + { key: 'reviewerRoleBoundary', packet: 'P2', state: '角色邊界', icon: ShieldCheck, tone: 'locked' }, + { key: 'scopePacket', packet: 'P3', state: '範圍包', icon: GitBranch, tone: 'warn' }, + { key: 'evidencePointerIndex', packet: 'P4', state: '證據索引', icon: SearchCheck, tone: 'warn' }, + { key: 'conflictDisclosure', packet: 'P5', state: '衝突揭露', icon: FileWarning, tone: 'locked' }, + { key: 'assignmentAuditDraft', packet: 'P6', state: '稽核草稿', icon: FileText, tone: 'warn' }, +] as const + +const iwooosFirstUnlockEvidencePacketReviewerAssignmentPreparationBoundaries = [ + 'iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation_packet_count=6', + 'iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation_current_focus=reviewer_assignment_preparation', + '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', + 'iwooos_first_unlock_evidence_packet_supplement_request_sent=false', + 'iwooos_first_unlock_evidence_packet_supplement_submitted_count=0', + 'iwooos_first_unlock_evidence_packet_supplement_accepted_count=0', + 'iwooos_first_unlock_evidence_packet_supplement_raw_payload_allowed=false', + 'iwooos_first_unlock_evidence_packet_supplement_secret_value_allowed=false', + 'iwooos_first_unlock_evidence_packet_headline_review_authorized=false', + 'iwooos_first_unlock_evidence_packet_runtime_gate_opened=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 posturePillars: Pillar[] = [ { key: 'exposure', icon: Radar, tone: 'warn' }, { key: 'sourceControl', icon: GitBranch, tone: 'warn' }, @@ -4673,6 +4710,115 @@ function IwoooSFirstUnlockEvidencePacketSupplementPreReviewOutcomeBoard() { ) } +function IwoooSFirstUnlockEvidencePacketReviewerAssignmentPreparationBoard() { + const t = useTranslations('iwooos.firstUnlockEvidencePacketReviewerAssignmentPreparation') + const summaryItems = [ + { key: 'packets', value: '6', tone: 'warn' as const }, + { key: 'ready', value: '0', tone: 'locked' as const }, + { key: 'candidates', value: '0', tone: 'locked' as const }, + { key: 'assigned', 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)} +

+
+ ))} +
+
+ {iwooosFirstUnlockEvidencePacketReviewerAssignmentPreparationPackets.map(item => { + const Icon = item.icon + return ( +
+
+ + {t('packetLabel')} {item.packet} + + +
+
+ {item.state} +
+

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

+

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

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

{t('boundaryTitle')}

+
+

+ {t('boundaryIntro')} +

+
+ {iwooosFirstUnlockEvidencePacketReviewerAssignmentPreparationBoundaries.map(item => ( + + {item} + + ))} +
+
+
+
+
+ ) +} + function PillarCard({ item }: { item: Pillar }) { const t = useTranslations('iwooos.pillars') const Icon = item.icon @@ -8433,6 +8579,8 @@ export default function IwoooSPage({ params }: { params: { locale: string } }) { + + diff --git a/docs/LOGBOOK.md b/docs/LOGBOOK.md index fd3a41d1b..65de0659c 100644 --- a/docs/LOGBOOK.md +++ b/docs/LOGBOOK.md @@ -1,3 +1,17 @@ +## 2026-05-24 | 資安供應鏈 S2.120:IwoooS 第一解鎖證據包 reviewer 指派準備包 + +**背景**:S2.119 已把補件送審前檢查後的結果分流前台化;本階段補上未來若要進人工 reviewer 指派前需要整理的準備包,避免使用者或平行 Session 把「等待 reviewer 指派」誤解成 reviewer candidate 已成立、queue 已開或 reviewer 已指派。 + +**完成**: +- `/iwooos` 新增「第一解鎖證據包 reviewer 指派準備包」看板,顯示佇列狀態凍結、reviewer 角色邊界、範圍包、證據索引、衝突揭露、指派稽核草稿六個準備包。 +- 看板固定顯示 `iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation_packet_count=6`、`iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation_current_focus=reviewer_assignment_preparation`、`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`。 +- `security_mirror_status_rollup_v1` 新增 `s2_120_iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation` 與 `show_iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation`。 +- `security-mirror-progress-guard.py` 已納入 reviewer 指派準備包看板、i18n 鍵、六個準備包與 false 邊界檢查。 + +**仍禁止**: +- S2.120 只做 `/iwooos` 只讀指派準備包,不代表 reviewer candidate 已成立、queue 已開、reviewer 已指派、補件已送出、證據已補齊、審查已接受、headline review 授權、runtime 授權、人工審批、掃描、修復、部署、主機變更、專案庫建立、refs sync、workflow / secret 修改、GitHub primary 切換、Gitea 停用、Kali / SSH / 主機更新或稽核事件建立。 +- 整體資安網百分比仍是 58%;這是 framework detail 可見進展,不是 runtime landing。 + ## 2026-05-24 | 資安供應鏈 S2.119:IwoooS 第一解鎖證據包補件送審結果分流 **背景**:S2.118 已把第一解鎖證據包補件送審前檢查前台化;本階段再把檢查後可能出現的結果拆成分流,避免使用者或平行 Session 把「可檢查」誤解成 reviewer queue 已開、補件已送出或已接受。 diff --git a/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md b/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md index d0fbcca88..6f321acf8 100644 --- a/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md +++ b/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md @@ -63,6 +63,7 @@ | IwoooS 第一解鎖證據包補件路徑 | S2.117 已在 `/iwooos` 顯示第一解鎖證據包補件路徑:補 owner metadata、補範圍參照、補脫敏聲明、補預檢軌跡、等待 reviewer queue 五步;`iwooos_first_unlock_evidence_packet_supplement_path_step_count=5`、`iwooos_first_unlock_evidence_packet_supplement_current_focus=owner_metadata_and_scope_refs`、`iwooos_first_unlock_evidence_packet_supplement_ready_count=0`、`iwooos_first_unlock_evidence_packet_supplement_submitted_count=0`、`iwooos_first_unlock_evidence_packet_supplement_accepted_count=0`、`iwooos_first_unlock_evidence_packet_supplement_request_sent=false`、`iwooos_first_unlock_evidence_packet_supplement_raw_payload_allowed=false`、`iwooos_first_unlock_evidence_packet_supplement_secret_value_allowed=false`、`runtime_execution_authorized=false`、`active_runtime_gate_count=0`、`not_authorization=true`,仍不代表 request 已送出、證據已補齊、審查已接受、headline review 授權、runtime 授權、掃描、修復、部署、GitHub 主要來源切換、Gitea 停用、Kali / SSH / 主機更新或執行期授權 | | IwoooS 第一解鎖證據包補件送審前檢查 | S2.118 已在 `/iwooos` 顯示第一解鎖證據包補件送審前檢查:owner metadata 完整、範圍參照可追溯、脫敏聲明成立、預檢軌跡附上、禁止變更條款維持、reviewer queue 未開六項;`iwooos_first_unlock_evidence_packet_supplement_pre_review_check_count=6`、`iwooos_first_unlock_evidence_packet_supplement_pre_review_passed_count=0`、`iwooos_first_unlock_evidence_packet_supplement_pre_review_ready_for_review_count=0`、`iwooos_first_unlock_evidence_packet_supplement_pre_review_queue_open=false`、`iwooos_first_unlock_evidence_packet_supplement_request_sent=false`、`iwooos_first_unlock_evidence_packet_supplement_submitted_count=0`、`iwooos_first_unlock_evidence_packet_supplement_accepted_count=0`、`runtime_execution_authorized=false`、`active_runtime_gate_count=0`、`not_authorization=true`,仍不代表 request 已送出、補件已送出、證據已補齊、審查已接受、headline review 授權、runtime 授權、掃描、修復、部署、GitHub 主要來源切換、Gitea 停用、Kali / SSH / 主機更新、reviewer queue 開啟或執行期授權 | | IwoooS 第一解鎖證據包補件送審結果分流 | S2.119 已在 `/iwooos` 顯示第一解鎖證據包補件送審結果分流:可排入 reviewer queue、退回補件、隔離敏感材料、拒收變更要求、維持佇列未開、等待 reviewer 指派六條;`iwooos_first_unlock_evidence_packet_supplement_pre_review_outcome_lane_count=6`、`iwooos_first_unlock_evidence_packet_supplement_pre_review_ready_for_queue_count=0`、`iwooos_first_unlock_evidence_packet_supplement_pre_review_returned_count=0`、`iwooos_first_unlock_evidence_packet_supplement_pre_review_quarantined_count=0`、`iwooos_first_unlock_evidence_packet_supplement_pre_review_rejected_count=0`、`iwooos_first_unlock_evidence_packet_supplement_pre_review_reviewer_assigned_count=0`、`iwooos_first_unlock_evidence_packet_supplement_pre_review_queue_open=false`、`iwooos_first_unlock_evidence_packet_supplement_request_sent=false`、`iwooos_first_unlock_evidence_packet_supplement_submitted_count=0`、`iwooos_first_unlock_evidence_packet_supplement_accepted_count=0`、`runtime_execution_authorized=false`、`active_runtime_gate_count=0`、`not_authorization=true`,仍不代表 queue 已開、request 已送出、補件已送出、證據已補齊、審查已接受、headline review 授權、runtime 授權、掃描、修復、部署、GitHub 主要來源切換、Gitea 停用、Kali / SSH / 主機更新、reviewer 指派或執行期授權 | +| 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 / 主機更新、稽核事件建立或執行期授權 | | 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 | @@ -267,6 +268,7 @@ | S2.117 IwoooS 第一解鎖證據包補件路徑 | framework detail | 0 | 只在 `/iwooos` 顯示第一解鎖證據包補件路徑,把補 owner metadata、補範圍參照、補脫敏聲明、補預檢軌跡、等待 reviewer queue 五步拆開;iwooos_first_unlock_evidence_packet_supplement_path_step_count=5、iwooos_first_unlock_evidence_packet_supplement_current_focus=owner_metadata_and_scope_refs、iwooos_first_unlock_evidence_packet_supplement_ready_count=0、iwooos_first_unlock_evidence_packet_supplement_submitted_count=0、iwooos_first_unlock_evidence_packet_supplement_accepted_count=0、iwooos_first_unlock_evidence_packet_supplement_blocked_count=0、iwooos_first_unlock_evidence_packet_supplement_quarantined_count=0、iwooos_first_unlock_evidence_packet_supplement_request_sent=false、iwooos_first_unlock_evidence_packet_supplement_raw_payload_allowed=false、iwooos_first_unlock_evidence_packet_supplement_secret_value_allowed=false、runtime_execution_authorized=false、active_runtime_gate_count=0、action_buttons_allowed=false、not_authorization=true,不把補件路徑當 request sent、證據已補齊、審查已接受、headline review 授權、runtime 授權、審批、掃描、修復、部署、主機變更、專案庫建立、分支 / 標籤參照同步、工作流程 / 機密設定修改、主要來源切換、Gitea 停用、Kali / SSH / 主機更新或執行期授權 | | S2.118 IwoooS 第一解鎖證據包補件送審前檢查 | framework detail | 0 | 只在 `/iwooos` 顯示第一解鎖證據包補件送審前檢查,把 owner metadata 完整、範圍參照可追溯、脫敏聲明成立、預檢軌跡附上、禁止變更條款維持、reviewer queue 未開六項拆開;iwooos_first_unlock_evidence_packet_supplement_pre_review_check_count=6、iwooos_first_unlock_evidence_packet_supplement_pre_review_current_focus=supplement_pre_review、iwooos_first_unlock_evidence_packet_supplement_pre_review_passed_count=0、iwooos_first_unlock_evidence_packet_supplement_pre_review_failed_count=0、iwooos_first_unlock_evidence_packet_supplement_pre_review_ready_for_review_count=0、iwooos_first_unlock_evidence_packet_supplement_pre_review_queue_open=false、iwooos_first_unlock_evidence_packet_supplement_request_sent=false、iwooos_first_unlock_evidence_packet_supplement_submitted_count=0、iwooos_first_unlock_evidence_packet_supplement_accepted_count=0、runtime_execution_authorized=false、active_runtime_gate_count=0、action_buttons_allowed=false、not_authorization=true,不把送審前檢查當 request sent、補件已送出、證據已補齊、審查已接受、headline review 授權、runtime 授權、審批、掃描、修復、部署、主機變更、專案庫建立、分支 / 標籤參照同步、工作流程 / 機密設定修改、主要來源切換、Gitea 停用、Kali / SSH / 主機更新、reviewer queue 開啟或執行期授權 | | S2.119 IwoooS 第一解鎖證據包補件送審結果分流 | framework detail | 0 | 只在 `/iwooos` 顯示第一解鎖證據包補件送審結果分流,把可排入 reviewer queue、退回補件、隔離敏感材料、拒收變更要求、維持佇列未開、等待 reviewer 指派六條結果拆開;iwooos_first_unlock_evidence_packet_supplement_pre_review_outcome_lane_count=6、iwooos_first_unlock_evidence_packet_supplement_pre_review_ready_for_queue_count=0、iwooos_first_unlock_evidence_packet_supplement_pre_review_returned_count=0、iwooos_first_unlock_evidence_packet_supplement_pre_review_quarantined_count=0、iwooos_first_unlock_evidence_packet_supplement_pre_review_rejected_count=0、iwooos_first_unlock_evidence_packet_supplement_pre_review_reviewer_assigned_count=0、iwooos_first_unlock_evidence_packet_supplement_pre_review_queue_open=false、iwooos_first_unlock_evidence_packet_supplement_request_sent=false、iwooos_first_unlock_evidence_packet_supplement_submitted_count=0、iwooos_first_unlock_evidence_packet_supplement_accepted_count=0、runtime_execution_authorized=false、active_runtime_gate_count=0、action_buttons_allowed=false、not_authorization=true,不把結果分流當 queue 已開、request sent、補件已送出、證據已補齊、審查已接受、headline review 授權、runtime 授權、審批、掃描、修復、部署、主機變更、專案庫建立、分支 / 標籤參照同步、工作流程 / 機密設定修改、主要來源切換、Gitea 停用、Kali / SSH / 主機更新、reviewer 指派或執行期授權 | +| 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 / 主機更新、稽核事件建立或執行期授權 | headline 進度要再往上,至少需要下列任一高層 gate 有實質 evidence: diff --git a/docs/security/SECURITY-SUPPLY-CHAIN-PROGRESS.md b/docs/security/SECURITY-SUPPLY-CHAIN-PROGRESS.md index 90af17e31..37f65bb87 100644 --- a/docs/security/SECURITY-SUPPLY-CHAIN-PROGRESS.md +++ b/docs/security/SECURITY-SUPPLY-CHAIN-PROGRESS.md @@ -5,7 +5,7 @@ | 日期 | 2026-05-17 | | 狀態 | 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 第一解鎖證據包補件送審結果分流 | +| 本階段追加 | 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 指派準備包 | | 原則 | 低摩擦分階段;文件、schema、read-only evidence 優先;不做 runtime enforcement、不切 primary | ## 0. 本階段完成後整體進度 @@ -28,7 +28,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.119 IwoooS / AwoooP 資安投影契約都是有效進展,但它們是框架細節,不是負責人回覆、執行期閘門、生產匯入或 GitHub 主要來源就緒。因此整體百分比仍維持 58%,避免把只讀框架誤算成已落地執行。 +近期 S4.10 請求包、範本狀態台帳、稽核事件範本、脫敏範例、收件檢查、收件預檢,S4.11 請求包 / 範本狀態台帳 / 稽核事件範本 / 脫敏範例 / 收件檢查 / 收件預檢,S4.12 請求包 / 範本狀態台帳 / 稽核事件範本 / 脫敏範例 / 收件檢查 / 收件預檢,S4.13 證據路由規則 / 顯示區塊 / 狀態轉移規則 / 審查清單 / 審查結果分流 / 審查稽核事件範本 / 審查稽核顯示區塊 / 審查稽核收件檢查 / 審查稽核脫敏範例 / 審查稽核保留規則 / 審查稽核保留檢查 / 審查稽核交接包 / 交接檢查 / 平行 Session 同步檢查 / 衝突分流 / 復原檢查 / 復原結果分流,S1.3 低摩擦非阻擋升級分流、S2.8 IwoooS 前端態勢入口,以及 S2.9-S2.120 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 不應被灌水提高。 @@ -182,6 +182,7 @@ S2.50 也把「為什麼 58% 還不動」拆成五個可見 gate:owner respons | S2.117 IwoooS 第一解鎖證據包補件路徑 | 已完成草案,在 `/iwooos` 顯示補 owner metadata、補範圍參照、補脫敏聲明、補預檢軌跡、等待 reviewer queue 五步;仍不把補件路徑當成 request sent、證據已補齊、審查已接受、headline review 授權、runtime 授權或執行期閘門 | 0 | | S2.118 IwoooS 第一解鎖證據包補件送審前檢查 | 已完成草案,在 `/iwooos` 顯示 owner metadata 完整、範圍參照可追溯、脫敏聲明成立、預檢軌跡附上、禁止變更條款維持、reviewer queue 未開六項;仍不把送審前檢查當成 request sent、補件已送出、審查已接受、headline review 授權、runtime 授權或執行期閘門 | 0 | | S2.119 IwoooS 第一解鎖證據包補件送審結果分流 | 已完成草案,在 `/iwooos` 顯示可排入 reviewer queue、退回補件、隔離敏感材料、拒收變更要求、維持佇列未開、等待 reviewer 指派六條結果;仍不把結果分流當成 queue 已開、request sent、補件已送出、審查已接受、headline review 授權、runtime 授權或執行期閘門 | 0 | +| S2.120 IwoooS 第一解鎖證據包 reviewer 指派準備包 | 已完成草案,在 `/iwooos` 顯示佇列狀態凍結、reviewer 角色邊界、範圍包、證據索引、衝突揭露、指派稽核草稿六個準備包;仍不把準備包當成 reviewer candidate 已成立、queue 已開、reviewer 已指派、headline review 授權、runtime 授權或執行期閘門 | 0 | headline 要再往上,需要 S4.9 / S4.10 / S4.11 / S4.12 任一 owner response 收到並通過脫敏驗收,或人工批准後出現 active runtime gate、redacted payload ingestion、GitHub primary readiness 這類落地 evidence。 @@ -320,6 +321,7 @@ headline 要再往上,需要 S4.9 / S4.10 / S4.11 / S4.12 任一 owner respons | S2.117 IwoooS 第一解鎖證據包補件路徑 | 完成草案 | `/iwooos` 新增第一解鎖證據包補件路徑,列出補 owner metadata、補範圍參照、補脫敏聲明、補預檢軌跡、等待 reviewer queue 五步 | 使用者能直接看到預檢未通過時要怎麼補缺口;目前 ready / submitted / accepted 仍是 0,所以 headline 仍不提高 | | S2.118 IwoooS 第一解鎖證據包補件送審前檢查 | 完成草案 | `/iwooos` 新增第一解鎖證據包補件送審前檢查,列出 owner metadata、範圍參照、脫敏聲明、預檢軌跡、禁止變更條款與 reviewer queue 六項 | 使用者能直接看到補件進 reviewer queue 前要檢查什麼;目前 passed / ready 仍是 0、queue=false,所以 headline 仍不提高 | | S2.119 IwoooS 第一解鎖證據包補件送審結果分流 | 完成草案 | `/iwooos` 新增第一解鎖證據包補件送審結果分流,列出可排隊、退回補件、隔離敏感材料、拒收變更要求、維持佇列未開與等待 reviewer 指派六條結果 | 使用者能直接看到送審前檢查後可能如何分流;目前 ready_for_queue / returned / reviewer_assigned 仍是 0、queue=false,所以 headline 仍不提高 | +| S2.120 IwoooS 第一解鎖證據包 reviewer 指派準備包 | 完成草案 | `/iwooos` 新增第一解鎖證據包 reviewer 指派準備包,列出佇列狀態凍結、reviewer 角色邊界、範圍包、證據索引、衝突揭露與指派稽核草稿六個準備包 | 使用者能直接看到 reviewer 指派前還缺哪些安全資料;目前 ready / candidate / assigned 仍是 0、queue=false,所以 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 d436c50b5..1be187cd4 100644 --- a/docs/security/security-mirror-status-rollup.snapshot.json +++ b/docs/security/security-mirror-status-rollup.snapshot.json @@ -1898,6 +1898,18 @@ "runtime_delta": false, "execution_authorized": false, "not_authorization": true + }, + { + "delta_id": "s2_120_iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation", + "display_order": 149, + "completed_stage": "S2.120 IwoooS 第一解鎖證據包 reviewer 指派準備包", + "progress_axis": "framework_detail", + "headline_percent_delta": 0, + "framework_delta_visible": true, + "why_headline_unchanged": "IwoooS 只新增第一解鎖證據包 reviewer 指派準備包,把佇列狀態凍結、reviewer 角色邊界、範圍包、證據索引、衝突揭露、指派稽核草稿六個準備包拆開;iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation_packet_count=6、iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation_current_focus=reviewer_assignment_preparation、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,不把指派準備包當 reviewer candidate 已成立、queue 已開、reviewer 已指派、補件已送出、證據已補齊、審查已接受、headline review 授權、runtime 授權、審批、掃描、修復、部署、主機變更、專案庫建立、refs sync、workflow 修改、GitHub primary 切換或 Gitea 停用。", + "runtime_delta": false, + "execution_authorized": false, + "not_authorization": true } ], "next_safe_actions": [ @@ -2958,6 +2970,22 @@ "從 IwoooS 第一解鎖證據包補件送審結果分流呼叫 Kali、開 SSH、更新主機、切 GitHub 主要來源、停用 Gitea、送出 request、收 raw payload、收機密明文值、開 reviewer queue 或指派 reviewer" ] }, + { + "action_id": "show_iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation", + "title": "IwoooS 顯示第一解鎖證據包 reviewer 指派準備包", + "mode": "observe", + "source_contract": "iwooos_posture_projection_v1", + "allowed_processing": [ + "在 /iwooos 顯示 S2.120 第一解鎖證據包 reviewer 指派準備包", + "把佇列狀態凍結、reviewer 角色邊界、範圍包、證據索引、衝突揭露、指派稽核草稿六個準備包拆開", + "固定指派準備包只做只讀說明,ready_count=0、reviewer_candidate_count=0、reviewer_assigned_count=0、queue_open=false、runtime_execution_authorized=false" + ], + "blocked_processing": [ + "把 IwoooS 第一解鎖證據包 reviewer 指派準備包當成 reviewer candidate 已成立、queue 已開、reviewer 已指派、補件已送出、證據已補齊、審查已接受、headline review 授權、runtime 授權、審批、掃描、修復、部署、主機變更或版本來源操作入口", + "從 IwoooS 第一解鎖證據包 reviewer 指派準備包建立專案庫、改可見性、同步 / 刪除 / 強制推送 refs,或修改工作流程 / 機密設定", + "從 IwoooS 第一解鎖證據包 reviewer 指派準備包呼叫 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 39723f3f9..fbbbb4272 100755 --- a/scripts/security/security-mirror-progress-guard.py +++ b/scripts/security/security-mirror-progress-guard.py @@ -371,6 +371,7 @@ def validate(root: Path) -> None: "s2_117_iwooos_first_unlock_evidence_packet_supplement_path", "s2_118_iwooos_first_unlock_evidence_packet_supplement_pre_review", "s2_119_iwooos_first_unlock_evidence_packet_supplement_pre_review_outcomes", + "s2_120_iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation", ] assert_equal( "progress_delta_ledger.delta_ids", @@ -690,6 +691,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_supplement_pre_review_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_first_unlock_evidence_packet_reviewer_assignment_preparation", + ) assert_contains( "rollup.next_safe_actions.action_ids", [item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)], @@ -9102,6 +9108,98 @@ def validate(root: Path) -> None: list(web_messages_en["iwooos"]["firstUnlockEvidencePacketSupplementPreReviewOutcomes"]["items"].keys()), key, ) + assert_text_contains( + "iwooos_page.first_unlock_evidence_packet_reviewer_assignment_preparation_testid", + iwooos_projection_page, + 'data-testid="iwooos-first-unlock-evidence-packet-reviewer-assignment-preparation-board"', + ) + assert_text_contains( + "iwooos_page.first_unlock_evidence_packet_reviewer_assignment_preparation_component", + iwooos_projection_page, + "IwoooSFirstUnlockEvidencePacketReviewerAssignmentPreparationBoard", + ) + for text in [ + "iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation_packet_count=6", + "iwooos_first_unlock_evidence_packet_reviewer_assignment_preparation_current_focus=reviewer_assignment_preparation", + "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", + "iwooos_first_unlock_evidence_packet_supplement_request_sent=false", + "iwooos_first_unlock_evidence_packet_supplement_submitted_count=0", + "iwooos_first_unlock_evidence_packet_supplement_accepted_count=0", + "iwooos_first_unlock_evidence_packet_supplement_raw_payload_allowed=false", + "iwooos_first_unlock_evidence_packet_supplement_secret_value_allowed=false", + "iwooos_first_unlock_evidence_packet_headline_review_authorized=false", + "iwooos_first_unlock_evidence_packet_runtime_gate_opened=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.first_unlock_evidence_packet_reviewer_assignment_preparation_boundary", + iwooos_projection_page, + text, + ) + assert_contains( + "web_messages.zh-TW.iwooos.firstUnlockEvidencePacketReviewerAssignmentPreparation", + list(web_messages_zh["iwooos"].keys()), + "firstUnlockEvidencePacketReviewerAssignmentPreparation", + ) + assert_contains( + "web_messages.en.iwooos.firstUnlockEvidencePacketReviewerAssignmentPreparation", + list(web_messages_en["iwooos"].keys()), + "firstUnlockEvidencePacketReviewerAssignmentPreparation", + ) + for key in ["title", "subtitle", "summary", "items", "packetLabel", "boundaryTitle", "boundaryIntro"]: + assert_contains( + "web_messages.zh-TW.iwooos.firstUnlockEvidencePacketReviewerAssignmentPreparation.keys", + list(web_messages_zh["iwooos"]["firstUnlockEvidencePacketReviewerAssignmentPreparation"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.firstUnlockEvidencePacketReviewerAssignmentPreparation.keys", + list(web_messages_en["iwooos"]["firstUnlockEvidencePacketReviewerAssignmentPreparation"].keys()), + key, + ) + for key in ["packets", "ready", "candidates", "assigned"]: + assert_contains( + "web_messages.zh-TW.iwooos.firstUnlockEvidencePacketReviewerAssignmentPreparation.summary", + list(web_messages_zh["iwooos"]["firstUnlockEvidencePacketReviewerAssignmentPreparation"]["summary"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.firstUnlockEvidencePacketReviewerAssignmentPreparation.summary", + list(web_messages_en["iwooos"]["firstUnlockEvidencePacketReviewerAssignmentPreparation"]["summary"].keys()), + key, + ) + for key in [ + "queueStatusFreeze", + "reviewerRoleBoundary", + "scopePacket", + "evidencePointerIndex", + "conflictDisclosure", + "assignmentAuditDraft", + ]: + assert_contains( + "web_messages.zh-TW.iwooos.firstUnlockEvidencePacketReviewerAssignmentPreparation.items", + list(web_messages_zh["iwooos"]["firstUnlockEvidencePacketReviewerAssignmentPreparation"]["items"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.firstUnlockEvidencePacketReviewerAssignmentPreparation.items", + list(web_messages_en["iwooos"]["firstUnlockEvidencePacketReviewerAssignmentPreparation"]["items"].keys()), + key, + ) for key in [ "title", "subtitle",