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)
| 351 | /// §6.5) so a non-interactive shadow push that a Validator rule aborts leaves a |
| 352 | /// durable, greppable trail instead of failing silently. |
| 353 | pub(crate) fn append_shadow_validate_log(repo_root: &Path, rule: &str, view: &str, detail: &str) { |
| 354 | append_shadow_log( |
| 355 | repo_root, |
| 356 | &format!("shadow-validate:{}", rule), |
| 357 | view, |
| 358 | detail, |
| 359 | ); |
| 360 | } |
| 361 | |
| 362 | /// Append one tagged `.atomic/hook-errors.log` line. Best-effort: log I/O errors |
| 363 | /// are ignored (the operation already surfaces its own outcome). |
no test coverage detected