| 1 | # What the lint must reject, and the words its failure must name — a check |
| 2 | # that only says "no" leaves the reader to find the breakage themselves. |
| 3 | # One case per line: the fixture directory under examples/graphs/rejected/, |
| 4 | # a tab, then the text the rejection must contain. |
| 5 | unknown-status ida-0000001-a-node.md".status |
| 6 | edge-on-the-wrong-type blocked_by: field not allowed |
| 7 | node-in-the-wrong-directory a bug node belongs in .the-valley/bugs/ |
| 8 | filename-id-mismatch filename says id ida-0000004, frontmatter says ida-0000005 |
| 9 | duplicate-id is already used by |
| 10 | missing-frontmatter no YAML frontmatter |
| 11 | dangling-wiki-link [[ida-9999999]] is not a node id |
| 12 | dangling-blocked-by blocked_by names oc-9999999, which is not a node |
| 13 | dangling-supersedes supersedes names ida-9999999, which is not a node |
| 14 | # The edge alone is half a supersession. A node declared replaced while its |
| 15 | # own status still reads otherwise leaves the graph saying two things, which |
| 16 | # is the defect the edge exists to end. |
| 17 | supersedes-a-node-still-standing whose status is adopted, not superseded |
| 18 | supersedes-on-the-wrong-type supersedes: field not allowed |
| 19 | # Only ideas have a `superseded` status, so an edge naming any other type is |
| 20 | # rejected on shape by the schema. |
| 21 | supersedes-a-type-that-cannot-be supersedes.0: invalid value "bd-0000011" |
| 22 | # The id rule: a node created after the cutoff must carry the id its slug |
| 23 | # derives, and the failure names the id it should have. |
| 24 | non-derived-id sha256 of the slug gives ida-d1d9c0c |
| 25 | # Graduation cannot be half-declared: the status without the destination is |
| 26 | # rejected by the schema. |
| 27 | graduated-without-destination graduated_into: incomplete value |
| 28 | dangling-graduated-into graduated_into names qn-9999999, which is not a node |
| 29 | # A node's type is an outcome, a bug, an idea or a question, each in its own |
| 30 | # directory, so a decision filed under decisions/ is markdown the lint has no |
| 31 | # reading for. |
| 32 | decision-node decisions/dcr-0000012-a-decision.md: markdown outside .the-valley's type directories |
| 33 | broken-link ./nowhere.md does not exist |
| 34 | broken-anchor names no heading |