Append checkout evidence and schedule a separate read-only observer.
(
root: &Path,
old_head: &str,
new_head: &str,
checkout_flag: &str,
)
| 645 | |
| 646 | /// Append checkout evidence and schedule a separate read-only observer. |
| 647 | pub(crate) fn record_post_checkout( |
| 648 | root: &Path, |
| 649 | old_head: &str, |
| 650 | new_head: &str, |
| 651 | checkout_flag: &str, |
| 652 | ) -> CliResult<()> { |
| 653 | let scheduled = persist_checkout_event(root, old_head, new_head, checkout_flag)?; |
| 654 | warn_if_view_mismatch(root); |
| 655 | spawn_deferred_observer(root, &scheduled) |
| 656 | } |
| 657 | |
| 658 | /// CB-12A (RFC §10.3/§11.1): write one authenticated commit-time capture per |
| 659 | /// active managed agent session while a commit is forming. |
no test coverage detected