On this page
- [0.37.1] — 2026-11-23
- [0.37.0] — 2026-11-23
- [0.36.0] — 2026-11-22
- [0.35.0] — 2026-11-21
- [0.34.0] — 2026-11-20
- [0.33.0] — 2026-11-19
- [0.32.0] — 2026-11-18
- [0.31.0] — 2026-11-17
- [0.30.0] — 2026-11-16
- [0.29.0] — 2026-11-15
- [0.28.1] — 2026-11-14
- [0.28.0] — 2026-11-14
- [0.27.1] — 2026-11-13
- [0.27.0] — 2026-11-13
- [0.26.0] — 2026-11-12
- [0.25.2] — 2026-11-11
- [0.25.1] — 2026-11-11
- [0.25.0] — 2026-11-10
- [0.24.0] — 2026-11-09
- [0.23.0] — 2026-11-08
- [0.22.0] — 2026-11-07
- [0.21.0] — 2026-11-06
- [0.20.1] — 2026-11-05
- [0.20.0] — 2026-11-05
- [0.19.0] — 2026-11-04
- [0.18.0] — 2026-11-03
- [0.17.1] — 2026-11-02
- [0.17.0] — 2026-11-01
- [0.16.0] — 2026-10-31
- [0.15.0] — 2026-10-30
- [0.14.0] — 2026-10-29
- [0.13.0] — 2026-10-28
- [0.12.1] — 2026-10-27
- [0.12.0] — 2026-10-27
- [0.11.1] — 2026-10-26
- [0.11.0] — 2026-10-25
- [0.10.0] — 2026-10-24
- [0.9.0] — 2026-10-23
- [0.8.7] — 2026-10-22
- [0.8.6] — 2026-10-21
- [0.8.5] — 2026-10-21
- [0.8.4] — 2026-10-21
- [0.8.3] — 2026-10-20
- [0.8.2] — 2026-10-17
- [0.8.1] — 2026-10-17
- [0.8.0] — 2026-10-17
- [0.7.15] — 2026-10-16
- [0.7.14] — 2026-10-15
- [0.7.13] — 2026-10-15
- [0.7.12] — 2026-10-14
- [0.7.11] — 2026-10-13
- [0.7.10] — 2026-10-12
- [0.7.9] — 2026-10-11
- [0.7.8] — 2026-10-10
- [0.7.7] — 2026-10-09
- [0.7.6] — 2026-10-08
- [0.7.5] — 2026-10-07
- [0.7.4] — 2026-10-07
- [0.7.3] — 2026-10-06
- [0.7.2] — 2026-10-05
- [0.7.1] — 2026-10-04
- [0.7.0] — 2026-10-03
- [0.6.1] — 2026-10-01
- [0.6.0] — 2026-10-01
- [0.5.2] — 2026-09-29
- [0.5.1] — 2026-09-28
- [0.5.0] — 2026-09-28
- [0.4.1] — 2026-09-28
- [0.4.0] — 2026-09-28
- [0.3.2] — 2026-09-28
- [0.3.0] — 2026-09-26
- [0.2.0] — 2026-09-26
- [0.1.0] — 2026-09-26
- Links
Troubleshooting
Changelog
[0.37.1] — 2026-11-23
Fixed
- Dedup manifest race under concurrent ingest (security audit F1, CWE-362):
record_ingesteddid an unlocked load → mutate →write_texton<bundle>/.okfsmith/manifest.json, so two ingests into the same bundle running at once — the dashboard's 4-worker job pool, or a CLI ingest racing the dashboard — could lose each other's records (last write wins), and overlapping writes could tear the JSON, whichload_manifestthen silently degraded to empty: all dedup state for the bundle gone, and already-ingested files no longer recognized on re-ingest. The manifest read-modify-write now runs under a per-bundle lock (an in-process per-path lock plus anO_CREAT | O_EXCLlock file reclaimed with the sync lock's live-PID staleness discipline) and the write is atomic (temp file +os.replace).unrecord_digesttakes the same lock, so a record/unrecord pair cannot lose updates either. Pinned by threaded regression tests intests/test_parsers.py(barrier-released parallel rounds: no lost records, manifest always valid; both fail on the pre-fix code). - Dashboard
_sync_workerpublished "done" before refreshing the registry: the exact ordering 0.27.1 reversed in_ingest_worker— a client polling the sync job todonecould immediately read the pre-refresh registry snapshot.registry.refresh()now runs beforejob.finish(...), matching the ingest worker.
[0.37.0] — 2026-11-23
Added
- MCP
diffgainsas_oftemporal replay:diffwas the last MCP read tool without one (indexreturns rawindex.mdtext, so replay does not apply there) — every other read tool could replay validity and supersession at a past or future instant, butdiffevaluated every temporal status at now, so an agent asking "what changed before this policy was superseded?" got the present's answers on every row: an added replacement read exactly like a live concept and a removed original read exactly like a current one. The new optionalas_of(ISO-8601 date or datetime, last in the signature so historic positional calls keep working) replays each row's temporal status at that instant instead of now — an added, removed, or changed concept that is non-current at the instant carries its status on its row (_(superseded bypolicy-v2)_/_(expired)_/_(not yet valid)_), and the replay instant is labeled (_Replayed as of …._) like the other read tools. Removed concepts are evaluated against the combined supersession graph of both bundles, so a superseder that only exists in the current bundle still counts; in the sync-state mode a removed concept has no frontmatter on file, so its row carries no note. A blankas_ofis ignored (evaluates at now, as before); an unparseable one returns a clean error, never an exception — the same wording the other tools already return. Pinned by tests intests/test_mcp_expansion.py(TestDiffAsOf, bothagainstand sync-state modes). Docs:mcp.md,temporality.md, and the MCP server README describe the replay (and the README gains the previously missingdiffrow); docs site rebuilt; website and man-page version strings move to 0.37.0.
[0.36.0] — 2026-11-22
Added
- MCP
neighborsgainsas_oftemporal replay:list,search,get,traverse,provenance, andvalidatecould all replay validity and supersession at a past or future instant, butneighbors— the tool that shows a concept's outgoing links and incoming backlinks — evaluated every temporal status at now, so an agent asking "which concepts did this policy link to before it was superseded?" got the present's answers on every row: a link to a superseded concept read exactly like a link to a current one. The new optionalas_of(ISO-8601 date or datetime, last in the signature so historic positional calls keep working) replays each row's temporal status at that instant instead of now — an outgoing target or incoming source that is non-current at the instant carries its status on its row (_(superseded bypolicy-v2)_/_(expired)_/_(not yet valid)_), the center concept carries a note line when it is non-current (_Note: **policy-v1** is superseded bypolicy-v2._), and the replay instant is labeled (_Replayed as of …._) like the other read tools. A blankas_ofis ignored (evaluates at now, as before); an unparseable one returns a clean error, never an exception — the same wording the other tools already return. Pinned by tests intests/test_mcp.py(TestNeighborsAsOf). Docs:mcp.md,temporality.md, and the MCP server README describe the replay; docs site rebuilt; website and man-page version strings move to 0.36.0.
[0.35.0] — 2026-11-21
Added
- New MCP
validatetool — the MCP analogue ofokfsmith validate:index,list,search,get,neighbors,traverse,provenance, anddiffcould all read the bundle over MCP, but an agent connected over MCP could not check it — conformance (E001–E004) and the advisory warnings (W001–W020) were CLI-only, so an agent had to shell out to ask "is this bundle conformant?" The new read-onlyvalidatetool runs the sameokfsmith.validate.checkthe CLI runs, over the same on-disk bundle, so the verdict never disagrees with the CLI's: a status line up top ("Conformant: no errors, no warnings." / "Conformant with N warning(s)." / "INVALID: …"), then## Errors/## Warningssections with one row per finding (code—file— message), the concept count, and evidence-budget paging (max_chunks/max_tokens/continuation_token) like the other read tools.stricttreats warnings as failures, like the CLI's--strictflag, andas_of(ISO-8601 date or datetime) replays the two clock-dependent warnings — W006 (content stale:stale_afterhas passed) and W020 (last_verifiedlies in the future) — at that instant instead of now, labeled "_Validated as of …._" like the CLI's line, so an audit can ask "was this bundle conformant, and stale, in June 2025?" A blankas_ofis ignored (evaluates at now, as before); an unparseable one returns a clean error, never an exception — the same wordinglist/search/getalready return. Pinned by tests intests/test_mcp.py(TestValidate). Docs:mcp.md,cli.md,temporality.md,skill.md, and the MCP server README list the thirteenth tool (nine read tools now); docs site rebuilt; website and man-page version strings move to 0.35.0.
[0.34.0] — 2026-11-20
Added
- MCP
traverseandprovenancetools gainas_oftemporal replay — the last MCP read tools to get it:searchandlistcould already replay at a past/future instant (0.30.0),getfollowed (0.31.0), and the CLI'sgraph --as-of(0.28.0) and the dashboard graph's?as_of=(0.29.0) could too — but the MCPtraversetool hid superseded concepts, sorted by currency, and annotated temporal notes all at now, andprovenancestamped its temporal status line at now as well, so an agent walking the link graph or tracing a concept's provenance at a past date got the present's partitioning. Both tools now acceptas_of(ISO-8601 date or datetime) as their last parameter and evaluate validity windows and supersession chains at that instant; the replay instant is labeled ("_Replayed as of …._") so a replay never reads as the present. A blankas_ofis ignored (evaluates at now, as before); an unparseable one returns a clean error, never an exception — the same wordinglist/search/getalready return. Pinned by tests intests/test_mcp.py(TestTraverseAsOf,TestProvenanceAsOf).
[0.33.0] — 2026-11-19
Added
chatgains--as-oftemporal replay — the last interactive surface to get it:search,list,read,graph, andevalcould already replay at a past/future instant (0.28.0), the dashboard read endpoints could too (0.29.0), the MCPlist/gettools followed (0.30.0 / 0.31.0),validatefollowed (0.32.0), and the dashboard chat session already acceptedas_of— but the interactive CLI chat answered every question at now: its/searchslash command had a per-query--as-of, yet the Q&A retrieval itself,/list,/read,/validate, and/graphhad no session replay at all, so "what did the bundle say about refunds in October 2026?" had no answer in a chat session.okfsmith chat ./kb --as-of 2026-10-01now replays the whole session at that instant: answers,/list,/read,/searchwhen it carries no--as-ofof its own,/validate, and/graphevaluate validity windows and supersession chains at that instant instead of now (a per-query--as-ofstill wins over the session instant). The banner labels the replay instant ("Replaying as of …") and the no-match message does too, so an answer never reads as the present. A garbage--as-ofis a usage error (exit 2), like the other replay flags. The session engine gains the same replay asChatSession(as_of=...)/run_chat(as_of=...), so programmatic callers can replay too without touching the CLI. Pinned by tests intests/test_chat_asof_replay.py.
[0.32.0] — 2026-11-18
Added
validategains--as-oftemporal replay — the last CLI surface to get it:search,list,read,graph, andevalcould already replay at a past/future instant (0.28.0), the dashboard read endpoints could too (0.29.0), and the MCPlist/gettools followed (0.30.0 / 0.31.0) — butvalidateevaluated its two clock-dependent warnings only at now, so "was this bundle conformant, and stale, in June 2025?" had no answer.okfsmith validate ./kb --as-of 2025-06-01now evaluates W006 (content stale:stale_afterhas passed) and W020 (last_verifiedlies in the future) at that instant instead of now; every other rule is time-independent, so a replay changes only those two codes. The JSON envelope reports the evaluated instant asas_ofwhen the flag is given (and omits the key otherwise, so plain output is byte-identical to before), and text output labels a replay ("Validated as of …") so it never reads as the present. A garbage--as-ofis a usage error (exit 2), like the other replay flags. The validator library gains the same replay ascheck(as_of=...), sorun_checkscallers can replay too without touching the CLI. Pinned by tests intests/test_cli_asof_replay.py(TestValidateAsOf) andtests/test_temporal.py(test_check_as_of_replays_clock_dependent_warnings).
[0.31.0] — 2026-11-17
Added
- MCP
gettool gainsas_oftemporal replay — and now flags non-current concepts:searchandlistcould already replay at a past/future instant (0.30.0), and the CLI'sread --as-of(0.28.0) and the dashboard concept detail's?as_of=(0.29.0) could too — but the MCPgettool returned the document bare even for a superseded concept, so an agent reading one concept in full got no temporal status at all and no way to ask what the bundle believed about it at a past date.getnow acceptsas_of(ISO-8601 date or datetime) and evaluates validity windows and supersession chains at that instant; a non-current concept carries a note line under the document ("_Note: policy-v1 is superseded bypolicy-v2._"), evaluated at the replay instant when one is given and at now otherwise, and the replay instant is labeled on the note (or on a "_Replayed as of …._" line when the concept is current at that instant), like the CLI's JSON envelopeas_of. A blankas_ofis ignored (evaluates at now, as before); an unparseable one returns a clean error, never an exception — the same wordinglistandsearchalready return. The parameter sits last in the signature so historic positional calls keep working, and current concepts still read byte-identical to before. Pinned by tests intests/test_mcp.py(TestGetAsOf).
[0.30.0] — 2026-11-16
Added
- MCP
listtool gainsas_oftemporal replay:searchcould already replay at a past/future instant, and the CLI'slist --as-of(0.28.0) and the dashboard listing's?as_of=(0.29.0) could too — but the MCPlisttool evaluated temporal status only at now, so an agent asking "what did the bundle believe in October 2026?" got the present's answers on every row.listnow acceptsas_of(ISO-8601 date or datetime) and evaluates validity windows and supersession chains at that instant; the listing title reports the evaluated instant ("Concepts (N), as of ..."), like the CLI's JSON envelopeas_of. A blankas_ofis ignored (evaluates at now, as before); an unparseable one returns a clean error, never an exception — the same wordingsearchalready returns. The parameter sits last in the signature so historic positional calls keep working. Pinned by tests intests/test_mcp.py(TestListAsOf).
[0.29.0] — 2026-11-15
Added
- Dashboard read endpoints gain
?as-of=temporal replay:GET /api/v1/search(and/snapshot) could already replay at a past/future instant, but the concepts listing (GET /api/v1/bundles/{id}/concepts), the concept detail (GET /api/v1/bundles/{id}/concepts/{concept_id}), and the graph (GET /api/v1/bundles/{id}/graph) evaluated temporal status only at now — "what did the bundle believe in October 2026?" had no answer there, even though the CLI'slist/read/graphgained--as-ofin 0.28.0. All three now accept?as_of=(ISO-8601 date or datetime) and evaluate validity windows and supersession chains at that instant; each envelope reports the evaluated instant asas_of, like/search. A blankas_ofis ignored (evaluates at now, as before); an unparseable one is a400 bad-as-of, the same error the search endpoint already returns. The shared parsing now lives in one helper (_replay_at), which/searchuses too. Pinned by tests intests/test_dashboard_api.py(TestReadEndpointsAsOfReplay).
[0.28.1] — 2026-11-14
Fixed
- CI-only test failure in the 0.28.0 replay tests: the invalid-
--as-oftest asserted theBadParameterwording verbatim, but on GitHub Actions Typer colorizes and wraps its rich error panel (it forces terminal output whenGITHUB_ACTIONSis set), so the plain substring never matched — 1 of 12 CI test jobs failed while the suite passed locally (TERM=dumbdisables color there). The test now strips ANSI escapes and collapses whitespace before asserting the wording. No shipped code changed; the 0.28.0 feature itself was already green everywhere else (install-check and Pages passed on the 0.28.0 commit).
[0.28.0] — 2026-11-14
Added
list,read, andgraphgain--as-oftemporal replay:search/eval/ chat / MCP could already replay at a past/future instant, but the other three inventory surfaces evaluated temporal status only at now — "what did the bundle believe in 2019?" had no answer there. Nowokfsmith list ./kb --as-of 2025-06-01,okfsmith read ./kb <id> --as-of 2025-06-01, andokfsmith graph ./kb --as-of 2025-06-01evaluate validity windows and supersession chains at that instant in every output format (text, JSON, Mermaid, and the HTML viewer). Each JSON envelope reports the evaluated instant asas_of(likesearch), and the HTML viewer labels a replay ("as of …") in its header stats so a replayed viewer never reads as the present; without the flag the viewer keeps its exact previous stats line. A garbage--as-ofvalue is a usage error (exit 2), likesearch/eval. The shared--as-ofparsing now lives in one helper (_parse_as_of), which also accepts Typer'sOptionInfosentinel so chat's/listand/read— which call the commands directly — keep working. Pinned by tests intests/test_cli_asof_replay.py.
[0.27.1] — 2026-11-13
Fixed
- Ingest job reported "done" before its junk-bundle cleanup ran — a zero-concept upload to a new bundle finished the job and only then removed the just-created empty directory, so a poller could observe "done" while the junk directory was still on disk (seen once on CI, ubuntu-latest / Python 3.13). The cleanup and registry refresh now run before
job.finish(...), so "done" is only published once the workspace is in its final state.
[0.27.0] — 2026-11-13
Added
- Viz HTML graph shows temporal status — the interactive viewer (
okfsmith graph --format html) is the last surface to carry the temporal status the other surfaces already show. Nodes carrytemporal_statusandsuperseded_by; non-current nodes are struck through on the canvas (a shape channel, never color alone), get a temporal badge in the detail panel, are counted in the header stats, and are named in the screen-reader concept list. Plain bundles show no non-current count and no strike-through legend row.
[0.26.0] — 2026-11-12
Added
- Graph nodes show temporal status —
okfsmith graphnow carries the same temporal status thesearch/list/readsurfaces (and the dashboard graph API) already show. JSON nodes carrytemporal_statusandsuperseded_by; the text report lists non-current concepts; Mermaid labels mark them. Plain bundles print byte-identical output to before.
[0.25.2] — 2026-11-11
Fixed
- Docs-changelog checker tests failed on macOS/Windows — the tmp fixtures used
CHANGELOG.mdandchangelog.md, which are the same file on case-insensitive filesystems. Fixtures now use distinct basenames (root-changelog.md/docs-changelog.md).
[0.25.1] — 2026-11-11
Fixed
- Docs changelog backfill — the docs changelog listed only 9 of the 55 released versions, jumping from 0.25.0 straight to 0.7.1. All 56 versions (55 released + docs-only 0.4.0) are now present.
Added
- CI check that the docs changelog stays complete — a new
scripts/check_docs_changelog.pyfails the build if any version in rootCHANGELOG.mdis missing fromdocs/src/changelog.md.
[0.25.0] — 2026-11-10
Added
- MCP
searchhits andlistrows show temporal status — a non-current row now reads_(superseded by<id>)_,_(expired)_, or_(not yet valid)_, evaluated at theas_ofreplay instant when one is given. Previously a superseded concept revealed withinclude_superseded=True, or listed outright, read exactly like a current one.
[0.24.0] — 2026-11-09
Added
- Graph nodes show temporal status:
GET /api/v1/bundles/{id}/graphnow returns the same explicittemporal_statusandsuperseded_byper node that the concepts listing, the concept detail endpoint, and the/searchhits already carry, evaluated at now through the shared supersession index — and the dashboard graph canvas rings a non-current node (superseded, expired, or not yet valid) with a dashed outline, explained by a "not current" legend entry.
[0.23.0] — 2026-11-08
Added
- Concepts listing rows show temporal status:
GET /api/v1/bundles/{id}/conceptsnow returns the same explicittemporal_statusandsuperseded_byper item that the/searchhits and the concept detail endpoint already carry, evaluated at now through the shared supersession index — and the dashboard chat's/searchand/listslash commands pass both fields through to their citation chips.
[0.22.0] — 2026-11-07
Added
- Chat citation chips show their concept's sources:
GET /api/v1/searchnow returns the same explicitsourceslist per hit that the concepts listing, the concept detail endpoint, and the chat message citations already carry, and the dashboard chat's/searchand/listslash commands pass it through to their citation chips instead of building them with a hardcodedsources: [].
[0.21.0] — 2026-11-06
Added
- Dashboard concept detail views show temporal status:
GET /api/v1/bundles/{id}/concepts/{concept_id}now returns the same explicittemporal_statusandsuperseded_byfields the/searchhits already carry, evaluated at now through the shared supersession index — and both detail views (the Explore graph's detail panel and the concept modal opened from a search hit) pill it in the meta row.
[0.20.1] — 2026-11-05
Fixed
- Man page version pin missed in 0.20.0: the 0.20.0 release bumped
pyproject.tomland the project website but notman/okfsmith.1, sotest_man_page_states_current_versionfailed and CI went red on the release commit (the man page also ships in the sdist, so the published 0.20.0 sdist carried the stale header).
[0.20.0] — 2026-11-05
Added
- Dashboard Explore search gains an "Include superseded" toggle:
GET /api/v1/searchhas hidden superseded matches by default since the temporal replay landed, reporting them only as asuperseded_hiddencount — but the Explore page neither passed the API's?include_superseded=flag nor read that count, so a search whose only matches were superseded looked like it matched nothing, and those matches were unreachable from the dashboard without the CLI or chat.
[0.19.0] — 2026-11-04
Added
- Dashboard concept detail views show trust tier and type:
GET /api/v1/bundles/{id}/concepts/{concept_id}now returns the same explicittrust_tierandtypefields the listing and/searchresponses already carry, and both detail views — the Explore graph's detail panel and the concept modal opened from a search hit — pill the real trust tier (human-reviewedgreen,machine-confirmedamber,unverifiedmuted) and show the type next to it.
[0.18.0] — 2026-11-03
Added
- Dashboard Explore search gains type and trust-tier filters:
GET /api/v1/searchhas accepted?type=/?trust_tier=since 0.14 (the dashboard analogue ofokfsmith search --type/--tier), but the Explore page never exposed them, so narrowing a search meant re-running it on the CLI or in chat.
[0.17.1] — 2026-11-02
Fixed
- Dashboard Explore search hits showed an "unknown" trust pill: the hit row rendered
tierPill(r.tier), butGET /api/v1/searchnever returns atierfield — its trust field istrust_tier(tieris the high/medium/low recency bucket the concept endpoints return).
[0.17.0] — 2026-11-01
Added
- Chat
/listgains--typeand--tierfilters (inventory filter parity): the chat listing was the only concept-inventory surface that could not narrow at all —okfsmith list --type/--tier, the MCPlisttool'sfilter_type/tier_filter, and the dashboard listing's?type=/?trust_tier=already could — so browsing a large bundle from the REPL meant paging through everything.
[0.16.0] — 2026-10-31
Added
- MCP
listtool gains atier_filterparameter (inventory filter parity): the MCPlisttool was the only concept-inventory surface that could not narrow by trust tier —okfsmith list --tierand the dashboard listing's?trust_tier=already could, and the MCPsearchtool already hadtier_filter— so an agent listing a bundle could not ask for just the human-reviewed (or just the unverified) concepts without fetching the whole inventory and filtering itself.
[0.15.0] — 2026-10-30
Added
- Dashboard concept listing gains type and trust-tier filters:
GET /api/v1/bundles/{id}/conceptswas the only concept-inventory surface that could not narrow by frontmattertypeor trust tier —okfsmith list --type/--tierand the MCPlisttool'sfilter_typealready could — and it did not even report those two fields, so a dashboard client could not show them without an extra call per concept.
Fixed
- Project website dashboard caption no longer claims a version the screenshot does not show: the caption under the dashboard screenshot said "The screenshot shows okfsmith v0.8.7", but the screenshot itself carries a v0.8.6 badge.
[0.14.0] — 2026-10-29
Added
- Dashboard search hits now carry type, trust tier, and temporal status:
GET /api/v1/searchresults previously returned onlybundle_id,concept_id,title,snippet, andscore— a dashboard client could not tell a current hit from a superseded, expired, or future one, or show its type/tier, without an extra call per hit, whileokfsmith search --format jsonalready reported all of it.
[0.13.0] — 2026-10-28
Added
- Chat REPL
/searchgains--limit/-n(limit parity): the chat was the only one of the four search interfaces without a result cap — the CLI has-n/--limit, the MCPsearchtool haslimit, and the dashboard search has?limit=, but chat hardcoded 10 results.
[0.12.1] — 2026-10-27
Fixed
- Man page and project website now state the current release: the 0.12.0 release bumped
pyproject.tomlbut leftman/okfsmith.1("okfsmith 0.11.1") anddocs/site/index.html("Latest release v0.11.1") stale, which thetest_packaging.pyversion pins caught as a CI failure on the 0.12.0 commit.
[0.12.0] — 2026-10-27
Added
- Type/tier filter parity across all four search interfaces: the CLI's
search --type/--tierflags (and their filter-before-limit semantics from 0.11.1) now exist everywhere else too — the MCPsearchtool gainstype_filter/tier_filterparameters, the chat REPL's/searchgains--type/--tierflags (either form, anywhere in the argument, like--as-of), and the dashboardGET /api/v1/searchgains?type=/?trust_tier=query parameters.
[0.11.1] — 2026-10-26
Fixed
search --type/--tierfilters no longer lose matches below the--limitcut: the filters used to apply after results were truncated to--limit, sosearch ./kb refund --type guide -n 1returned nothing when the only guide ranked second.
[0.11.0] — 2026-10-25
Added
- Chat REPL
/searchgains temporal replay (--as-of,--include-superseded): the chat slash command now accepts the same temporal query flags asokfsmith search --as-of/--include-superseded, the MCPsearchtool'sas_of, and the dashboardGET /api/v1/search— completing temporal-replay parity across all four search interfaces (the 0.10.0 notes claimed four-way parity, but chat's/searchnever actually accepted the flags).
[0.10.0] — 2026-10-24
Added
- Dashboard
GET /api/v1/searchgainsas_oftemporal replay andinclude_superseded: the dashboard search endpoint now accepts the same temporal query parameters asokfsmith search --as-of/--include-supersededand the MCPsearchtool'sas_of— completing temporal-replay parity across all four interfaces (CLI, chat, MCP, dashboard).
[0.9.0] — 2026-10-23
Added
- MCP
searchtool gainsas_oftemporal replay: the MCP server'ssearchtool now accepts anas_ofparameter (ISO-8601 date or datetime) — the MCP analogue of the CLI's--as-offlag.
[0.8.7] — 2026-10-22
Fixed
- Dashboard
GET /api/v1/sync/sourcesdocstring drift: the endpoint's contract docstring promised aneversource status that the code never emits (onlyok,stale, anderrorare possible).
Added
tests/test_dashboard_sync_sources.py: status-contract coverage forGET /api/v1/sync/sources— previously only the empty-sources shape was asserted.
[0.8.6] — 2026-10-21
Fixed
- CI-only test fix (no runtime changes):
test_cli_min_chars_requires_no_llmasserted on the raw text of Typer's rich error panel; on CI the panel is color-styled (ANSI) and wrapped, so the exact phrase never matched and every matrix job went red for 0.8.5.
[0.8.5] — 2026-10-21
Six fixes from an external hands-on review of the offline (--no-llm) path — an independent tester installed the package and ran the pipeline in a sandbox; every finding below was reproduced against the code before being fixed.
Fixed
- Offline concepts were stamped with a stale version:
generated.byon every--no-llmconcept readokfsmith/0.2.0(a hardcoded literal inparsers/ingest_no_llm.py) regardless of the installed release.
- PDFs now split into sections: the PDF parser rebuilds page text from liteparse's font structure — lines set in a larger or bold font become ATX headings, so sectioning splits a multi-section PDF into one concept per section instead of a single document-wide concept.
- Offline graph is no longer empty: each
--no-llmconcept now ends with a## See alsosection linking its sibling sections of the same document — the previous/next section, plus any section whose title the section's text mentions.
- Offline descriptions are section-specific: the frontmatter
descriptionis derived from the section's own text (first meaningful sentence, trimmed) instead of one identical line — "Draft concept extracted without LLM; needs review" — on every concept.
Added
--min-chars Noningestandsync: the stub-prevention threshold (sources under ~1000 total characters produce no concepts) is now overridable.
sources[]in offline concepts:--no-llmconcepts now emit the samesources[]frontmatter the LLM pipeline produces — one entry citing the source document, page-pinned from the section's page span — plussource_digestwith the source file's SHA-256 when the caller computed one (CLI ingest and the dashboard do).
Tests
- New
tests/test_offline_review_fixes.py(21 tests) pins all six fixes, including a multi-section styled-PDF fixture,--min-charsCLI/dry-run/sync behaviour, validator cleanliness of offline bundles (no W001/W005/W008/W015), and graph edges from offline links.
test_ingest_no_llm_draft_shapeupdated for derived descriptions; the dashboard concepts-filter test now queries a body-only term (linked titles are body content and legitimately match).
[0.8.4] — 2026-10-21
Fixed
- Dashboard launch-token docs corrected: the launch flow moved from a
?token=query parameter to a#token=URL fragment (fragments are never sent to the server and never land on a browser's command line), but the module docstrings indashboard/server.py,cli/dashboard_cmd.py, anddashboard/auth.pystill described the old query-parameter flow.
Added
- Auth-contract unit tests: new
tests/test_dashboard_auth.py(9 tests) pinsTokenAuth.checkedge cases the HTTP tests don't reach — case-insensitiveBearerscheme, whitespace trimming, a failed?token=attempt not burning the single use, the query burn not breaking the bearer path, and the 401 response shape (WWW-Authenticate: Bearer).
[0.8.3] — 2026-10-20
Fixed
- Ingest embedding calls cut ~8x with
--embeddings: the embedding-similarity duplicate check re-embedded every existing concept's title+body for every new section (S sections × M existing concepts = S×M wasted embedding API calls).
[0.8.2] — 2026-10-17
Fixed
- CI fix (take 2): the 0.8.1 fix for
test_ingest_embeddings_rejected_with_no_llm(wide panel viaCOLUMNS=200) was not sufficient: when color is enabled — as on CI — typer's rich error panel highlights option names with ANSI styles inside the words (--embeddingsrenders as styled-+-embeddings), so the plain-text substring never matches.
[0.8.1] — 2026-10-17
Fixed
- CI fix:
test_ingest_embeddings_rejected_with_no_llmasserted on the--embeddings/--no-llmusage-error text, but rich wraps the error panel to the terminal width — on CI's narrow non-tty the message wrapped mid-phrase and the substring check failed on all 12 matrix jobs.
[0.8.0] — 2026-10-17
Added
- Opt-in embedding-similarity duplicate detection for ingest (
okfsmith ingest --embeddings openai, orOKFSMITH_EMBEDDINGS): after the existing exact-title, same-resource, and stemmed-token title-similarity checks, a new branch embeds each new concept's title+body via any OpenAI-compatible/embeddingsendpoint and merges the best existing concept at cosine similarity ≥ 0.87 — catching paraphrases the offline checks miss ("How to sync your vault" vs "Vault synchronization guide").
- Docs:
docs/OVERVIEW.md(Link step),docs/commands.md(ingest flags), anddocs/llm.md(new "Embedding similarity" section) describe the feature truthfully; the old "v1 TODO, not yet implemented" note is gone.
[0.7.15] — 2026-10-16
Added
Together with the existing suite, core/sync.py is now at 96% line coverage and dashboard/settings.py at 100%.
- Regression tests pinning the 0.7.13 security hardening: the sync-lock module's concurrency safety invariants now have dedicated coverage in
tests/test_sync_lock_safety.py(22 tests): a lock naming a live PID is never reclaimed no matter its age, a dead-PID lock is reclaimed only once older than 10 minutes, and the releaser removes the lock only when it still names our own PID.
tests/test_dashboard_settings.py(6 tests) for the lock-protectedDashboardSettingsstore:update/get/snapshot/clearcontract, snapshot-copy isolation, concurrent-update safety, and — the audit invariant —os.environis never mutated by settings overrides.
[0.7.14] — 2026-10-15
Fixed
- MCP server no longer serves a stale index until restart: every read tool (
index,list,search,get,neighbors,traverse,provenance,diff) now re-checks a cheap on-disk fingerprint (file path, size, mtime per*.md) before serving and reloads the bundle — rebuilding the supersession index — whenever a concept was added, edited, or deleted by the CLI or any other process after the server started.
[0.7.13] — 2026-10-15
Security
This release fixes 10 findings from an independent security audit of the 0.7.12 codebase (trust-tier integrity, secrets handling, concurrency, authentication, and input validation).
- CRITICAL —
_inject_backlinksno longer mutateshuman-reviewedconcepts: retroactive backlink injection now skips concepts whose trust tier ishuman-reviewed, so ingesting an untrusted document can no longer append LLM-generated text to a human-verified concept while its badge remains.
- MCP server is read-only by default:
okfsmith mcpnow registers only the 8 read tools unless--allow-writesis passed, anddowngrade_trust=truefrom an agent is rejected unless--allow-trust-downgradeis given by the server operator.
- Dashboard settings no longer mutate process-global
os.environ:PUT /api/v1/settingswrites to a lock-protected in-memory store onapp.state; background jobs receive an immutable config snapshot, so a settings change can no longer race a running ingest/sync/eval job.
OPENAI_API_KEYis now provider-scoped and cleartext HTTP is blocked: the legacy key falls back only forprovider == "openai", andOpenAICompatibleBackendraisesLLMErrorinstead of sending an API key over non-loopbackhttp://.
sync.locknever steals a live lock: a lock naming a live PID is no longer treated as stale, whatever its age; reclamation now requires a dead (or unreadable) PID and age > 10 minutes.
- MCP network transports require a token:
--transport sse/streamable-httpnow enforce a per-launch bearer token (--auth-token/OKFSMITH_MCP_TOKEN/ auto-generated and printed once).
- Dashboard bootstrap token moved to URL fragment: the launch URL is now
#token=...instead of?token=..., so the token no longer appears in the OS process table; the frontend sends it as anAuthorizationheader.
- Re-ingest stamps
supersedes: when plainingestcreates a-2/-3suffixed duplicate, the new concept's frontmatter recordssupersedes: [<old id>]so the temporal model demotes the stale version in search/RAG.
eval/golden.jsonsize caps:load_golden_set()now refuses files over 5 MiB (golden-too-large) and sets over 1,000 questions (golden-too-many).
- History file permissions + single version source:
~/.okfsmithis0o700and the history file0o600;__version__now comes fromimportlib.metadatainstead of a second hardcoded string.
[0.7.12] — 2026-10-14
Fixed
- Validator now honors the M28 frontmatter size guard like the bundle loader: a frontmatter block larger than 20,000 lines or 1,000,000 characters is treated as unparseable (E001) instead of being parsed normally.
[0.7.11] — 2026-10-13
Fixed
- Validator no longer fails BOM-prefixed concepts with E001: the frontmatter splitter (
_split_frontmatter) saw a leading UTF-8 BOM ("\ufeff---") as the first line and — becausestr.strip()does not remove U+FEFF — concluded the file had no frontmatter block, emitting a hard E001 ("no parseable YAML frontmatter block found"), while the bundle loader (parse_frontmatter, rule L22) has always stripped the BOM and loaded the concept fine.
[0.7.10] — 2026-10-12
Fixed
- W017 no longer warns on valid same-day afternoon windows: the validator's empty-window check compared
parse_temporal(valid_until)'s midnight withparse_temporal(valid_from), while the retrieval engine evaluates a date-onlyvalid_untilwith inclusive end-of-day semantics (_parse_window_end: the whole day through 23:59:59.999999 UTC).
[0.7.9] — 2026-10-11
Fixed
- Validator rejected valid concepts containing an indented
---line: the validator's frontmatter splitter closed the frontmatter block at any line that looked like---, while the bundle loader (rule M24) only accepts a closing fence at column 0 — an indented---inside a YAML block scalar is content, not a fence.
[0.7.8] — 2026-10-10
Fixed
- MCP documentation described a read-only server that no longer exists:
docs/src/mcp.md(and the builtdocs/mcp.html/llms.txt) calledokfsmith mcpa "read-only MCP server", promised "your bundle is never modified", said it "exposes eight tools", and closed with "The server is fully read-only — there is no tool that writes, edits, or deletes concepts… without fear." All of that has been false since the governed write-back tools shipped in 0.4.1.
[0.7.7] — 2026-10-09
Fixed
- Public pages stated a release that was no longer current: the project website (
docs/site/index.html) said "Latest release v0.6.0" in its PyPI card and "okfsmith v0.6.0" in the footer, and the man page (man/okfsmith.1) still carried "okfsmith 0.1.0" in its.THheader — while the shipped package was already at 0.7.6.
[0.7.6] — 2026-10-08
Fixed
- Dashboard missing-deps hint named pre-0.6.1 dependency pins: when the dashboard extras were missing,
okfsmith dashboardtold users to runpip install "fastapi>=0.110,<0.122" "uvicorn>=0.29,<0.32"— ranges entirely below the floors this package has declared since 0.6.1 (fastapi>=0.122,<0.143,uvicorn>=0.35,<0.55), and the<0.122line pulls the starlette 0.50.x releases the 0.6.1 floor raise was made to escape.
[0.7.5] — 2026-10-07
Fixed
- Dashboard port probe gives the correct answer on Windows:
find_free_portprobed withSO_REUSEADDR, which on Windows lets a probe bind a port another process is already listening on — so an occupied port was reported as free andserve()would then fail when uvicorn tried to bind it.
[0.7.4] — 2026-10-07
Fixed
- Dashboard launch no longer crashes at the top of the port range:
find_free_portscanned upward without bound, so when port 65535 was occupied the scan walked past the last valid port and died with a rawOverflowError: bind(): port must be 0-65535traceback.
Added
- Test coverage for the dashboard launch layer:
tests/test_dashboard_launch.py(17 tests) pinsfind_free_port(free/occupied/exhausted/out-of-range),serve(loopback-only bind, access-log-off token hygiene,--no-open, browser-failure fallback, occupied-port fallback message), and thedashboardcommand's error exits (bad port, bad dir, missing deps, start failure).
[0.7.3] — 2026-10-06
Fixed
- Search index builds ~2x faster (stemmer memoization): the BM25 stemmer is a pure function called once per token, but token vocabularies repeat heavily, so
SearchIndex.from_bundlere-ran the suffix-stripping logic ~millions of times per build — profiling showedstem()dominating index-construction time (6M+endswithcalls for 5,000 concepts).
[0.7.2] — 2026-10-05
Added
- Test coverage for the dashboard background-job manager: the SSE job infrastructure (
okfsmith.dashboard.jobs—Joblifecycle, step timing, terminal{"status": ...}publication,JobManagersubmit/evict/list,sse_format,new_id) previously had a single retention test; it is now pinned bytests/test_dashboard_jobs.py(22 tests).
[0.7.1] — 2026-10-04
Fixed
- Shared section-concept link resolution for
graphand W001 — links written in a per-section concept (iddoc/section) are relative to the source document, but only the dashboard's Explore graph applied that rule —okfsmith graphreported such links as dead andvalidateraised a spurious W001. The rule now lives in the sharedokfsmith.linksresolver, sograph, the dashboard graph, and W001 agree: a target naming a whole document split into sections resolves to its primary section concept. Genuinely broken links are still dead.
[0.7.0] — 2026-10-03
Added
- Native Anthropic Messages API backend —
--provider anthropic(or justANTHROPIC_API_KEYwith nothing else configured) now speaks Anthropic's native API directly: no OpenAI-compatible proxy needed. Default modelclaude-haiku-4-5; system prompts use the API's nativesystemparameter.
[0.6.1] — 2026-10-01
Fixed
- CI audit gate red: dependency security floors. The
pip-auditstep in CI failed on published advisories:fastmcp2.13.0.2 (PYSEC-2026-2474, PYSEC-2026-2475, PYSEC-2026-2476, GHSA-rcfx-77hg-w2wv) andstarlette0.50.x (PYSEC-2026-161, PYSEC-2026-248, PYSEC-2026-249, PYSEC-2026-2280, PYSEC-2026-2281).
[0.6.0] — 2026-10-01
Added
- Similarity-based entity resolution in the extraction pipeline: dedup (
_find_duplicate) gains a third branch after exact normalized-title match and same-resource match — a Jaccard coefficient over stemmed title tokens (title_similarity, reusing the search module's tokenizer + stemmer), merging candidates at similarity ≥ 0.8 with deterministic id tie-breaking.
[0.5.2] — 2026-09-29
Fixed
- Dashboard frontend missing from the PyPI wheel — the 0.5.1 wheel shipped only the dashboard's Python files, so a pip-installed
okfsmith dashboardshowed the "frontend bundle has not been built yet" placeholder instead of the SPA. Theokfsmith/dashboard/static/*bundle now ships in wheels and sdists, guarded by regression tests.
[0.5.1] — 2026-09-28
Fixed
- Knowledge-graph edge resolution for section concepts — when a document is split into per-section concepts (id
doc/section), markdown links in those concepts are relative to the source document, but the resolver treated the id as a file path, so the Explore graph silently dropped edges for interlinked documents. Links now resolve to the target document's primary section concept; genuinely broken links are still marked dead.
[0.5.0] — 2026-09-28
Added
- Web dashboard (
okfsmith dashboard) — a local-first web UI covering all ten product areas: Overview, Ingest (drag-and-drop with live parse → chunk → embed → validate → index progress), Explore (interactive knowledge graph), Temporal, Chat (grounded, with clickable citations), Validate, MCP, Eval, Doctor, and Settings. Binds only to127.0.0.1, per-launch token auth, default port 8931 with free-port fallback, fully offline packaged assets (no CDN). The knowledge graph renders ECharts-style: solid cluster-colored circles with labels inside, degree-scaled hubs, edge-to-edge arrows, and a cluster legend. See Web dashboard.
[0.4.1] — 2026-09-28
Fixed
- Runtime
__version__mismatch:okfsmith --versionand the chat startup banner reported0.3.2becausesrc/okfsmith/__init__.pywas never bumped in the v0.4.0 release commit (onlypyproject.tomlwas).
Fixed in this cycle from the pre-release QA audit (full details in the QA bug report); criticals and highs listed, mediums/lows summarized.
- Adversarial QA, final pass — MCP concurrent-create race (HIGH): simultaneous
write_conceptcalls for the same slug could all report success — the check-then-write (exists()→os.replace) let N threads pass the existence check before any rename, so losers silently clobbered the winner while each appended an audit entry.
- Adversarial QA, final pass — sync dedup-shared update (HIGH): when an updated file dedup-skipped against a donor's identical content, the state entry kept the OLD digest and the old concepts' ids (the donor fallback only applied when no stale ids were found).
- Adversarial QA, final pass — temporal chain resolution (HIGH):
SupersessionIndex.resolve_headenumerated all simple paths with no memoization — exponential blowup on branching DAGs from frontmatter (32 concepts:list18.7s,search17.7s; 40 nodes ≈ minutes).
- Adversarial QA, final pass — symlinked sync source (MEDIUM): syncing through a symlinked source root printed "skipped: source is a symlink" and then deleted every concept synced from the real directory (the resolved path still scoped the deletions).
- Adversarial QA, final pass — watch-mode staleness (LOW): the mtime+size fast path is blind to a same-size edit with a preserved mtime.
- Adversarial QA, final pass — eval threshold types (LOW):
run_eval()with a wrongly-typedmetric_threshold("0.9",[0.9],{"context_relevancy": "high"},True) orfail_under("50",nan) leaked a rawTypeError; all such inputs now raiseEvalError("bad-threshold")(the CLI already rejected them with exit 2).
- Adversarial QA, final pass — eval golden-set sanity (MEDIUM): the golden
expected_answerwas never compared against the bundle — a fabricated reference answer passed the gate with full confidence.
- Adversarial QA, final pass — MCP write-back (1 MEDIUM, 4 LOW):
_reload_bundlenow evicts in-memory phantom concepts backed by.preview-*.mdvalidation temps (a concurrent preview's temp file could previously be served byget/list).
- MCP expansion (reviewer-1, 10 findings on the P6 MCP expansion): continuation-token paging is now computed over result items only — notes and
##section headers no longer consume themax_chunksbudget, "N more" counts remaining items, and follow-on pages rebuild page 1 with the same unit-only budget, so paged output round-trips to exactly the unpaged item output.
- Sync hardening (reviewer-1, 10 findings on
okfsmith sync): symlinked sources are now skipped with a per-file warning row instead of ingesting outside content (resolved-outside paths can never enter the sync state).
- Critical (10): symlink escapes confined to the bundle root in
ensure_index/append_log(C1); concept idsindex/logno longer overwrite the reserved files (C2); same-stem files in different directories no longer silently overwrite each other on ingest (C3); non-mapping/invalid-YAML frontmatter is preserved, not silently discarded on load+resave (C4); UTF-16 sources no longer ingest as NUL-garbage concepts (C5); validator no longer follows symlinked.mdfiles or blesses escaping links (C6); slug collisions no longer silently overwrite concepts (C7); non-UTF-8.mdnow yieldserror [unreadable-file]naming the file instead of aUnicodeDecodeErrortraceback inread/validate/list/graph/chat(C8); impossible YAML dates report E001 instead of crashing withValueError(C9); scalarverified/tagsfrontmatter (e.g.verified: yes) no longer crash MCP tools and CLI trust paths withTypeError(C10).
- High (17): unreadable directory-discovered files report a per-file "failed" row instead of aborting the batch with
PermissionError(H1); concurrent ingests no longer lose index entries (H2); quadratic link regexes hardened against crafted-input DoS (H3); deep YAML nesting is caught instead of crashing withRecursionError(H4); text-only Notion exports (no_files/dir) are recognized (H5); nested ZIPs are parsed to documented depth 1 instead of being silently skipped (H6);graph --outputno longer silently overwrites existing files (H7) and handles directory/missing-parent targets cleanly across formats (H8);ingestwith a file path as the bundle emitserror [not-a-directory](H9); FIFO/non-file ingest sources get a clean error instead ofNotADirectoryError(H10);initI/O failures surfaceerror [io-error](H11); directories named*.mdno longer crashlist/read/validate(H12);read --format jsonhandles non-JSON-native frontmatter values (H13); null bytes in link targets no longer crashgraph(H14); over-long titles are truncated to filesystem-safe lengths (H15); LLM transport failures retry instead of aborting the whole extraction run (H16);Bundle.loadno longer hangs on a FIFO named*.md(H17).
- Medium/low (30 + 25): summary of the remaining audit fixes — BOM handling in titles/frontmatter (M9), latin-1 mojibake flagged not silently corrupted (M10), binary-file detection on ingest (M11),
--dry-rundedup-manifest parity (M18), parse errors reported accurately instead of the stub-prevention message (M2), phantom'---'concepts from frontmatter'd sources (M3), non-UTF-8 filename log encoding (M8),validate --strictoutput matches its exit code (M7), titled-link W001/W002 false positives (M12), code-block/graph-vs-validator link disagreements (M13, L3), mermaid node-ID collisions (M15),check()no longer creates missing dirs (M16), chat/modeltypo no longer kills the REPL session (M25),graph --format textinflection and other low-severity polish (L1–L25); stale--bundleflag usage removed from the MCP README (M26).
- okfsmith eval (reviewer-2, 4 findings on the P4 eval harness): a golden
must_citeconcept that retrieval never surfaced now fails its question with aretrievaldiagnosis (previously it silently passed whenever the metric scores cleared their thresholds); the run's judge mode is derived from the per-score method labels alone — a configured LLM judge whose every call fails reportsheuristic, andmixedis reserved for genuinely mixed runs.
Added
okfsmith eval(P4): golden-set evaluation harness — the RAG Triad (context relevancy, faithfulness, answer relevancy) per question, not just averages.
okfsmith evalgolden-set sanity warnings: every question now gets a non-gating reference-support check — when a non-emptyexpected_answershares almost no vocabulary with the retrieved context, the question carries awarningsentry (rendered as!lines in CLI output and in the JSON report) asking a human to verify the golden record.
- MCP governed write-back: four new tools on the MCP server —
preview_write_concept(side-effect-free dry run showing the exact id, file path, frontmatter with provenance block, and serialized content),write_concept(create),update_concept(patch title/body/sources/links, withdry_rundiff previews), andaudit_log(reads the append-only<bundle>/.okfsmith/audit.jsonl).
- Temporal model (P2): time-aware retrieval over
valid_from/valid_until/supersedes/last_verifiedfrontmatter.
okfsmith sync BUNDLE SOURCE...: incremental synchronization (P1). Each source file is SHA-256 fingerprinted and diffed against<bundle>/.okfsmith/sync-state.json; only new, changed, renamed, or deleted files are processed.
okfsmith search BUNDLE QUERY: BM25 full-text search over a bundle, stdlib-only (no new dependencies).
- Docs: new
docs/searching.mduser guide (query syntax, tokenization, field weights, JSON shape, CLI/MCP/chat parity); README CLI table now listssearch, documentslist --type, and shows the correctokfsmith chat v0.3.0banner.
Deferred
- Re-ingest pruning / ghost-concept cleanup (M1): superseded for the
syncpath —okfsmith syncnow replaces concepts on update and deletes concepts for removed sources (see Added above).
- Validator line numbers (M29): cosmetic;
Findingcarries no line field by design.
- Byte-identical ingest output (L12):
generated.attimestamps are inherently time-dependent; a frozen-time mechanism is needed.
[0.4.0] — 2026-09-28
Added
okfsmith sync— incremental sync of a bundle with its sources: SHA-256 change detection,added/updated/renamed/removedhandling (renames detected by content hash, updates replace under the same ids — nevername-2duplicates), atomic resumable state,--watchpolling,--dry-run,--format json. See Syncing sources.- Temporal knowledge model — concepts carry
valid_from/valid_untilvalidity windows,supersedesreplacement chains, andlast_verifiedfreshness; retrieval ranks by currency, and--as-of <date>onsearch/evalreplays any instant. Superseded concepts are hidden by default, never deleted. See Temporal model. - MCP expansion — four new read tools:
traverse(BFS link-graph expansion, depth ≤ 3, cycle-safe),provenance(concept → sources → ingest manifest),diff(bundle vs bundle or vs sync snapshot), plus evidence budgets on every tool (max_chunks,max_tokens,continuation_token) for bounded agent context. See MCP server. okfsmith eval— golden Q&A eval harness: scores golden sets on the RAG Triad (context relevancy / faithfulness / answer relevancy), diagnoses failures as retrieval vs generation, runs heuristic (keyless) or LLM-judge, and gates CI with--fail-under. See Evaluating bundles.- Governed MCP write-back — four new tools (
preview_write_concept,write_concept,update_concept,audit_log) let agents contribute under code-enforced governance: writes always land at theunverifiedtrust tier, human-reviewed concepts need explicitdowngrade_trust, validator-gated, atomic, append-only audited. See MCP server.
[0.3.2] — 2026-09-28
Fixed
- PyPI project page was blank ("The author of this package has not provided a project description") on every release: the upload script only sent identity/digest fields, never the release metadata.
[0.3.0] — 2026-09-26
Added
- Interactive chat REPL (
okfsmith chat) — ask questions over your bundle in natural language, Claude-Code style: citations, slash commands (/search,/read,/validate,/graph,/doctor, …), extractive fallback when no LLM is reachable, and generative answers via Ollama or any OpenAI-compatible provider. See Interactive chat. - Any-model provider system — 15
--providerpresets (ollama,lmstudio,openai,groq,mistral,deepseek,openrouter,together,fireworks,deepinfra,anyscale,perplexity,xai,gemini,agentrouter), plus--api-base/OKFSMITH_API_BASEfor any other OpenAI-compatible endpoint. Keys are never displayed, logged, or saved to disk. See Providers & API keys. - Chat startup UI — Qwen/Claude/Antigravity-style makeover: gradient ASCII
OKFSMITHbanner, bundle-awarekb ›prompt, and✦answer markers. Piped andNO_COLORoutput stays plain. - This documentation website — the Claude-Code-style docs you are reading, now live at bilal-junaid-jiwani.github.io/okfsmith via GitHub Pages.
[0.2.0] — 2026-09-26
Added
okfsmith doctor— environment check covering dependencies, optional extras, Ollama reachability, and API-key status (keys are always reported asset (hidden), never echoed).--format jsonoutput forlist,read,validate, andgraphfor scripting and CI.--dry-runforingest— parse and plan without writing anything.- Shell completion via
okfsmith --install-completion/--show-completion, plus a man page. - Progress bars for long ingests.
Fixed
- Graph viewer (
viz.html) pointer-event bug — click and drag now work in the interactive visualization. - README/CLI help-text mismatches — documented commands and flags now match the real CLI exactly.
Security
- Link containment in ingested content.
- Zip-bomb guards on archive inputs.
- Symlink skipping during directory ingestion.
- Fixed a HIGH-severity CVE in the MarkItDown dependency.
[0.1.0] — 2026-09-26
Initial public release: init/ingest/validate/list/graph CLI, OKF §11 validator, offline HTML graph viewer, MCP server, okfsmith-build skill pack.
Upgrade notes
Upgrade with pip install --upgrade okfsmith. No bundle migration is needed — bundles created by earlier versions validate unchanged. okfsmith search, okfsmith get, and okfsmith completions were never CLI commands (search/get are MCP tools and chat slash commands; completion uses --install-completion).
Links
- Full release history with downloadable artifacts: github.com/Bilal-Junaid-Jiwani/okfsmith/releases
- Source repository: github.com/Bilal-Junaid-Jiwani/okfsmith