Repository navigation
PASS
Inputs. Re-review of #3780 at 91039897, on arch 4f2eb87d, the same arch commit as the earlier ruling. since.diff runs from 46ee5dfc, which got PASS. since-conditions.json is empty, and that is correct after a PASS, so the compare is enough. No findings.json and no arch-map.md are staged.
Compare. One commit, 91039897, in crates/mfile/src/lib.rs. File::project_name now canonicalizes repo_path() before it takes the directory name, with a fallback to the given path when canonicalize fails. A new unit test loads a project through web/sub/.. and expects web.
Governs. architecture.md line 63 (Project): the project name is [project] name, else the root directory's name, and the Box Host keeps the name and root that the client reported. Line 401 (Addressing, Written or derived) says that the derived name starts from that project name. BOX-214 and BOX-215 in spec 29 restate this.
Ruling. The edit conforms. A root path that ends in .. or . has no file_name, so the earlier head gave box for a project that has a real directory name. That result is not "the root directory's name". The canonical root is also what the client keeps as the record's project_path (crates/minimal/src/task.rs line 1550 and the attach.rs comment at line 191 canonicalize it). The name and the root that the record keeps now come from one path. The fallback keeps the old behaviour on an error, and a derived name is never refused (line 402), so this is not a fail-open path. The only caller is the client in crates/minimal/src/cmd/boxes/create.rs. The daemon does not call this function, so no check moves across a boundary. The ruling on 46ee5dfc stands for every other part of the change.
Not checked. I did not compile or run the new test, per the contract. A symlinked root now names the link target, not the link. The design says "the root directory's name" and does not settle symlinks. I take the canonical root because the record already keeps it.
Ruled at 9103989 against gominimal/arch@4f2eb87d5d12 by claude-opus-5-5; arch_rulings 1680, job 40c5818b-005e-4b41-acf7-59d34e08dc60.