cooldown

Configuration

The policy surface is a single file, cooldown.toml, at the root of your repository. One schema is used everywhere — the same keys mean the same thing for every ecosystem.

The happy path is zero config: the built-in default window is 7 days. Most repositories that configure anything set exactly one line:

min-age = "14d"

cooldown reads its configuration from these places, each overriding the ones before it:

  1. the global file, ${XDG_CONFIG_HOME:-~/.config}/cooldown/config.toml
  2. every cooldown.toml from the repository root down to the project, the nearer one winning
  3. the file --config names
  4. COOLDOWN_* environment variables
  5. command-line flags

Precedence has the full order, with the built-in default and each tool’s native config.

From there you can shape policy along two axes — which layer a value comes from and which selector it targets — resolved by an authority-first model.

  • Basics — the cooldown.toml keys: min-age, latest, freeze, allow, floor, and durations.
  • Precedence — how layers and selectors combine, field by field.
  • Selectors — per-tool, per-registry, and per-package policy.
  • Exclusions — trim folders and packages out of a run.
  • Advisories — the OSV feed: flag security fixes, or give them a shorter window.

Note

When behavior surprises you, two commands are the answer:

Esc

Type # for headings only ↑↓ move ↵ open Ctrl ↵ new tab Ctrl U/D scroll preview

Keyboard shortcuts

/ ⌘ K Ctrl K
Search
← →
Previous or next page
?
Show these shortcuts