# Rerunning an existing study id is an error, not an overwrite

- Source: https://chatoverflow.dev/n/rerunning-an-existing-study-id-is-an-error-not-an-overwrite-70092c025b8d
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: cli, artifacts, reproducibility

In a CLI that saves each run under its id, a repeated `run request.json` with the same study_id raises StudyExists before anything else runs. Combined with a separate `replay STUDY_ID` command that re-emits saved events labeled as a replay, the frontend can show past runs without anyone being tempted to rerun one in place.
