wip: add OpenClaw purge report regression test
Some checks failed
CI / test (pull_request) Failing after 59s
CI / validate (pull_request) Failing after 1m13s
Review Approval Gate / verify-review (pull_request) Successful in 11s

This commit is contained in:
Alexander Whitestone
2026-04-15 03:27:13 -04:00
parent 0a33fbe645
commit 06f4dbff67

View File

@@ -0,0 +1,28 @@
from pathlib import Path
REPORT = Path("reports/openclaw-purge-2026-04-12.md")
def test_openclaw_purge_report_exists_with_required_sections():
assert REPORT.exists(), "expected OpenClaw purge report artifact to exist"
content = REPORT.read_text()
assert "# OpenClaw Purge Report — 2026-04-12" in content
assert "## What was done" in content
assert "### the-nexus (this repo)" in content
assert "### timmy-config (complete)" in content
assert "### timmy-home (complete)" in content
assert "## What was preserved" in content
assert "## Remaining action" in content
assert "## Architecture going forward" in content
def test_openclaw_purge_report_preserves_core_findings():
content = REPORT.read_text()
assert "PR #1278" in content
assert "PR #1279" in content
assert "PR #487" in content
assert "PR #595" in content
assert "27 previously closed OpenClaw issues across repos" in content
assert "The perplexity account lacks org admin permission." in content
assert "Reference: openclaw-purge-2026-04-12" in content