mirror of
https://github.com/morluto/rea.git
synced 2026-11-09 00:07:18 +00:00
CLI summary delivery (--evidence_output) never replaces an existing
bundle, but its refusal shared the generic "Choose another path or allow
overwrite" message and remediation. inspect-artifact and the other
--evidence_output commands then rejected the suggested --overwrite flag.
The writers took a boolean, so a caller that declined replacement and an
operation that cannot replace looked the same. They now take an
OverwritePolicy ("replace" | "refuse" | "never"), and an existing-file
refusal records the policy that produced it. CLI delivery declares
"never"; evidence-export, export_evidence_bundle and snapshot saves map
their overwrite input to "replace" or "refuse" and keep their guidance.
The projected details are unchanged.
Fixes #5408
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>