]> git.hungrycats.org Git - bees/commit
config: boot defaults from CURRENT rather than STABLE
authorZygo Blaxell <bees@furryterror.org>
Sat, 29 Aug 2026 18:39:47 +0000 (14:39 -0400)
committerZygo Blaxell <bees@furryterror.org>
Sat, 5 Sep 2026 04:03:59 +0000 (00:03 -0400)
commitdcd6c1d08e1571dc672c847c4bd60171cff58bf7
treecc3e102f2a42f19e0b86782c8aa3fec14fd9b63d
parent2618c7f9822ed1e4f4dc2ba80869107c865312b9
config: boot defaults from CURRENT rather than STABLE

Which version a build uses when nothing has selected one was STABLE, the
most recently released schema.  That is the wrong answer for it.  A build
defaults to the schema it was written around, and between releases that
is the one under development, not the one the last release shipped.
Booting from STABLE makes every default a development branch changes
inert unless a config file opts in, which is backwards: the departures
are the point of a development branch.

Boot from CURRENT instead.  This needs no notion of whether the build is
a tagged release: at a release the two constants name the same schema, so
a release build boots the released defaults by the same rule, and they
part company again only as development resumes.

Nothing changes today, because the two schemas are still identical.  It
matters from the first key version 2 adds, and selecting version 1 keeps
working because a version resolves through its chain.

Assisted-by: Claude-Code:claude-opus-5
Signed-off-by: Zygo Blaxell <bees@furryterror.org>
docs/config-file.md
src/bees-config.cc
src/bees-config.h