main
10
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
a617ecfd42 |
antigravity 0.1.16, agy-cli 0.1.48, cloak 0.1.9: cloak the system prompts Google refuses since 11-14 evening; agy-cli fails a refused turn at once
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.
|
||
|
|
fb7bbebdc2 |
antigravity 0.1.13, antigravity-cloak 0.1.8: Codex's GPT-5 line goes reworded in a user's turn too
Since 11-14 Antigravity also answers a bare 429 "Resource has been
exhausted (e.g. check quota)" to Codex's GPT-5 lines ("You are Codex, an
agent / a coding agent based on GPT-5") in a user's turn: a pasted
AGENTS.md, or a developer message magpie tells after a reply as a
<system-reminder> in the user's turn. Both the plugin and the cloak only
reworded the system prompt, so such a conversation 429s on every turn
whatever quota is left (daoche_wuzui on X, magpie 0.1.4131 with Cloak
0.1.7).
On the owner's real Antigravity account, gemini-3.8-flash, 11-14:
- each line in the first user turn: Codex's two lines 429 3/3 each; the
billing line, the Agent SDK line, Hermes' persona and omp's RFC line
200 3/3 each, so only Codex's two are reworded there.
- Codex's line in the model's turn and in a functionResponse: 200 2/2.
- "built on GPT-5" in the user's turn: 200.
antigravity: shape() rewords USER_TURNED_AWAY (Codex's two lines) in
every non-model part's text; cloak() takes an optional list of lines.
antigravity-cloak: onProvider rewords those two lines in user messages
(anthropic messages, chat messages, responses input, gemini contents);
tool results, the model's turns and the user's own saidAs/extraWords are
left as they were in messages. The old case that kept a user's Codex line
as written now expects it reworded.
Run, at this tree, on mica:
- root `bun test` with a temp HOME: 8781 pass, 0 fail (8801 tests, 613 files)
- packages/antigravity `bun test`: 93 pass; packages/antigravity-cloak:
25 pass.
Broken by hand: with the user-turn cloak taken out, shape.test's new
test fails, and 5 of the cloak's cases fail.
Real account through a sandbox magpie (gateway 3476, plugin host
restarted on these files): an Anthropic /v1/messages request whose user
turn carries Codex's line, 429 3/3 on 0.1.12 + cloak 0.1.7, 200 3/3 on
these. The plugin alone on the same account: 429 3/3 -> 200 3/3 for both
lines. Claude Code's 23-tool capture and a Codex capture still 200 2/2.
Not tried: agy-cli (it doesn't cloak), other models than
gemini-3.8-flash for the user-turn case.
|
||
|
|
5bb4194140 |
antigravity 0.1.12, agy-cli 0.1.41, antigravity-cloak 0.1.7: turned-away lines go reworded (#1118)
Since 11-14 Google's check reads past invisible characters: a system
prompt with Claude Code's billing line and Agent SDK line, broken up with
two U+200B in every word as the cloak sent them, was turned away 5 of 5
with the bare 429 "Resource has been exhausted". Claude Desktop's Code
tab through magpie to Antigravity failed every turn (hc295971796 and
daoche_wuzui on X, 11-14).
Each line Google turns away now goes reworded instead, as plain words:
- the x-anthropic-billing-header line is left out (to its line's end);
a system part or message holding only it is dropped;
- "built on Anthropic's Claude Agent SDK" -> "built on the Claude Agent
SDK by Anthropic";
- Codex's "based on GPT-5" -> "built on GPT-5";
- Hermes' "created by Nous Research" -> "built by Nous Research";
- omp's RFC "keywords" -> "key words" (as before).
A copy an older magpie or cloak broke up (U+200B, U+2060, soft hyphen,
in or between words) is matched and reworded as the line. The Code tab's
main line ("You are Claude Code, Anthropic's official CLI for Claude,
running within the Claude Agent SDK.") passes as written and is kept.
antigravity-cloak gains a saidAs {phrase: replacement} option; extraWords
still breaks words up and the README says it no longer gets past
Google.
Run:
- real Antigravity account, sandbox HOME, gemini-3.8-flash, 10
sequential requests each through packages/antigravity at this head:
Code tab main prompt as Claude Desktop sends it (billing + main line +
rest) 10/10 200; Agent SDK subagent line 10/10; an old two-U+200B
copy 10/10; Codex GPT-5 10/10; Hermes' earlier persona 10/10; omp's
RFC line 10/10. Each rewording alone was first tried 5/5 against the
zero-width break, which went 0/5.
- wsl-run, HOME=$(mktemp -d) bun test (whole repo) before the last test
fixes: 8735 pass, 19 skip, 3 fail, all three in these packages' own
tests still expecting zero-width; after fixing them,
bun test packages/antigravity packages/agy-cli packages/antigravity-cloak:
133 pass, 0 fail.
Broken by hand: the three packages' source files from origin/main with
these tests: 19 fail (shape, cloak parity, smoke, every cases.json case).
Not tried: agy-cli against the real agy binary (smoke runs a fake agy);
models other than gemini-3.8-flash.
|
||
|
|
4170d0e816 |
antigravity 0.1.11, agy-cli 0.1.40, antigravity-cloak 0.1.6: omp's RFC 2119 line goes as "key words", in any white space
eric_li8983 (X, 11-14): oh-my-pi on Windows with an Antigravity account got
"Antigravity answered 429 to this system prompt" for omp's first line,
"RFC 2119 keywords: MUST, REQUIRED, SHOULD, RECOMMENDED, MAY, OPTIONAL."
Two causes, both seen on a real account on 11-14:
- Google's check reads the line in any case with any white space between
its words: wrapped with LF or CRLF, indented, a tab, two spaces or a
no-break space were all turned away, while the cloak matched only the
literal line, so those copies went out whole. Each turned-away line is
now matched with any run of white space (JavaScript's \s) between its
words, the same in antigravity, agy-cli's cloak.mjs and the
antigravity-cloak middleware; Codex's and Hermes' lines too.
- A zero-width-broken copy of omp's line was itself turned away now and
then (10 sequential requests each: two U+200B a word 3 bare 429s, one
after every character 3, U+2060 2, soft hyphen 1). omp's line now goes
as "RFC 2119 key words: …", RFC 2119's own term, with its white space
as it was. The hint says so.
Real account (sandbox HOME, copy of the live Antigravity account,
gemini-3.8-flash, sequential): the reworded plugin answered omp 18.20.0's
literal prompt 10/10, the full template 10/10, and the line wrapped after
"REQUIRED," 10/10. The zero-width version before it: lit 3, tmpl 1, w1 5
bare 429s in 12 each.
Run at 24c75a16's tree (rebased on
|
||
|
|
2b7da486ac |
antigravity-cloak 0.1.5: say what a 429 with quota left means, and how to find the words (#1031)
nullburn's DeepSeek Harness requests kept getting Antigravity's "Resource has been exhausted" with ~99% of the 5-hour window left, while the title request on the same model went through. Replays traced it to a prompt that a separate DSH plugin injects, not to DSH, magpie or this middleware. The README said nothing about telling this refusal from real quota, or how to find what is matched. The README (en, zh) now has "When the 429 comes back anyway": quota left plus other requests on the model going through means the prompt is refused; replay with parts of the system prompt taken out, half at a time; then add a phrase to extraWords or change the text at its source. It says the middleware doesn't hide arbitrary prompts, as the reporter asked. Run (mica, HOME=$(mktemp -d)): bun test packages/antigravity-cloak 16 pass; bun scripts/check.mjs exit 0. Docs and version only, no code. Reported-by: nullburn |
||
|
|
9e07c70627 |
antigravity 0.1.4, antigravity-cloak 0.1.4: omp's first line, "RFC 2119 keywords: ...", is broken up, so its prompt is no longer turned away with a 429 (eric_li8983 on X)
eric_li8983's 429 RESOURCE_EXHAUSTED after 0.1.3 was not quota. On the owner's real Antigravity account (plenty of quota; "hi" with no system prompt gives 200 on gemini-3.8-flash, claude-sonnet-4-6, gemini-3-flash), oh-my-pi's real system prompt (captured from omp 's request to a local server, 10.5KB) got 429 on all three. Bisected by hand: the sentence "RFC 2119 keywords: MUST, REQUIRED, SHOULD, RECOMMENDED, MAY, OPTIONAL." alone gets 429; its halves, the list without the final period, or "2120" for "2119" get 200; the prompt without that line gets 200. Broken with a zero-width space after the first and second character of each word, the whole prompt gets 200 on the same three models. The line is added to antigravity's TURNED_AWAY (with its own hint when the cloak missed a reworded copy) and to antigravity-cloak's words. Run: bun test packages/antigravity packages/antigravity-cloak on magpie-desktop (wsl-run, HOME temp): 86 pass. Broken by hand (the TURNED_AWAY entry removed): the new shape test and the 429 hint test go red, 2 fail. Real account: omp's full prompt 200 on 3 models after, 429 before. Not tried: omp's own run through magpie end to end (the user's AGENTS.md and tools were not in the captured prompt); other omp prompt lines after the cloak. Real quota 429s and the credits path are unchanged. |
||
|
|
d5f4214eff |
antigravity 0.1.1, antigravity-cloak 0.1.3: two zero-width spaces a word, and a 429 says it is a 429 (shzutbi1 on X)
Google turns Claude Code's billing line and "built on Anthropic's Claude Agent SDK" away again when only the first letter is broken (checked on a real Antigravity account with Claude Code 2.1.316's prompt); a break after the first and the second character of each word goes through, 3 of 3. Both packages break every run of three or more letters or digits that way. antigravity's error for a turned-away prompt said "400 ... as from an unapproved channel" about what Antigravity answered as a 429; it now says "Antigravity answered 429 to this system prompt". bun test packages/antigravity packages/antigravity-cloak on mote: pass. cases.json expectations regenerated for the new breaks. |
||
|
|
ac11dcbb92 |
antigravity-cloak 0.1.2: Hermes Agent's earlier persona is broken too
Antigravity answers "Hermes Agent, an intelligent AI assistant created by Nous Research" (Hermes' earlier default SOUL.md, which a SOUL.md the user edited keeps) with the same fake 429 "Resource has been exhausted" (zgoodz on X, 10-27: "antigravity在Hermes里一样429"). Hermes' current default persona goes through. The line joins the words broken with a zero-width space, after its H: "You are Hermes Agent, an intelligent ..." still fails on a real account, while "Hermes Agent, an intelligent ..." goes through. magpie v0.1.1641 breaks the same lines on an Antigravity account by itself (`magpie provider set antigravity prompt=as-written` turns it off); the README says so, and that this middleware then adds only extraWords. Run: - bun test packages/antigravity-cloak: 15 pass, 0 fail (new case: Hermes' old persona in a chat system message, broken after its H; the current "You are Hermes Agent, built by Nous Research." stays). With the word taken out: 14 pass, 1 fail. - bun test scripts/check.test.mjs: 3 pass. - Real Antigravity account through a sandbox magpie: the line whole is refused; broken after its H, 200; real Hermes Agent with the old persona answered through magpie's own break (magpie-side, same rule). Not tried: this plugin installed in a running magpie on a real account. |
||
|
|
a52d1b370b |
antigravity-cloak 0.1.1: Codex's GPT-5 prompt is broken too
Antigravity answers "You are Codex, an agent based on GPT-5" and "You are Codex, a coding agent based on GPT-5" in the system instruction with the same fake 429 "Resource has been exhausted" it gives Claude Code's prompt. A Codex thread begun on a GPT model keeps that prompt after /model, resume -m or a fork onto an Antigravity model, so such a thread never got an answer (Jodiezzzzzz on X, 10-27; magpie now tells it as a 400 with a hint). The two lines join the words broken with a zero-width space. Run: - bun test packages/antigravity-cloak: 14 pass, 0 fail (two new cases: a switched thread's developer message, the coding-agent wording in lower case; magpie's own "You are Codex, based on GPT-5." stays). - bun test scripts/check.test.mjs: 3 pass. - On a real Antigravity account through a sandbox magpie: both lines whole get 429 (magpie's 400); "You are Codex, an agent based on GPT-5" and "You are Codex, a coding agent based on GPT-5" get 200. - npm had 0.1.0; this is 0.1.1. Not tried: the plugin installed in a running magpie on a real account. |
||
|
|
0a998a8a7f |
antigravity-cloak 0.1.0: Claude Code and Claude Desktop on an Antigravity account
Antigravity answers a system prompt that reads as Claude Code's or the
Claude Agent SDK's with a 429 "Resource has been exhausted", whatever
quota is left (xzplzpl on X). Tried with a real account, it matches
"x-anthropic-billing-header:" and "You are a Claude agent, built on
Anthropic's Claude Agent SDK", and lets the same prompt through with a
U+200B inside each. This middleware puts one after the first letter of
both words, in system text only (Anthropic system, Chat/Responses system
and developer messages, Responses instructions, Gemini
systemInstruction), and only in what an Antigravity account is sent: it
uses magpie's new onProvider hook (v0.1.1283), so a Claude subscription
or any other provider in the same routing group gets the prompt as the
agent wrote it. Options: extraWords, accounts, off. The README says the
ban risk and what happens if Google changes its match. After hexiaolv's
magpie-antigravity-cloak (MIT), which changes every request.
scripts/middleware.mjs: a case's "provider" runs the request on through
onProvider with ctx.provider, and expect_request is that try's body.
Run:
- HOME=$(mktemp -d) bun test: 1783 pass, 0 fail (the package's 12 cases
among them). bun scripts/check.mjs: every package ok.
- Real use: magpie built from e44b9aef3 in a sandbox HOME, a real
Antigravity account, this package added from its folder. Claude Code
2.1.302 `claude -p` on antigravity/gemini-3-flash answered; with
{"off": true} the same run got the 400. /v1/messages with the billing
line, the SDK line and Claude Code's three system blocks: 200 each on,
400 each off.
|