07d1900074
Every postgres lister answered from the path alone, so tables/ and views/ existed under any first segment and the entity files under any third. An absent schema therefore read as a real directory: test -d succeeded, find printed two paths nothing could stat, and the readdir channel in resolve_path_stat synthesized a DIRECTORY row for it. The kit already had the mechanism. stat wired guards and readdir did not, so the two disagreed about the same path. Move the two guards to readdir, where mongodb keeps its own, and pass them to make_readdir.