Skip to content

Releases

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 26 Nov 19:07
09f9497

Changed

  • Console redesign. An approval reads as a decision: the next step and the
    risk, who asked and why, the rows a write changes before and after, the
    checks, one timeline, and actions that stay in view. A request that is
    approved but has not run says so ("Approved — not run yet", "Running").
  • The console's brand reads "visp gate". A toast shows in the top bar's own
    band on a wide screen, and just under the top bar on a phone, so it never
    covers the project picker or a bar of actions.
  • An agent's session has its own page: a summary, then a trail of its steps,
    with why each refused step was refused and what the agent was told.
  • "Connect an agent" is a four-step page that makes the agent and its token,
    prints the command or config for Claude Code, Cursor or any MCP client, and
    shows the first call arrive.
  • The overview puts agents first, with each one's live session, and shows
    what the gate did in three tiles, "At the gate": allowed and blocked in the
    last 24 hours, and held now. The agent page shows what the agent can reach,
    how the gate answers it, its sessions and its tokens.
  • One vocabulary on every screen: Allowed, Masked, Held and Blocked, each a
    chip with an icon and a word. Agents and people have their own badges.
    Environments are slate tags, never a verdict colour; the console's run
    button wears its environment's tag.
  • The README is rewritten around agents, with an MCP quickstart, a hero GIF
    and new screenshots. Printed MCP configs (the demo's setup step included)
    name the server visp-gate.

Fixed

  • The demo gateway no longer exits at start with code 1 and no message. It
    read the metadata password from a file with no final newline, and read
    returns 1 at end of file.
  • The threat model no longer says an agent's call rate and the stops after
    refused queries or proposals are counted per node. Since 0.2.1 they are
    shared across nodes.

Docker image: ghcr.io/visplabs/visp-gate:0.2.2

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 24 Nov 20:07
e9d2291

Changed

  • The limits on one agent hold once for the agent, not once per node, when
    several gateway nodes share one metadata database: 120 tool calls a minute,
    the stop after 5 refused queries, one proposed write at a time, and the stop
    after refused proposals. They were kept in each node's memory before.
    Migration 0013_agent_limits. Agents see the same numbers, codes and
    messages as before.

Security

  • cookie 0.18.3 for RUSTSEC-2026-0594. The gateway uses plain cookies only,
    so it was not affected.

Docker image: ghcr.io/visplabs/visp-gate:0.2.1

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 21:28
5688d58

Added

  • A code of conduct, issue templates and a pull request template.

  • The console reads its own documents at /help/<name> (for example
    /help/api), with a list of sections; About links there in place of the raw
    Markdown files.

  • Notices to approvers: an outbound webhook, signed or in Slack's format, that
    says a request waits. Off by default; set up under Settings → Notices. A
    notice never holds SQL, rows or database errors. New optional setting
    VISP_GATE_PUBLIC_URL adds a link to the request. Migration 0010_notices.

  • Audit events approval.expire and, for a write that a lost node left
    running, approval.failed with outcome_unknown.

  • A tamper-evident audit log. Every audit row is sealed into a keyed hash
    chain a few seconds after it is written. A row that is changed, deleted or
    put in afterwards, by someone who has the database but not the master key,
    is found by a background check, by "Verify now" on the Audit screen
    (GET /audit/integrity, POST /audit/verify) and by the new offline
    command visp-gate verify-audit. A link that is relabelled as another
    master key's, to hide a changed row, breaks the chain as well. The head of
    the chain is logged as audit_checkpoint (position, hash and key) to keep
    outside the database, and verify-audit --expect-position … --expect-hash … --expect-key-id … checks a saved one. Audit events gain seq and
    sealed. New metrics vda_audit_chain_*. Migration 0011_audit_chain
    numbers the existing rows; they are sealed in the background. The metadata
    database must be PostgreSQL 14 or newer.

  • Audit event agent_login.status ({from, to}) when the check of a
    cluster's agent login changes its status, written once per change however
    many nodes check.

  • A pre-flight bar in the console, always visible next to the Run button: the
    state of the safety check (Safe to run, Needs approval, Blocked), one
    sentence of why, and one next step: run, open the approval request, apply
    the guard's fix, or read who can help. It names exactly what the guard adds
    to the SQL, such as LIMIT 1001. The server makes it: the answer of
    POST /clusters/:id/analyze gains the field preflight, from the same
    lessons that give agents their fix, with the caller's access level. Every
    existing field of the answer is unchanged.

  • The guard offers a fix for one kind of blocked statement: several
    statements that would each pass alone ("Keep the first statement").

  • Agent sessions. The gateway records each tool call of an agent as a step
    (tool, task, SQL text, verdict, outcome, the fix it was given, never result
    rows) and groups the steps of one token into sessions. The owner and
    administrators read them on the agent's screen, where a session that is
    going on updates by itself and "Pause agent" is one click away, and with
    GET /agents/:id/sessions and …/sessions/:id/steps?after=. Steps are
    kept 30 days (VISP_GATE_AGENT_STEPS_RETENTION_DAYS). Migration
    0012_agent_sessions. New metrics vda_agent_steps_*.

  • Agent tool fetch_rows: pages through the rows that one run_query
    already fetched and masked. run_query adds next_cursor and rows_left
    when its answer could not hold all rows. Nothing runs again and no query
    is taken from the budget. The rows are held in the node's memory only, for
    five minutes, within VISP_GATE_HELD_RESULTS_MAX_BYTES and
    VISP_GATE_HELD_RESULTS_AGENT_MAX_BYTES. New error code result_expired. New
    metrics vda_held_results*.

  • A five-minute demo. Run this command from the repository root:

    docker compose -f deploy/demo/docker-compose.yml up --build

    It starts the gateway, a demo database and an agent that is ready to
    use it, with demo-only passwords and a master key made at the first start,
    on 127.0.0.1 only. scripts/demo-seed.sh sets it up through the public
    API. scripts/demo-agent.sh plays an agent at the agent door, prints each
    step, and exits non-zero when the gate does not behave as the demo says.
    docs/DEMO.md has the steps. make demo now starts this demo.

  • A threat model (docs/THREAT-MODEL.md): the actors, the trust boundaries,
    and for each threat what the gate does, where the code or a test shows it,
    and what remains; with a list of what the gate does not protect against.

  • A comparison of approaches (docs/COMPARISON.md): direct credentials, a
    read-only role, a generic SQL tool server, an access tool for people, and
    this gate, with when another approach is the better choice.

  • The Helm chart and docker-compose.yml pass
    VISP_GATE_AGENT_STEPS_RETENTION_DAYS, VISP_GATE_HELD_RESULTS_MAX_BYTES and
    VISP_GATE_HELD_RESULTS_AGENT_MAX_BYTES (chart values
    config.agentStepsRetentionDays, config.heldResultsMaxBytes and
    config.heldResultsAgentMaxBytes).

  • A .dockerignore, so that an image built in a working copy does not take
    in local build output or node_modules.

Changed

  • The product is now named visp-gate. The program, the Docker image and the
    Helm chart (deploy/helm/visp-gate) are visp-gate, and every setting
    starts with VISP_GATE_ in place of VDA_, for example
    VISP_GATE_MASTER_KEY. The earlier names are not read any more. The notice
    headers are X-Visp-Gate-* in place of X-VDA-*, and the notice user agent
    is visp-gate-notices/1.
  • The demo starts from the released image
    (docker compose -f deploy/demo/docker-compose.yml up). It builds the
    gateway from the checkout when the image cannot be pulled, or with
    --build.
  • The audit queue is written in batches of up to 256 events in one statement
    instead of one event at a time, so many agents at full rate no longer fill
    it. Retries, dead letters and the drain at shutdown are as before.
  • GET /audit pages on the last event of a page, not on its time, so an
    audit row with a time that is not a finite time no longer makes a page
    fail. The cursor stays an opaque string.
  • The Audit screen shows the details the gateway records. It no longer looks
    for query SQL in an audit event: that is in History.
  • The Run button moved from the editor toolbar into the pre-flight bar under
    the editor, and the safety panel no longer repeats the verdict in the
    console. When only an administrator can help, the bar has no button.
  • Deleting an agent also deletes its sessions and steps.
  • The README leads with the agent safety gate: what it is, the demo, the
    agent tools and the safety layers. Its screenshots show the current
    console, with two new ones: an agent's session and the preview of a write.
    The details of the demo profile of docker-compose.yml moved to
    docs/DEPLOYMENT.md.
  • The reason a MySQL write has no preview now says what it means: the review
    cannot show which rows will change, and an approved statement runs as
    written on the rows that match when it runs. Agents read this text.

Fixed

  • The console, from a UI review of the 0.2.0 demo:
    • The project button shows the project in use, and Clusters keeps it.
    • On short screens the console page scrolls and the results stay usable.
      Below 1100 px the schema and safety panels open as drawers, one at a
      time, and keyboard shortcuts do not reach a query behind an open drawer.
    • The phone menu keeps the keyboard inside it, has a Close button, and
      returns focus to the menu button. Tablets get a 64 px rail.
    • Shortcut labels say Ctrl on Linux and Windows and ⌘ on Apple systems.
    • The approval timeline says "Awaiting execution" or "Not executed", and
      counts say "Loading…" while they load and "unavailable" after an error,
      with Retry.
    • Row actions stay in view on phones, filters wrap cleanly, the search
      icon no longer covers the text, and a filtered cluster list says
      "X of Y".
    • Empty states are centred; dialogs without a description no longer point
      to one; password forms carry the account name for password managers.
    • Text colour contrast in the editor and while the pre-flight check runs.
  • The demo (npm run dev:mock) returns one real row for a query that reads
    no table, such as SELECT 1, marks sample table data as "Sample data", and
    suggests a LIMIT only for a query that reads a table.
  • NOTICE named the Inter typeface, which the console no longer bundles. It
    now names Geist and Geist Mono and their license.

Security

  • url 2.5.9 for RUSTSEC-2026-0592 (stack overflow in Url::origin() on
    nested blob: URLs). The gateway calls it only on http and https
    addresses from its own settings.

Docker image: ghcr.io/visplabs/visp-gate:0.2.0

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 10 Oct 19:12

First public release.

Added

  • Whole-statement SQL analysis for PostgreSQL and MySQL (including MariaDB and
    managed variants), covering CTEs, subqueries and nested writes. Unsupported
    SQL fails closed.
  • Read-only access by default; writes need a grant, a permitting policy and,
    by default, four-eyes approval. DDL always needs approval. Approvals expire
    after 24 hours and are claimed once at execution.
  • Production protection: statement and lock timeouts, row, byte and
    affected-row caps, an optional EXPLAIN cost gate, per-cluster concurrency
    limits, read-replica routing and server-side cancellation.
  • Advisory performance suggestions (SELECT *, unbounded reads,
    leading-wildcard LIKE, non-sargable filters, large OFFSETs and IN
    lists) with one-click fixes. Suggestions never change the verdict.
  • Column masking, including DML RETURNING; expiring project and cluster
    grants; organization and cluster network allowlists; an append-only audit
    log with full query history.
  • CSV and JSON result export with spreadsheet formula escaping.
  • AWS discovery of RDS and Aurora across accounts and regions, with
    credential-verified import and drift detection.
  • A single Rust binary with the React console embedded, a PostgreSQL metadata
    store, a distroless Docker image and a Helm chart.

Docker image: ghcr.io/djkeshawa/visp-db-access:0.1.0