Resolve a directory entity to the entry.md inside it master
An entity starts as one file and can grow into a directory that keeps its note in entry.md, with sub-entries beside it. Both forms carry the same address, so old wikilinks resolve across the change. The mount surfaces a directory's entry.md at the directory's own address, skips a log/ that sits beside an entry file (history holds no entries), and sorts entry files last within a layer so the directory form beats a plain file left at the same address; the rest of a layer's order is by path, which was previously read_dir order and undefined. The resolver registers directory entities with their aliases, note reads follow whichever form exists, and a stub is never written beside a directory entity. New stubs are still born as plain files. Groundwork for characters/<slug>/entry.md in plan 0014. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HvctyUUkzw7PcNrjCGG6dF