These should be user extension Traits, and the ComponentGraph builder should provide optional add_ functions for these.
One example already being used in a lower-level way is replacing placeholders in the provided config with env var values at graph build time.