feat(web): 新增 iwooos 補件回收台帳
This commit is contained in:
@@ -384,6 +384,7 @@ def validate(root: Path) -> None:
|
||||
"s2_130_iwooos_product_evidence_wiring_map",
|
||||
"s2_131_iwooos_product_evidence_wiring_preflight",
|
||||
"s2_132_iwooos_product_evidence_wiring_preflight_outcomes",
|
||||
"s2_133_iwooos_product_evidence_wiring_preflight_recovery_ledger",
|
||||
]
|
||||
assert_equal(
|
||||
"progress_delta_ledger.delta_ids",
|
||||
@@ -768,6 +769,11 @@ def validate(root: Path) -> None:
|
||||
[item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)],
|
||||
"show_iwooos_product_evidence_wiring_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_product_evidence_wiring_preflight_recovery_ledger",
|
||||
)
|
||||
assert_contains(
|
||||
"rollup.next_safe_actions.action_ids",
|
||||
[item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)],
|
||||
@@ -9677,6 +9683,115 @@ def validate(root: Path) -> None:
|
||||
list(web_messages_en["iwooos"]["productEvidenceWiringPreflightOutcomes"]["items"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_text_contains(
|
||||
"iwooos_page.product_evidence_wiring_preflight_recovery_ledger_testid",
|
||||
iwooos_projection_page,
|
||||
'data-testid="iwooos-product-evidence-wiring-preflight-recovery-ledger-board"',
|
||||
)
|
||||
assert_text_contains(
|
||||
"iwooos_page.product_evidence_wiring_preflight_recovery_ledger_component",
|
||||
iwooos_projection_page,
|
||||
"IwoooSProductEvidenceWiringPreflightRecoveryLedgerBoard",
|
||||
)
|
||||
for text in [
|
||||
"iwooos_product_evidence_wiring_preflight_recovery_queue_count=7",
|
||||
"iwooos_product_evidence_wiring_preflight_recovery_current_stage=read_only_recovery_ledger",
|
||||
"iwooos_product_evidence_wiring_preflight_recovery_visible_queue_count=7",
|
||||
"iwooos_product_evidence_wiring_preflight_recovery_submitted_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_recovery_accepted_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_recovery_returned_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_recovery_quarantined_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_recovery_ready_for_preflight_retry_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_recovery_ready_for_human_review_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_recovery_ready_for_runtime_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_recovery_owner_response_accepted_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_recovery_redacted_evidence_pointer_accepted_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_recovery_source_control_truth_accepted_count=0",
|
||||
"iwooos_product_evidence_wiring_preflight_recovery_host_safety_window_approved=false",
|
||||
"iwooos_product_evidence_wiring_preflight_recovery_tool_summary_ingested=false",
|
||||
"iwooos_product_evidence_wiring_preflight_recovery_runtime_gate_open=false",
|
||||
"iwooos_product_evidence_wiring_preflight_recovery_public_secret_exposure_allowed=false",
|
||||
"iwooos_product_evidence_wiring_preflight_recovery_kali_execution_authorized=false",
|
||||
"iwooos_product_evidence_wiring_preflight_recovery_source_control_mutation_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.product_evidence_wiring_preflight_recovery_ledger_boundary",
|
||||
iwooos_projection_page,
|
||||
text,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.productEvidenceWiringPreflightRecoveryLedger",
|
||||
list(web_messages_zh["iwooos"].keys()),
|
||||
"productEvidenceWiringPreflightRecoveryLedger",
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.productEvidenceWiringPreflightRecoveryLedger",
|
||||
list(web_messages_en["iwooos"].keys()),
|
||||
"productEvidenceWiringPreflightRecoveryLedger",
|
||||
)
|
||||
for key in [
|
||||
"title",
|
||||
"subtitle",
|
||||
"summary",
|
||||
"items",
|
||||
"queueLabel",
|
||||
"ownerLabel",
|
||||
"requiredLabel",
|
||||
"handoffLabel",
|
||||
"blockedLabel",
|
||||
"boundaryTitle",
|
||||
"boundaryIntro",
|
||||
]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.productEvidenceWiringPreflightRecoveryLedger.keys",
|
||||
list(web_messages_zh["iwooos"]["productEvidenceWiringPreflightRecoveryLedger"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.productEvidenceWiringPreflightRecoveryLedger.keys",
|
||||
list(web_messages_en["iwooos"]["productEvidenceWiringPreflightRecoveryLedger"].keys()),
|
||||
key,
|
||||
)
|
||||
for key in ["queues", "submitted", "accepted", "runtime"]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.productEvidenceWiringPreflightRecoveryLedger.summary",
|
||||
list(web_messages_zh["iwooos"]["productEvidenceWiringPreflightRecoveryLedger"]["summary"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.productEvidenceWiringPreflightRecoveryLedger.summary",
|
||||
list(web_messages_en["iwooos"]["productEvidenceWiringPreflightRecoveryLedger"]["summary"].keys()),
|
||||
key,
|
||||
)
|
||||
for key in [
|
||||
"scopePacket",
|
||||
"ownerEnvelope",
|
||||
"redactedEvidence",
|
||||
"sourceTruth",
|
||||
"hostWindow",
|
||||
"toolSummary",
|
||||
"runtimeGate",
|
||||
]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.iwooos.productEvidenceWiringPreflightRecoveryLedger.items",
|
||||
list(web_messages_zh["iwooos"]["productEvidenceWiringPreflightRecoveryLedger"]["items"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.iwooos.productEvidenceWiringPreflightRecoveryLedger.items",
|
||||
list(web_messages_en["iwooos"]["productEvidenceWiringPreflightRecoveryLedger"]["items"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_text_contains(
|
||||
"iwooos_page.first_progress_unlock_path_testid",
|
||||
iwooos_projection_page,
|
||||
|
||||
Reference in New Issue
Block a user