Skip to content

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 13:54
· 4 commits to master since this release
v0.9.0
b79a9ec

v0.9.0 — 2026-11-23

Added

  • velruna links check: one bounded scan plus a batched probe round (--limit, default 1000 edges) walks
    every live (verified) fact that carries a superseded_by link and reports
    the three ways an edge goes wrong — dangling (the target is gone),
    unverified (the target
    is not verified), cycle (the edge loops). Edges on retired facts are
    counted apart, not reported: retiring a source is how its dead edge leaves
    the audit (and why the repair line is actionable). Exit 1 when findings
    exist, exit
    2 when the check itself could not run. A scan that could not audit every
    edge says so and never claims "clean": hits the scan fetched but could not
    read, edges it never fetched, and edges fetched but left unaudited at
    --limit are counted apart; raising --limit recovers the second and
    third kinds, never edges beyond the 10000-hit result window. Repair by repointing the source
    (the MCP velruna_patch with superseded_by) or retiring it too
    (velruna obsolete, the CLI-executable half).
  • retire guard: velruna_obsolete and a velruna_patch status flip to
    obsolete are refused while other verified facts point at the target with
    superseded_by (a self-link never blocks) — the refusal names the referrers
    (ten plus a count) and points at velruna links check to map the graph. A
    failed probe fails the retirement, never a false "no links"; the guard is
    advisory like every check-then-write, so readers must still tolerate a
    dangling target.
  • velruna dashboards gen-fields: regenerates the bundled index-pattern field
    lists natively from the binary (token-preserving rewrite of the bundle);
    the python generator is gone. A mapping type the field table does not know
    is reported instead of silently dropped, deliberately disabled objects are
    skipped whole, and index: false leaves bake as not searchable (the
    shipped bundle re-baked to match — OSD no longer offers the docs html
    body as a queryable field).
  • status reports the store schema and field-type drift (schema: /
    mapping: lines, schema_hint in velruna_status): a mapping mismatch
    between binary and store is named instead of surfacing as odd search
    results; docs/how-it-works.md carries the re-index recipe.
  • creds: keyring entries are named after the store, not the URL
    (cluster/<cluster_uuid>, config key opensearch_cluster): moving the
    store to another host or port keeps the same credentials. The uuid is
    discovered at creds set; a rotation while the store is silent reuses the
    name the config already records instead of stranding the password under a
    host account, while a store that answers and rejects the new password
    (HTTP 401) aborts the write rather than replacing a working entry with a
    credential the runtime cannot use; the probe authenticates exactly like
    the runtime (config user → OPENSEARCH_USER → the default; under --url
    the config is bypassed and only OPENSEARCH_USER applies) and is bounded
    per node (n×10s overall, capped 90s, at least 5s per attempt), so a hung
    node cannot make a reachable store look silent; creds rm --name cleans
    entries the
    config no longer names; legacy host-named entries stay readable.
  • MCP bundle (.mcpb): every release now attaches a universal
    velruna-<version>.mcpb plus per-OS -darwin, -linux and -windows
    bundles. A desktop client installs one with a configuration dialog —
    OpenSearch URL, user, password and the TLS-skip flag, no JSON editing. The
    universal bundle carries all five builds and a launcher that picks the right
    one; a per-OS bundle carries only that OS's builds and declares just that
    platform. make mcpb builds the universal one locally.
  • superseded_by: a fact can name the record that replaces it (one link per
    fact; a later patch may repoint it — each event is journaled), target
    verified, cycle-free. A link-only patch journals op=supersede; a patch
    that also changes the value or retires the fact keeps that event's op and
    its entry states the link. Returned by get and journal; a link that
    points back in time is flagged in the journal. See docs/how-it-works.md.
  • several store nodes: opensearch_urls / OPENSEARCH_URLS accepts a comma
    separated list and validates every node, so a client can reach a cluster
    without a proxy in front of it. status reports the list; an unreachable
    store now suggests where to look.
  • a schema version stamped into the facts index (mappings._meta.velruna_schema = 1):
    a store written by a newer binary is refused once the stored version is read
    (upgrade the binary; if the role cannot read mappings the check is skipped rather
    than guessed), while a store from an older one is upgraded in place (additive
    mapping).
  • deployment: a secured stack profile with Dashboards (secure-dash), server
    knobs (VELRUNA_OS_HEAP, VELRUNA_CLUSTER_SEEDS), and a
    workflow_dispatch smoke pipeline that boots the single-node stack, runs
    cli-smoke, pushes the dashboard bundle and checks it through the cluster
    (the panel count through the Dashboards API).

Fixed

  • dev compose stack: snapshots work. The profiles set path.repo=/snapshots
    (the image entrypoint forwards only dotted lowercase env keys), so
    docker/os-snapshots is a real snapshot location; the docs' backup recipe
    registers velruna-fs on it instead of pointing at a location the node
    never declared.
  • add on a same-value touch no longer reports redactions for fields it
    did not write: the guard's rows for the input value/summary were echoed as
    if they had been stored. The answer now carries exactly the rows this
    write stored (the notes rows, on a touch); the value rows already on the
    fact are untouched and are not re-announced. velruna_patch follows the
    same rule: a value change reports the rows of the text fields it wrote (the
    rows of an untouched notes field stay with the fact), a qualifier-only
    patch only the rows of the fields it wrote. An add correction that leaves
    notes alone keeps that field's audit rows too (the stored text still
    carries the marker).
  • re-adding an obsolete fact with the same value (a resurrection) no longer
    silently drops a passed summary: the CLI and velruna_add say the summary
    was ignored, same as on a plain same-value touch (a resurrection reports
    changed=true, which had swallowed the hint). velruna_add_batch carries
    the same honesty per item (a per-item note), and the lagged-resurrect
    error names the drop in its text.

Changed

  • CLI velruna add names a resurrection: a write that re-declares an obsolete
    fact alive prints updated, resurrected an obsolete fact, instead of
    leaving the status flip invisible in the one-line answer (every
    resurrection path reports changed=true, so a bare updated would hide it).
  • creds get is gone: the password is never printed. MCP learns it through
    the keyring; scripts read OPENSEARCH_PASSWORD.
  • load-time trim parity: opensearch_user and opensearch_cluster are
    trimmed from the file and the env alike, and a blank value reads as unset
    and keeps the configured one — the creds probe, the keyring account and
    the runtime authenticate with an identical identity.
  • a partial-success add (the fact write landed, the journal entry lagged)
    reports the truth: Resurrected is set when the accepted write re-dated
    an obsolete fact, and the error text names it (correction accepted (resurrecting an obsolete fact), the journal entry lagged) — at the MCP
    error edge the text is the only surface. The add note texts describe the
    same-value touch exactly (notes move when supplied and the caller's source
    is recorded, category always, ttl_days/keywords when given); batch
    item errors carry only the batch
    label, not the velruna_add prefix.