]> git.hungrycats.org Git - bees/commit
config: separate frozen version aliases from tracking ones
authorZygo Blaxell <bees@furryterror.org>
Sat, 29 Aug 2026 18:36:56 +0000 (14:36 -0400)
committerZygo Blaxell <bees@furryterror.org>
Tue, 6 Oct 2026 05:51:40 +0000 (01:51 -0400)
commite4befb0d7d7dbc10e8838d1cbabb6301a7663ecc
treea0a90b53a9dbfaab0335216557e77f26b4ecf758
parent34c427088f0bc555de71a1a534ded8b980fce8d2
config: separate frozen version aliases from tracking ones

The alias table maps every name to a version string, which makes two
quite different kinds of name look identical at the point of use.
STABLE and CURRENT resolve through build constants, so what they name
changes when a constant is bumped; v0.11 names one fixed schema and will
go on naming it however far development moves ahead.

That difference does not matter while a name is only ever a choice a
person makes in a config file.  It starts to matter as soon as a name can
be stored in structure that outlives the build that read it -- a schema's
inheritance edge, for one, where an edge written as CURRENT would
silently re-parent itself when the constant moved, and become a self-edge
once CURRENT reached that schema.

Record the distinction in the table rather than leaving it to be
rediscovered.  No behaviour changes.

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