Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(vaults): reject keypair fetch before policy checks (#704)
Call Whitee242503b6096
diff --git a/tests/test_vault_fetch.py b/tests/test_vault_fetch.pyindex 299b0f4e3..85211045b 100644--- a/tests/test_vault_fetch.py+++ b/tests/test_vault_fetch.py@@ -120,7 +120,6 @@ def test_fetch_rejects_keypair_before_avault_delivery(capfd, monkeypatch):sealed=_sealed("eth"),kind="keypair",signer_kind="local",- policy={"allowed_hosts": ["api.example.com"]},)fetch = Mock()monkeypatch.setattr(api, "avault_deliver_fetch", fetch)diff --git a/vibe/cli.py b/vibe/cli.pyindex 6fb969b6d..59d02578a 100644--- a/vibe/cli.py+++ b/vibe/cli.py@@ -4824,6 +4824,11 @@ def cmd_vault_fetch(args):# envelope to avault, so a disallowed target never even unwraps the secret.with engine.connect() as conn:policy = vault_service.get_secret_policy(conn, name)+ meta = vault_service.get_secret_meta(conn, name)+ if meta.get("kind") == "keypair":+ raise vault_service.KeypairNotValueDeliverableError(+ f"{name} is a signing key; use vault_sign instead of value delivery"+ )allowed = policy.get("allowed_hosts") or []if not allowed:raise TaskCliError(