| def test_no_shipped_doc_is_silently_ignored():
|
| """EVERY .md in the directory must load — iterate the DIRECTORY, not the loaded set.
|
|
|
| This is the test that was missing. Its predecessor looped over ``load_guidelines()``, so a doc that
|
| FAILED to load was simply absent from the list and the loop never saw it: a test named "all parse"
|
| that could not fail on the only thing worth catching. oracle_walk.md sat unparseable and shipped
|
| under a green suite — a playbook its author believed was live that reached no agent, ever."""
|
| > assert bug_guidelines.validate_guidelines() == [], (
|
| "a doc in docs/agent_guidelines/ will not load — it reaches NO agent until fixed")
|
| E AssertionError: a doc in docs/agent_guidelines/ will not load — it reaches NO agent until fixed
|
| E assert [('tide_backf.../README.md)')] == []
|
| E
|
| E Left contains one more item: ('tide_backfill_to_2020.md', "no frontmatter — the file must OPEN with a '---' line (see docs/agent_guidelines/README.md)")
|
| E
|
| E Full diff:
|
| E - []
|
| E + [
|
| E + (...
|
| E
|
| E ...Full output truncated (5 lines hidden), use '-vv' to show
|
|
|
| tests/services/test_bug_guidelines.py:93: AssertionError
|