Repository navigation
Releases
v0.1.0-alpha
The first release of the 0.1 line, for macOS and Linux (amd64 and arm64). Setup moves from the terminal to a page: the agent runs basalt init and the person finishes on the page it links. The CLI only starts things. Expect bugs and breaking changes between alpha releases, and read "Breaking for alpha installs" before you upgrade.
Added
- The local setup page (
/setup/onhttp://localhost:8787). On your own computerbasalt initinstalls the engine service through the system's administrator dialog, one password and nothing typed in the terminal, then prints and opens the setup link. On the page you type the admin connection string, which is used once and never written or logged, pick the tables the agent gets (read and change, or read only; a table without a primary key is read only), label the columns that hold personal data, create a passkey, read the SQL and run the install in one transaction. A service engine with noengine.jsonyet serves only this page and waits. - The check-up.
basalt initon a computer already set up opens the page on a check-up. Problems that stop BasaltDB working (a guard update, a new database certificate, a certificate that does not match the ledger, no passkey, an agent that cannot log in) each have their own fix button, which asks for the admin connection string or your passkey. Columns without a label are a warning that never blocks, and leaving them unlabeled is remembered. With nothing critical open the page says "Ready", and Done ends on an "All set" screen that says to go back to your agent. The passkey list removes a lost device's passkey and adds one on this device. - Passkeys work without Touch ID: the prompts accept a fingerprint, face, the computer's password or PIN, a phone or a security key.
- Remove BasaltDB on the setup page, with one press: the agent runs
basalt init --remove, and its page has one box and one button. It shows what goes (the ledger, the guard, the agents by name; your tables stay) with the SQL, and its button names the database and its host (Remove BasaltDB from <database> on <host>): the admin connection string you pasted is the confirmation, with no name to type. On your own computer the setup installs a small removal job with the engine, so the same press then removes the engine service and its files from the computer too, with no second password, no terminal and no trip back to the agent; the page ticks the database and this computer as each is done. macOS keeps the engine's hidden system account_basalt(a background job cannot delete a user there without Full Disk Access) and a new setup uses it again;docs/install.mdgivessudo sysadminctl -deleteUser _basaltandsudo dseditgroup -o delete _basaltto delete it. Afterwards the agent'sstatusanswersREMOVEDand tells the agent to remove its own MCP entry. The service stays while the engine still serves an agent of another database. - The connect page (
https://portal.basaltvault.app/connect), for an agent on a computer you cannot reach.basalt init --remotemakes a connect-only setup code and prints its link. The code names no database, so you give the agent nothing about it. The page checks that the code matches the one in the chat, takes the passkey step, and asks for the admin connection string, which it sends to the hosted connect service for that one setup and keeps nowhere. It checks that the bot can reach the database, shows it by name with its tables, and lets you untick tables and label personal data. - The engine collects a connect-only setup's address itself and logs in with the agent's real password only after you confirm the database in the chat, through the new
confirm_databasetool. - The connect page runs the update for a bot that is already set up (the guard, labels, passkeys, a changed certificate), and has a Remove BasaltDB tab that needs only the admin connection string: no bot and no setup code.
- Remove BasaltDB from a bot's computer with one press: ask the bot, and
basalt init --removeon its agent-operated engine prints a removal link to the connect page. There you paste the admin connection string (the page checks it by itself, with no name to type) and press Remove BasaltDB from on . The bot's engine then removes itself: once a fresh login shows its role is gone, it stops, deletes its config, state and credential files (thebasaltbinary stays) and reports back, and the page ticks the database and the bot's computer. Afterwards the bot'sstatusanswersREMOVED. - Both setup pages ask one question after you paste the admin connection string: "Is this your database?", with the database, its host, the user the string signs in as and how its certificate was verified.
- Trust profiles: which root certificates verify a database's certificate, as data. The engine now connects to Supabase and Amazon RDS with full TLS verification (
sslmode=verify-full, host name checked) from built-in profiles of their roots, and each provider's roots verify only its own hosts. An operator can place a profile file intrust.dnext toengine.json.statusreports which trust verifies the agent's database and warnsTRUST_ROOT_EXPIRING,TRUST_PROFILE_REFUSEDandCERTIFICATE_NOT_VERIFIED. - A connection string that is encrypted but doesn't check the certificate (
sslmode=require,preferorverify-ca) gets a warning in three places. BasaltDB keeps thesslmodeyou gave it and changes it only on your click. "Is this your database?" warns and, for Supabase and Amazon RDS, offers Check the certificate, which switches onlysslmodetoverify-fulland checks again; if the certificate isn't the provider's, nothing is sent and you go back or continue without checking. The check-up shows a Certificate not checked row whose Check it rewrites the agent's saved connection toverify-fullafter a check that passes.statuswarnsCERTIFICATE_NOT_CHECKED. A connection with no encryption at all (sslmode=disable, orpreferon a server without TLS) gets the same treatment:statuswarnsCONNECTION_NOT_ENCRYPTED, and the check-up shows Connection not encrypted. On Supabase and Amazon RDS hosts, Check it switches the connection toverify-full. - Pinning on first use. For a database whose certificate no authority on the machine signs (Cloud SQL, DigitalOcean, Aiven, self-signed), confirming "Is this your database?" pins its certificate authority for that host only. From the connect page the engine pins only when its own reading of the chain matches what you trusted. A chain from a public authority is never pinned. The pin is recorded in the ledger, and a pinned host that presents another certificate is refused with
TRUST_ROOT_CHANGEDuntil you accept it on the Update check. basalt engine --superviserestarts a crashed engine with a backoff and gives up after five fast crashes in a row, recording why.basalt mcpstarts a same-user engine it finds down, so a bot's computer that lost its engine after a reboot or an update needs no step.--started-bysays why an engine started, andstatusreports it.- The engine restarts itself onto an upgraded binary installed at the path it was started from, with or without a service manager, once running calls finish.
basalt mcpwaits for the restarted engine and sends a dropped read once more; writes, approvals and reverts are never sent twice.basalt mcpand the engine agree on a protocol version when they connect. - A daily check for a newer release.
basaltprints one line on stderr when one is out, and the agent'sstatusanddescribecarry anupdatemessage for it to pass on. It sends nothing but the request. Turn it off withBASALT_UPDATE_CHECK=offor"updateCheck": "OFF"inengine.json. - On an engine you operate,
basalt mcpopens a link to the engine's own local pages in the browser when a result carries one, such as a held write's approval page or a revert to sign. It opens no other URL, and nothing on an engine an agent operates. - When
basaltpanics it saves a scrubbed crash report on the machine, andstatusnames the newest one with a link to file it on GitHub yourself. Nothing is sent. A tool call that panics ends withINTERNALinstead of stopping the engine. - The
statustool lists the tables the agent can read and write and names each passkey with a check code.describenames the agent's database and host. - The CLI's help and the MCP instructions say that one engine serves many agents, each on one database, and that another database needs another agent.
- The portal has a home page and a not-found page.
- A database whose BasaltDB install is too old to update is replaced on the setup page. The page says so first, from what it found ("It was set up by BasaltDB (guard version N)", or "It has guard version N" when no release is recorded, and the guard version this release needs), then runs the normal install steps. The last button, Remove the old install and set up, asks for the database's name and removes the old install and installs in one transaction: if the setup fails, the old install stays as it was. Your tables and rows stay; the old install's agent history and undo, held approvals and passkeys go. An update is still refused there.
- Guard version 14 records, in
basalt_meta.schema_version, the BasaltDB release that wrote each version (release), so a later release can name the one that set a database up. Non-breaking: an engine serves agents on a guard without it. - Guard version 15 records a held write, revert or plugin approval its agent withdrew, with the agent's reason, and never takes a signature for it: the approval, revert and plugin pages say "The agent withdrew this request: . Nothing changed." and offer nothing to sign, on the engine's own pages and on the portal alike, and a write sent with a withdrawn approval writes nothing. A held write the ag...
v0.0.1-alpha.2
A small alpha fix release for macOS and Linux (amd64 and arm64). Expect bugs and breaking changes between alpha releases.
Install:
brew install basaltdbhq/tap/basaltdb
or download an archive below and check it against SHA256SUMS. Windows is not built yet.
Fixed
- A connection to the vault that BasaltDB ends itself, for example after the link is rotated, ended, or a session times out, now closes with its reason (such as
LINK_REFUSEDorTIMEOUT) instead of an abnormal closure without a code. The session always ended; only the reason could be lost. - A data race in the vault session's idle timeout, seen only with very short idle timeouts (the default is 5 minutes).
Changed
- Release binaries are built with Go 1.26.11, the toolchain set in
go.mod, instead of Go 1.26.0.
What is in it: see CHANGELOG.md. Full changelog: v0.0.1-alpha.1...v0.0.1-alpha.2
v0.0.1-alpha.1
First public alpha with a Homebrew formula, for macOS and Linux (amd64 and arm64). Expect bugs and breaking changes between alpha releases.
Install:
brew install basaltdbhq/tap/basaltdbor download an archive below and check it against SHA256SUMS. Windows is not built yet.
What is in it: see CHANGELOG.md. Start with the quickstart.
v0.0.1-alpha
First public alpha, for macOS and Linux (amd64 and arm64). Expect bugs and breaking changes between alpha releases.
Known problem with this release: the binaries and checksums below are complete, but the Homebrew formula was not published for this version. To install with Homebrew, use v0.0.1-alpha.1 or later.
See CHANGELOG.md.