diff --git a/apps/web/messages/en.json b/apps/web/messages/en.json index 4d6613a06..624a10cee 100644 --- a/apps/web/messages/en.json +++ b/apps/web/messages/en.json @@ -1586,6 +1586,49 @@ "verify": "active runtime gates=0; action buttons=false" } } + }, + "hostEvidenceReviewerOutcomes": { + "title": "Host Evidence Reviewer Outcome Lanes", + "subtitle": "After reviewer checklist, cases can only enter these read-only outcome lanes. This shows next interpretation and does not mark passed, accepted, approval, or runtime gates.", + "laneLabel": "Reviewer outcome", + "nextLabel": "Next step", + "items": { + "readyForOwnerDecision": { + "title": "Ready for owner decision", + "body": "When scope, owner, redaction, rollback, validation, and runtime separation are readable, the case can only become an owner-decision candidate.", + "next": "display candidate; received=0, accepted=0" + }, + "scopeMismatch": { + "title": "Scope mismatch", + "body": "When handoff scope does not match host coverage, network, service, or exclusions, the case returns to the scope lane.", + "next": "collect scope pointer; no scan starts" + }, + "ownerExpired": { + "title": "Owner decision expired", + "body": "When owner decision lacks scope, constraints, or is expired, the case returns to the owner decision lane.", + "next": "collect decision record; no approval created" + }, + "credentialMetadataFailed": { + "title": "Credential metadata failed", + "body": "When credential handling is not metadata-only or accountability boundary is unreadable, the reviewer outcome is quarantined.", + "next": "request metadata-only statement; no sensitive material collected" + }, + "redactionFailed": { + "title": "Redaction failed", + "body": "When redaction attestation cannot prove raw logs, host dumps, unredacted screenshots, or sensitive payloads are excluded, the case is rejected.", + "next": "request redaction again; raw payload not stored" + }, + "rollbackMissing": { + "title": "Rollback missing", + "body": "When maintenance window, rollback owner, or recovery validation metrics are missing, the case cannot move to later decision.", + "next": "collect rollback pointer; no change execution" + }, + "runtimeGateRequired": { + "title": "Runtime gate required", + "body": "Any possible later host action must route to a separate runtime gate and cannot run from reviewer outcome.", + "next": "active runtime gates=0; action buttons=false" + } + } } }, "tickets": { diff --git a/apps/web/messages/zh-TW.json b/apps/web/messages/zh-TW.json index 7d423bc72..a97aa9b78 100644 --- a/apps/web/messages/zh-TW.json +++ b/apps/web/messages/zh-TW.json @@ -1587,6 +1587,49 @@ "verify": "active runtime gates=0;action buttons=false" } } + }, + "hostEvidenceReviewerOutcomes": { + "title": "主機 Evidence Reviewer Outcome Lanes", + "subtitle": "Reviewer checklist 後只能進入這些只讀結果分流。這裡顯示下一步判讀,不會標示 passed、accepted、approval 或 runtime gate。", + "laneLabel": "Reviewer 結果", + "nextLabel": "下一步", + "items": { + "readyForOwnerDecision": { + "title": "Ready for owner decision", + "body": "scope、owner、redaction、rollback、validation 與 runtime separation 都可讀時,只能標示為 owner decision 候選。", + "next": "顯示候選;received=0、accepted=0" + }, + "scopeMismatch": { + "title": "Scope mismatch", + "body": "handoff scope 與主機覆蓋、網段、服務或排除範圍不一致時,回到補 scope lane。", + "next": "補 scope pointer;不啟動 scan" + }, + "ownerExpired": { + "title": "Owner decision expired", + "body": "owner decision 缺 scope、限制條件或已過期時,回到 owner decision lane。", + "next": "補 decision record;不建立 approval" + }, + "credentialMetadataFailed": { + "title": "Credential metadata failed", + "body": "credential handling 不是 metadata-only 或責任邊界不可讀時,先隔離 reviewer outcome。", + "next": "只要求 metadata-only 說明;不收敏感素材" + }, + "redactionFailed": { + "title": "Redaction failed", + "body": "redaction attestation 無法證明 raw logs、host dump、未脫敏截圖或 sensitive payload 已排除時,拒收。", + "next": "要求重新脫敏;不保存 raw payload" + }, + "rollbackMissing": { + "title": "Rollback missing", + "body": "maintenance window、rollback owner 或復原驗證指標缺漏時,不能進入後續決策。", + "next": "補 rollback pointer;不執行 change" + }, + "runtimeGateRequired": { + "title": "Runtime gate required", + "body": "任何可能的後續主機行動都必須導回獨立 runtime gate,不能由 reviewer outcome 執行。", + "next": "active runtime gates=0;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 7d3c10d7b..3059dee0c 100644 --- a/apps/web/src/app/[locale]/iwooos/page.tsx +++ b/apps/web/src/app/[locale]/iwooos/page.tsx @@ -130,6 +130,13 @@ type HostEvidenceReviewerChecklistItem = { tone: 'steady' | 'warn' | 'locked' } +type HostEvidenceReviewerOutcomeLane = { + key: string + lane: string + icon: typeof ShieldCheck + tone: 'steady' | 'warn' | 'locked' +} + const postureMetrics: PostureMetric[] = [ { key: 'overall', value: '58%', tone: 'warn' }, { key: 'framework', value: '80-85%', tone: 'steady' }, @@ -301,6 +308,16 @@ const hostEvidenceReviewerChecklistItems: HostEvidenceReviewerChecklistItem[] = { key: 'runtimeGateSeparated', check: 'C7', icon: FileWarning, tone: 'locked' }, ] +const hostEvidenceReviewerOutcomeLanes: HostEvidenceReviewerOutcomeLane[] = [ + { key: 'readyForOwnerDecision', lane: 'O1', icon: CheckCircle2, tone: 'steady' }, + { key: 'scopeMismatch', lane: 'O2', icon: Radar, tone: 'warn' }, + { key: 'ownerExpired', lane: 'O3', icon: ClipboardCheck, tone: 'warn' }, + { key: 'credentialMetadataFailed', lane: 'O4', icon: Lock, tone: 'locked' }, + { key: 'redactionFailed', lane: 'O5', icon: ShieldCheck, tone: 'locked' }, + { key: 'rollbackMissing', lane: 'O6', icon: Clock3, tone: 'warn' }, + { key: 'runtimeGateRequired', lane: 'O7', icon: FileWarning, tone: 'locked' }, +] + const evidenceItems = [ 'iwooos-posture-projection.snapshot.json', 'security-rollout-policy.snapshot.json', @@ -771,6 +788,34 @@ function HostEvidenceReviewerChecklistCard({ item }: { item: HostEvidenceReviewe ) } +function HostEvidenceReviewerOutcomeCard({ item }: { item: HostEvidenceReviewerOutcomeLane }) { + const t = useTranslations('iwooos.hostEvidenceReviewerOutcomes') + const Icon = item.icon + return ( +
+ {t(`items.${item.key}.body` as never)} +
++ {t('hostEvidenceReviewerOutcomes.subtitle')} +
+