Append a `shadow-validate: ` entry to `.atomic/hook-errors.log` (SPEC §6.5) so a non-interactive shadow push that a Validator rule aborts leaves a durable, greppable trail instead of failing silently.
(repo_root: &Path, rule: &str, view: &str, detail: &str)
| 2151 | /// §6.5) so a non-interactive shadow push that a Validator rule aborts leaves a |
| 2152 | /// durable, greppable trail instead of failing silently. |
| 2153 | pub(crate) fn append_shadow_validate_log(repo_root: &Path, rule: &str, view: &str, detail: &str) { |
| 2154 | append_shadow_log( |
| 2155 | repo_root, |
| 2156 | &format!("shadow-validate:{}", rule), |
| 2157 | view, |
| 2158 | detail, |
| 2159 | ); |
| 2160 | } |
| 2161 | |
| 2162 | /// Append one tagged `.atomic/hook-errors.log` line. Best-effort: log I/O errors |
| 2163 | /// are ignored (the operation already surfaces its own outcome). |
no test coverage detected