Skip to content

v0.16.8

Choose a tag to compare

@github-actions github-actions released this 11 Nov 06:55
· 38 commits to main since this release
  • Refactor: one config parser. setup-workspace, sweep-worktrees,
    worktree-detach and hooks/require-review no longer parse config.toml with
    their own sed; they call scripts/read-config <key>, which prints one resolved
    value (new single-key mode; unknown key → ERROR=unknown-key, exit 2). Before,
    a key under [type_prefix] was read as a top-level setting by those four
    consumers when the real key was missing, so the model and the scripts could see
    different values (for example sweep-worktrees deciding which directory it may
    clean). The hook still never blocks by accident: a missing or failing
    read-config lets the push through. Tests cover the single-key mode and, for
    each consumer, a key that exists only in a [table].