Skip to content

kindling v0.4.1

Latest

Choose a tag to compare

@joshuaboys joshuaboys released this 10 Nov 08:59
· 78 commits to main since this release

kindling 0.4.1

Security

  • Bundled SQLite follows rusqlite 0.41 (RUSTSEC-2026-0459).
    kindling, kindling-store, and kindling-provider depend on rusqlite
    0.41 with the bundled feature, which builds libsqlite3-sys 0.39
    (SQLite 3.54.1). The 0.40 line bundled SQLite before 3.54.0. That SQLite can
    return uninitialized page-cache memory when a process opens a database
    together with a sibling -wal file whose page size differs. The workspace
    MSRV is 1.89, which is rusqlite 0.41's minimum.

Fixed

  • Failed capsule closes and observation attachments roll back (GH-165, GH-204).
    A close that fails while storing its summary leaves the capsule without that
    summary, and a failed attachment removes an observation inserted for that
    attempt. An observation that already existed stays in place and can be
    retried.
  • A failed capsule import rolls back that capsule (GH-203).
    When linking observations fails, the import removes the new capsule and its
    links so a repaired bundle can be imported again. Other entities in the same
    import still commit.
  • validate_db_path accepts harmless adjacent dots in database paths.
    Parent-directory rejection now matches .. as a whole / or \ component
    (../x, a/../b, ..\\x, a bare ..), so names such as my..db and
    archive..old/kindling.db can be opened.
  • Hook secret masking redacts padded Basic and Bearer credentials in full (GH-169).
    Base64 padding = is no longer treated as a key/value separator, which kept
    the credential and appended =[REDACTED].
  • Daemon socket cleanup no longer deletes a regular file at the socket path (GH-168).
    Startup removes a leftover Unix socket only, and shutdown unlinks the bound
    socket's inode. A regular file already at that path, or one that replaces
    the socket after bind, is left in place.
  • Hook tool capture and service ingestion sanitize secrets across content, provenance, and scope metadata (GH-170).
    format_tool_content and extract_tool_use_provenance now filter tool
    arguments, errors, shell variable assignments, and URL credentials/query
    parameters; Bash provenance skips leading variable assignments (and omits
    command when only assignments or secrets are present); and
    append_observation_at sanitizes provenance and scope_ids alongside
    content.

Changed

  • Public SQLite errors use rusqlite 0.41.
    StoreError::Sqlite, ProviderError::Sqlite, and CliError::Sqlite keep
    their names. Matching those variants yields rusqlite 0.41's Error.
  • kindling search defaults its repo scope to the current git repository
    (C3).
    Without --repo, search filters on the enclosing git working-tree
    root (git rev-parse --show-toplevel), from any subdirectory; outside a git
    repository no repo filter is applied. A new --all-repos flag searches every
    repository, and an explicit --repo always overrides detection. The log
    and capsule open verbs default their recorded repo scope to the same root
    so CLI round trips stay consistent. The applied scope is shown in
    the text output and in provenance.scopeIds in --json output. The demo's
    suggested search now passes --all-repos, since demo memory has its own
    sample repo ID.