You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7afd8a3
Browse filesBrowse the repository at this point in the historyBrowse files
ci: link gate checks the staged Pages tree; exit-code gate resolves named codes
Two gates passed because authors were careful, not because they enforced it.
Link gate: pages.yml ran tests/check_site_links.py on docs/ and only then
stripped contact/asset sheets, DESIGN_NOTES.md and *.md into _site. A link to a
stripped file passed CI and 404'd in production.
- scripts/site/stage_public.py is now the single staging list; pages.yml and
validate-site both stage with it and check `--root _site`.
- check_site_links.py takes --root (default docs/ for quick local runs).
Falsified: a probe link to gallery/contact-sheets/anvil-contact-sheet.webp
passes the old docs/ check (0 failures) and fails the staged check (1).
Exit-code gate: visit_Return recorded only int literals, so `return
EXIT_CLIPPED` (12), framing passthroughs (10) and `raise SystemExit(N)` were
invisible. Now resolved: module-level int constants, shared-helper constants
and check functions read from examples/gallery_*.py (check_framing 10,
check_asset_quality 11) including `fcode = check_framing(...); return fcode`,
and raise SystemExit. All current codes are documented (passes).
Falsified: deleting the `12` row from sky-texture-sun-elevation's README fails
the new checker at :719; the old checker still passed.
Not done: flagging every unresolvable `return name` in main as unanalyzable.
277 such returns exist and all pass through other functions' results, whose
own returns are already scanned; flagging them would be noise, not signal.
Closes#325
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments