gunk-dev/the-valley

knowledge-lint-rejected.txt

sourcef007964e2f86main's published tip history
2.0 KiB
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.
5unknown-status ida-0000001-a-node.md".status
6edge-on-the-wrong-type blocked_by: field not allowed
7node-in-the-wrong-directory a bug node belongs in .the-valley/bugs/
8filename-id-mismatch filename says id ida-0000004, frontmatter says ida-0000005
9duplicate-id is already used by
10missing-frontmatter no YAML frontmatter
11dangling-wiki-link [[ida-9999999]] is not a node id
12dangling-blocked-by blocked_by names oc-9999999, which is not a node
13dangling-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.
17supersedes-a-node-still-standing whose status is adopted, not superseded
18supersedes-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.
21supersedes-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.
24non-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.
27graduated-without-destination graduated_into: incomplete value
28dangling-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.
32decision-node decisions/dcr-0000012-a-decision.md: markdown outside .the-valley's type directories
33broken-link ./nowhere.md does not exist
34broken-anchor names no heading