Skip to content

↑↓ to move · Enter to open · Esc to close

Limitations

The known functional limits of every Osevel product, collected in one place (CLI 0.2.0). Security limits are in security.md.

  • Only what passes through Osevel is covered. An agent that uses its own key, its own database connection or an MCP server outside the box is not seen. osevel brain coverage and osevel api scan show where that is possible on a computer.
  • Agents on your own computer. OsVault, OsApi, OsBox, OsMemory and OsBrain work where the CLI runs. Agents that run in someone else’s cloud (hosted background agents) are not covered.
  • The Osevel service exists on macOS and Linux only. sudo osevel daemon install runs Osevel as its own system user, only on an encrypted disk and only with a machine key (Secure Enclave, TPM, or a key service’s file). There is no service on Windows yet.
  • Without the service, agents and Osevel are the same user. Rules, records, held calls, acceptances and notes are then files in your own folder. A program running as you, an agent with a shell included, can read or change them. Each product’s section says what that means.
  • The panel pages of OsApi and OsBrain show one person’s own computer (a personal bridge). A team bridge shows none. Team approval routing exists for OsBase only.
  • Approving from a phone is not available. Held moves are decided in the panel with a passkey or at the terminal.

The sections from Platform to OsBase: not built yet are about OsBase, the database product.

  • PostgreSQL and Cloudflare D1. No other database is supported. A D1 database is served through templates only (one tool per granted template, no raw SQL); see d1.md.
  • Versions. Tested on PostgreSQL 15, 16, 17 and 18 and on the Supabase images supabase/postgres:15.19.0.019 and 17.11.0.019. The journal SQL needs 13 or newer; 13 and 14 install but are untested (doctor says so). The SQL parser is pinned to the PostgreSQL 17 grammar: on 18, a statement only the 18 grammar knows (for example a VIRTUAL generated column) is refused as invalid, never guessed. RETURNING old.*, new.* parses (as a write) and is allowed.
  • Hosted Supabase, Windows and the published package on other operating systems are untested. See security.md.
  • Daemon mode runs on macOS and Linux only, only on an encrypted disk and only with a machine key (Secure Enclave, TPM, or a key service’s file). The sealed passwords protect against a copy of the disk, not against whoever is root on the running machine: that one can open the key as the daemon does.
  • Session-scoped connections are required. The executor runs each statement in its own transaction and measures it on the same connection; undo serialises itself with a session-level advisory lock. Use a direct connection or a session-mode pooler. A transaction-mode pooler is supported only for the agent’s connection on Neon, where osevel splits the connections itself (the agent through -pooler, everything else direct; see neon.md). Other transaction-mode poolers, Supabase’s Supavisor among them, are untested.
  • TLS defaults to verify-full for any non-local host and can be disabled only for localhost or a Unix socket.
  • One statement per call. Multiple statements in one call are refused. There are no multi-statement transactions: BEGIN, COMMIT, SAVEPOINT and the like are refused, and each call commits on its own.
  • SQL size: at most 256 KiB per statement.
  • Read limits: query returns at most 500 rows by default (mcp --max-rows, up to 100000) and 1 MiB of result text; the connection is dropped if the server sends more than 8 MiB for one statement. A truncated result says so.
  • Timeouts: 30 seconds per statement and 5 seconds per lock wait for agent statements.
  • Approvals expire after 15 minutes. An approval prompt in the MCP client times out after 5 minutes and leaves the request pending.
  • Wrong tool: a write sent to query, DDL sent to execute and so on is not run; the agent is told which tool to use.
  • EXPLAIN ANALYZE executes its statement, so it is classified like that statement: EXPLAIN ANALYZE SELECT ... is a read, EXPLAIN ANALYZE DELETE ... a data write that must go through execute.
  • Volume limits: with the default policy, more than 100 rows in one statement, more than 1000 rows in one session within 10 minutes, or more than 3000 rows across all agent sessions within 10 minutes need approval. Rows changed through cascades count.
  • get_schema lists only tables and views of the managed schemas that the agent role can access. The agent can still query other objects that PUBLIC may read.

Refused by the classifier whatever the policy says (most are also refused by the database):

Group Statements
Transaction control BEGIN, START TRANSACTION, COMMIT, ROLLBACK, SAVEPOINT, RELEASE, PREPARE TRANSACTION, COMMIT/ROLLBACK PREPARED
Session settings SET, SET LOCAL, RESET, SET ROLE, SET SESSION AUTHORIZATION, DISCARD, SET CONSTRAINTS
Roles and privileges CREATE/ALTER/DROP ROLE (and USER, GROUP), GRANT, REVOKE, ALTER DEFAULT PRIVILEGES, REASSIGN OWNED, DROP OWNED, ALTER ... OWNER TO
Server and database ALTER SYSTEM, CREATE/ALTER/DROP DATABASE, tablespaces, CREATE LANGUAGE, CREATE ACCESS METHOD, SECURITY LABEL, LOAD
Extensions CREATE/ALTER/DROP EXTENSION
Event triggers CREATE/ALTER/DROP EVENT TRIGGER
Maintenance VACUUM, ANALYZE, CLUSTER, REINDEX, CHECKPOINT
Session state LISTEN, UNLISTEN, NOTIFY, LOCK, cursors (DECLARE, FETCH, MOVE, CLOSE), PREPARE, EXECUTE, DEALLOCATE
External data COPY (all forms), foreign data wrappers, servers, user mappings, IMPORT FOREIGN SCHEMA, CREATE FOREIGN TABLE
Replication publications and subscriptions
osevel’s own schemas any statement that references agent_reverse, agent_reverse_trash or agent_reverse_api

Anything the classifier does not recognise is refused too. The function pg_notify() is not a statement and remains usable (see security).

  • Names must be schema-qualified. Schema changes run with an empty search_path (pg_catalog, pg_temp). Every table, type and function the agent creates or names must be qualified (public.orders, not orders); unqualified relations are rejected when planning, unqualified types and functions fail when executed. Indexes need an explicit name.

  • Managed schemas only. Every relation and object a schema change names must be in a managed schema; built-in types and functions from pg_catalog may be referenced. This also refuses foreign keys to tables in unmanaged schemas, such as Supabase’s auth.users. CREATE SCHEMA, DROP SCHEMA and ALTER SCHEMA ... RENAME are always refused.

  • Expressions need a human. A schema change that evaluates an expression (a function call, a sub-query, CREATE TABLE AS, SELECT INTO) runs with the table owner’s rights and always needs approval at a terminal, even if a policy rule allows schema changes.

  • Cannot be gated: statements that cannot run inside a transaction or a function. The exceptions are CREATE [UNIQUE] INDEX CONCURRENTLY and DROP INDEX CONCURRENTLY (named, schema-qualified, one index) when pg_cron is installed in the database (it must be pg_cron’s cron.database_name): the gate hands the statement, made idempotent (IF NOT EXISTS / IF EXISTS), to pg_cron, which runs it as the table owner outside a transaction, plus a cleanup job that removes both once the work is done or a run failed. The call waits up to the statement timeout (at most 60 s) and reports done, running or failed (an INVALID index left by a failed build, to drop). Undo of a concurrent build is a plain DROP INDEX (brief lock). Without pg_cron, CONCURRENTLY is refused with this explanation. If pg_cron’s run log is off (cron.log_run = off), a job that fails before the index exists repeats until removed by hand. See schema-changes.md.

  • What can be undone:

    Statement Undo class Notes
    CREATE TABLE REVERSIBLE Undo drops it only if it is empty. PARTITION OF / INHERITS: IRREVERSIBLE.
    CREATE TABLE AS, SELECT INTO as CREATE TABLE Always needs a terminal approval.
    CREATE INDEX (named, not CONCURRENTLY) REVERSIBLE
    ALTER TABLE ... ADD COLUMN REVERSIBLE Undo refuses to drop the column while it holds data someone else wrote (data_present).
    ALTER TABLE ... DROP COLUMN BEST_EFFORT Values are saved to the trash by primary key and restored; defaults, constraints, indexes and dependent objects are not. IRREVERSIBLE without a primary key, for key or generated columns, or with CASCADE and dependents.
    DROP TABLE without dependents REVERSIBLE Soft drop: the table is moved to agent_reverse_trash and moved back on undo.
    DROP TABLE with dependents (views, foreign keys from other tables, row-type users, partitions or inheritance) IRREVERSIBLE Runs as is.
    TRUNCATE up to 10 000 rows in total REVERSIBLE A copy is saved to the trash first and re-inserted on undo. RESTART IDENTITY: BEST_EFFORT. CASCADE reaching other tables, foreign-key cycles, inheritance children: IRREVERSIBLE.
    TRUNCATE above 10 000 rows refused
    Everything else (ALTER COLUMN TYPE, renames, CREATE FUNCTION, CREATE VIEW, CREATE TRIGGER, …) IRREVERSIBLE Always needs approval at a terminal.
  • Approved schema changes re-open accepted SECURITY DEFINER items, and so does schema undo: if you have accepted any, the agent is cut off after each such change until you accept them again.

  • Application writes are not journaled. Only rows changed by the agent role, the approval gate and undo itself are captured. Undo never reverts your application’s writes, and cascades your application causes (for example from Supabase’s auth.users) are not recorded.
  • ABA. A later application write that leaves the agent’s columns at exactly the agent’s values cannot be told apart from no write; undo then restores the old value over it. Later writes by captured roles (another agent session, the gate, an earlier undo) are detected.
  • Conflicts are skipped, not forced. A row someone changed after the agent is left alone and reported. --strict applies nothing if the plan has a conflict, but an undo that mixes data and schema steps commits in several transactions, and a conflict found while applying leaves the earlier parts applied.
  • Sequences are not rolled back. Values consumed by inserts stay consumed.
  • Large objects and NOTIFY messages are not journaled and not undone.
  • json columns. Row images are stored as jsonb. A json (not jsonb) column restored by undo gets the jsonb text form: original whitespace, key order and duplicate keys are not preserved.
  • Types with a user-defined cast to json (for example an enum with such a cast) are stored in their text form, so that the cast’s code never runs during capture. They are restored through the type’s input function. verify lists such columns (text_image_columns).
  • Tables without a primary key. Undo matches whole rows, one row per journal entry; when several rows match it reports ambiguous_match instead of guessing.
  • User triggers fire again during undo, as the undo role. Their side effects are not suppressed, and a trigger that fails turns its step into a conflict. An unaccepted SECURITY DEFINER trigger blocks undo on its table until you accept or remove it.
  • Schema undo follows the table above: best-effort and irreversible changes are reported in the plan. A schema step runs through the database gate and commits on its own.
  • One undo at a time. A second undo waits up to 30 seconds, then gives up.
  • Only committed changes (and partially undone ones) can be undone. Pruned changes cannot be undone or shown.
  • Schema names in the CLI must be lower-case and unquoted ([a-z_][a-z0-9_$]*). The pg_* schemas, information_schema and osevel’s own schemas cannot be managed.
  • Project names: 1 to 64 characters a-z, 0-9, _, -, starting with a letter or digit.
  • Role prefix: 1 to 20 characters [a-z0-9_], starting with a letter. Roles are cluster-wide; a prefix whose roles are used in another database is refused.
  • Tables that are skipped: tables owned by a role the admin cannot act as, partitions (captured through their root), temporary tables, tables with a write rule (rewrite rules can redirect writes; drop the rule, then sync), and tables whose cascade closure cannot be captured.
  • Without event triggers (an admin that may not create them, on plain Postgres): tables created later are unavailable to the agent until sync, and there is no DDL guard (the login roles can create temporary objects). On Supabase, install refuses in this case.
  • Row-level security is not applied to the agent: in either RLS mode it can read and write every row of the managed tables.
  • Inheritance children in other schemas are readable through a managed parent table.
  • Changing schemas, accepting a risk or rotating passwords requires projects remove and init again, which replaces all five passwords; restart the MCP server afterwards.
  • uninstall refuses while the trash schema holds tables unless --force-trash is given.
  • prune deletes journal history permanently; pruned changes cannot be undone.
  • Daemon mode (the MCP server as a separate OS user) is built, except its reader role; the service install with launchd and systemd has not been run in the automated tests. Without daemon mode the confirmation code is not a hard boundary against an agent with shell access.
  • What an agent sees is built (journal v28-v30, see agents.md), except: OpenTelemetry spans, the per-agent stand-in key (one key per database), the masked form of tables with row security in policy mode (refused), and the phone as a second step for reveals on production (the terminal or the panel decides). A reveal cannot be decided from the IDE.
  • The plain npm name osevel: npm holds it back for now; the package is @osevel/cli.
  • Showing row contents of approved inserts; inserts are bound by count only.
  • Hosted Postgres is a working prototype, not a service you can sign up for; see hosted.md.

Guide: osvault.md.

  • Use, not read. An agent cannot copy a locked key, but it can still use it at its service, within what the service lets the key do. A key that can create other keys can be used to create one. Prefer the service’s restricted keys.
  • No approval before a use. A vault never makes an agent wait. Only dangerous cloud API calls are held, by OsApi.
  • Keys that are not locked are given as real values in the command’s environment, and masked in what the agent reads back. Masking protects against accidents, not against a determined program.
  • Masking: values under 8 characters cannot be masked (the run names them). Each output stream is masked on its own, so a value split between stdout and stderr is not masked.
  • Keys locked automatically on save: Stripe, OpenAI, Anthropic, GitHub, Slack, SendGrid, Resend, Neon, Supabase Management, Vercel and Render, by their format. Any other key is locked when you name the address it is for. A Railway token is a plain UUID and must be locked by hand. A key is locked to one host.
  • Where a locked key is put in: a credential header, a credential parameter or a whole path segment, once per request. A key an API wants inside the request body is not put in. A stand-in anywhere else gets the request refused.
  • The run proxy was tested with curl, Node fetch and Python 3.13. Not tested: axios, Python requests, the Stripe, OpenAI and Anthropic SDKs, and Node versions before 24.
  • vault_run runs one command without a shell, for at most 10 minutes, one call at a time, and returns the last 100 kB of masked output. On Windows, .cmd files such as npm must be run through cmd.exe /c.
  • Default environment. Without --env, only development is used. Without --vault, the computer must be linked to exactly one vault.
  • Platforms. The key stores on Windows (DPAPI) and Linux (the desktop keyring) are covered by unit tests with a memory store; they were not run on a real Windows or Linux desktop. There the keys are in process memory while a command runs.
  • People. Anyone a vault is shared with can read its values in their browser.
  • After an account key change, a computer keeps the vaults it knew and refuses new ones until it is linked again.
  • Not built: importing a .env from the terminal (import is in the panel), fetching secrets at start from a deploy platform or pushing them into one, notifications outside the panel, and a Stop button or activity view for agents.

Guide: osapi.md.

  • OsApi sees a call only when the agent uses a locked key through osevel vault run (or the Vault MCP tools). A key in a .env file, a shell profile or a CLI’s own sign-in file goes around it. osevel api scan finds those keys; it does not move them.
  • Six providers: Railway, Neon, Supabase, Render, Vercel and GitHub. Calls to other services are not classified.
  • The catalogue was checked against each provider’s published API documents, not with test accounts. A write the catalogue does not know is held.
  • Everyday calls that are held. Some common commands reveal secrets or can overwrite values, and are held until you approve or allow them: reading Railway variables, vercel env pull, SQL through Supabase’s or Neon’s MCP server, reading Render environment variables.
  • Calls that go through. Deploys, jobs, functions and code pushes are everyday changes and are not held, unless you add the production-deploys preset. Setting one variable is an everyday change everywhere, although it can overwrite a value.
  • MCP tools are classed by name. A tool that takes a method or replace argument is classed by its usual use.
  • Git over HTTPS (a force push) is not read.
  • A key is bound to one host. The same key used on the provider’s MCP host is not checked there.
  • Environments. A run chooses its vault environment. A rule for production does not cover an account-wide key kept in another environment; scope such rules by resource.
  • An approval is for one exact call, once, within 15 minutes. A held write whose body is larger than about 1 MiB is refused, because an approval could not be bound to it.
  • Waiting calls: at most ten per run, twenty per key and two hundred in all. Calls without a locked key are refused, not held.
  • Records. Decisions are always written. Calls that went through are counted, not listed, above 600 a minute. Ten record files are kept.
  • Rules are changed at the terminal. The panel page is read-only, and osevel.yaml is not a source of OsApi rules.
  • Without the Osevel service, the agent runs as the same user: it can set OSEVEL_API=watch for its own run and rewrite the records. Enforcement is a control against the agent only with the service.
  • Not built: an Infrastructure tab inside OsBase databases, moving a key into a vault from the terminal, asking a provider what a key really reaches, a safety copy before an approved delete, an SDK.

Guide: osbox.md.

  • OsBox cannot make a server safe. It makes sure the server is the one you accepted and keeps it inside what it declared. A server can still misuse what it was allowed to reach.
  • A tool’s result can still steer the agent (prompt injection). OsBox passes it through as the server’s data and adds no trust to it.
  • Remote servers can change behaviour behind an unchanged tool list. Their pin is their address.
  • A local command’s pin covers the file, not the interpreter or what it loads.
  • Sources: npm packages at an exact version, absolute commands, and remote https servers. Python packages are not supported yet. A repository’s servers (osevel.yaml) are npm packages or absolute commands; relative paths are not supported yet.
  • The sandbox:
    • macOS: built (Seatbelt), and the only platform where the sandbox tests ran.
    • Linux: bubblewrap at /usr/bin/bwrap. A sandboxed server cannot have network there yet: one with declared hosts is refused. Without bubblewrap a server runs only when accepted as unsandboxed.
    • Windows: no sandbox yet. Servers run there only when accepted as unsandboxed.
    • A file’s existence and size can be learned anywhere (metadata).
    • A server that starts other programs, or uses a runtime the profile does not know, needs --no-sandbox.
    • A server accepted as unsandboxed can read what your own processes can.
  • Without the Osevel service, acceptances are advisory against a program running as you: it can edit the box’s files, the installed copies and the link file. On Windows this is always the case. With the service, the box, the records and the installs are in folders your user cannot write.
  • No revocation of an old acceptance yet.
  • The AI tools’ config files and the gateway are yours. Any process of your user can start osevel box mcp and use the box, and a program running as you can make a tool start something else. OsBox protects the accepted set, the installs and the keys.
  • Backups of the tools’ config files hold what the file held before, plain-text keys included.
  • Remote sign-in tokens are kept by the Osevel service when there is one; otherwise in your box folder. The service relay for remote servers has not been tested end to end.
  • box connect knows eight tools: Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Gemini, Codex and OpenCode.
  • Held tool calls. A tool call held by an OsBrain rule does not run; tool calls cannot be approved one by one yet.
  • What the cloud still sees of an acceptance request: that a computer of your account asked, when, how often, a rough size, and whether it was accepted or declined. Never the server, its settings or its tools.
  • Limits: 15 minutes to answer a request, 20 open requests per computer, at most 64 installs in the service.

Guide: osmemory.md.

  • “Data, not instructions” is a label. A model may still follow text it recalls. The real defences are what may be written where, and you seeing it.
  • The checks catch obvious instruction text, not paraphrased “conventions”. A project note an agent writes reaches that project’s agents before you have read it.
  • Secret refusal is best effort. A secret split, reworded or encoded unusually can get through.
  • Projects are kept apart against mistakes, not against an agent of the same user. Such an agent can read any project’s notes by starting a session in its folder, or link a new folder to another project.
  • Without the Osevel service, a program running as you can read the memory and forge notes that look written by you.
  • An agent’s tool, computer and session labels are what it says, not proven.
  • Agents write project notes and notes about you (the second wait for you). They do not write team notes: a person proposes one in the panel and another member accepts it.
  • Search is by words. There are no embeddings.
  • Sizes: a note is at most 500 characters; a recall returns at most 20 notes; 20 agent notes a day per scope are stored freely, more are held, and past twice that they are refused; 500 imported notes a day; at most 200 scopes and 20 000 records per scope.
  • Import: Claude Code’s memory folder, CLAUDE.md, AGENTS.md, .cursor/rules, and ChatGPT saved memories copied into a text file (its data export is not read). An import that fails part-way leaves the batches written so far; a rerun merges the rest.
  • Team memory: a member who left keeps what they read. Writes stop while someone who left holds the key, until a member makes a new team memory. A memory cannot be deleted yet.
  • The cloud: a scope the cloud stops listing disappears without a warning. A computer that has never seen a memory can be served a log cut short.
  • The panel: decrypted notes stay in the page’s memory for a few minutes after Lock.
  • Not built: a generated section in AGENTS.md for tools that do not use MCP.

Guide: osbrain.md.

  • It decides only on what passes through Osevel: database moves (OsBase), cloud API calls (OsApi) and MCP tool calls (OsBox). OsVault makes no per-use decision for OsBrain to judge.
  • Rules only hold or refuse. They never let through what a product would hold. There are no expressions and no time windows in a rule.
  • Rules for one named agent match database moves only. OsApi and OsBox moves are recorded under the agent name agent, because the run proxy and the gateway do not know which agent runs them.
  • A tool call held by a rule does not run. Tool calls cannot be approved one by one yet. A rule that holds an unlisted GraphQL read or an MCP tools/list refuses it instead: there is nothing to bind an approval to.
  • There is no osevel brain approve. osevel brain holds lists every held move; each is decided with its product’s own command or in the panel.
  • Rules are changed at the terminal. The panel page shows them read-only.
  • The ledger: reads are counted, not listed. Above 120 moves a minute per product, changes that went through and refusals are counted in a summary line; held moves always get their own line. Ten closed files are kept.
  • The cloud seal is made every 5 minutes by the dashboard bridge inside the Osevel service, so it needs the service installed and paired with the panel. The head is not signed by a separate device key; a public timestamp is not used.
  • Without the Osevel service, the rules and the ledger are in your own folder, which an agent can write.
  • osevel brain coverage does not look at the system keychain or agents in someone else’s cloud.