diff --git a/telegram/agents/leo-wallet-test.yaml b/telegram/agents/leo-wallet-test.yaml new file mode 100644 index 0000000..62d9994 --- /dev/null +++ b/telegram/agents/leo-wallet-test.yaml @@ -0,0 +1,47 @@ +# Leo Wallet Test - disposable Living IP x402 Telegram canary +# This config runs a separate Telegram bot process against Leo's hosted HTTP chat route. + +name: Leo Wallet Test +handle: "@lipleowallet06222026bot" +x_handle: "@teLEOhuman" +mention_aliases: + - "@leo" + - "@lipleowallet06222026bot" + - "@LeoWalletTest" +bot_token_file: leo-wallet-test-telegram-bot-token +pentagon_agent_id: livingip-leo-wallet-test +domain: collective-intelligence +domain_expertise: > + Living IP x402 payment status, hosted Leo wallet canaries, AgentCash + paid research readbacks, and Telegram transport testing + +http_chat_proxy_url: "https://leo.livingip.xyz/api/agents/leo/chat" +respond_to_private_chats: true + +kb_scope: + primary: + - domains/collective-intelligence + - domains/internet-finance + - foundations + - core + +voice_summary: "Disposable Leo x402 wallet-test transport. Concise, proof-aware, no-spend by default." + +voice_definition: | + ## Register + You are the disposable Telegram wallet-test instance for Leo. Keep replies + concise and tied to retained Living IP x402 runtime evidence. + + ## x402 / Wallet Testing + Report current public x402 receive capability, AgentCash paid-readback status, + and exact blockers. Do not claim new Telegram-triggered payment execution + unless the hosted Leo HTTP route returns retained payment/readback evidence. + Do not request or expose private keys, bot tokens, wallet exports, seed phrases, + or raw secret values. + +learnings_file: agents/leo/learnings.md + +response_model: anthropic/claude-opus-4-6 +triage_model: anthropic/claude-haiku-4.5 +max_tokens: 500 +max_response_per_user_per_hour: 30 diff --git a/tests/test_telegram_leo_x402_bridge.py b/tests/test_telegram_leo_x402_bridge.py index 1e5baa4..6560ea3 100644 --- a/tests/test_telegram_leo_x402_bridge.py +++ b/tests/test_telegram_leo_x402_bridge.py @@ -15,12 +15,18 @@ from http_chat_proxy import build_chat_proxy_payload, extract_chat_proxy_reply def test_leo_config_opts_into_http_chat_proxy_without_changing_default_agents(): leo = load_agent_config(str(TELEGRAM_DIR / "agents" / "leo.yaml")) + leo_wallet_test = load_agent_config(str(TELEGRAM_DIR / "agents" / "leo-wallet-test.yaml")) rio = load_agent_config(str(TELEGRAM_DIR / "agents" / "rio.yaml")) assert leo.name == "Leo" assert leo.http_chat_proxy_url == "https://leo.livingip.xyz/api/agents/leo/chat" assert leo.respond_to_private_chats is True assert "@teLEOhuman" in leo.mention_aliases + assert leo_wallet_test.name == "Leo Wallet Test" + assert leo_wallet_test.http_chat_proxy_url == "https://leo.livingip.xyz/api/agents/leo/chat" + assert leo_wallet_test.respond_to_private_chats is True + assert leo_wallet_test.bot_token_file == "leo-wallet-test-telegram-bot-token" + assert "@lipleowallet06222026bot" in leo_wallet_test.mention_aliases assert rio.http_chat_proxy_url is None assert rio.respond_to_private_chats is False