Skip to content

Commit dbe5fba

Browse files
committed
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.
1 parent 7f569e5 commit dbe5fba

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/weekly-refresh.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,17 @@ jobs:
9898
- name: Integrity check (cross-source anomalies, strict gate)
9999
run: python integrity_check.py ./techapi/data --strict
100100

101+
# --- 2b. Tier 0 existence/trust verification (informational, never gates) ---
102+
# TechAPI's app.verify scores every record green/yellow/red (authoritative
103+
# source + completeness + cross-field consistency). Folded into the weekly PR
104+
# so curators see the dataset's verification health alongside the integrity
105+
# gate. Run from the TechAPI checkout (app.verify is a TechAPI, stdlib-only
106+
# module); never fails the run.
107+
- name: Verification band report (Tier 0)
108+
run: |
109+
cd techapi
110+
python -m app.verify score --no-cache > ../verify-report.txt 2>&1 || true
111+
101112
# --- 3. Static dump → site/public (what the Astro site fetches at runtime) ---
102113
- name: Generate static dump
103114
run: python -m app.dump --output ./techapi/site/public
@@ -114,6 +125,12 @@ jobs:
114125
echo "- \`app.validate\` (schema/range/slug/FK): **passed**"
115126
echo "- \`integrity_check.py --strict\` (cross-source anomaly gate): **passed**"
116127
echo
128+
echo "## Verification (Tier 0 existence/trust)"
129+
echo
130+
echo '```text'
131+
cat verify-report.txt 2>/dev/null || echo "(verifier unavailable)"
132+
echo '```'
133+
echo
117134
echo "## Enrichment summaries"
118135
for f in enrich-*.md; do
119136
[ -f "$f" ] || continue

0 commit comments

Comments
 (0)