Files
reverse-engineering-anything/tests
mpratsakiandClaude Opus 5.5 d4b12d8b93 fix(evidence): stop offering overwrite for outputs that never overwrite
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>
2026-10-22 18:43:15 +00:00
..