Skip to content

Releases

Louvain Engine 0.2.0

Choose a tag to compare

@scotty595 scotty595 released this 29 Nov 19:10

Added

  • Permissions from SpiceDB. @louvain/engine-pg-rebac (packages/plugins/engine-pg-rebac) reads the readable
    set from pg_rebac 0.3.0, bound in code by the entry that builds the
    engine. It keeps three answers apart: a set; a reader never asked, or whose set is past the freshness bound or was
    looked up before Watch lost its position (RB503), looked up once through rebacd and read again; and unavailable,
    which fails the read and is never an empty set. lookupToken sends rebacd's bearer token with each lookup.
    The engine's own vector search fences with the set the resolver returns.
  • examples/pg-rebac. SpiceDB, pg_rebac's SQL and rebacd over the engine's own stack, pinned by digest, and the
    same search as alice, bob and mallory (run.sh; running it again upgrades an example made with pg_rebac 0.1 or
    0.2).
  • Chat titles. A chat message with no title of its own is titled by its opening sentence beside its place, with
    mention, link and emoji markup stripped (no model reads it).
  • Instruction markers. A passage can carry the marker of an instruction its page states about itself, and a search
    reports it as instructionLike.
  • Search filters take several values each (apps, kinds, types, authors), and a build can bind a sent/received
    direction for messages.

Changed

  • Schema. passage gains instruction_marker. An install made by 0.1.0 is refused by ./engine up until it is
    upgraded: run ./engine reindex once (it applies db/upgrades/001-passage-instruction-marker.sql in one
    transaction, keeping your documents), then ./engine up.

Security

  • One name for the sidecars' bearer. The embedding, keyword and rerank sidecars read their token from
    LOUVAIN_SIDECAR_TOKEN alone. A token set under any other *_SIDECAR_TOKEN name while that one is empty stops the
    sidecar at start, rather than leaving it running open.

Upgrading from 0.1.0: run ./engine reindex once, then ./engine up.

Full changelog: CHANGELOG.md