SERVER-139139ClosedFixed
Extract model-agnostic FSM walk into FsmCommandGenerator base class
Extract the randomized graph walk of {{ShardingCommandGenerator}} into a model-agnostic base class, so a transaction-centric generator can subclass it instead of copying ~200 lines of walk. h2. Scope of Work * Create {{jstests/libs/util/change_stream/change_stream_fsm_command_generator.js}} — {{{}FsmCommandGenerator{}}}: {{{}constructor(seed){}}}/{{{}getSeed(){}}}, {{generateCommands(model, params)}} (BFS all-pairs shortest paths precompute, unvisited-edge iteration: random unvisited self-loo