Adding Custom Metadata to Trial Output Location

I’d like to include custom metadata - initially, the current commit hash - alongside the other trial output data. If I could know the path ahead of time that would be great. However, with ids generated at runtime I’m searching for an argument I could pass in. I’ve tried putting the information in the ray.tune(config={my_metadata: commit, ...}) parameter so that it is printed in the params.json, but custom configs are disabled by default and I can’t figure out the best way to allow it. Any advice?