Covers both halves of the fix: that the templates reference {{TRAITS}}
and {{EMAIL}}, and that a created agent ends up with the rendered values.
Includes the no-flag case — omitting --traits must leave an empty string,
since the identity hook skips the line when falsy and a missing key would
change existing behaviour.
All five fail against the pre-fix templates.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>