From 5b93c49d7d21a11241b701a7b05c96efaafb172f Mon Sep 17 00:00:00 2001 From: Seungpyo Hong Date: Mon, 22 Jun 2026 12:26:35 +0900 Subject: [PATCH] ci(weekly-refresh): fold Tier 0 verification band report into the weekly PR After the integrity gate, run TechAPI's app.verify score over the full dataset and include the green/yellow/red band histogram in the weekly refresh PR body (under a new ## Verification section). Informational, never gates the run; app.verify is a stdlib-only TechAPI module run from the TechAPI checkout. --- .github/workflows/weekly-refresh.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/weekly-refresh.yml b/.github/workflows/weekly-refresh.yml index 07cd316..613a3bb 100644 --- a/.github/workflows/weekly-refresh.yml +++ b/.github/workflows/weekly-refresh.yml @@ -98,6 +98,17 @@ jobs: - name: Integrity check (cross-source anomalies, strict gate) run: python integrity_check.py ./techapi/data --strict + # --- 2b. Tier 0 existence/trust verification (informational, never gates) --- + # TechAPI's app.verify scores every record green/yellow/red (authoritative + # source + completeness + cross-field consistency). Folded into the weekly PR + # so curators see the dataset's verification health alongside the integrity + # gate. Run from the TechAPI checkout (app.verify is a TechAPI, stdlib-only + # module); never fails the run. + - name: Verification band report (Tier 0) + run: | + cd techapi + python -m app.verify score --no-cache > ../verify-report.txt 2>&1 || true + # --- 3. Static dump → site/public (what the Astro site fetches at runtime) --- - name: Generate static dump run: python -m app.dump --output ./techapi/site/public @@ -114,6 +125,12 @@ jobs: echo "- \`app.validate\` (schema/range/slug/FK): **passed**" echo "- \`integrity_check.py --strict\` (cross-source anomaly gate): **passed**" echo + echo "## Verification (Tier 0 existence/trust)" + echo + echo '```text' + cat verify-report.txt 2>/dev/null || echo "(verifier unavailable)" + echo '```' + echo echo "## Enrichment summaries" for f in enrich-*.md; do [ -f "$f" ] || continue