[roads] QA F-07: a missing roads/ folder is store.roads, and roads/ is never followed through a link

A store folder without roads/ compiled to plans with no access and no problem,
kill switches included. It is now an error naming roads. A roads/ that is a
file or a symbolic link is refused the same way (the builder's self-review #8):
entries inside were already refused, the folder itself was followed.
This commit is contained in:
2026-11-25 08:41:10 +01:00
parent 93ab087648
commit b6cf29b9a0
5 changed files with 55 additions and 3 deletions
+4 -1
View File
@@ -14,7 +14,10 @@ versioned; a change that an older build would misread bumps the version.
`roads/` holds only regular files named `<id>-<slug>.md`. Anything else in it — a folder, a symbolic link, a
file with another name — is an error (`file.kind`), so the folder can never hold something the compiler does
not read. Files are read in byte order of their names. At most 10,000 road files.
not read. Files are read in byte order of their names. At most 10,000 road files. A store without a `roads/`
folder, or whose `roads/` is a file or a symbolic link, is `store.roads`: nothing is read, nothing is granted,
and it is said out loud, because pointing `--store` one folder too high would otherwise revoke everything,
kill switches included, without a word (QA F-07).
## Road files