Record Hermes WebUI control panel evidence

This commit is contained in:
Svrnty
2026-06-01 07:35:04 -04:00
parent d2f574802f
commit 163cfabd67
3 changed files with 84 additions and 3 deletions
+29 -1
View File
@@ -50,6 +50,7 @@ REQUIRED_FILES = [
".sot/03-PROTOCOLS/CTO-HERMES-REAL-REFRESH-CONTROL-REPLAY-EVIDENCE.md",
".sot/03-PROTOCOLS/CTO-HERMES-WEBUI-CONTROL-PANEL-PRD.md",
".sot/03-PROTOCOLS/CTO-HERMES-WEBUI-CONTROL-PANEL-ISSUES.md",
".sot/03-PROTOCOLS/CTO-HERMES-WEBUI-CONTROL-PANEL-EVIDENCE.md",
".sot/03-PROTOCOLS/CTO-FIRST-REAL-GOVERNED-WORKFLOW-PRD.md",
".sot/03-PROTOCOLS/CTO-FIRST-REAL-GOVERNED-WORKFLOW-ISSUES.md",
".sot/03-PROTOCOLS/CTO-FIRST-REAL-GOVERNED-WORKFLOW-APPROVAL-PACKET.md",
@@ -152,6 +153,23 @@ REQUIRED_HERMES_WEBUI_CONTROL_PANEL_PHRASES = [
"Do not activate Case as default backend.",
]
REQUIRED_HERMES_WEBUI_CONTROL_PANEL_EVIDENCE_PHRASES = [
"Local planning SOT only. Not a Core Protocol. Not active Core authority.",
"CTO-WORK-059",
"9c8f345 Add CTO harness control panel",
"/api/cto/control-summary",
"cto_control_panel.js",
"cto_control_panel.css",
"routes/cto_control_summary.py",
"CONNECTION-MAP.md is fresh",
"104 passed",
"Case runtime default active: false",
"target repository mutation: false",
"upstream `hermes-webui` edited: false",
"upstream `hermes-agent` edited: false",
"Harness-backed summary data remains the source of truth.",
]
REQUIRED_HERMES_REAL_REFRESH_CONTROL_REPLAY_EVIDENCE_PHRASES = [
"Local planning SOT only. Not a Core Protocol. Not active Core authority.",
"CTO-WORK-057",
@@ -1165,6 +1183,16 @@ def main() -> int:
if phrase not in text:
errors.append(f"missing_hermes_webui_control_panel_issue_phrase:{phrase}")
hermes_webui_control_panel_evidence = ROOT / ".sot/03-PROTOCOLS/CTO-HERMES-WEBUI-CONTROL-PANEL-EVIDENCE.md"
if hermes_webui_control_panel_evidence.is_file():
text = hermes_webui_control_panel_evidence.read_text(encoding="utf-8")
if "core_promotion_status: not-promoted" not in text:
errors.append("hermes_webui_control_panel_evidence_missing_not_promoted_frontmatter")
for phrase in REQUIRED_HERMES_WEBUI_CONTROL_PANEL_EVIDENCE_PHRASES:
checked.append(f"hermes_webui_control_panel_evidence_phrase:{phrase}")
if phrase not in text:
errors.append(f"missing_hermes_webui_control_panel_evidence_phrase:{phrase}")
hermes_real_refresh_control_replay_evidence = ROOT / ".sot/03-PROTOCOLS/CTO-HERMES-REAL-REFRESH-CONTROL-REPLAY-EVIDENCE.md"
if hermes_real_refresh_control_replay_evidence.is_file():
text = hermes_real_refresh_control_replay_evidence.read_text(encoding="utf-8")
@@ -1774,7 +1802,7 @@ def main() -> int:
"CTO-WORK-056": "validated",
"CTO-WORK-057": "validated",
"CTO-WORK-058": "validated",
"CTO-WORK-059": "candidate",
"CTO-WORK-059": "validated",
}
for issue_id, expected in expected_statuses.items():
checked.append(f"workboard_status:{issue_id}:{expected}")