# cc-steer thresholds refit


Re-fit the gate or watcher served threshold from the live scored-moment distribution.


``` bash
cc-steer thresholds refit [OPTIONS]
```


Reads the recent shadow-ledger score distribution, fits a threshold at the fire budget, and (unless `--dry-run`) mints and promotes a new registry version carrying only the updated threshold -- the promoted artifact bytes are copied verbatim, then the watch agent is kicked.


<span class="gd-details-chevron" aria-hidden="true"></span>Full --help output


    Usage: cc-steer thresholds refit [OPTIONS]

      Re-fit the gate or watcher served threshold from the live scored-moment
      distribution.

      Reads the recent shadow-ledger score distribution, fits a threshold at the
      fire budget, and (unless ``--dry-run``) mints and promotes a new registry
      version carrying only the updated threshold -- the promoted artifact bytes
      are copied verbatim, then the watch agent is kicked.

    Options:
      --component [gate|watcher]   Which stage's served threshold to re-fit.
                                   [required]
      --since TEXT                 Window of live scored moments to fit over, in
                                   days, e.g. 7d.  [required]
      --fires-per-100 FLOAT RANGE  Fire budget the threshold is fit to, per 100
                                   total turns.  [default: 2.0; x>=0.0]
      --dry-run                    Print the fitted threshold and replay without
                                   minting a version.
      --db FILE                    Shadow ledger path. Defaults to ~/.cc-
                                   steer/shadow.db.
      --help                       Show this message and exit.


# Options


`--component: CHOICE`  
**Required.** Which stage's served threshold to re-fit.

`--since: TEXT`  
**Required.** Window of live scored moments to fit over, in days, e.g. 7d.

`--fires-per-100: FLOAT RANGE = 2.0`  
Fire budget the threshold is fit to, per 100 total turns.

`--dry-run`  
Print the fitted threshold and replay without minting a version.

`--db: FILE`  
Shadow ledger path. Defaults to ~/.cc-steer/shadow.db.
