Skip to content

v21.2.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 10:53
· 53 commits to main since this release
Immutable release. Only release title and notes can be modified.
173021f

A minor release. The brain format (version: 8), bf.yaml, the reply schemas, the queue format and the search cache are unchanged; run bf skills DIR to update installed skills.

Fixed

  • Getting started no longer breaks bf.yaml. The guide, the bf-maintain integration example and the bf-use relation example told readers to add kind or supersedes under fields:, which bf init already declares: the duplicate key made every command fail with YAML mapping keys must be unique strings. The guide test now rejects a step that adds an existing entry.
  • bf update stops parallel sensors when cancelled. With two or more due sensors, Ctrl-C or SIGTERM waited for every running sensor to finish, then committed their records; their programs are now killed at once, as with one sensor.
  • A failed collection keeps its expired and forgotten records. They were removed in their own transaction before the new records were written, so a run that then failed with nothing was written had still removed them; both now commit together.
  • bf collect SENSOR --input "" is invalid input. An empty value, as an unset variable gives, ran the sensor and saved records instead of checking a file.
  • An idempotent assistant retries a harness that never started, such as one not on PATH or cancelled by a stopping bf watch, as it retries a failed attempt; the job no longer stays failed.
  • A delivery waits for its backoff. A process that read a delivery just before another one failed it could send it again at once; the delivery is now read again under its lock.
  • Old backlog messages keep their duplicate guard. A pushed message older than 35 days lost the marker that keeps a provider edit from being admitted again.
  • bf forget keeps comments in .forgotten. It rewrote the list from its digests, dropping the owner's # lines; it now appends.
  • A note whose name holds # is not a section. A link to concepts/a.md#x.md showed as a backlink of concepts/a.md.
  • A folder replaced by a link during a scan is reported in problems instead of failing the search or read; a non-UTF-8 bf forget REF is invalid input (exit 2), like other arguments.
  • Smaller cache and validation fixes. An OKF status that is a list or mapping is a bf validate problem instead of a traceback; rebuilding the search cache retries on SQLite's extended busy and locked codes, as it did on the plain ones; and bf status no longer undercounts a source's size after a transient read error.
  • Example programs. Four sensors print one diagnostic line instead of a traceback on deeply nested provider JSON, and the weekly review fails closed on a malformed projects page.
  • Documentation. Troubleshooting quotes the v21 assistant reply errors, the relation and schedule pages match the starter vocabulary and catch-up rules, and reference tables list forget, validate and eval where they apply.

Changed

  • bf forget exits 1 when the refreshed cache skipped files, like bf build and bf update: the records are still forgotten and the reply is unchanged, but a skipped file hides evidence. Run bf validate to name it.
  • Development tools. Python 3.14.10 (still held below 3.15), uv 0.13.7, betterleaks 1.10.0, jactionlint 2.5.0, trivy 0.76.2 and the dprint Markdown plugin 0.28.2; the workflows pin mise 2026.11.3 and jdx/mise-action v5.2.7, and mise.lock uses lockfile revision 4, which needs mise 2026.11.1 or later. Betterleaks scans pass --config .betterleaks.toml, which 1.10 no longer loads by itself. The docs site builds with Zensical 0.1, whose theme ships as the separate Zensical UI distribution, now listed on the site's notices page.
  • Skills. bf-use says to report problems, which need repair, and retry only stale results; its evidence helper gains capture REF --brain PATH --output FILE and compare SAVED REF --brain PATH, so captures run as one literal command. Run bf skills DIR to update installed skills.