Description
Currently, snapshot storage is tightly coupled with the Client logic. This makes testing difficult.
Requirements
- Use a Cleaner dependency injection pattern for
Registry.
- Pass the registry as an optional argument to the simulation runner.
- Refactor
internal/rpc/client.go to remove snapshot-specific state.
Acceptance Criteria
- Code is more modular and easier to unit test.
- Zero functional regressions.
Estimated File Changes: 3 (internal/rpc/client.go, internal/rpc/simulation.go, internal/rpc/options.go)