One header, a different path through the system
A trajectory is a name carried in a request header. Each service declares what it does differently on that trajectory, configuration adds its own values for it, every policy can see it, and outgoing calls pass it on. Remove the header and the request takes the main path again.
Exchange
Payload
Chosen by anything
The caller can name the trajectory, or a pre-processor can derive it from a tenant, a region or a slice of traffic. Everything after that sees the same header.
Declared where it matters
Services declare their own variants with @ConditionalOnTrajectory, configuration adds a trajectory layer, and workflows can follow it. Whatever declares nothing takes its main path.
Easy to measure, easy to end
Policies can tag logs and metrics with the trajectory to compare it with the main path. Ending the experiment means removing a header mapping, a module and a configuration folder.