fix(agent99): align visual lifecycle verifier v6
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m32s
CD Pipeline / build-and-deploy (push) Successful in 15m45s
CD Pipeline / post-deploy-checks (push) Successful in 2m5s

This commit is contained in:
ogt
2026-07-15 19:55:24 +08:00
parent 648787e7ab
commit 138ab2df8d
4 changed files with 8 additions and 8 deletions

View File

@@ -61,7 +61,7 @@ def test_agent99_recovery_completion_has_human_lifecycle_receipt() -> None:
assert '獨立驗證' in source
def test_agent99_telegram_v5_hides_raw_evidence_and_has_operator_fields() -> None:
def test_agent99_telegram_v6_hides_raw_evidence_and_has_operator_fields() -> None:
source = CONTROL.read_text(encoding="utf-8")
formatter = source[source.index("function Format-AgentTelegramText {") :]
formatter = formatter[: formatter.index("function Format-AgentTelegramCaption")]
@@ -75,7 +75,7 @@ def test_agent99_telegram_v5_hides_raw_evidence_and_has_operator_fields() -> Non
assert "candidatePath" not in formatter
assert "kmPath" not in formatter
assert "verifierName=" not in formatter
assert 'messageFormat = "incident_card_zh_tw_v5"' in source
assert 'messageFormat = "incident_card_zh_tw_v6"' in source
for phase_label in ("VMware", "Host111 WOL", "主機連線", "Kali 112", "公開網站", "Full SOP"):
assert f'{{ "{phase_label}" }}' in source