Patrick Steinhardt's 12-patch series makes commit graphs pluggable so that an object database backend is fully in control of where the commit graph is read and written. All logic that derives storage paths for commit graphs moves into the "files" backend.
Steinhardt says an alternative would have been to abstract the overall functionality of a commit graph and expose that instead. He judged it a much larger undertaking, so the series keeps the data structure. He says that does not preclude abstracting the data structure further later.
Justin Tobler has been going through the patches. On layer merging he notes that layers in an alternate object directory are not considered mergeable. He found the wording about base layers confusing, and asks whether any existing layer can be a base regardless of directory. He also asks whether the geometric progression check should belong to backend-specific logic, given the goal of merging layers without knowing where they live on disk.
He also reviews a patch on validation of the commit-graph-chain file, which checks that each layer's recorded hash matches the hash in its trailer. As he reads it, the hash of the layer being added was previously not checked until the next layer was added. The series now validates the hash when a layer is loaded, and he agrees with rejecting a layer whose trailer does not match up front. Tobler says several other patches look good.
The excerpts do not show answers to his questions or a final verdict.