validate: keep skipping underscore-prefixed dataset files (regression fix)

This commit is contained in:
Claude 2026-08-28 04:22:01 -05:00
parent 86c0c896d8
commit 889c3076b6

View File

@ -366,7 +366,12 @@ def run_selftest(verbose=False):
def load_entries():
return sorted((ROOT / "codex").rglob("*.yaml"))
out = []
for p in sorted((ROOT / "codex").rglob("*.yaml")):
if p.name.startswith("_"):
continue # dataset files (e.g. _f2p-alch-catalog.yaml) are not entries
out.append(p)
return out
def main():