Skip to content

v0.8.5 — generic SCIP import, a unified schema & cross-repo resolution

Latest

Choose a tag to compare

@swilly22 swilly22 released this 24 Nov 14:16
· 1 commit to main since this release
9c4c68e

v0.8.5 — generic SCIP import, a unified schema & cross-repo resolution

This release completes the SCIP deep-analysis arc, adds a generic SCIP importer, consolidates the
graph schema to one name per concept, and automatically resolves a common cross-repo layout mismatch.

⚠️ Action required: re-ingest existing graphs

The schema vocabulary was consolidated (label/edge renames — see below). Re-ingest any graph created
on ≤ 0.8.4 (auryn forget <repo> then auryn ingest …, or just re-ingest). An incremental resync against
a pre-upgrade graph can miss edges to renamed nodes until a full re-ingest (tracked in #851).

Added

  • Generic SCIP importer (#848) — build an Auryn code graph directly from any indexer's index.scip,
    with no Auryn parser: point it at the index your CI already produces (scip-typescript/go/java/clang,
    rust-analyzer, scip-ruby/python, …) and get Files + Functions/Methods/Types + DEFINED_IN/HAS_METHOD
    edges — including for languages Auryn ships no parser for. Kind/name/hierarchy are decoded from the SCIP
    descriptor grammar (reliable across indexers).
  • Cross-repo package-root auto-resolution (#850) — when a package root is nested under / put on
    sys.path beside a longer file-path spelling, the same file resolved under two dotted identities
    (backend.llm_client vs plugins.…backend.backend.llm_client) and imports/calls stayed unresolved.
    Reconciliation now auto-resolves these when the match is unique across the graph — a name-indexed,
    scan-free seek, so a definition under an ambiguous key or from a prior ingest still counts; genuinely
    ambiguous cases stay unresolved + warned. Fully automatic, no configuration. (Reported with a minimal
    repro — thank you.)

Changed

  • SCIP deep v2 — line/column-precise call resolution (#839, #840, #841, #842): Go joined the
    line-precise call-site gate; the column-precise gate now resolves aliased imports
    (import { real as alias }; alias()) and same-line same-name calls in TypeScript; C++ is documented as
    deliberately un-gated (its RAII constructor-via-declaration + macro semantics). Rust/TS/Go/Java/C++ are all
    two-phase.
  • Unified graph schema — one name per concept (#849): removed alias labels/edges so a cross-language
    query is uniform. Const (was Constant), Field (was Attribute), EnumMember (was
    EnumCase/EnumVariant), TypeAlias (was Typedef), Interface (Swift Protocol / Rust Trait fold
    in), and the container→type edge is always HAS_TYPE. Genuinely distinct constructs are kept: PHP
    Trait
    (a mixin ≠ an interface) and C/C++ DEFINES vs DECLARES (definition vs forward
    declaration). See docs/graph-model.md.

Fixed

  • install re-run / uninstall preserve the rest of config.toml (#752).
  • Git option parsing ends before caller-supplied revisions (#755).

Install

uv tool install "falkordb-auryn[all,embedded]" (or uvx / pipx).