A doc that names a file that is gone
The dead-doc-paths maintenance duty (#13977) lists the src/ and test/ files that
docs/.md and docs/features/.md name and the tree no longer has, so a rename or a removal
does not leave a doc pointing at nothing.
- What it reads. Every
.mddirectly underdocs/anddocs/features/, line by line. A path counts when it startssrc/ortest/and ends in a file extension. Globs (src/*.ts), placeholders (src/<name>/x.ts), directories and paths inside a longer path (docs/src/z.ts) are skipped. Each path is checked once per doc, at its first line. - What it says. One finding per doc that has any: the doc, then each dead path with its line. A measurement probe carries that doc's count.
- Read-only. It opens files and checks they exist; it changes nothing and spends no money. It runs once a day.
- Where it shows. On the maintenance board (
/maintenance, admin) as thedead-doc-pathsrow. The terminal's "Maintenance duty runs" screen reads the same run records (latest,src/maintain/runs.ts), so the run shows there as a row with its finding count; the finding text itself is on/maintenanceand inGET /api/v1/maintenance/runs.test/maintain-dead-doc-paths.test.tsshows a run reaching that screen.