Ten changes written through the mirror to the host MUST be one settlement into one commit of the Git branch and ten files of the folder, a second settlement MUST make no commit and change no file, a change and a delete MUST be one more commit, and the ledgers MUST be on the host, hidden from the store and absent from every replica.
Enforced (check): .github: cd commons/anyfs-ssh && bun run verify — suite/mirror.test.ts: the requirement
A path of the Git branch that someone committed to directly MUST be reported as diverged and left as it is; where the host cannot be reached a read of the store MUST be unavailable and a read of the mirror MUST be answered by a replica and say that it was, with what the replica holds; a write to a host that cannot be reached MUST fail as the host's own and queue nothing.
Enforced (check): .github: cd commons/anyfs-ssh && bun run verify — suite/mirror.test.ts: the requirement
The Git replica MUST become the primary and the host a replica of it, with the ledgers moved to the branch in one commit, the writes of that period reaching the host by settlement, and back again, each promotion an event.
Enforced (check): .github: cd commons/anyfs-ssh && bun run verify — suite/mirror.test.ts: the requirement
Of two writers through the mirror that expect the same revision of the host one MUST win and one MUST be a conflict, and the replicas MUST hold the winner.
Enforced (check): .github: cd commons/anyfs-ssh && bun run verify — suite/mirror.test.ts: the requirement