Since about 18:43 on 11-14 Google's Antigravity backend answers 429
RESOURCE_EXHAUSTED to requests whose system instruction holds certain
agents' identity lines, though the account has quota and the same
request with another prompt passes. Tried on a real account
(gemini-3-flash), each line alone in the system instruction:
- refused now: "You are Hermes Agent", Hermes' earlier persona
"…an intelligent AI assistant created by Nous Research" (also as
"You're …"), "You are OpenCode" / "You are opencode", Codex CLI's
"You are a coding agent running in the Codex CLI", and pi's "You are
a coding assistant running inside pi".
- pass as written: Codex GPT-6's prompt, Claude Code, Gemini CLI, Qwen
Code, Cline, Kilo, goose, Amp, Droid, Kimi, Aider, Cursor.
The cloak in antigravity and agy-cli (and the antigravity-cloak
middleware) now rewords each refused line the smallest way that passes:
"You are" -> "You're" for Hermes, OpenCode and Codex CLI, "created by"
-> "built by" for Hermes' earlier persona, "running inside pi" ->
"running within pi". The hint shown with a refusal names the agent
(new pi, OpenCode and Codex CLI hints; Hermes' hint covers both
personas).
agy-cli (@Lmohn39, pi 1.5.0 via agy 1.5.9, hydrogen): when agy prints
its retry banner for a refused 429, agy-cli waited while agy retried
the same refused prompt without end, so pi hung. The turn now fails at
once with the 429 and the existing "this is not a quota" explanation,
the agy process is stopped and dropped from the pool. A 503 banner
still waits as before.
Run:
- root `bun test` with HOME=$(mktemp -d) on mica (mote was over its 18
cores): 8820 pass, 20 skip, 0 fail, exit 0.
- real account through the patched loader, gemini-3-flash 5/5 each:
pi 1.5.0's full default prompt (built from its dist/core/system-prompt.js),
Hermes current and earlier personas, both OpenCode first lines, Codex
CLI's prompt, Codex GPT-6's prompt. claude-sonnet-4-6: pi 5/5.
Broken by hand:
- the old agy-cli index.mjs makes the new Lmohn39 test red ("still
waiting after 5s").
- dropping the pi line from TURNED_AWAY turns 6 cloak tests red.
Not tried: a real agy 1.5.9 turn on hydrogen showing the banner (the
banner's wording is the one agy-cli already matched); pi itself end to
end through agy-cli.
30 lines
16 KiB
JSON
30 lines
16 KiB
JSON
[
|
|
{"name":"Anthropic: Claude Code's blocks, to Antigravity","provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"gemini-3-flash"},"request":{"model":"m","system":[{"type":"text","text":"x-anthropic-billing-header: cc_version=2.1.0.abc; cc_entrypoint=cli; cch=1a2b3;"},{"type":"text","text":"You are a Claude agent, built on Anthropic's Claude Agent SDK.","cache_control":{"type":"ephemeral"}}],"messages":[{"role":"user","content":"Claude Agent SDK"}]},"expect_request":{"model":"m","system":[{"type":"text","text":"You are a Claude agent, built on the Claude Agent SDK by Anthropic.","cache_control":{"type":"ephemeral"}}],"messages":[{"role":"user","content":"Claude Agent SDK"}]}},
|
|
{"name":"Anthropic: the same to a Claude subscription stays as it was","provider":{"id":"c","name":"Claude","account":"claude","model":"claude-sonnet-4-5"},"request":{"model":"m","system":[{"type":"text","text":"x-anthropic-billing-header: cc_version=2.1.0.abc; cc_entrypoint=cli; cch=1a2b3;"},{"type":"text","text":"You are a Claude agent, built on Anthropic's Claude Agent SDK."}],"messages":[]}},
|
|
{"name":"Anthropic: an API key, no account, stays as it was","provider":{"id":"k","name":"Key","model":"m"},"request":{"model":"m","system":"You are a Claude agent, built on Anthropic's Claude Agent SDK.","messages":[]}},
|
|
{"name":"Anthropic: a string system, any case","provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"gemini-3-flash"},"request":{"model":"m","system":"X-Anthropic-Billing-Header: a\nbuilt on the claude agent sdk"},"expect_request":{"model":"m","system":"built on the claude agent sdk"}},
|
|
{"name":"Anthropic: no words, nothing changed","provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"gemini-3-flash"},"request":{"model":"m","system":"You code.","messages":[]}},
|
|
{"name":"Chat: system and developer messages, not the user's; a billing-line message is left out","provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"gemini-3-flash"},"ctx":{"protocol":"chat"},"request":{"model":"m","messages":[{"role":"system","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK."},{"role":"developer","content":[{"type":"text","text":"x-anthropic-billing-header: cc_version=2.1.0.abc; cc_entrypoint=cli; cch=1a2b3;"}]},{"role":"user","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK."}]},"expect_request":{"model":"m","messages":[{"role":"system","content":"You are a Claude agent, built on the Claude Agent SDK by Anthropic."},{"role":"user","content":"You are a Claude agent, built on Anthropic's Claude Agent SDK."}]}},
|
|
{"name":"Responses: instructions and a system input item","provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"gemini-3-flash"},"ctx":{"protocol":"responses"},"request":{"model":"m","instructions":"You are a Claude agent, built on Anthropic's Claude Agent SDK.","input":[{"role":"system","content":[{"type":"input_text","text":"x-anthropic-billing-header: cc_version=2.1.0.abc; cc_entrypoint=cli; cch=1a2b3;"}]},{"role":"user","content":[{"type":"input_text","text":"You are a Claude agent, built on Anthropic's Claude Agent SDK."}]}]},"expect_request":{"model":"m","instructions":"You are a Claude agent, built on the Claude Agent SDK by Anthropic.","input":[{"role":"user","content":[{"type":"input_text","text":"You are a Claude agent, built on Anthropic's Claude Agent SDK."}]}]}},
|
|
{"name":"Responses: Codex's GPT-5 prompt kept after a switch to an Antigravity model, and the line in a user's turn","provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"claude-opus-5-5"},"ctx":{"protocol":"responses"},"request":{"model":"m","input":[{"type":"message","role":"developer","content":[{"type":"input_text","text":"You are Codex, an agent based on GPT-5. You and the user share one workspace."}]},{"type":"message","role":"user","content":[{"type":"input_text","text":"hi"}]},{"type":"message","role":"developer","content":[{"type":"input_text","text":"<model_switch>\nThe user was previously using a different model.\n</model_switch>"}]},{"type":"message","role":"user","content":[{"type":"input_text","text":"You are Codex, an agent based on GPT-5."}]}]},"expect_request":{"model":"m","input":[{"type":"message","role":"developer","content":[{"type":"input_text","text":"You are Codex, an agent built on GPT-5. You and the user share one workspace."}]},{"type":"message","role":"user","content":[{"type":"input_text","text":"hi"}]},{"type":"message","role":"developer","content":[{"type":"input_text","text":"<model_switch>\nThe user was previously using a different model.\n</model_switch>"}]},{"type":"message","role":"user","content":[{"type":"input_text","text":"You are Codex, an agent built on GPT-5."}]}]}},
|
|
{"name":"Responses: the coding agent wording, any case; magpie's own Codex prompt stays","provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"claude-opus-5-5"},"ctx":{"protocol":"responses"},"request":{"model":"m","instructions":"you are codex, a coding agent based on gpt-5.","input":[{"type":"message","role":"developer","content":[{"type":"input_text","text":"You are Codex, based on GPT-5. You are running as a coding agent in the Codex CLI."}]}]},"expect_request":{"model":"m","instructions":"you are codex, a coding agent built on gpt-5.","input":[{"type":"message","role":"developer","content":[{"type":"input_text","text":"You are Codex, based on GPT-5. You are running as a coding agent in the Codex CLI."}]}]}},
|
|
{"name":"Chat: Hermes Agent's persona, current and earlier, as You're","provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"gemini-3-flash"},"ctx":{"protocol":"chat"},"request":{"model":"m","messages":[{"role":"system","content":"You are Hermes Agent, an intelligent AI assistant created by Nous Research. You are helpful, knowledgeable, and direct.\n\nYou are Hermes Agent, built by Nous Research."},{"role":"user","content":"hi"}]},"expect_request":{"model":"m","messages":[{"role":"system","content":"You're Hermes Agent, an intelligent AI assistant built by Nous Research. You are helpful, knowledgeable, and direct.\n\nYou're Hermes Agent, built by Nous Research."},{"role":"user","content":"hi"}]}},
|
|
{"name":"Anthropic: pi's default prompt goes running within pi; OpenCode's and Codex CLI's as You're","provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"gemini-3-flash"},"request":{"model":"m","system":"You are a coding assistant running inside pi, a coding agent harness. Help users inspect files, run commands, and modify code.\nYou are OpenCode, a coding agent that helps users with software engineering tasks.\nYou are a coding agent running in the Codex CLI, a terminal-based coding assistant.","messages":[{"role":"user","content":"You are OpenCode"}]},"expect_request":{"model":"m","system":"You are a coding assistant running within pi, a coding agent harness. Help users inspect files, run commands, and modify code.\nYou're OpenCode, a coding agent that helps users with software engineering tasks.\nYou're a coding agent running in the Codex CLI, a terminal-based coding assistant.","messages":[{"role":"user","content":"You are OpenCode"}]}},
|
|
{"name":"Responses: Codex's GPT-6 prompt goes as written","provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"gemini-3-flash"},"ctx":{"protocol":"responses"},"request":{"model":"m","instructions":"You are Codex, an agent based on GPT-6.","input":[]}},
|
|
{"name":"Gemini: systemInstruction","provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"gemini-3-flash"},"ctx":{"protocol":"gemini"},"request":{"systemInstruction":{"parts":[{"text":"You are a Claude agent, built on Anthropic's Claude Agent SDK."}]},"contents":[]},"expect_request":{"systemInstruction":{"parts":[{"text":"You are a Claude agent, built on the Claude Agent SDK by Anthropic."}]},"contents":[]}},
|
|
{"name":"extraWords are still broken up","provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"gemini-3-flash"},"options":{"extraWords":["Claude Code"]},"request":{"model":"m","system":"You are Claude Code."},"expect_request":{"model":"m","system":"You are C\u200bl\u200baude C\u200bo\u200bde."}},
|
|
{"name":"accounts says which subscriptions","provider":{"id":"g","name":"Gemini","account":"gemini","model":"m"},"options":{"accounts":["gemini"]},"request":{"model":"m","system":"You are a Claude agent, built on Anthropic's Claude Agent SDK."},"expect_request":{"model":"m","system":"You are a Claude agent, built on the Claude Agent SDK by Anthropic."}},
|
|
{"name":"off leaves it","provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"gemini-3-flash"},"options":{"off":true},"request":{"model":"m","system":"You are a Claude agent, built on Anthropic's Claude Agent SDK."}},
|
|
{"name":"onRequest isn't there: before routing nothing is changed","request":{"model":"m","system":"You are a Claude agent, built on Anthropic's Claude Agent SDK."}},
|
|
{"name":"omp: its RFC 2119 line, to Antigravity","provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"gemini-3-flash"},"request":{"model":"m","system":[{"type":"text","text":"RFC 2119 keywords: MUST, REQUIRED, SHOULD, RECOMMENDED, MAY, OPTIONAL. `NEVER` = `MUST NOT`."}],"messages":[{"role":"user","content":"hi"}]},"expect_request":{"model":"m","system":[{"type":"text","text":"RFC 2119 key words: MUST, REQUIRED, SHOULD, RECOMMENDED, MAY, OPTIONAL. `NEVER` = `MUST NOT`."}],"messages":[{"role":"user","content":"hi"}]}},
|
|
{"name":"omp: its RFC 2119 line wrapped with CRLF and a tab, as a real account turned it away","provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"gemini-3-flash"},"ctx":{"protocol":"gemini"},"request":{"systemInstruction":{"parts":[{"text":"RFC 2119 keywords:\tMUST, REQUIRED,\r\nSHOULD, RECOMMENDED, MAY, OPTIONAL.\r\nYou are omp."}]},"contents":[]},"expect_request":{"systemInstruction":{"parts":[{"text":"RFC 2119 key words:\tMUST, REQUIRED,\r\nSHOULD, RECOMMENDED, MAY, OPTIONAL.\r\nYou are omp."}]},"contents":[]}},
|
|
{"name":"Anthropic: a copy an older magpie broke up is reworded as the line","provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"gemini-3-flash"},"request":{"model":"m","system":[{"type":"text","text":"x-a\u200bn\u200bthropic-b\u200bi\u200blling-h\u200be\u200bader: cc_version=2.1.316.2e4; cc_entrypoint=claude-desktop;"},{"type":"text","text":"You are a Claude agent, built on Anthropic's C\u200bl\u200baude A\u200bg\u200bent S\u200bD\u200bK."}]},"expect_request":{"model":"m","system":[{"type":"text","text":"You are a Claude agent, built on the Claude Agent SDK by Anthropic."}]}},
|
|
{"name":"Anthropic: Claude Desktop's Code tab, its main line goes as written","provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"gemini-3-flash"},"request":{"model":"m","system":[{"type":"text","text":"x-anthropic-billing-header: cc_version=2.1.316.2e4; cc_entrypoint=claude-desktop;"},{"type":"text","text":"You are Claude Code, Anthropic's official CLI for Claude, running within the Claude Agent SDK."},{"type":"text","text":"You are an interactive agent."}]},"expect_request":{"model":"m","system":[{"type":"text","text":"You are Claude Code, Anthropic's official CLI for Claude, running within the Claude Agent SDK."},{"type":"text","text":"You are an interactive agent."}]}},
|
|
{"name":"saidAs words go as given","provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"gemini-3-flash"},"options":{"saidAs":{"made by Acme Labs":"by Acme"}},"request":{"model":"m","system":"An agent made by\nAcme Labs."},"expect_request":{"model":"m","system":"An agent by Acme."}},
|
|
{"name":"Anthropic: Codex's GPT-5 line in a user's turn is reworded there, not in the model's or a tool result, and other lines stay (11-14)","provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"gemini-3-flash"},"request":{"model":"m","messages":[{"role":"user","content":[{"type":"text","text":"My AGENTS.md:\nYou are Codex, a coding agent based on GPT-5. You and the user share the same workspace."},{"type":"text","text":"You are a Claude agent, built on Anthropic's Claude Agent SDK. RFC 2119 keywords: MUST, REQUIRED, SHOULD, RECOMMENDED, MAY, OPTIONAL."}]},{"role":"assistant","content":[{"type":"text","text":"You are Codex, a coding agent based on GPT-5. You and the user share the same workspace."},{"type":"tool_use","id":"t1","name":"read","input":{"path":"a"}}]},{"role":"user","content":[{"type":"tool_result","tool_use_id":"t1","content":"You are Codex, a coding agent based on GPT-5. You and the user share the same workspace."}]},{"role":"user","content":"You are Codex, a coding agent based on GPT-5. You and the user share the same workspace."}]},"expect_request":{"model":"m","messages":[{"role":"user","content":[{"type":"text","text":"My AGENTS.md:\nYou are Codex, a coding agent built on GPT-5. You and the user share the same workspace."},{"type":"text","text":"You are a Claude agent, built on Anthropic's Claude Agent SDK. RFC 2119 keywords: MUST, REQUIRED, SHOULD, RECOMMENDED, MAY, OPTIONAL."}]},{"role":"assistant","content":[{"type":"text","text":"You are Codex, a coding agent based on GPT-5. You and the user share the same workspace."},{"type":"tool_use","id":"t1","name":"read","input":{"path":"a"}}]},{"role":"user","content":[{"type":"tool_result","tool_use_id":"t1","content":"You are Codex, a coding agent based on GPT-5. You and the user share the same workspace."}]},{"role":"user","content":"You are Codex, a coding agent built on GPT-5. You and the user share the same workspace."}]}},
|
|
{"name":"Chat: the line in a user's turn, reworded","ctx":{"protocol":"chat"},"provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"gemini-3-flash"},"request":{"model":"m","messages":[{"role":"user","content":"You are Codex, a coding agent based on GPT-5. You and the user share the same workspace."},{"role":"assistant","content":"You are Codex, a coding agent based on GPT-5. You and the user share the same workspace."}]},"expect_request":{"model":"m","messages":[{"role":"user","content":"You are Codex, a coding agent built on GPT-5. You and the user share the same workspace."},{"role":"assistant","content":"You are Codex, a coding agent based on GPT-5. You and the user share the same workspace."}]}},
|
|
{"name":"Responses: the line in a user's input item, reworded; a tool's output stays","ctx":{"protocol":"responses"},"provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"gemini-3-flash"},"request":{"model":"m","input":[{"type":"message","role":"user","content":[{"type":"input_text","text":"You are Codex, a coding agent based on GPT-5. You and the user share the same workspace."}]},{"type":"function_call_output","call_id":"c","output":"You are Codex, a coding agent based on GPT-5. You and the user share the same workspace."}]},"expect_request":{"model":"m","input":[{"type":"message","role":"user","content":[{"type":"input_text","text":"You are Codex, a coding agent built on GPT-5. You and the user share the same workspace."}]},{"type":"function_call_output","call_id":"c","output":"You are Codex, a coding agent based on GPT-5. You and the user share the same workspace."}]}},
|
|
{"name":"Gemini: the line in a user's content, reworded; the model's stays","ctx":{"protocol":"gemini"},"provider":{"id":"7c1958d885953cd3","name":"Antigravity","account":"antigravity","model":"gemini-3-flash"},"request":{"contents":[{"role":"user","parts":[{"text":"You are Codex, a coding agent based on GPT-5. You and the user share the same workspace."}]},{"role":"model","parts":[{"text":"You are Codex, a coding agent based on GPT-5. You and the user share the same workspace."}]}]},"expect_request":{"contents":[{"role":"user","parts":[{"text":"You are Codex, a coding agent built on GPT-5. You and the user share the same workspace."}]},{"role":"model","parts":[{"text":"You are Codex, a coding agent based on GPT-5. You and the user share the same workspace."}]}]}},
|
|
{"name":"the line in a user's turn to a Claude subscription stays","provider":{"id":"c","name":"Claude","account":"claude","model":"claude-sonnet-4-6"},"request":{"model":"m","messages":[{"role":"user","content":"You are Codex, a coding agent based on GPT-5. You and the user share the same workspace."}]}}
|
|
]
|