burn-down: R-423 site page walk (exemption dropped); STATUS Part C list (45 rows for the operator); REPORT; register 336 -> 291 (0 opened, 45 closed)
gates / gates (push) Failing after 13m1s
gates / gates (push) Failing after 13m1s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
@@ -65,6 +65,18 @@ def norm_block(b):
|
||||
return b
|
||||
|
||||
|
||||
# R-423 (2026-10-05): PAGES is still the list the checks run on, but it may no longer be SHORTER than the site. Every
|
||||
# *.html under website/ (a walk, any depth) must be in it — a page added without being added here used to go
|
||||
# unscanned, which is how a gate checks seven files of nine and prints OK.
|
||||
_on_disk = set()
|
||||
for _dp, _dns, _fns in os.walk(W):
|
||||
_dns[:] = [d for d in _dns if not d.startswith(".")]
|
||||
for _f in _fns:
|
||||
if _f.endswith(".html"):
|
||||
_on_disk.add(os.path.relpath(os.path.join(_dp, _f), W))
|
||||
for _missing in sorted(_on_disk - set(PAGES)):
|
||||
fail("%s: an HTML page the site gates do not scan — add it to PAGES in scripts/site_gates.py (R-423)" % _missing)
|
||||
|
||||
pages = {}
|
||||
for p in PAGES:
|
||||
path = os.path.join(W, p)
|
||||
|
||||
Reference in New Issue
Block a user