Skip to content

Releases

v0.12.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 05:47
83d83e9

Changed

  • A pushed vX.Y.Z tag publishes the image ghcr.io/tenishai/liminal (linux/amd64 and
    linux/arm64), after the whole CI, a native arm64 run and a vulnerability scan, and creates
    the GitHub release with an SBOM. release.yml is ported from cabal's; test.yml now accepts
    workflow_call so the release runs it on the tagged commit. Before this nothing published
    an image, so an install from released images had no liminal to pull.
  • CI: the integration job runs on every push and pull request, and ci requires it
    (issue 115). It clones techne without a token, so it was dispatch-only while techne
    was private. It was never dispatched, so the techne-backed memory handler's tests had
    never run in CI. The test that pins ci now checks it fails when either job does not
    succeed.
  • techne pin moves from 0.18.2 to 0.20.0 (#259). requirements-sources.txt pins the
    v0.20.0 tag, the memory extra needs tenish-techne>=0.20.0, and the Dockerfile's
    TECHNE_VERSION/TECHNE_WHEEL_SHA256 name the v0.20.0 release wheel
    (1e9371c5...). A sibling-checkout build needs ../techne at v0.20.0.

Fixed

  • /healthz reports notify as unconfigured without a webhook URL (issue 254). It
    said ready, but with no LIMINAL_NOTIFY_WEBHOOK_URL every notify.send that names no
    URL in its credentials or tool extras is refused. It now reads unconfigured: LIMINAL_NOTIFY_WEBHOOK_URL is unset ..., which, as for files and memory, does not
    make the gateway degraded, and startup logs liminal.handler_unconfigured for it.
  • Security: files.write refuses config that developer tools run with no command
    (part of issue 155). Without the files:protected_writes grant it now refuses .envrc
    (direnv loads it on cd), .vscode/tasks.json (a folderOpen task runs when the
    folder opens), .pre-commit-config.yaml, every lefthook config name (lefthook.yml,
    .lefthook.yaml, lefthook-local.json, ... in any directory) and anything under
    .husky/. These are code-execution paths, like .git/hooks. Files that run on a common
    command (conftest.py, Makefile) stay writable; LIMINAL_FILES_PROTECTED_PATTERNS
    can add them.
  • web and notify no longer read proxy settings from the environment (issue 204).
    With HTTPS_PROXY set, httpx sent pinned https requests through httpcore's proxy
    tunnel, which uses the pinned IP as the TLS server name, so certificate verification
    failed. Their clients now set trust_env=False: no env proxy, and no SSL_CERT_FILE
    or SSL_CERT_DIR either (the bundled certifi roots are used).

Docs

  • RELEASING.md names the index in the resolve command (#260).

Upgrading

  • The image is now published: ghcr.io/tenishai/liminal:v0.12.0, for linux/amd64 and linux/arm64. Installs that built their own image can pull it instead.
  • techne 0.20.0. The memory extra needs tenish-techne>=0.20.0, and an image built from a sibling checkout needs ../techne at v0.20.0. This is the techne cabal 0.5.1 pins, so the two now build together; liminal 0.11.0 pinned 0.18.2.
  • web and notify ignore HTTPS_PROXY, HTTP_PROXY, SSL_CERT_FILE and SSL_CERT_DIR. A deployment that reached the internet only through an environment proxy, or trusted a private CA through SSL_CERT_FILE, now fails those calls. Give the gateway direct egress, or use a webhook and fetch targets the public roots verify.
  • files.write refuses more paths without the files:protected_writes grant: .envrc, .vscode/tasks.json, .pre-commit-config.yaml, every lefthook config and anything under .husky/. An agent that wrote those needs the grant.
  • /healthz reports notify as unconfigured when LIMINAL_NOTIFY_WEBHOOK_URL is unset. The gateway is not marked degraded by it, but a monitor that matched notify: ready will see the change.

Image: ghcr.io/tenishai/liminal@sha256:0ddd7a925e66522ad2837e030e5e3aa61f7f300830c0decbc1985ea906c8b917 (tags v0.12.0, 83d83e9; linux/amd64, linux/arm64)

liminal 0.11.0

Choose a tag to compare

@dimartin dimartin released this 25 Nov 01:36
49bf892

Fixed

  • Security: liminal refuses tokens whose subject cabal has revoked (issue 228, #245). It
    checked a cabal token's signature, iss, aud and exp but never cabal's revocation
    list, so after POST /admin/token/revoke a subject kept every tool that does not call
    cabal (web, files, notify...) until its token expired (a cabal service token can last up to 365 days). With
    --cabal-url set, liminal now fetches that cabal's GET /auth/revocations (new
    --revocation-ttl, default 30s) and refuses its tokens with iat before the subject's
    cutoff, as it refuses an expired token. Only that cabal's issuer is checked (in
    sovereign mode, the parent). Fail-soft: against an older cabal (404) or one that is
    down, tokens are accepted as before with one warning; a failed refresh keeps the last
    good list.
  • Security: notify refuses a webhook host that resolves to an IPv4 address embedded in
    IPv6.
    The webhook check tested only the raw resolved address, so a host resolving to
    64:ff9b::a9fe:a9fe (NAT64), 2002:a9fe:a9fe::1 (6to4) or ::a9fe:a9fe
    (IPv4-compatible), each carrying the cloud metadata address 169.254.169.254, or to a
    NAT64-wrapped private address such as 64:ff9b::a00:1, passed. web already unwrapped
    these. Both handlers now use one address policy, liminal/handlers/_netpolicy.py (deny
    ranges plus embedded-IPv4 unwrapping), so the two checks cannot drift again (#242).

Changed

  • .gitignore opens with a block shared by every tenish repo (keys, env files, local databases, Terraform state, editor folders), with this repo's own lines under it (#250).
  • An empty result from an untrusted target now carries an explicit notice (#233, fixed in #234). A federated upstream's result with no blocks, or only text that is blank once hidden Unicode is stripped, used to come back as a bare BEGIN/END marker pair, which the model could not tell from a refusal. The envelope now says the target returned no content and that this is not a confirmation, and http_target.result_empty is logged with the target and tool name. The nonce and _meta contract are unchanged.
  • Security: liminal serve refuses LIMINAL_AUTH_DISABLED=1 on a non-loopback bind (#214, #244). Auth off with --host 0.0.0.0 used to start with only a warning, so anyone who could reach the port got every tool. Startup now exits 2 unless the host is 127.0.0.0/8, ::1 or localhost; any other value (0.0.0.0, ::, a LAN IP, a hostname) counts as non-loopback. LIMINAL_AUTH_DISABLED_ALLOW_NONLOOPBACK=1 overrides it, with a loud warning, for a container whose port is published to loopback only. Breaking for anyone running auth-off on a non-loopback bind; see Upgrading.
  • CI: the Gojira-generated .github/workflows/gojira-ci.yaml is removed (#239). It deployed to the old dogfood install's cluster, which no longer exists, and it was the last workflow allowed a runner variable. tests/test_ci_workflow.py drops that exception. Adds .github/CODEOWNERS; since #247, Prudence (the project's AI code reviewer) owns everything except docs Markdown, so code changes need her review.
  • CI runs on GitHub-hosted runners. unit and integration moved off the self-hosted runner, fork PRs run the unit suite (the fork-pr job is gone), and a ci summary job fails unless unit succeeded, so a skipped job cannot pass (#236, #237). A branch ruleset requires ci and dco.
  • Licence: MIT. The project moves from AGPL-3.0-or-later to MIT, with the agreement of every contributor (tenishai/agora discussion 69). Releases already published keep the licence they shipped under (#235).
  • Docs: README and docs corrected against the code (handler count, credential and wire-format claims, JWT issuer requirements, labels validation, stale CI text) (#241).
  • Docs: a pre-release pass and a docs audit checked the README, the bundled guide and the agent-facing docs against the code (#246, #248, #251, #252); RELEASING.md records how a release is cut (#249); install wording stays true once the repos are public (#253); the README follows the outline the sibling repos share, with long sections moved to docs/install.md, docs/running.md and docs/what-works.md (#243).
  • ARCHITECTURE.md and CHANGELOG.md no longer name the maintainers' machines (#238).

Upgrading

  • Revocation checking (--revocation-ttl, default 30s) takes effect only against a cabal that serves GET /auth/revocations, which is on cabal main after 0.5.0rc1 (tenishai/cabal pull request 455) and planned for cabal 0.5.0, not yet released when liminal 0.11.0 was. Against an older cabal (404) liminal logs one warning and accepts tokens until exp as before. It needs --cabal-url and the LIMINAL_CABAL_TOKEN bearer.
  • A deployment that sets LIMINAL_AUTH_DISABLED=1 with a non-loopback --host (including the Docker image's default --host 0.0.0.0) now fails at startup with exit 2. Bind 127.0.0.1, configure a verifier, or set LIMINAL_AUTH_DISABLED_ALLOW_NONLOOPBACK=1 and publish the port to loopback only (-p 127.0.0.1:9100:9100).

liminal 0.10.0

Choose a tag to compare

@kmgreiner3 kmgreiner3 released this 20 Nov 03:22
3c46384

Added

  • GET /admin/cards: every loaded handler's capability card (#232). The admin plane
    returns each handler's card under the name a grant's allowed_handlers and a tool name
    use. Fields a handler adds beside the schema's come back as written: the card's labels,
    and keys on a tool such as permissions and risk. A governing service can then work
    out what a grant opens from the handlers themselves. kobo uses it to derive which
    handlers and scopes each permission opens, instead of keeping a table of another
    install's handlers (docs/writing-a-handler.md, "Fields a room reads from your card"). An
    admin plane built without the registry answers 404, never an empty list, so a reader
    keeps what it knew. create_admin_app takes registry=, and serve --admin-port
    passes the registry it discovered.
  • cabal handler (#189). A person's own MCP agent (Claude Code, goose, pi) sends tasks to
    cabal's personas and collects them: cabal.agents, send, task, tasks, answer,
    cancel, made as A2A v1.0 calls to /agents/{agent}/a2a. The caller's grant is its credential
    set, one CABAL_TOKEN_<AGENT> dispatch token per persona. send returns at once; a send that
    may have reached cabal without a reply returns outcome: "uncertain" with its contextId, which
    tasks settles. Setup and revocation: docs/cabal-handler.md.
  • cabal.inbox (cabal#314). The tasks waiting on the caller (input-required) across every
    persona it holds a token for, newest first, each with the agent's question, a group task once.
    contrib/claude-code/cabal_inbox_hook.py prints them into a Claude Code session at start and
    when a new one arrives (docs/cabal-handler.md, "Inbox").
  • exchange_uri on a trust-registry issuer: liminal trades a standing token itself
    (#227; sovereign mode, off by default). A caller that is a team's own code had to write the
    trade of its issuer's standing token for a short aud-scoped one, and the refresh, by
    hand. With exchange_uri set on its [[issuer]], it presents the standing token and
    liminal makes the trade: only after the signature and issuer hold (AudienceError),
    POSTed as a bearer, the answer verified in full, the identity reused for five minutes at
    most. The trade hands a caller nothing it could not fetch with one request of its own.
    What changes is that the standing token reaches liminal, so it is opt-in per issuer and
    the guide says what it costs. A registry without the key behaves as before.

Changed

  • serve --cabal-url exports LIMINAL_CABAL_URL before handler discovery when the variable is
    unset, so handlers that read it (the cabal handler) get the flag's value.

Upgrading

  • An embedding that builds its admin listener with create_admin_app passes registry=
    (the data plane's) to serve GET /admin/cards; without it that route answers 404.
    liminal serve already does.
  • The cabal handler ships in liminal's own entry points, so every install now loads it. A
    persona whose grant allows every handler (allowed_handlers unset) also sees cabal.*.
    Those tools refuse every call until LIMINAL_CABAL_A2A_URL or LIMINAL_CABAL_URL is set
    and the caller holds a CABAL_TOKEN_<AGENT> credential.

liminal 0.9.3

Choose a tag to compare

@kmgreiner3 kmgreiner3 released this 01 Nov 00:26
19afa2f

ToolCallOutcome.text includes embedded resources (#226): a file a server returns as an MCP EmbeddedResource now reaches the caller's text, named by uri and type.

liminal 0.9.2

Choose a tag to compare

@kmgreiner3 kmgreiner3 released this 31 Oct 19:12
b42d8b1

catalog_token_provider: a bearer for the catalog fetch, minted on demand by a provider from the liminal.catalog_tokens entry-point group (#225). For upstreams that refuse an unauthenticated initialize and want the credential on Authorization.

liminal 0.9.1

Choose a tag to compare

@kmgreiner3 kmgreiner3 released this 31 Oct 15:36
b16965b

A per-persona upstream session that is lost (reported as a JSON-RPC error instead of the spec's 404) or dropped (an initialized client holding no session id) is reopened with the persona's own credential before the call, and retried once. New: AsyncMCPClient.forget_session, AsyncMCPClient.has_session, log lines http_target.session_lost and http_target.session_missing. See CHANGELOG.md. (#224)

liminal 0.9.0

Choose a tag to compare

@kmgreiner3 kmgreiner3 released this 30 Oct 20:16
df9f2e8

Targets through the admin plane: PUT/DELETE /admin/targets/{name} and GET /admin/targets add, replace and remove federated HTTP targets while serving, persisted in the policy database and brought back at boot; the targets file stays the seed and keeps its names; no secret travels in a spec. Nothing to run on upgrade. See CHANGELOG 0.9.0 (#223).

liminal 0.8.0

Choose a tag to compare

@kmgreiner3 kmgreiner3 released this 30 Oct 18:32
f5b99b4

Two new [[target]] keys: auth_method = "service-headers" with [target.credential_headers] (a persona's leased credentials as named headers, per call, refused if any is missing) and [target.catalog_headers_env] (env-backed headers for the catalog fetch alone). For upstreams that authenticate with a key pair rather than a bearer token, such as Datadog's hosted MCP server. Nothing to run on upgrade. See CHANGELOG 0.8.0 (#221).

liminal 0.7.2

Choose a tag to compare

@kmgreiner3 kmgreiner3 released this 27 Oct 22:43
75b9c5b

Fixed

  • The aws handler never completed a real assume (#217). AssumeRoleWithWebIdentity
    takes no SourceIdentity parameter (that belongs to AssumeRole), and botocore refused
    it before the call left the gateway, so every call and whoami failed with a 500 once a
    role was configured. The agent's name now travels only in RoleSessionName
    (kobo-<agent>), which CloudTrail records in the assumed-role ARN. A client-side botocore
    failure is now an AwsError the agent can read instead of a traceback. Found when the
    same code made its first live call from bab.

v0.7.1

Choose a tag to compare

@dimartin dimartin released this 26 Oct 20:17
8eaed4f

Upgrading

  • Nothing to run. The Docker image now also installs botocore, through the [aws]
    extra. A pip install from git is unchanged unless you ask for [aws].

Added

  • liminal guide prints the guides that ship in the package. With no name it lists
    them; liminal guide welcome prints the welcome guide, which says what liminal is,
    which projects use it, and each auth mode, handler, extra, LIMINAL_* variable and
    endpoint with when to pick it and what it costs. An unknown name exits 2 and lists the
    valid ones (#213). The markdown lives in src/liminal/docs/ and rides in the wheel as package
    data, so an installed liminal can explain itself without the repo.
    tests/test_bundled_docs.py fails when a guide is missing from disk or from
    package-data, or when the welcome guide lacks a row for a built-in handler or extra.

Fixed

  • The Docker image installs the [aws] extra, so the aws handler can make calls in
    liminal's own image. Before, every aws.* call there refused for want of botocore (#213).

  • Docs caught up with 0.6.0 and 0.7.0. README and AGENTS.md counted five built-in
    handlers and left out aws; README now names it and the per-call audit, and has a
    "Where this fits" section. docs/writing-a-handler.md adds the aws.roles key, the
    optional startup/shutdown/status hooks, and mcp.session_id as caller input
    beside correlation_id. The repo card said 0.7.0 was the aws release; docs/design.md's
    health section now mentions unconfigured: handlers. liminal serve --help documents
    --host and --port (#213).