Repository navigation
v29.0.1
·
11 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
A patch release fixing mise-shim execution for rg and jq, hardening jq, bf mcp, .bf//logs/, and example sensor/service confinement, improving bf watch and scheduler reliability, and adding shim smoke checks to package verification. The brain format (version: 14), bf.yaml, memories/**/*.json, and the published JSON Schemas (schemas/{bf.schema.json,record.json,concepts.json,evals.json}) are unchanged; no brain upgrade step is needed from v29.0.0.
Fixed
- Unwrapped
miseshims forrg/jqand failed closed onrgexit1with stderr.query.resolve_tool()now resolvesmiseshims fromcwd="/"with a confined environment (falling back to minimal non-secret shim env vars only for wrapper scripts),bf queryandbf_queryreportrgruntime failures instead of silently returning0hits,bf query --jqclassifies corrupt JSON and wrapper/tool failures as exit1(Error), andjobs.pending_events()catchesjqtimeouts, preserves trailing#comments in filters, tolerates heterogeneousnullevent batches, and isolates filter errors per job during--dueticks. - Read-only
bf status/bf_status, concurrent cursor safety, andbf watch/ validation reliability.status_summaryandlatest_event_seqno longer create.bf/when absent,run_jobschecks.bf/events.jsonllazily on idle ticks and prevents concurrent or post-reset cursor corruption,watch.servefixeswake_eventlost-wakeup and shutdown races and drains stderr viaselect.poll()/os.readinstead of unlinked temporary files,bf initrejects symlink destinations,bf buildandbf readkeep note caching safe forbf:///and uppercaseBF://links,bf validateenforceskind == "memory"on sensor records and caches cross-brain anchors and local existence checks,bf reviewskips authored directories during sensor scans,extract_section()handles spaceless ATX headings and reference-link definitions, and YAML 1.2 boolean parsing rejects mixed-case literals (TrUe). - Docs, package smoke tests, typing, and dev-tool sync. Added wrapper-script and
mise-shim smoke checks toscripts/test_package.py, replaced untyped**opts: Anykwargs insrc/bf/jobs.pywith typedTypedDict/Unpackoptions, fixedexamples/brain/services/local.pyempty-truncation offset reset, updatedexamples/README.md,src/bf/guides/{authoring,operations}.md,skills/bf/SKILL.md, andcli.py--allow-removalhelp to matchversion: 14, queuedv30.0.0schema-narrowing cleanups inGOVERNANCE.md, and upgraded pinnedmisetools (betterleaks,dprint,jactionlint,uv) anddprintplugins.
Security
- Hardened
jq$ENVshadowing, privatelogs//.bf/events.jsonlI/O, secret redaction, link/envelope validation, and example sensors/services.JQ_PRELUDEnow shadows bothenvand$ENV({}),Store.append_log()eliminates a0755logs/recreation TOCTOU,.bf/events.jsonlusesO_NONBLOCK | O_NOFOLLOWand unbuffered full appends,records.parse_batch_envelope()rejects unknown keys inincompletedicts,_normalize_record_links()andmarkdown.record_link_problem()reject unknown link keys, mismatched kinds, traversal/control characters, and unsafe URL schemes,models.redact_secrets()masks prefixed secret env names (DB_PASSWORD,AWS_SECRET_ACCESS_KEY,GOOGLE_CLIENT_SECRET,SECRET_KEY,AWS_SESSION_TOKEN) andAuthorization: Basicheaders,bf mcpredacts unresolvable relativebrains:roots and URI authority variants in linearO(N)time, andexamples/{sensors,brain/services}hardengit-history.pyobject/alternate auditing (preserving worktrees and rejecting whitespace parser differentials),local-documents.pyZIP decompression caps,github-issues.pytitle andgithub-issues.py/agent-telemetry.pysecret redaction, andlocal.pyO_NOFOLLOWstate directory checks.