feat(web): surface owner response validation work item
This commit is contained in:
@@ -290,6 +290,7 @@ def validate(root: Path) -> None:
|
||||
"s2_70_traditional_chinese_security_surface_wording_guard",
|
||||
"s2_71_awooop_run_detail_traditional_chinese_wording_guard",
|
||||
"s2_72_awooop_home_owner_response_validation_rollup",
|
||||
"s2_73_awooop_work_items_owner_response_validation_candidate",
|
||||
]
|
||||
assert_equal(
|
||||
"progress_delta_ledger.delta_ids",
|
||||
@@ -384,6 +385,11 @@ def validate(root: Path) -> None:
|
||||
[item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)],
|
||||
"show_awooop_work_items_github_primary_readiness_candidate",
|
||||
)
|
||||
assert_contains(
|
||||
"rollup.next_safe_actions.action_ids",
|
||||
[item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)],
|
||||
"show_awooop_work_items_owner_response_validation_candidate",
|
||||
)
|
||||
assert_contains(
|
||||
"rollup.next_safe_actions.action_ids",
|
||||
[item["action_id"] for item in rollup["next_safe_actions"] if isinstance(item, dict)],
|
||||
@@ -488,6 +494,32 @@ def validate(root: Path) -> None:
|
||||
]:
|
||||
assert_text_not_contains("web_messages.zh-TW.awooop_run_detail_wording", zh_awooop_run_detail_text, forbidden)
|
||||
|
||||
zh_awooop_work_items_text = json.dumps(
|
||||
web_messages_zh["awooop"]["workItems"],
|
||||
ensure_ascii=False,
|
||||
)
|
||||
for forbidden in [
|
||||
"Production 證據",
|
||||
"Link",
|
||||
"truth-chain",
|
||||
"truth-first",
|
||||
"MCP Gateway",
|
||||
"Timeline",
|
||||
"GitHub Primary Readiness",
|
||||
"active runtime gates",
|
||||
"Workflow / secret",
|
||||
"secret value",
|
||||
"pending dispatch",
|
||||
"channel events",
|
||||
"DB truth",
|
||||
"dispatch 與",
|
||||
]:
|
||||
assert_text_not_contains(
|
||||
"web_messages.zh-TW.awooop_work_items_wording",
|
||||
zh_awooop_work_items_text,
|
||||
forbidden,
|
||||
)
|
||||
|
||||
zh_awooop_home_security_text = json.dumps(
|
||||
{
|
||||
"securityMirror": web_messages_zh["awooop"]["home"]["securityMirror"],
|
||||
@@ -5347,6 +5379,12 @@ def validate(root: Path) -> None:
|
||||
|
||||
assert_text_contains("awooop_work_items_page.security_mirror_item", awooop_work_items_page, "iwooosSecurityMirror")
|
||||
assert_text_contains("awooop_work_items_page.github_primary_item", awooop_work_items_page, "githubPrimaryReadiness")
|
||||
assert_text_contains("awooop_work_items_page.owner_response_validation_item", awooop_work_items_page, "ownerResponseValidation")
|
||||
assert_text_contains(
|
||||
"awooop_work_items_page.telegram_source_traditional_chinese",
|
||||
awooop_work_items_page,
|
||||
'source: "telegram_callback / 真相鏈鏡像"',
|
||||
)
|
||||
assert_text_contains(
|
||||
"awooop_work_items_page.security_mirror_source",
|
||||
awooop_work_items_page,
|
||||
@@ -5357,6 +5395,11 @@ def validate(root: Path) -> None:
|
||||
awooop_work_items_page,
|
||||
"source-control-primary-readiness-gate.snapshot.json / iwooos_posture_projection_v1",
|
||||
)
|
||||
assert_text_contains(
|
||||
"awooop_work_items_page.owner_response_validation_source",
|
||||
awooop_work_items_page,
|
||||
"source-control-owner-response-validation-rollup.snapshot.json / security_mirror_status_rollup_v1",
|
||||
)
|
||||
assert_text_contains("awooop_work_items_page.security_mirror_href", awooop_work_items_page, 'href: "/iwooos"')
|
||||
assert_text_contains("awooop_work_items_page.security_mirror_status", awooop_work_items_page, 'status: "watching"')
|
||||
for key in ["iwooos"]:
|
||||
@@ -5391,6 +5434,16 @@ def validate(root: Path) -> None:
|
||||
list(web_messages_en["awooop"]["workItems"][section].keys()),
|
||||
"githubPrimaryReadiness",
|
||||
)
|
||||
assert_contains(
|
||||
f"web_messages.zh-TW.awooop.workItems.{section}",
|
||||
list(web_messages_zh["awooop"]["workItems"][section].keys()),
|
||||
"ownerResponseValidation",
|
||||
)
|
||||
assert_contains(
|
||||
f"web_messages.en.awooop.workItems.{section}",
|
||||
list(web_messages_en["awooop"]["workItems"][section].keys()),
|
||||
"ownerResponseValidation",
|
||||
)
|
||||
for key in ["iwooosSecurityMirrorOwner", "iwooosSecurityMirrorBoundary"]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.awooop.workItems.evidence",
|
||||
@@ -5408,6 +5461,20 @@ def validate(root: Path) -> None:
|
||||
list(web_messages_zh["awooop"]["workItems"]["evidence"].keys()),
|
||||
key,
|
||||
)
|
||||
for key in [
|
||||
"ownerResponseValidationChecks",
|
||||
"ownerResponseValidationBoundary",
|
||||
]:
|
||||
assert_contains(
|
||||
"web_messages.zh-TW.awooop.workItems.evidence",
|
||||
list(web_messages_zh["awooop"]["workItems"]["evidence"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.awooop.workItems.evidence",
|
||||
list(web_messages_en["awooop"]["workItems"]["evidence"].keys()),
|
||||
key,
|
||||
)
|
||||
assert_contains(
|
||||
"web_messages.en.awooop.workItems.evidence",
|
||||
list(web_messages_en["awooop"]["workItems"]["evidence"].keys()),
|
||||
|
||||
Reference in New Issue
Block a user