Repository navigation
v0.22.0: credential broker, the three hand-offs, helper commands - #118
Merged
Merged
Conversation
…ust is looked up under the real path Claude Code 2.1.332 opens a Unix socket for sandboxed commands only when the allowUnixSockets entry is the socket's real path. With the config directory reached through a symlink, setup wrote the path as given and sandboxed commands could not reach the daemon. Setup writes the real path, an entry spelled through a symlink no longer counts as covering the socket, and uninstall removes both forms. Codex records hook trust under the real path of hooks.json, so with CODEX_HOME reached through a symlink doctor kept saying the hooks were not trusted. The sandbox hint names both hosts, and two doctor lines say which Codex versions they were run on.
…ts new repository A config directory deep enough that proxy.sock is over the Unix socket path limit (104 bytes on macOS, 108 on Linux, both measured with Node 24) ended the daemon with a listen EINVAL stack trace. It now ends with the reason and the fix. The OpenShell check and the vendored proto note point at ai-openshell/openshell.
Agent Substrate's egress gateway replaces a placeholder header with a credential it fetches from a provider plugin, one FetchSecret call per request. `aquaman daemon` serves that call when substrate.provider.enabled, so the key comes from the vault, only for the actors it was granted to, with an audit entry per fetch. The listener is the daemon's only one meant to be reached from another machine. TLS 1.3 with a required client certificate, and when a call's headers arrive the certificate must be within its dates and carry exactly the gateway's SPIFFE identity. Connections are bounded in calls, memory, idle time and age, and closed when the authority bundle is replaced. Certificate files are read again when they change; a set that does not load is not adopted. Nobody is there to approve, so substrate.provider.grants maps an atespace or one actor to the references it may be given. Everything that can refuse does so before the vault is read. Fetches are rate-limited per actor and per atespace. Refusals are written once per caller and kind per minute, bounded overall, and the rest are counted in a summary. The provider does not start with the audit log switched off. deploy/substrate holds the image recipe, a lockfile for what it installs and a manifest. The release builds and attests the image for amd64 and arm64; scripts/check-image-lock.mjs stops it if the lockfile would move to a package that is not in a reviewed lockfile, and CI runs the same check before a tag exists. Dependabot tracks the base image digest and the image's lockfile. scripts/e2e-substrate.sh runs the provider against a real gateway on a kind cluster; substrate-compat.yml runs it when the provider changes and weekly. Also: audit.maxArchives in config.yaml, `aquaman audit tail` shows the actor a key was fetched for, and `aquaman substrate doctor`.
…n 0.22.0 aquaman is described as a credential broker: one daemon that reads the vault you already have and hands a key off in one of three ways (forward and inject, resolve, hand to the host). A diagram of that is in the README, the packages doc, the site's home page and a new page, "How aquaman fits together". The tables say where method and path rules apply and who holds the key, and which OpenClaw and Hermes traffic is forwarded. docs/helper-commands.md gives the form of `aquaman get` that worked behind Claude Code's apiKeyHelper, a Codex provider's auth command, Hermes's key_cmd and an OpenClaw exec secrets provider, each run against a stand-in API. The Codex example in the docs and in `aquaman get --help` named the built-in provider, which Codex refuses. AGENTS.md carries the hook contracts as run on Claude Code 2.1.332 and Codex 0.172.0, and the rules of the Agent Substrate provider.
… page; labels say model keys The home page already tells the same in its own sections (the vault list, the host picker, the routed-app diagram, the dialog), so the diagram there repeated four of them. It stays on "How aquaman fits together" and in the README, and the host picker links to that page. In the diagram and its tables, OpenClaw and Hermes are labelled by what is forwarded for them (model keys, and Telegram for OpenClaw), with the providers named in the table.
The picker on the home page shows its hosts in four groups with a caption over each: coding assistants, personal agents, sandboxes, your own app. The Markdown version of the page lists them the same way and describes which hosts go through the proxy and which inject keys themselves. `aquaman init` named a command that does not exist (`aquaman start`); it says `aquaman daemon`. The "cannot be routed" refusal says that AWS can be.
Found by reading each document against the code and against the others. Not updated for this release: lists of hosts that ended before Agent Substrate, compliance pages that said the daemon has no network exposure, the README's security model and transports table, "no house vault" and "tamper-evident" where the notes rule them out. Stale before it: a policy example for a service that is not builtin and a claim that setup writes presets for it; the Telegram token described as stored in openclaw.json; chat commands and an `aquaman-coder get` that do not exist; a package boundary doc describing a code move that never happened; the old diagram in the proxy README; two broken anchors. Added: the settings of the Agent Substrate provider with their defaults, and the size of the audit log with `audit.maxArchives`.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…request; preview image says broker A new CI job builds the image from the checkout with its lockfile and checks that it runs this checkout's daemon as an unprivileged user with the provider's packages in it. The provider against a real gateway stays in substrate-compat.yml. The picture shown when the site's link is shared said "Credential proxy for AI agents"; it says "broker", and its dialog text matches the real dialog. `aquaman substrate doctor` no longer suggests a backend the guide does not cover for a cluster.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #118 +/- ##
==========================================
+ Coverage 99.10% 99.30% +0.20%
==========================================
Files 61 61
Lines 9015 9035 +20
==========================================
+ Hits 8934 8972 +38
+ Misses 81 63 -18
🚀 New features to boost your workflow:
|
…not ask for a JUnit file On a GitHub runner the cluster, the Substrate install and the provider came up and `aquaman substrate doctor` passed; the driver then stopped before its first check because Substrate's test runner requires a JUnit file when CI=true. The script counts the driver's checks itself.
In a cluster the usual way to get vault keys to a workload already exists: an operator fills Kubernetes Secrets from the vault, and Substrate's own provider reads those. What aquaman would add there (no copy in the cluster, grants per actor, an audit entry per fetch) has no user asking for it, and the provider is the daemon's only listener another machine can reach, with an image and release jobs to keep. It is not part of 0.22.0. Removed: the provider and its proto, tests, image recipe, manifest, lockfile check, cluster script and workflows, the guide, and every mention in the docs, the diagram, the site and the notes. The release workflow, CI, Dependabot config and version script are as they were before it. Kept: `audit.maxArchives`, the three hand-offs and their diagram, the grouped host picker, the helper commands page, the documentation pass and the fixes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this release is
aquaman is described as a credential broker: one daemon that reads the vault you already have and hands a key off in one of three ways, depending on what the agent host allows. This release is that description, a page on helper commands, a pass over every document, and fixes. Nothing changes for an existing install.
How it fits together
Helper commands
aquaman getthat works behind Claude Code'sapiKeyHelper, a Codex provider's auth command, Hermes'skey_cmdand an OpenClaw exec secrets provider, and how each host behaves when the command fails.aquaman get --helpnamed Codex's built-in provider, which Codex refuses. It works on a provider you define.Documentation pass
Every document was read against the code and against the others. Corrected, among others:
openclaw.jsonaquaman-coder getthat do not existFixes
aquaman-coder setup claude-codewrites the proxy socket into the sandbox allow-list by its real path. Claude Code 2.1.332 opens the socket only for the real path, so with a symlinked config directory sandboxed commands could not reach the daemon.aquaman-coder doctorfinds Codex hook trust under the real path ofhooks.json.aquaman initnamed a command that does not exist.audit.maxArchivesinconfig.yamlsets how many 10 MB audit log files are kept (10 by default,0keeps all).What was run