diff --git a/apps/web/messages/en.json b/apps/web/messages/en.json index 624a10cee..2b9fd3cf5 100644 --- a/apps/web/messages/en.json +++ b/apps/web/messages/en.json @@ -1629,6 +1629,49 @@ "next": "active runtime gates=0; action buttons=false" } } + }, + "hostOwnerDecisionCandidates": { + "title": "Host Owner Decision Candidate Packets", + "subtitle": "After reviewer outcome reaches the owner-decision candidate lane, IwoooS only displays the human decision packets. It does not create decision records, mark approval, or open runtime gates.", + "packetLabel": "Candidate packet", + "decisionLabel": "Human decision scope", + "items": { + "scopeApprovalCandidate": { + "title": "Scope approval candidate", + "body": "Confirm hosts, networks, services, exclusions, and observation purpose are readable for the owner.", + "decision": "display scope candidate only; owner decision received=0" + }, + "scanModeCandidate": { + "title": "Scan mode candidate", + "body": "Separate observe-only, future active scan, and credentialed scan modes so the candidate packet is not mistaken for scan approval.", + "decision": "display mode options only; active scan=false" + }, + "credentialHandlingCandidate": { + "title": "Credential handling candidate", + "body": "Describe metadata-only handling, accountable owner, and retention boundary without requesting or storing sensitive material.", + "decision": "display handling principle only; collection=false" + }, + "maintenanceWindowCandidate": { + "title": "Maintenance window candidate", + "body": "If later host update or tuning is involved, display candidate maintenance window and constraints first.", + "decision": "display time window only; host update=false" + }, + "rollbackOwnerCandidate": { + "title": "Rollback owner candidate", + "body": "Display future rollback owner, recovery route, and human contact point so accountability is clear before any change.", + "decision": "display owner pointer only; change=false" + }, + "validationMetricsCandidate": { + "title": "Validation metrics candidate", + "body": "List future post-check metrics, baselines, and review evidence pointers as material for later human gate evaluation.", + "decision": "display validation items only; runtime gate=false" + }, + "runtimeGateCandidate": { + "title": "Runtime gate candidate", + "body": "Any later host action still requires a separate runtime gate and cannot execute from an owner-decision candidate.", + "decision": "display gate candidate only; action buttons=false" + } + } } }, "tickets": { diff --git a/apps/web/messages/zh-TW.json b/apps/web/messages/zh-TW.json index a97aa9b78..4e1f8daf8 100644 --- a/apps/web/messages/zh-TW.json +++ b/apps/web/messages/zh-TW.json @@ -1630,6 +1630,49 @@ "next": "active runtime gates=0;action buttons=false" } } + }, + "hostOwnerDecisionCandidates": { + "title": "主機 Owner Decision Candidate Packets", + "subtitle": "Reviewer outcome 進到 owner decision 候選後,IwoooS 只顯示需要人工判讀的決策包。不建立 decision record、不標示 approved、不開 runtime gate。", + "packetLabel": "候選包", + "decisionLabel": "人工決策範圍", + "items": { + "scopeApprovalCandidate": { + "title": "Scope approval candidate", + "body": "確認主機、網段、服務、排除範圍與觀察目的都能被 owner 讀懂。", + "decision": "只顯示 scope 候選;owner decision received=0" + }, + "scanModeCandidate": { + "title": "Scan mode candidate", + "body": "把 observe-only、未來 active scan 或 credentialed scan 的差異拆清楚,避免候選包被誤認為掃描授權。", + "decision": "只顯示模式選項;active scan=false" + }, + "credentialHandlingCandidate": { + "title": "Credential handling candidate", + "body": "只描述 metadata-only handling、責任人與保存邊界,不要求或保存敏感素材。", + "decision": "只顯示處理原則;collection=false" + }, + "maintenanceWindowCandidate": { + "title": "Maintenance window candidate", + "body": "若未來涉及主機更新或調校,先顯示候選維護窗口與限制條件。", + "decision": "只顯示時間範圍;host update=false" + }, + "rollbackOwnerCandidate": { + "title": "Rollback owner candidate", + "body": "顯示未來 rollback owner、復原路徑與人工聯絡點,避免變更前缺少責任邊界。", + "decision": "只顯示 owner pointer;change=false" + }, + "validationMetricsCandidate": { + "title": "Validation metrics candidate", + "body": "列出未來 post-check metrics、baseline 與回看 evidence pointer,作為後續 gate 的人工判讀素材。", + "decision": "只顯示驗證項目;runtime gate=false" + }, + "runtimeGateCandidate": { + "title": "Runtime gate candidate", + "body": "任何後續主機動作仍需獨立 runtime gate,不能由 owner decision candidate 直接執行。", + "decision": "只顯示 gate 候選;action buttons=false" + } + } } }, "tickets": { diff --git a/apps/web/src/app/[locale]/iwooos/page.tsx b/apps/web/src/app/[locale]/iwooos/page.tsx index 3059dee0c..63fd3ab48 100644 --- a/apps/web/src/app/[locale]/iwooos/page.tsx +++ b/apps/web/src/app/[locale]/iwooos/page.tsx @@ -137,6 +137,13 @@ type HostEvidenceReviewerOutcomeLane = { tone: 'steady' | 'warn' | 'locked' } +type HostOwnerDecisionCandidatePacket = { + key: string + packet: string + icon: typeof ShieldCheck + tone: 'steady' | 'warn' | 'locked' +} + const postureMetrics: PostureMetric[] = [ { key: 'overall', value: '58%', tone: 'warn' }, { key: 'framework', value: '80-85%', tone: 'steady' }, @@ -318,6 +325,16 @@ const hostEvidenceReviewerOutcomeLanes: HostEvidenceReviewerOutcomeLane[] = [ { key: 'runtimeGateRequired', lane: 'O7', icon: FileWarning, tone: 'locked' }, ] +const hostOwnerDecisionCandidatePackets: HostOwnerDecisionCandidatePacket[] = [ + { key: 'scopeApprovalCandidate', packet: 'D1', icon: Radar, tone: 'warn' }, + { key: 'scanModeCandidate', packet: 'D2', icon: Activity, tone: 'locked' }, + { key: 'credentialHandlingCandidate', packet: 'D3', icon: Lock, tone: 'locked' }, + { key: 'maintenanceWindowCandidate', packet: 'D4', icon: Clock3, tone: 'warn' }, + { key: 'rollbackOwnerCandidate', packet: 'D5', icon: FileWarning, tone: 'warn' }, + { key: 'validationMetricsCandidate', packet: 'D6', icon: CheckCircle2, tone: 'warn' }, + { key: 'runtimeGateCandidate', packet: 'D7', icon: ShieldCheck, tone: 'locked' }, +] + const evidenceItems = [ 'iwooos-posture-projection.snapshot.json', 'security-rollout-policy.snapshot.json', @@ -816,6 +833,34 @@ function HostEvidenceReviewerOutcomeCard({ item }: { item: HostEvidenceReviewerO ) } +function HostOwnerDecisionCandidateCard({ item }: { item: HostOwnerDecisionCandidatePacket }) { + const t = useTranslations('iwooos.hostOwnerDecisionCandidates') + const Icon = item.icon + return ( +
+ {t(`items.${item.key}.body` as never)} +
++ {t('hostOwnerDecisionCandidates.subtitle')} +
+