fix(cli): fail attestation add on a duplicate material name
chainloop attestation add silently overwrote a material when another material with the same name was added to the same attestation. Only the last piece of evidence was kept.
With this change, adding a material whose name is already in the attestation fails with an error that tells the user to use a different --name or to pass --replace. The new --replace flag on attestation add keeps the previous overwrite behavior on purpose, the same way attestation init --replace does. The rule applies to materials in the contract, to materials not in the contract, and to materials whose kind is detected automatically. The duplicate is rejected before anything is uploaded.
Evidence that the CLI generates by itself (PR/MR metadata, AI agent configuration, and Chainloop Trace materials) keeps overwriting by name, so its behavior does not change.
Closes #3824
This contribution was made with AI assistance (Claude Code).