The manual: why the search limits are drawn where they are
Name: ratified 2026-10-18 (calef, convention-rulings Rule 3).
An appendix to nifeos/nife:notes/documentation.md, whose BUGS section states each
limit in a sentence. These are the full entries, with their reasons.
Sixteen results
A search keeps sixteen results and counts the rest, saying "16 of 43 pages, strongest first" when
it dropped any. Sixteen is the reader's number rather than the index's. A search answer is read at
a prompt before deciding what to open, and one of this system's two terminals is sixteen rows tall.
A term nearly every page mentions therefore answers with the sixteen that mention it most. For
capability that is a fair answer, and for the it would not be.
Hyphens and paths
A hyphenated name is not one term, and a path is not searchable. Only the underscore joins, so
apropos line-discipline searches line and then discipline separately (as two queries; this
verb takes one word). apropos notes/glob.md folds to notesglobmd, which no page says. A search
is for words, and the location a result prints is what you hand to mdr.
Width
A search answer is up to 86 columns wide when a long location meets a long title. So it wraps on the 80-column serial console and wraps hard on the 32-column graphical one. The location is never truncated to fit, deliberately. It is the name the reader is meant to type, and a wrapped line beats an unusable one.
Shard versions
A shard whose version is not the reader's is refused, not migrated. Every shard in the tree is a
build artifact regenerated by cargo xtask manual, so the format and its reader ship together and
there is nothing yet to migrate. The day a shard arrives from somewhere the build did not produce,
that is the decision to revisit.
The manifest buffer
The shell reads at most 256 bytes of the bundle manifest. That is ten times what the shipped store needs, and a quarter of a page in a program with one stack page. A manifest that fills the buffer says so and searches what it read. A silent "no page says that" about bundles nobody looked in is the one failure a search must not have.
The root, not the cwd
apropos searches from the root of what the shell holds, not from the cwd. The store is installed
at that root, and a cd does not move the manual. A shell granted a subtree that does not contain
doc/ therefore cannot search at all, and says so with the filesystem's own errno.
The index ratio
The index is 1.16x the markdown it indexes, per the table in index-cost.md. The floor is what moves it. Page alignment costs every bundle 16 KiB however small, so the ratio improves as the bundles grow rather than because anything got better.