]> git.hungrycats.org Git - bees/commit
config: rename [paths]/[reports.*] sections to singular
authorZygo Blaxell <bees@furryterror.org>
Wed, 24 Jun 2026 20:24:16 +0000 (16:24 -0400)
committerZygo Blaxell <bees@furryterror.org>
Sat, 5 Sep 2026 04:04:12 +0000 (00:04 -0400)
commitd5f2f5d3e6ee241aa1fcd647c5ee57400ff86b75
treedf543f0b9edf67955e2b755fc0076dcef0957b7c
parent23229917bf50c67b2c3df8a5a09c7c0b262cd420
config: rename [paths]/[reports.*] sections to singular

Every config section family is singular (thread, throttle, log, state,
scan, filter, hash, rewrite, tempfile, loop) except [paths] and
[reports.*].  The v1 schema is still unpublished, so this is the last
chance to make section names consistent without a compatibility alias or
version bump: rename [paths] -> [path] and [reports.*] -> [report.*].

Only the section token changes, not keys: paths.home -> path.home,
paths.reports -> path.reports (the "reports" key naming the report
directory is unchanged), and reports.<name> -> report.<name>.  The
reporter section enumeration in bees_main is updated to sections("report")
with the matching "report." prefix; bees-context.cc, bees-usage.cc, and
the BeesReportConfig doc comment follow.

While renaming bees-usage.cc, fix a stale key reference: the BEESHOME
environment variable was documented as [paths.beeshome], but the key is
home (".beeshome" is only its default value), so it now reads [path.home].

Docs (config-file.md, running.md, wrong.md) are updated in lockstep;
English prose using "reports"/"paths" as ordinary words is left intact.

Assisted-by: Claude-Code:claude-opus-4-8
docs/config-file.md
src/bees-config-v2.cc