diff --git a/apps/web/messages/en.json b/apps/web/messages/en.json index 6e599c46b..ef46279b1 100644 --- a/apps/web/messages/en.json +++ b/apps/web/messages/en.json @@ -3257,6 +3257,70 @@ } } }, + "ownerResponseDecisionRecordDraftGuardBoard": { + "title": "人工決策紀錄草稿防誤用", + "subtitle": "即使未來開始整理人工決策紀錄,也必須先保護語義:草稿不是正式紀錄,正式紀錄不是執行命令,批准也不能自動推動主機、專案庫或主要來源切換。現在草稿=0、正式紀錄=0、已批准=0、執行期閘門=0。", + "guardItemLabel": "防誤用線", + "draftLabel": "草稿要求", + "guardLabel": "仍不會做", + "boundaryTitle": "人工決策紀錄草稿維持的保護線", + "summary": { + "guards": { + "label": "防誤用線", + "detail": "六條草稿保護線先可見,避免把紀錄草稿當正式批准。" + }, + "drafts": { + "label": "草稿", + "detail": "目前為 0;還沒有任何正式決策紀錄草稿。" + }, + "formalRecords": { + "label": "正式紀錄", + "detail": "目前為 0;草稿不等於正式紀錄。" + }, + "runtime": { + "label": "執行期閘門", + "detail": "目前為 0;紀錄草稿不會啟動執行期。" + } + }, + "items": { + "recordIdentityDraft": { + "title": "紀錄身分草稿", + "body": "每一份決策紀錄草稿都需要唯一身分、來源階段與對應證據參照,避免口頭決策散落。", + "draft": "只建立草稿身分欄位,不建立正式紀錄。", + "guard": "不把草稿編號當批准編號,也不提高整體進度。" + }, + "decisionScopeSnapshot": { + "title": "決策範圍快照", + "body": "草稿必須標出適用專案庫、主機、服務、分支 / 標籤或工作流程範圍。", + "draft": "只引用已提交快照與脫敏證據,不讀取或修改外部系統。", + "guard": "不建立專案庫、不改分支 / 標籤、不改工作流程 / 機密設定。" + }, + "reviewerRolePlaceholder": { + "title": "審查角色預留", + "body": "草稿只標示需要哪一類審查角色,讓後續人工簽核能找對人。", + "draft": "只保留角色欄位,不代填姓名、不自動通知、不催收。", + "guard": "不建立審批紀錄、不替人簽核、不產生外部任務。" + }, + "evidenceVersionFreeze": { + "title": "證據版本凍結", + "body": "草稿要鎖定當下引用的文件、快照與證據版本,避免決策後證據漂移。", + "draft": "只凍結參照版本,不複製機密、不保存原始載荷。", + "guard": "不展示、不保存、不轉送任何機密明文值。" + }, + "approvalNotExecutionBoundary": { + "title": "批准不等於執行", + "body": "即使未來有人工批准,也必須另外拆出執行期、維護窗口、回滾與後驗證。", + "draft": "只把需要另開執行期閘門的欄位標出。", + "guard": "不呼叫 Kali、不開 SSH、不更新主機、不部署。" + }, + "followupRuntimeGatePointer": { + "title": "後續執行期指標", + "body": "若決策牽涉掃描、修復、部署、主要來源切換或阻擋升級,草稿只能留下後續閘門指標。", + "draft": "只標記後續要走哪個人工閘門,不建立執行命令。", + "guard": "不切主要來源、不停用 Gitea、不建立執行期閘門。" + } + } + }, "awooopReadOnlyLandingReadiness": { "title": "AwoooP Read-Only Landing Readiness", "subtitle": "S2.51 turns the AwoooP main-line read-only consumption path for IwoooS / security mirror state into an intake readiness board. This is landing readiness, not production_landing_enabled, and it does not connect an execution router.", diff --git a/apps/web/messages/zh-TW.json b/apps/web/messages/zh-TW.json index 5478bac11..6c8a9fb58 100644 --- a/apps/web/messages/zh-TW.json +++ b/apps/web/messages/zh-TW.json @@ -3258,6 +3258,70 @@ } } }, + "ownerResponseDecisionRecordDraftGuardBoard": { + "title": "人工決策紀錄草稿防誤用", + "subtitle": "即使未來開始整理人工決策紀錄,也必須先保護語義:草稿不是正式紀錄,正式紀錄不是執行命令,批准也不能自動推動主機、專案庫或主要來源切換。現在草稿=0、正式紀錄=0、已批准=0、執行期閘門=0。", + "guardItemLabel": "防誤用線", + "draftLabel": "草稿要求", + "guardLabel": "仍不會做", + "boundaryTitle": "人工決策紀錄草稿維持的保護線", + "summary": { + "guards": { + "label": "防誤用線", + "detail": "六條草稿保護線先可見,避免把紀錄草稿當正式批准。" + }, + "drafts": { + "label": "草稿", + "detail": "目前為 0;還沒有任何正式決策紀錄草稿。" + }, + "formalRecords": { + "label": "正式紀錄", + "detail": "目前為 0;草稿不等於正式紀錄。" + }, + "runtime": { + "label": "執行期閘門", + "detail": "目前為 0;紀錄草稿不會啟動執行期。" + } + }, + "items": { + "recordIdentityDraft": { + "title": "紀錄身分草稿", + "body": "每一份決策紀錄草稿都需要唯一身分、來源階段與對應證據參照,避免口頭決策散落。", + "draft": "只建立草稿身分欄位,不建立正式紀錄。", + "guard": "不把草稿編號當批准編號,也不提高整體進度。" + }, + "decisionScopeSnapshot": { + "title": "決策範圍快照", + "body": "草稿必須標出適用專案庫、主機、服務、分支 / 標籤或工作流程範圍。", + "draft": "只引用已提交快照與脫敏證據,不讀取或修改外部系統。", + "guard": "不建立專案庫、不改分支 / 標籤、不改工作流程 / 機密設定。" + }, + "reviewerRolePlaceholder": { + "title": "審查角色預留", + "body": "草稿只標示需要哪一類審查角色,讓後續人工簽核能找對人。", + "draft": "只保留角色欄位,不代填姓名、不自動通知、不催收。", + "guard": "不建立審批紀錄、不替人簽核、不產生外部任務。" + }, + "evidenceVersionFreeze": { + "title": "證據版本凍結", + "body": "草稿要鎖定當下引用的文件、快照與證據版本,避免決策後證據漂移。", + "draft": "只凍結參照版本,不複製機密、不保存原始載荷。", + "guard": "不展示、不保存、不轉送任何機密明文值。" + }, + "approvalNotExecutionBoundary": { + "title": "批准不等於執行", + "body": "即使未來有人工批准,也必須另外拆出執行期、維護窗口、回滾與後驗證。", + "draft": "只把需要另開執行期閘門的欄位標出。", + "guard": "不呼叫 Kali、不開 SSH、不更新主機、不部署。" + }, + "followupRuntimeGatePointer": { + "title": "後續執行期指標", + "body": "若決策牽涉掃描、修復、部署、主要來源切換或阻擋升級,草稿只能留下後續閘門指標。", + "draft": "只標記後續要走哪個人工閘門,不建立執行命令。", + "guard": "不切主要來源、不停用 Gitea、不建立執行期閘門。" + } + } + }, "awooopReadOnlyLandingReadiness": { "title": "AwoooP 只讀接入就緒度", "subtitle": "S2.51 把 AwoooP 主線要如何只讀消費 IwoooS / 資安鏡像狀態整理成接入準備面板。這是接入就緒度,不是 production landing enabled,也不接 execution router。", diff --git a/apps/web/src/app/[locale]/iwooos/page.tsx b/apps/web/src/app/[locale]/iwooos/page.tsx index 3296309d0..9cdc9f4a0 100644 --- a/apps/web/src/app/[locale]/iwooos/page.tsx +++ b/apps/web/src/app/[locale]/iwooos/page.tsx @@ -163,6 +163,14 @@ type OwnerResponseHumanDecisionQueueItem = { tone: 'steady' | 'warn' | 'locked' } +type OwnerResponseDecisionRecordDraftGuardItem = { + key: string + guard: string + value: string + icon: typeof ShieldCheck + tone: 'steady' | 'warn' | 'locked' +} + type CoverageGroup = { key: string count: string @@ -694,6 +702,35 @@ const ownerResponseHumanDecisionQueueBoundaries = [ 'gitea_disablement_authorized=false', ] +const ownerResponseDecisionRecordDraftGuardItems: OwnerResponseDecisionRecordDraftGuardItem[] = [ + { key: 'recordIdentityDraft', guard: 'R1', value: '0', icon: FileText, tone: 'warn' }, + { key: 'decisionScopeSnapshot', guard: 'R2', value: '0', icon: SearchCheck, tone: 'warn' }, + { key: 'reviewerRolePlaceholder', guard: 'R3', value: '0', icon: ClipboardCheck, tone: 'warn' }, + { key: 'evidenceVersionFreeze', guard: 'R4', value: '0', icon: Lock, tone: 'locked' }, + { key: 'approvalNotExecutionBoundary', guard: 'R5', value: '0', icon: ShieldCheck, tone: 'locked' }, + { key: 'followupRuntimeGatePointer', guard: 'R6', value: '0', icon: FileWarning, tone: 'locked' }, +] + +const ownerResponseDecisionRecordDraftGuardBoundaries = [ + 'owner_response_decision_record_draft_guard_count=6', + 'owner_response_decision_record_draft_created_count=0', + 'owner_response_decision_record_formal_count=0', + 'owner_response_decision_record_approved_count=0', + 'owner_response_decision_record_runtime_gate_count=0', + 'owner_response_decision_record_draft_only=true', + 'owner_response_decision_record_write_authorized=false', + 'owner_response_decision_record_execution_authorized=false', + 'runtime_execution_authorized=false', + 'active_runtime_gate_count=0', + 'action_buttons_allowed=false', + 'not_authorization=true', + 'repo_creation_authorized=false', + 'refs_sync_authorized=false', + 'workflow_modification_authorized=false', + 'github_primary_switch_authorized=false', + 'gitea_disablement_authorized=false', +] + const coverageGroups: CoverageGroup[] = [ { key: 'signals', @@ -2279,6 +2316,126 @@ function OwnerResponseHumanDecisionQueueBoard() { ) } +function OwnerResponseDecisionRecordDraftGuardCard({ item }: { item: OwnerResponseDecisionRecordDraftGuardItem }) { + const t = useTranslations('iwooos.ownerResponseDecisionRecordDraftGuardBoard') + const Icon = item.icon + const textWrap = { overflowWrap: 'anywhere' as const, wordBreak: 'break-word' as const } + return ( +
+
+
+ + {t('guardItemLabel')} +
+ {item.guard} +
+
+ {item.value} +
+

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

+

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

+
+ {t('draftLabel')} + + {t(`items.${item.key}.draft` as never)} + + {t('guardLabel')} + + {t(`items.${item.key}.guard` as never)} + +
+
+ ) +} + +function OwnerResponseDecisionRecordDraftGuardBoard() { + const t = useTranslations('iwooos.ownerResponseDecisionRecordDraftGuardBoard') + const summaryItems = [ + { key: 'guards', value: '6', tone: 'warn' as const }, + { key: 'drafts', value: '0', tone: 'warn' as const }, + { key: 'formalRecords', value: '0', tone: 'locked' as const }, + { key: 'runtime', value: '0', tone: 'locked' 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)} +

+
+ ))} +
+
+ {ownerResponseDecisionRecordDraftGuardItems.map(item => ( + + ))} +
+
+
+ +

{t('boundaryTitle')}

+
+
+ {ownerResponseDecisionRecordDraftGuardBoundaries.map(item => ( + + {item} + + ))} +
+
+
+ ) +} + function CoverageCard({ item }: { item: CoverageGroup }) { const t = useTranslations('iwooos.coverage') const Icon = item.icon @@ -3420,6 +3577,8 @@ export default function IwoooSPage({ params }: { params: { locale: string } }) { + +

{t('awooopReadOnlyLandingReadiness.title')}

diff --git a/docs/LOGBOOK.md b/docs/LOGBOOK.md index 907cae52e..dbd6d4f4a 100644 --- a/docs/LOGBOOK.md +++ b/docs/LOGBOOK.md @@ -1,3 +1,17 @@ +## 2026-05-21 | 資安供應鏈 S2.86:IwoooS 人工決策紀錄草稿防誤用 + +**背景**:S2.85 已把人工決策前需要準備的資料放進 IwoooS;本輪補上「決策紀錄草稿不能被誤用」的保護線,讓使用者與 AwoooP 平行 Session 看懂:草稿不是正式紀錄,正式紀錄也不是執行命令,批准後仍需要獨立的執行期閘門。 + +**完成**: +- `/iwooos` 新增「人工決策紀錄草稿防誤用」,顯示紀錄身分草稿、決策範圍快照、審查角色預留、證據版本凍結、批准不等於執行、後續執行期指標六條保護線。 +- 看板固定顯示防誤用線=6、草稿=0、正式紀錄=0、執行期閘門=0,並標示 `owner_response_decision_record_draft_only=true`、`owner_response_decision_record_write_authorized=false`、`owner_response_decision_record_execution_authorized=false`。 +- `security_mirror_status_rollup_v1` 新增 `s2_86_iwooos_owner_response_decision_record_draft_guard_board` 與 `show_iwooos_owner_response_decision_record_draft_guard_board`。 +- `security-mirror-progress-guard.py` 已納入人工決策紀錄草稿防誤用看板、i18n 鍵、六條保護線與 `false` 邊界檢查。 + +**仍禁止**: +- S2.86 是 IwoooS 只讀人工決策紀錄草稿防誤用,不代表人工回覆已收到 / 已接受 / 已匯入、人工批准、正式決策、正式審批紀錄建立、資安審批、機密明文值收集、Kali `/execute`、SSH 登入、主機更新、掃描 / 執行 / 修復、專案庫建立、分支 / 標籤參照同步、工作流程 / 機密設定修改、GitHub 主要來源切換、Gitea 停用或執行期閘門。 +- 整體資安網百分比仍是 58%;框架 / 治理 / 文件 / 結構定義 / 只讀證據仍約 80-85%;真正落地執行 / 執行期匯入 / GitHub 主要來源 / AwoooP 正式入口仍約 35-40%。 + ## 2026-05-21 | 資安供應鏈 S2.85:IwoooS 人工決策準備佇列 **背景**:S2.84 已把人工回覆安全驗收後的審查結果分流放進 IwoooS;本輪補上正式人工決策前的準備佇列,讓使用者與 AwoooP 平行 Session 看懂「哪些資料要先整理成決策包」,避免把可審查、需要人工決策或只讀更新誤認成已批准。 diff --git a/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md b/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md index e9b91a289..72bbaec88 100644 --- a/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md +++ b/docs/security/SECURITY-MIRROR-STATUS-ROLLUP.md @@ -67,6 +67,7 @@ | IwoooS 人工回覆安全驗收閘道 | S2.83 已在 `/iwooos` 顯示人工回覆進來後的六條安全驗收分流;安全規則=6、已匯入=0、已隔離=0、已拒收=0;仍不自動接受、不正式匯入、不保存機密明文值、不建立專案庫、不改分支 / 標籤參照、不改工作流程 / 機密設定、不切主要來源、不停用 Gitea、不呼叫 Kali / SSH / 主機更新、不開執行期閘門 | | IwoooS 人工回覆審查結果分流 | S2.84 已在 `/iwooos` 顯示人工回覆驗收後的七條審查結果分流;分流=7、可審查=0、已接受=0、已升級=0;仍不自動決策、不正式接受、不升級 runtime、不建立專案庫、不改分支 / 標籤參照、不改工作流程 / 機密設定、不切主要來源、不停用 Gitea、不呼叫 Kali / SSH / 主機更新、不開執行期閘門 | | IwoooS 人工決策準備佇列 | S2.85 已在 `/iwooos` 顯示人工決策前的六個準備項;準備項=6、可決策=0、已批准=0、執行期閘門=0;仍不建立審批紀錄、不自動批准、不建立執行期閘門、不建立專案庫、不改分支 / 標籤參照、不改工作流程 / 機密設定、不切主要來源、不停用 Gitea、不呼叫 Kali / SSH / 主機更新 | +| IwoooS 人工決策紀錄草稿防誤用 | S2.86 已在 `/iwooos` 顯示人工決策紀錄草稿六條防誤用線;防誤用線=6、草稿=0、正式紀錄=0、執行期閘門=0;仍不建立正式紀錄、不自動批准、不建立執行期閘門、不建立專案庫、不改分支 / 標籤參照、不改工作流程 / 機密設定、不切主要來源、不停用 Gitea、不呼叫 Kali / SSH / 主機更新 | | Dry-run | `contract_defined_not_executed`;已納入 `CHECK_PROGRESS_GUARD` 與 `CHECK_OWNER_RESPONSE_GUARD`,latest local validation 為 `repo_snapshot_guard_pass`,仍不代表 production ingestion | | Runtime actions | `false` | | Payload ingestion | `false` | @@ -199,6 +200,7 @@ | S2.83 IwoooS 人工回覆安全驗收閘道 | framework detail | 0 | 只在 `/iwooos` 顯示人工回覆進來後的安全驗收分流,呈現安全規則=6、已匯入=0、已隔離=0、已拒收=0;owner_response_auto_accept_allowed=false、owner_response_secret_value_quarantine_required=true、owner_response_mutation_request_allowed=false、runtime_execution_authorized=false、active_runtime_gate_count=0、action_buttons_allowed=false、not_authorization=true,不把驗收閘道當自動接受、正式匯入、資安審批、機密明文收集、專案庫建立、分支 / 標籤參照同步、工作流程 / 機密設定修改、主要來源切換、Gitea 停用、Kali / SSH / 主機更新或執行期授權 | | S2.84 IwoooS 人工回覆審查結果分流 | framework detail | 0 | 只在 `/iwooos` 顯示人工回覆驗收後的審查結果分流,呈現分流=7、可審查=0、已接受=0、已升級=0;owner_response_review_auto_decision_allowed=false、owner_response_review_human_decision_required=true、owner_response_review_only_updates_readonly_state=true、runtime_execution_authorized=false、active_runtime_gate_count=0、action_buttons_allowed=false、not_authorization=true,不把審查結果分流當自動決策、正式接受、資安審批、執行期升級、專案庫建立、分支 / 標籤參照同步、工作流程 / 機密設定修改、主要來源切換、Gitea 停用、Kali / SSH / 主機更新或執行期授權 | | S2.85 IwoooS 人工決策準備佇列 | framework detail | 0 | 只在 `/iwooos` 顯示人工決策前的準備佇列,呈現準備項=6、可決策=0、已批准=0、執行期閘門=0;owner_response_human_decision_record_created=false、owner_response_human_decision_auto_approval_allowed=false、owner_response_human_decision_requires_reviewer=true、owner_response_human_decision_only_prepares_packet=true、runtime_execution_authorized=false、active_runtime_gate_count=0、action_buttons_allowed=false、not_authorization=true,不把準備佇列當人工批准、正式決策、審批紀錄、執行期閘門、專案庫建立、分支 / 標籤參照同步、工作流程 / 機密設定修改、主要來源切換、Gitea 停用、Kali / SSH / 主機更新或執行期授權 | +| S2.86 IwoooS 人工決策紀錄草稿防誤用 | framework detail | 0 | 只在 `/iwooos` 顯示人工決策紀錄草稿防誤用,呈現防誤用線=6、草稿=0、正式紀錄=0、已批准=0、執行期閘門=0;owner_response_decision_record_draft_only=true、owner_response_decision_record_write_authorized=false、owner_response_decision_record_execution_authorized=false、runtime_execution_authorized=false、active_runtime_gate_count=0、action_buttons_allowed=false、not_authorization=true,不把紀錄草稿當正式紀錄、人工批准、審批紀錄、執行期閘門、專案庫建立、分支 / 標籤參照同步、工作流程 / 機密設定修改、主要來源切換、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 ee471d0a3..993c9b143 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 人工決策準備佇列 | +| 本階段追加 | 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 人工決策紀錄草稿防誤用 | | 原則 | 低摩擦分階段;文件、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.85 IwoooS / AwoooP 資安投影契約都是有效進展,但它們是框架細節,不是負責人回覆、執行期閘門、生產匯入或 GitHub 主要來源就緒。因此整體百分比仍維持 58%,避免把只讀框架誤算成已落地執行。 +近期 S4.10 請求包、範本狀態台帳、稽核事件範本、脫敏範例、收件檢查、收件預檢,S4.11 請求包 / 範本狀態台帳 / 稽核事件範本 / 脫敏範例 / 收件檢查 / 收件預檢,S4.12 請求包 / 範本狀態台帳 / 稽核事件範本 / 脫敏範例 / 收件檢查 / 收件預檢,S4.13 證據路由規則 / 顯示區塊 / 狀態轉移規則 / 審查清單 / 審查結果分流 / 審查稽核事件範本 / 審查稽核顯示區塊 / 審查稽核收件檢查 / 審查稽核脫敏範例 / 審查稽核保留規則 / 審查稽核保留檢查 / 審查稽核交接包 / 交接檢查 / 平行 Session 同步檢查 / 衝突分流 / 復原檢查 / 復原結果分流,S1.3 低摩擦非阻擋升級分流、S2.8 IwoooS 前端態勢入口,以及 S2.9-S2.86 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 不應被灌水提高。 @@ -148,6 +148,7 @@ S2.50 也把「為什麼 58% 還不動」拆成五個可見 gate:owner respons | S2.83 IwoooS 人工回覆安全驗收閘道 | 已完成草案,在 `/iwooos` 顯示六條人工回覆安全驗收分流、已匯入=0、已隔離=0、已拒收=0;仍不把閘道當成自動接受、正式匯入、機密明文收集、主要來源切換或執行期閘門 | 0 | | S2.84 IwoooS 人工回覆審查結果分流 | 已完成草案,在 `/iwooos` 顯示七條人工回覆審查結果分流、可審查=0、已接受=0、已升級=0;仍不把分流當成自動決策、正式接受、人工審批完成、主要來源切換或執行期閘門 | 0 | | S2.85 IwoooS 人工決策準備佇列 | 已完成草案,在 `/iwooos` 顯示六個人工決策前置準備項、可決策=0、已批准=0、執行期閘門=0;仍不把準備佇列當成人工批准、正式決策、審批紀錄、主要來源切換或執行期閘門 | 0 | +| S2.86 IwoooS 人工決策紀錄草稿防誤用 | 已完成草案,在 `/iwooos` 顯示六條人工決策紀錄草稿防誤用線、草稿=0、正式紀錄=0、已批准=0、執行期閘門=0;仍不把紀錄草稿當成正式紀錄、人工批准、主要來源切換或執行期閘門 | 0 | headline 要再往上,需要 S4.9 / S4.10 / S4.11 / S4.12 任一 owner response 收到並通過脫敏驗收,或人工批准後出現 active runtime gate、redacted payload ingestion、GitHub primary readiness 這類落地 evidence。 @@ -252,6 +253,7 @@ headline 要再往上,需要 S4.9 / S4.10 / S4.11 / S4.12 任一 owner respons | S2.83 IwoooS 人工回覆安全驗收閘道 | 完成草案 | `/iwooos` 新增安全驗收閘道,顯示只接受脫敏證據、負責人範圍要齊全、機密明文直接隔離、專案庫動作要求先拒收、分支 / 標籤動作要求先拒收、執行要求一律另開閘門 | 使用者與另一個 AwoooP Session 能理解收件後如何安全處理,不會把人工回覆變成自動接受、正式匯入、機密明文收集、專案庫 / 分支與標籤參照 / 工作流程 / 機密設定動作、主要來源切換或執行期閘門 | | S2.84 IwoooS 人工回覆審查結果分流 | 完成草案 | `/iwooos` 新增審查結果分流,顯示維持等待、要求補證、可進人工審查、隔離處理、拒收、只讀狀態更新、需要人工決策七條結果,並固定可審查=0、已接受=0、已升級=0 | 使用者與另一個 AwoooP Session 能理解驗收後仍需要人工判讀與只讀狀態分離;分流仍不是自動決策、正式接受、升級 runtime、專案庫 / 分支與標籤參照 / 工作流程 / 機密設定動作、主要來源切換或執行期閘門 | | S2.85 IwoooS 人工決策準備佇列 | 完成草案 | `/iwooos` 新增人工決策準備佇列,顯示決策包草稿、證據追溯包、審查人指派、回滾窗口候選、執行期閘門分離與主要來源切換分離六個前置項目 | 使用者與另一個 AwoooP Session 能理解需要人工決策前仍只是準備資料;準備佇列仍不是人工批准、正式決策、審批紀錄、專案庫 / 分支與標籤參照 / 工作流程 / 機密設定動作、主要來源切換或執行期閘門 | +| S2.86 IwoooS 人工決策紀錄草稿防誤用 | 完成草案 | `/iwooos` 新增紀錄草稿防誤用看板,顯示紀錄身分草稿、決策範圍快照、審查角色預留、證據版本凍結、批准不等於執行、後續執行期指標六條保護線 | 使用者與另一個 AwoooP Session 能理解決策紀錄草稿仍不是正式紀錄或執行命令;紀錄草稿仍不是人工批准、正式審批紀錄、專案庫 / 分支與標籤參照 / 工作流程 / 機密設定動作、主要來源切換或執行期閘門 | | 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 32bcc4537..e2b07b00f 100644 --- a/docs/security/security-mirror-status-rollup.snapshot.json +++ b/docs/security/security-mirror-status-rollup.snapshot.json @@ -1490,6 +1490,18 @@ "runtime_delta": false, "execution_authorized": false, "not_authorization": true + }, + { + "delta_id": "s2_86_iwooos_owner_response_decision_record_draft_guard_board", + "display_order": 115, + "completed_stage": "S2.86 IwoooS 人工決策紀錄草稿防誤用", + "progress_axis": "framework_detail", + "headline_percent_delta": 0, + "framework_delta_visible": true, + "why_headline_unchanged": "IwoooS 只新增人工決策紀錄草稿防誤用看板,顯示 6 條草稿保護線:紀錄身分草稿、決策範圍快照、審查角色預留、證據版本凍結、批准不等於執行、後續執行期指標,並固定草稿=0、正式紀錄=0、已批准=0、執行期閘門=0;owner_response_decision_record_draft_only=true、owner_response_decision_record_write_authorized=false、owner_response_decision_record_execution_authorized=false、runtime_execution_authorized=false、active_runtime_gate_count=0、action_buttons_allowed=false,不把紀錄草稿當正式紀錄、人工批准、審批紀錄、專案庫 / 分支與標籤參照 / 工作流程 / 機密設定、主要來源切換或執行期授權。", + "runtime_delta": false, + "execution_authorized": false, + "not_authorization": true } ], "next_safe_actions": [ @@ -2006,6 +2018,22 @@ "從人工決策準備佇列呼叫 Kali、開 SSH、更新主機、切 GitHub 主要來源、停用 Gitea、收機密明文值或開執行期閘門" ] }, + { + "action_id": "show_iwooos_owner_response_decision_record_draft_guard_board", + "title": "IwoooS 顯示人工決策紀錄草稿防誤用", + "mode": "observe", + "source_contract": "source_control_owner_response_validation_rollup_v1", + "allowed_processing": [ + "在 /iwooos 顯示 S2.86 人工決策紀錄草稿防誤用", + "顯示紀錄身分草稿、決策範圍快照、審查角色預留、證據版本凍結、批准不等於執行、後續執行期指標六條保護線", + "只讓人工知道未來決策紀錄草稿如何避免被誤用,不建立正式紀錄、不批准、不建立執行期閘門" + ], + "blocked_processing": [ + "把人工決策紀錄草稿當成人工批准、正式決策、審批紀錄或已接受回覆", + "從人工決策紀錄草稿建立專案庫、改可見性、同步 / 刪除 / 強制推送分支或標籤參照,或修改工作流程 / 機密設定", + "從人工決策紀錄草稿呼叫 Kali、開 SSH、更新主機、切 GitHub 主要來源、停用 Gitea、收機密明文值或開執行期閘門" + ] + }, { "action_id": "enforce_traditional_chinese_security_surface_wording", "title": "IwoooS / AwoooP 資安可視區塊維持繁體中文呈現", @@ -2436,7 +2464,8 @@ "S2.82 新增 IwoooS 下一步人工收件作戰板;/iwooos 顯示 S4.9-S4.12 四個負責人回覆收件包、22 個必備回覆範本、已收到=0、已接受=0、已拒收=0;owner_response_collection_packet_count=4、owner_response_required_template_count=22、owner_response_collection_mode=human_intake_only、request_packet_visible=true、response_packet_created=false、runtime_execution_authorized=false、active_runtime_gate_count=0、action_buttons_allowed=false、not_authorization=true,不把收件作戰板當寄送、回覆已收到 / 已接受、資安審批、專案庫 / 分支與標籤參照 / 工作流程 / 機密設定、主要來源切換、Gitea 停用、Kali / SSH / 主機更新或執行期閘門。", "S2.83 新增 IwoooS 人工回覆安全驗收閘道;/iwooos 顯示 6 條收件後可收、補證、隔離與拒收分流,已匯入=0、已隔離=0、已拒收=0;owner_response_intake_safety_rule_count=6、owner_response_payload_ingested_count=0、owner_response_quarantine_count=0、owner_response_rejection_count=0、owner_response_auto_accept_allowed=false、owner_response_secret_value_quarantine_required=true、owner_response_mutation_request_allowed=false、runtime_execution_authorized=false、active_runtime_gate_count=0、action_buttons_allowed=false、not_authorization=true,不把驗收閘道當自動接受、正式匯入、資安審批、機密明文收集、專案庫 / 分支與標籤參照 / 工作流程 / 機密設定、主要來源切換、Gitea 停用、Kali / SSH / 主機更新或執行期閘門。", "S2.84 新增 IwoooS 人工回覆審查結果分流;/iwooos 顯示維持等待、要求補證、可進人工審查、隔離、拒收、只讀更新與需要人工決策七條結果分流,可審=0、已接受=0、執行期閘門=0;owner_response_review_outcome_lane_count=7、owner_response_review_ready_count=0、owner_response_review_accepted_count=0、owner_response_review_escalated_count=0、owner_response_review_runtime_gate_count=0、owner_response_review_auto_decision_allowed=false、owner_response_review_human_decision_required=true、owner_response_review_only_updates_readonly_state=true、runtime_execution_authorized=false、active_runtime_gate_count=0、action_buttons_allowed=false、not_authorization=true,不把審查結果分流當自動決策、接受、批准、正式匯入、專案庫 / 分支與標籤參照 / 工作流程 / 機密設定、主要來源切換、Gitea 停用、Kali / SSH / 主機更新或執行期閘門。", - "S2.85 新增 IwoooS 人工決策準備佇列;/iwooos 顯示決策包草稿、證據追溯包、審查人指派、回滾窗口候選、執行期閘門分離與主要來源切換分離六個前置項目,可決策=0、已批准=0、執行期閘門=0;owner_response_human_decision_queue_item_count=6、owner_response_human_decision_ready_count=0、owner_response_human_decision_approved_count=0、owner_response_human_decision_runtime_gate_count=0、owner_response_human_decision_record_created=false、owner_response_human_decision_auto_approval_allowed=false、owner_response_human_decision_requires_reviewer=true、owner_response_human_decision_only_prepares_packet=true、runtime_execution_authorized=false、active_runtime_gate_count=0、action_buttons_allowed=false、not_authorization=true,不把人工決策準備佇列當人工批准、正式決策、審批紀錄、專案庫 / 分支與標籤參照 / 工作流程 / 機密設定、主要來源切換、Gitea 停用、Kali / SSH / 主機更新或執行期閘門。" + "S2.85 新增 IwoooS 人工決策準備佇列;/iwooos 顯示決策包草稿、證據追溯包、審查人指派、回滾窗口候選、執行期閘門分離與主要來源切換分離六個前置項目,可決策=0、已批准=0、執行期閘門=0;owner_response_human_decision_queue_item_count=6、owner_response_human_decision_ready_count=0、owner_response_human_decision_approved_count=0、owner_response_human_decision_runtime_gate_count=0、owner_response_human_decision_record_created=false、owner_response_human_decision_auto_approval_allowed=false、owner_response_human_decision_requires_reviewer=true、owner_response_human_decision_only_prepares_packet=true、runtime_execution_authorized=false、active_runtime_gate_count=0、action_buttons_allowed=false、not_authorization=true,不把人工決策準備佇列當人工批准、正式決策、審批紀錄、專案庫 / 分支與標籤參照 / 工作流程 / 機密設定、主要來源切換、Gitea 停用、Kali / SSH / 主機更新或執行期閘門。", + "S2.86 新增 IwoooS 人工決策紀錄草稿防誤用;/iwooos 顯示紀錄身分草稿、決策範圍快照、審查角色預留、證據版本凍結、批准不等於執行、後續執行期指標六條保護線,草稿=0、正式紀錄=0、已批准=0、執行期閘門=0;owner_response_decision_record_draft_guard_count=6、owner_response_decision_record_draft_created_count=0、owner_response_decision_record_formal_count=0、owner_response_decision_record_approved_count=0、owner_response_decision_record_runtime_gate_count=0、owner_response_decision_record_draft_only=true、owner_response_decision_record_write_authorized=false、owner_response_decision_record_execution_authorized=false、runtime_execution_authorized=false、active_runtime_gate_count=0、action_buttons_allowed=false、not_authorization=true,不把紀錄草稿當正式紀錄、人工批准、審批紀錄、專案庫 / 分支與標籤參照 / 工作流程 / 機密設定、主要來源切換、Gitea 停用、Kali / SSH / 主機更新或執行期閘門。" ], "forbidden_actions": [ "start_kali_scan", diff --git a/scripts/security/security-mirror-progress-guard.py b/scripts/security/security-mirror-progress-guard.py index 6c0a7fef3..110f3fd21 100755 --- a/scripts/security/security-mirror-progress-guard.py +++ b/scripts/security/security-mirror-progress-guard.py @@ -334,6 +334,7 @@ def validate(root: Path) -> None: "s2_83_iwooos_owner_response_intake_safety_board", "s2_84_iwooos_owner_response_review_outcome_board", "s2_85_iwooos_owner_response_human_decision_queue_board", + "s2_86_iwooos_owner_response_decision_record_draft_guard_board", ] assert_equal( "progress_delta_ledger.delta_ids", @@ -518,6 +519,11 @@ def validate(root: Path) -> None: [item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)], "show_iwooos_owner_response_human_decision_queue_board", ) + assert_contains( + "rollup.next_safe_actions.action_ids", + [item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)], + "show_iwooos_owner_response_decision_record_draft_guard_board", + ) assert_contains( "rollup.next_safe_actions.action_ids", [item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)], @@ -6710,6 +6716,45 @@ def validate(root: Path) -> None: "gitea_disablement_authorized=false", ]: assert_text_contains("iwooos_page.owner_response_human_decision_queue_boundary", iwooos_projection_page, text) + assert_text_contains( + "iwooos_page.owner_response_decision_record_draft_guard_items", + iwooos_projection_page, + "ownerResponseDecisionRecordDraftGuardItems", + ) + assert_text_contains( + "iwooos_page.owner_response_decision_record_draft_guard_testid", + iwooos_projection_page, + 'data-testid="iwooos-owner-response-decision-record-draft-guard-board"', + ) + assert_text_contains( + "iwooos_page.owner_response_decision_record_draft_guard_component", + iwooos_projection_page, + "OwnerResponseDecisionRecordDraftGuardBoard", + ) + for text in [ + "owner_response_decision_record_draft_guard_count=6", + "owner_response_decision_record_draft_created_count=0", + "owner_response_decision_record_formal_count=0", + "owner_response_decision_record_approved_count=0", + "owner_response_decision_record_runtime_gate_count=0", + "owner_response_decision_record_draft_only=true", + "owner_response_decision_record_write_authorized=false", + "owner_response_decision_record_execution_authorized=false", + "runtime_execution_authorized=false", + "active_runtime_gate_count=0", + "action_buttons_allowed=false", + "not_authorization=true", + "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.owner_response_decision_record_draft_guard_boundary", + iwooos_projection_page, + text, + ) for key in [ "title", "subtitle", @@ -7042,6 +7087,55 @@ def validate(root: Path) -> None: list(web_messages_en["iwooos"]["ownerResponseHumanDecisionQueueBoard"]["items"].keys()), key, ) + for key in [ + "title", + "subtitle", + "guardItemLabel", + "draftLabel", + "guardLabel", + "boundaryTitle", + "summary", + "items", + ]: + assert_contains( + "web_messages.zh-TW.iwooos.ownerResponseDecisionRecordDraftGuardBoard", + list(web_messages_zh["iwooos"]["ownerResponseDecisionRecordDraftGuardBoard"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.ownerResponseDecisionRecordDraftGuardBoard", + list(web_messages_en["iwooos"]["ownerResponseDecisionRecordDraftGuardBoard"].keys()), + key, + ) + for key in ["guards", "drafts", "formalRecords", "runtime"]: + assert_contains( + "web_messages.zh-TW.iwooos.ownerResponseDecisionRecordDraftGuardBoard.summary", + list(web_messages_zh["iwooos"]["ownerResponseDecisionRecordDraftGuardBoard"]["summary"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.ownerResponseDecisionRecordDraftGuardBoard.summary", + list(web_messages_en["iwooos"]["ownerResponseDecisionRecordDraftGuardBoard"]["summary"].keys()), + key, + ) + for key in [ + "recordIdentityDraft", + "decisionScopeSnapshot", + "reviewerRolePlaceholder", + "evidenceVersionFreeze", + "approvalNotExecutionBoundary", + "followupRuntimeGatePointer", + ]: + assert_contains( + "web_messages.zh-TW.iwooos.ownerResponseDecisionRecordDraftGuardBoard.items", + list(web_messages_zh["iwooos"]["ownerResponseDecisionRecordDraftGuardBoard"]["items"].keys()), + key, + ) + assert_contains( + "web_messages.en.iwooos.ownerResponseDecisionRecordDraftGuardBoard.items", + list(web_messages_en["iwooos"]["ownerResponseDecisionRecordDraftGuardBoard"]["items"].keys()), + key, + ) owner_summary = owner_rollup["summary"] assert_equal("owner_rollup.total_received_response_count", owner_summary["total_received_response_count"], 0)