CB-12A (RFC §10.3/§11.1): write one authenticated commit-time capture per active managed agent session while a commit is forming. Advisory evidence only — this never blocks a commit and never starts the snapshot/split path. The exact staged-tree split into a durable change and remainder (RFC §10.3.2) is not implemented, and the inseparable-operation commit policy (RFC §19 Q2) is UNDECIDED after t
(root: &Path)
| 685 | /// verification proves), so the gate's verdict covers precisely the objects |
| 686 | /// this push proposes — never a mutable HEAD reread after the fact. |
| 687 | pub(crate) fn run_pre_push_verification(root: &Path) -> CliResult<()> { |
| 688 | // Read the proposed refs/OIDs; Git blocks on a broken-pipe writer |
| 689 | // otherwise. The local OIDs bind the verdict (see the bound entry |
| 690 | // point). |
| 691 | let mut input = String::new(); |
| 692 | { |
| 693 | let mut stdin = io::stdin().lock(); |
| 694 | let _ = stdin.read_to_string(&mut input); |
| 695 | } |
| 696 | run_pre_push_verification_with_input(root, &input) |
| 697 | } |
| 698 | |
| 699 | /// The exact-OID-bound pre-push verification over caller-supplied stdin |
| 700 | /// lines (the hook entry point drains the real stdin; tests inject). |
no test coverage detected