Repository navigation
Releases
v0.12.0
Changed
- A pushed
vX.Y.Ztag publishes the imageghcr.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.ymlis ported from cabal's;test.ymlnow accepts
workflow_callso 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
integrationjob runs on every push and pull request, andcirequires 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 pinscinow checks it fails when either job does not
succeed. - techne pin moves from 0.18.2 to 0.20.0 (#259).
requirements-sources.txtpins the
v0.20.0tag, thememoryextra needstenish-techne>=0.20.0, and the Dockerfile's
TECHNE_VERSION/TECHNE_WHEEL_SHA256name the v0.20.0 release wheel
(1e9371c5...). A sibling-checkout build needs../techneatv0.20.0.
Fixed
/healthzreportsnotifyasunconfiguredwithout a webhook URL (issue 254). It
saidready, but with noLIMINAL_NOTIFY_WEBHOOK_URLeverynotify.sendthat names no
URL in its credentials or tool extras is refused. It now readsunconfigured: LIMINAL_NOTIFY_WEBHOOK_URL is unset ..., which, as forfilesandmemory, does not
make the gateway degraded, and startup logsliminal.handler_unconfiguredfor it.- Security:
files.writerefuses config that developer tools run with no command
(part of issue 155). Without thefiles:protected_writesgrant it now refuses.envrc
(direnv loads it oncd),.vscode/tasks.json(afolderOpentask 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. webandnotifyno longer read proxy settings from the environment (issue 204).
WithHTTPS_PROXYset, 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 settrust_env=False: no env proxy, and noSSL_CERT_FILE
orSSL_CERT_DIReither (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
memoryextra needstenish-techne>=0.20.0, and an image built from a sibling checkout needs../techneatv0.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. webandnotifyignoreHTTPS_PROXY,HTTP_PROXY,SSL_CERT_FILEandSSL_CERT_DIR. A deployment that reached the internet only through an environment proxy, or trusted a private CA throughSSL_CERT_FILE, now fails those calls. Give the gateway direct egress, or use a webhook and fetch targets the public roots verify.files.writerefuses more paths without thefiles:protected_writesgrant:.envrc,.vscode/tasks.json,.pre-commit-config.yaml, every lefthook config and anything under.husky/. An agent that wrote those needs the grant./healthzreportsnotifyasunconfiguredwhenLIMINAL_NOTIFY_WEBHOOK_URLis unset. The gateway is not marked degraded by it, but a monitor that matchednotify: readywill see the change.
Image: ghcr.io/tenishai/liminal@sha256:0ddd7a925e66522ad2837e030e5e3aa61f7f300830c0decbc1985ea906c8b917 (tags v0.12.0, 83d83e9; linux/amd64, linux/arm64)
liminal 0.11.0
Fixed
- Security: liminal refuses tokens whose subject cabal has revoked (issue 228, #245). It
checked a cabal token's signature,iss,audandexpbut never cabal's revocation
list, so afterPOST /admin/token/revokea 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-urlset, liminal now fetches that cabal'sGET /auth/revocations(new
--revocation-ttl, default 30s) and refuses its tokens withiatbefore 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:
notifyrefuses 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 as64:ff9b::a00:1, passed.webalready 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
.gitignoreopens 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_emptyis logged with the target and tool name. The nonce and_metacontract are unchanged. - Security:
liminal serverefusesLIMINAL_AUTH_DISABLED=1on a non-loopback bind (#214, #244). Auth off with--host 0.0.0.0used 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,::1orlocalhost; any other value (0.0.0.0,::, a LAN IP, a hostname) counts as non-loopback.LIMINAL_AUTH_DISABLED_ALLOW_NONLOOPBACK=1overrides 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.yamlis 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.pydrops 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.
unitandintegrationmoved off the self-hosted runner, fork PRs run the unit suite (thefork-prjob is gone), and acisummary job fails unlessunitsucceeded, so a skipped job cannot pass (#236, #237). A branch ruleset requirescianddco. - 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,
labelsvalidation, 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.mdanddocs/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 servesGET /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 untilexpas before. It needs--cabal-urland theLIMINAL_CABAL_TOKENbearer. - A deployment that sets
LIMINAL_AUTH_DISABLED=1with a non-loopback--host(including the Docker image's default--host 0.0.0.0) now fails at startup with exit 2. Bind127.0.0.1, configure a verifier, or setLIMINAL_AUTH_DISABLED_ALLOW_NONLOOPBACK=1and publish the port to loopback only (-p 127.0.0.1:9100:9100).
liminal 0.10.0
Added
GET /admin/cards: every loaded handler's capability card (#232). The admin plane
returns each handler's card under the name a grant'sallowed_handlersand a tool name
use. Fields a handler adds beside the schema's come back as written: the card'slabels,
and keys on a tool such aspermissionsandrisk. 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_apptakesregistry=, andserve --admin-port
passes the registry it discovered.cabalhandler (#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, oneCABAL_TOKEN_<AGENT>dispatch token per persona.sendreturns at once; a send that
may have reached cabal without a reply returnsoutcome: "uncertain"with its contextId, which
taskssettles. 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.pyprints them into a Claude Code session at start and
when a new one arrives (docs/cabal-handler.md, "Inbox").exchange_urion 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 shortaud-scoped one, and the refresh, by
hand. Withexchange_uriset 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-urlexportsLIMINAL_CABAL_URLbefore 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_apppassesregistry=
(the data plane's) to serveGET /admin/cards; without it that route answers 404.
liminal servealready does. - The
cabalhandler ships in liminal's own entry points, so every install now loads it. A
persona whose grant allows every handler (allowed_handlersunset) also seescabal.*.
Those tools refuse every call untilLIMINAL_CABAL_A2A_URLorLIMINAL_CABAL_URLis set
and the caller holds aCABAL_TOKEN_<AGENT>credential.
liminal 0.9.3
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
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
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
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
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
Fixed
- The
awshandler never completed a real assume (#217).AssumeRoleWithWebIdentity
takes noSourceIdentityparameter (that belongs toAssumeRole), and botocore refused
it before the call left the gateway, so everycallandwhoamifailed with a 500 once a
role was configured. The agent's name now travels only inRoleSessionName
(kobo-<agent>), which CloudTrail records in the assumed-role ARN. A client-side botocore
failure is now anAwsErrorthe agent can read instead of a traceback. Found when the
same code made its first live call from bab.
v0.7.1
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 guideprints the guides that ship in the package. With no name it lists
them;liminal guide welcomeprints 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 insrc/liminal/docs/and rides in the wheel as package
data, so an installed liminal can explain itself without the repo.
tests/test_bundled_docs.pyfails 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 theawshandler can make calls in
liminal's own image. Before, everyaws.*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 outaws; README now names it and the per-call audit, and has a
"Where this fits" section.docs/writing-a-handler.mdadds theaws.roleskey, the
optionalstartup/shutdown/statushooks, andmcp.session_idas caller input
besidecorrelation_id. The repo card said 0.7.0 was the aws release;docs/design.md's
health section now mentionsunconfigured:handlers.liminal serve --helpdocuments
--hostand--port(#213).