Skip to content

Releases

v0.25.1 — Remote gateway instructions describe how to use expert knowledge notes

Choose a tag to compare

@Sako404 Sako404 released this 22 Nov 00:03
b2d0ffc

Changed

  • The remote gateway's MCP server instructions (returned in initialize)
    gain one paragraph on expert knowledge notes, for vaults that keep them:
    knowledge notes tagged kb:standard, kb:playbook or kb:checklist.
    Clients are told to fetch only the notes relevant to the task with
    get_context and list_notes filtered by tag and status, to treat
    status: current as approved and open as a draft they must name as
    such, to skip superseded notes, and not to read is_current as
    approval. They should cite the stable rule IDs and sources the notes
    give, and keep law apart from guidance, quality standards and
    hypotheses. A decision for the specific project wins unless it would
    break the law or a security requirement. They should do the work with
    their own tools, not copy the notes into their own configuration, and
    offer queue_memory for missing knowledge rather than writing or
    approving a note themselves. The earlier instructions are unchanged.
    No tool, schema, permission, endpoint or search behaviour changes.

Checksums (SHA-256)

85509ae6abeaf49f6d40ce43eea36ebd3318704e50a0b0a105658d84391947ce  sako_brain-0.25.1-py3-none-any.whl
c5c8d8664c2e68863000327fd36199f03ba18fb647e80da4a2f87f85a22256f5  sako_brain-0.25.1.tar.gz

Full history: CHANGELOG.md

v0.25.0 — `brain context` matches projects and events by whole words, and filters by type and tag

Choose a tag to compare

@Sako404 Sako404 released this 20 Nov 21:02
5a1ef1c

Fixed

  • brain context / get_context listed projects and timeline events whose
    id, name, alias or title merely contained a query word: "a" is inside
    many names, so a question such as "Design a website for a client" listed
    nearly every registered project and the ten newest events, while
    "Jaki jest status TRON?" listed no project at all ("tron?" was compared
    with the punctuation). Words are now compared whole, ignoring case,
    diacritics and punctuation, without English or Polish function words. A
    project named outright (its whole name, an alias or its id slug) is listed
    without the projects that only share a word with the question; otherwise a
    shared word of three or more letters still matches, as before. Timeline
    events for a named project are those that name it, narrowed to the ones
    that also share the question's other words when there are any; an unnamed
    question needs one shared word if it has one subject word, two otherwise.
    Words that ask about state ("status", "next", "dalej") never pick a project
    or an event on their own.
  • A question with no subject words left (only function words, auxiliary
    verbs or single letters, e.g. "what is it?", "jak to zrobić?") returns an
    empty context instead of arbitrary notes. Polish function words, Polish
    auxiliary verbs and one-character tokens are dropped from the question
    before the note search; English questions reach the search as before.
    brain search is unchanged.
  • A note is returned only if its title, aliases, text or tags contain the
    question's subject words: all of a one-word question, at least two of a
    longer one, compared as whole words. The search's loosest tier returns a
    note for any single word or shared stem, so "pogoda w Londynie jutro"
    listed every note that says "jutro" and "recipe for pancakes" every note
    that says "recipient".

Added

  • brain context --type T / --tag G, and type / tag on the
    get_context MCP tool: the same exact type and tag filters as
    brain list, applied inside the search so every relevance tier sees only
    matching notes. With --type, the projects section is kept only for type
    project and the timeline only for type event; --tag leaves both
    empty. The response keeps the same five keys.

SHA-256

3f2b86e1d4f8c06de3e1352d24f0a2c9a6c8afd045619ac69235b0131bc6610a  sako_brain-0.25.0-py3-none-any.whl
c156e9e93749a1d0ea8e752870bd9949361c669864777be7b2b74177bb3e1ca6  sako_brain-0.25.0.tar.gz

Full history in CHANGELOG.md.

v0.24.1 — A queued note with an unknown type no longer crashes accept

Choose a tag to compare

@Sako404 Sako404 released this 06 Nov 23:55
e2f0c97

Fixed

  • brain memory add and queue_memory refuse a proposed type outside the
    vault's note types and name the allowed ones. They used to queue it, and
    accept then failed with a traceback.
  • brain memory accept and accept_queued_memory write an entry already
    queued with an unknown type as a fact, and the entry keeps the type that
    was proposed. A vault without the fact type gets a plain refusal and the
    entry stays pending.

Checksums (SHA-256)

71b92922ed816c1e5f986c17d0d87ae61eddc24a516a3b6ab043799915ab012e  sako_brain-0.24.1-py3-none-any.whl
3363c612e335cd1e836fde1ca13652f3fbd9d7bd0265dfa109e46f0da68b6e7d  sako_brain-0.24.1.tar.gz

Full history in CHANGELOG.md.

v0.24.0 — Remove an alias, change a note's title, and doctor reads frontmatter

Choose a tag to compare

@Sako404 Sako404 released this 06 Nov 17:51
713c66a

Added

  • brain project update <id> --remove-alias old removes an alias from the
    record and the registry entry together.
  • brain update <id> --title "New title" rewrites a note's heading, which is
    where titles live. For a project, use brain project update --name.

Changed

  • brain doctor's secret_pattern check now also scans frontmatter, naming the
    field and never the value. It may flag notes written earlier; remove and
    rotate those.
  • --set title= is refused on every note type and points to --title. It
    reported success while the title stayed unchanged. Re-setting a value the
    field already holds stays allowed.

These commands are CLI only; no MCP tool changes.

Checksums (SHA-256)

fdb08bdffe369053dbfadf611a79470340e98ce42c4a70b52f8aa822226ce84d  sako_brain-0.24.0-py3-none-any.whl
968acbece72a09b0f387c0996509e3be74cb1cd766fb76540d2cd349186da89c  sako_brain-0.24.0.tar.gz

See CHANGELOG.md for the full history.

v0.23.1 — Vendor tokens are refused, and --set cannot fake a rename

Choose a tag to compare

@Sako404 Sako404 released this 06 Nov 17:33
4bb7dc6

Fixed

  • The write policy and brain doctor now recognise tokens that stand on their
    own: GitHub, Slack, Stripe live keys, Google, Anthropic, OpenAI, GitLab, npm,
    Hugging Face and JSON Web Tokens. Before, a pasted token was only caught next
    to a word like api_key= or Bearer, so these reached the vault unnoticed.
    brain doctor may now flag notes written earlier; remove and rotate those.
  • On a project record, --set name=, --set title= and --set-json aliases=
    are refused and point to --name and --add-alias. They reported success
    while the listing, the title and alias lookups stayed unchanged.

Checksums (SHA-256)

a883dbabaceef8fd061243082fe73452a71eb9dfd4f7d2a453e0180a0b048d49  sako_brain-0.23.1-py3-none-any.whl
2978064e8e07c552eb2552b8b193a01b56ead2533a80855750e132d0f3e3782c  sako_brain-0.23.1.tar.gz

See CHANGELOG.md for the full history.

v0.23.0 — Rename a project

Choose a tag to compare

@Sako404 Sako404 released this 06 Nov 17:09
caa2a50

Added

  • brain project update <id> --name "New name" --add-alias new-name renames a
    project and adds aliases. Both reach the record and the registry entry
    together, or neither does, so listings, search titles and project lookups
    agree. The id stays the same. An alias used by another project is refused.
    CLI only for now; no MCP tool.

Checksums (SHA-256)

87982d4469af38750d8eeceeae1eeef2769111be9f1fd06834e4644e8956f579  sako_brain-0.23.0-py3-none-any.whl
9c92d50b86055b8dc6a0418f53f7568ade386066c905f20da8e474952b4cd0d7  sako_brain-0.23.0.tar.gz

See CHANGELOG.md for the full history.

v0.22.1 — Search keeps the question's subject and matches whole aliases

Choose a tag to compare

@Sako404 Sako404 released this 23 Oct 17:07
b33176c

Fixed

  • The relaxed tiers that drop one search term at a time now drop the
    term found in the most notes first, so the rarest word, usually the
    subject, is kept longest. "How does the Brain backup work?" put a
    session-close decision first ("Brain" and "work" as in "workflow" in
    its title) because "backup" was dropped before the others.
  • A note whose whole alias is one of the query's terms is promoted like a
    note whose whole title is: "fcc status" and "Jaki jest status fcc?" now
    put the project aliased fcc first. The index keeps each alias in a new
    note_aliases table; an index built by an older version compares
    titles only until its next brain index. Server-side: run brain index
    once after upgrading.

Checksums (SHA-256)

9a32c49cfc1d0dbdd460ecac37792bf89d6edb5073396ac5e098fe492fc8a769  sako_brain-0.22.1-py3-none-any.whl
2160f3245e85d5b4361d6cd2cb735042451faf5df7a504a02dfb84b26b637075  sako_brain-0.22.1.tar.gz

See CHANGELOG.md for full detail.

v0.22.0 — The pending-memory queue works from remote clients

Choose a tag to compare

@Sako404 Sako404 released this 23 Oct 16:42
602ce32

Added

  • Pending-memory entries now carry owner_principal (whoever queued
    them) and audience, read through the same visibility check as notes.
    A caller lists only the entries it may see, and only an entry's owner
    can accept or reject it; being in its audience grants reading only. An
    entry queued before 0.22.0 has no owner field and belongs to the
    default owner (principal:marcin on a standard install), the same
    fail-closed default an un-migrated note gets. An accepted entry becomes
    a note owned by the same principal with the same audience.
  • brain memory goes through the SSH dispatcher: pending and review
    in read mode, add, accept and reject in write mode. Until now the
    dispatcher refused it from every key, so neither the desktop client nor
    the remote gateway could reach the queue at all.
  • MCP tools list_queued_memory (read), accept_queued_memory and
    reject_queued_memory (write), and queue_memory in the MCP bridge, so
    claude.ai and other remote clients can queue and their owner can review.
    queue_memory and brain memory add take --audience/audience.
  • brain memory subcommands take --json; pending and review count
    restricted entries instead of listing them unless --include-restricted.
  • The remote gateway's server instructions say when to queue instead of
    writing, and that accepting is the user's call.

Changed

  • Queueing and accepting a restricted entry need --confirm-restricted
    (confirm_restricted=true over MCP, plus the brain.restricted scope
    through the gateway), like every other restricted write.
  • brain memory add and reject --note run the secret-pattern scan the
    MCP tool already ran.
  • Every change to the queue file holds an exclusive lock in the state
    directory, so concurrent remote writers can no longer lose an entry.

Server- and client-side: deploy the server, then upgrade clients for the
CLI flags and the updated remember skill.

Checksums (SHA-256)

31de29290e4898fac38f6bc9f086b7dc4d3648777d6c1556c66f161919ce20b9  sako_brain-0.22.0-py3-none-any.whl
fc9d3c3459a31906a32c33d97f57df5921f5110c5da5e5511fe3fef8e56a66a5  sako_brain-0.22.0.tar.gz

See CHANGELOG.md for full detail.

v0.21.7 — A Polish title keeps its letters in the new note's id

Choose a tag to compare

@Sako404 Sako404 released this 23 Oct 14:00
601a173

Fixed

  • Ids made from a title (remember, note create, decision create,
    timeline add, memory accept, principal and group ids) dropped every
    non-ASCII letter and split the word there: "słownym" became s-ownym,
    "dowodów" dowod-w. Accented letters now keep their base letter
    (slownym, dowodow), including ones Unicode does not decompose
    (ł, ø, đ, ß → ss, æ → ae). Letters with no Latin base still become a
    separator. Only new ids change; existing notes keep the id in their
    file. Server-side.

Checksums (SHA-256)

d5aa56029d0d4e210e6f41a9f89f2f30d2f7e8d1c1df5f9b290b409043b153bc  sako_brain-0.21.7-py3-none-any.whl
8004e635b8d07ed7a816abc27126f27b2d4f5c7fc944dcffbf3d2bfb88e60c8e  sako_brain-0.21.7.tar.gz

See CHANGELOG.md for full detail.

v0.21.6 — A search that finds nothing is retried in other words

Choose a tag to compare

@Sako404 Sako404 released this 23 Oct 13:36
13a7fc8

Changed

  • brain-recall and find skills: when a search finds nothing relevant,
    retry in the notes' other language, with the base form of an inflected
    word ("dysk" for "dysku") and with synonyms or the technical term,
    before saying the Brain has nothing. brain search matches words, not
    meaning, and its stemmer handles English only, so a Polish question or
    a paraphrase could miss a note that is there. Client-side: re-run
    brain integration install claude-code after upgrading.

Checksums (SHA-256)

dd781c77c45e2356b076f3674051b4b918652ec79ab6c90605200e13af63e80b  sako_brain-0.21.6-py3-none-any.whl
b4d84ad631f2cc7d1cb0fdd7752504e4b0989811749d32fed42a388e8d18b84c  sako_brain-0.21.6.tar.gz

See CHANGELOG.md for full detail.