feat(materials): add trace_sessions to AI security context schema

Merged
MA
2mo ago
+130-4

Refs PFM-7126

Summary

Allows the CHAINLOOP_AI_SECURITY_CONTEXT material to carry Chainloop Trace session IDs (session_external_id) declared on a commit via the Chainloop-Trace-Sessions git trailer.

The optional trace_sessions array is added to both the fingerprint (fix commit) and commit_ref (introduced_by entries) definitions of the embedded JSON schema, so a consumer can correlate a security-relevant change to the AI coding session(s) that produced or introduced it. The matching field is added to the Go wire types for symmetry.