Check the signed-in markup from a scheduled workflow
Move the authenticated drift check into the repository as tools/compat_auth.py, run daily by .github/workflows/compat-auth.yml on the maintainer's forge only. Credentials come from FH_EMAIL and FH_PASSWORD, the output is pass/fail labels only because the run log is public, and a failed run pushes the report to ntfy. Exit 5 means all hold, 10 drift, anything else that it could not run. Point compat.yml, tools/compat.py and the docs at it, add a README section, and cut 0.5.1.
This commit is contained in:
+6
-1
@@ -67,7 +67,12 @@ Two invariants hold against the portal's own arithmetic, and tests assert both:
|
||||
|
||||
freshharvest.com has no API and no stability contract — this integration reads
|
||||
HTML and posts to form endpoints, so a redesign can change what a value *means*
|
||||
without changing its shape. [tools/compat.py](tools/compat.py) records every
|
||||
without changing its shape. [tools/compat.py](../tools/compat.py) records every
|
||||
assumption and CI asserts them against the live site daily, refreshing this
|
||||
table and opening an issue on drift.
|
||||
|
||||
That covers only what anyone can see. The markup behind the login, where every
|
||||
real break so far has been, is checked by
|
||||
[tools/compat_auth.py](../tools/compat_auth.py) from a daily workflow that runs
|
||||
only on the maintainer's forge; see the README.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user