fix: harden review and verifier governance

This commit is contained in:
phamnazage-jpg
2026-05-29 18:48:48 +08:00
parent 88833fac8b
commit e999d31b25
133 changed files with 2538 additions and 159 deletions

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$ROOT_DIR"
python3 - <<'PY'
from pathlib import Path
text = Path('frontend/src/pages/Dashboard.tsx').read_text()
assert 'echarts.init' in text, 'dashboard missing echarts.init usage'
assert 'import * as echarts from "echarts"' in text or "import * as echarts from 'echarts'" in text, 'dashboard missing echarts import'
PY