Registry stack documentation: machine-readable Markdown.
Index of all pages: https://docs.registrystack.org/llms.txt
Full corpus: https://docs.registrystack.org/llms-full.txt

# bregctl idempotency-retention command reference

> Generated syntax and options for bregctl idempotency-retention.

{/* Generated from crates/registry-cli-docs/catalog.json and the workspace version in Cargo.toml by scripts/generate-cli-reference.mjs. Run npm run generate. */}

Drop held idempotency responses past their receipt horizon using configured migration authority.

## Contract status

This page is generated from the public Clap command tree for Registry Stack source version `0.41.0` and catalog SHA-256 `6218baa1f09ca0316bbe78f6bbe0fde53ecc5ff57f7217a4a80ea4adbaa3378b`. Hidden implementation commands are omitted.

## Usage

```text
bregctl idempotency-retention [OPTIONS] <COMMAND>
```

## Commands

| Command | Description |
| --- | --- |
| [`erase-expired`](./erase-expired/) | Drop held responses past their receipt horizon; every key stays spent and a retry is still refused |

## Options

| Option | Always required | Default | Values | Environment | Description |
| --- | --- | --- | --- | --- | --- |
| `--format <FORMAT>` | No | `human` | `human`, `json` | n/a | Emit the selected command's report in this format |
| `-h, --help` | No | n/a | n/a | n/a | Print help |

## Generation contract

After changing a public command, argument, option, default, environment binding, or help description, run `cargo run --locked -p registry-cli-docs -- --write`, commit `crates/registry-cli-docs/catalog.json`, then run `npm run generate` from `docs/site`.