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.
This commit is contained in:
yetone
2026-11-14 21:40:22 +08:00
parent b880da16aa
commit a617ecfd42
16 changed files with 245 additions and 41 deletions
+4 -2
View File
@@ -240,10 +240,12 @@ start of the first prompt.
Antigravity answers a 429 "Resource has been exhausted" to a few system
prompt lines whatever quota is left (Claude Code's billing line, the Claude
Agent SDK, Codex and Hermes Agent identities, oh-my-pi's RFC 2119 line). The
Agent SDK, Codex, Hermes Agent, OpenCode and pi identities, oh-my-pi's RFC
2119 line). The
plugin leaves the billing line out and rewords the others with the same
meaning before agy sends them ("built on the Claude Agent SDK by Anthropic",
"built on GPT-5", "built by Nous Research", "RFC 2119 key words: …"), as the
"built on GPT-5", "RFC 2119 key words: …", "You're Hermes Agent / OpenCode /
a coding agent running in the Codex CLI", "running within pi"), as the
Antigravity provider does (`cloak.mjs`). Zero-width spaces no longer help:
since 11-14 Google's check reads past them. Should such a 429 still come
back, it is reported as a 400 about the prompt, not as a quota.
+3 -3
View File
@@ -180,9 +180,9 @@ magpie quota refresh agy-cli --json
支持 `systemPrompt.append` 时放进会话,否则作为 `<external_system_instructions>` 放在
第一条提示词开头)。
Antigravity 对几行系统提示词(Claude Code 的计费行、Claude Agent SDK、Codex 和 Hermes Agent
的身份句、oh-my-pi 的 RFC 2119 行)不论余量多少都回 429 "Resource has been exhausted"。插件在
agy 发出之前去掉计费那一行,其余几行换成同义的说法("built on the Claude Agent SDK by Anthropic"、"built on GPT-5"、"built by Nous Research"、"RFC 2119 key words: …"),和 Antigravity 提供商的做法一样(`cloak.mjs`)。零宽空格已经没用:11-14 起 Google 的检查会忽略它们。如果仍然
Antigravity 对几行系统提示词(Claude Code 的计费行、Claude Agent SDK、Codex、Hermes Agent、OpenCode
和 pi 的身份句、oh-my-pi 的 RFC 2119 行)不论余量多少都回 429 "Resource has been exhausted"。插件在
agy 发出之前去掉计费那一行,其余几行换成同义的说法("built on the Claude Agent SDK by Anthropic"、"built on GPT-5"、"RFC 2119 key words: …"、"You're Hermes Agent / OpenCode / a coding agent running in the Codex CLI"、"running within pi"),和 Antigravity 提供商的做法一样(`cloak.mjs`)。零宽空格已经没用:11-14 起 Google 的检查会忽略它们。如果仍然
回了这样的 429,会报成针对提示词的 400,而不是额度用完。
DeepSeek Harness 的 `@` 路径说明段("Tokens prefixed with @ are paths…")也和 Antigravity 提供商一样
+48 -7
View File
@@ -13,14 +13,38 @@
// prompt as the client wrote it.
// TURNED_AWAY are the lines, lower-cased, Antigravity answers a 429 to
// whatever quota is left. Each goes as SAID_AS says instead.
// whatever quota is left. Each goes as SAID_AS says instead. The last four
// are turned away since the evening of 11-14 (Lmohn39 and ZhouYimingsjtu on
// X), each 3 of 3 or 5 of 5 on a real account, on gemini-3-flash and
// claude-sonnet-4-6 alike:
// - "You are Hermes Agent": Hermes' current persona ("You are Hermes
// Agent, built by Nous Research.") and its earlier one, and the earlier
// one as magpie reworded it up to 0.1.15 ("… built by Nous Research").
// The earlier one ("…, an intelligent AI assistant created by Nous
// Research.") is turned away as "You're Hermes Agent, …" too, 3 of 3,
// so its "created by" goes "built by" as before as well.
// - "You are OpenCode", whichever of OpenCode 2.0.25's lines follows it
// ("a coding agent that helps users…", "an interactive CLI tool…", "the
// best coding agent on the planet").
// - "You are a coding agent running in the Codex CLI", Codex's prompt for
// a model it has no prompt of its own for (Codex 0.165).
// - "a coding assistant running inside pi", pi 1.5.0's default prompt
// ("You are a coding assistant running inside pi, a coding agent
// harness."), as "agent" for "assistant" and "that runs inside pi" are.
// Codex's prompt for GPT-6 ("You are Codex, an agent based on GPT-6."),
// Claude Code's, Gemini CLI's, Qwen Code's, Cline's, Kilo's, goose's, Amp's,
// Droid's, Kimi CLI's, Aider's and Cursor's went through as written.
export const TURNED_AWAY = [
"x-anthropic-billing-header:",
"built on anthropic's claude agent sdk",
"you are codex, an agent based on gpt-5",
"you are codex, a coding agent based on gpt-5",
"hermes agent, an intelligent ai assistant created by nous research",
"rfc 2119 keywords: must, required, should, recommended, may, optional.",
"you are hermes agent",
"an intelligent ai assistant created by nous research",
"you are opencode",
"you are a coding agent running in the codex cli",
"a coding assistant running inside pi",
]
// INVISIBLE are the characters Google's check reads past: since 11-14 a
@@ -72,17 +96,24 @@ export function turnsAway(system) {
// line (Claude Desktop's Code tab and its subagents), goes as "built on
// the Claude Agent SDK by Anthropic".
// - Codex's GPT-5 lines go "built on GPT-5" for "based on GPT-5".
// - Hermes' earlier persona goes "built by Nous Research", as Hermes'
// current one says it, for "created by".
// - "You are Hermes Agent", "You are OpenCode" and Codex CLI's line go
// as "You're …" (5 of 5 each), and Hermes' earlier "created by Nous
// Research" as "built by" (3 of 3 together).
// - pi's line goes "running within pi" (5 of 5 on both models).
// - omp's RFC 2119 line goes as "key words", the RFC's own term (10 of 10
// on 11-14, eric_li8983 on X).
const youre = (line) => line.replace(/^(you)\s+are/i, "$1're")
const SAID_AS = {
"x-anthropic-billing-header:": () => "",
"built on anthropic's claude agent sdk": (line) => line.replace(/^(built\s+on\s+)anthropic's(\s+)(claude\s+agent\s+sdk)$/i, "$1the$2$3 by Anthropic"),
"you are codex, an agent based on gpt-5": (line) => line.replace(/based(\s+)on/i, "built$1on"),
"you are codex, a coding agent based on gpt-5": (line) => line.replace(/based(\s+)on/i, "built$1on"),
"hermes agent, an intelligent ai assistant created by nous research": (line) => line.replace(/created(\s+)by/i, "built$1by"),
"rfc 2119 keywords: must, required, should, recommended, may, optional.": (line) => line.replace(/(key)(words)/i, "$1 $2"),
"you are hermes agent": youre,
"an intelligent ai assistant created by nous research": (line) => line.replace(/created(\s+)by/i, "built$1by"),
"you are opencode": youre,
"you are a coding agent running in the codex cli": youre,
"a coding assistant running inside pi": (line) => line.replace(/inside/i, "within"),
}
export function cloak(system) {
@@ -130,7 +161,14 @@ const HINT =
const CODEX_HINT =
"Antigravity answers this 429 to Codex's own system prompt for GPT-5 models whatever quota is left, so it is not a quota and waiting won't help; a Codex chat begun on a GPT model keeps that prompt after a model switch or a fork, so start a new chat on this model"
const HERMES_HINT =
"Antigravity answers this 429 to Hermes Agent's earlier default persona (its SOUL.md) whatever quota is left, so it is not a quota and waiting won't help; Hermes' current default persona goes through, so put it in SOUL.md, or use another provider for these chats"
"Antigravity answers this 429 to Hermes Agent's default persona (\"You are Hermes Agent, …\" in its SOUL.md), the current one and the earlier one alike, whatever quota is left, so it is not a quota and waiting won't help; magpie sends it as \"You're Hermes Agent, …\", which goes through, so start SOUL.md another way, or use another provider for these chats"
const PI_HINT =
"Antigravity answers this 429 to pi's default system prompt (\"You are a coding assistant running inside pi\") whatever quota is left, so it is not a quota and waiting won't help; magpie sends that line as \"running within pi\", which goes through, so give pi a system prompt of your own (--system-prompt) or use another provider for these chats"
const OPENCODE_HINT =
"Antigravity answers this 429 to OpenCode's system prompt (\"You are OpenCode, …\") whatever quota is left, so it is not a quota and waiting won't help; magpie sends that line as \"You're OpenCode, …\", which goes through, so use another provider for these chats, or put one after Antigravity in a routing group"
const CODEX_CLI_HINT =
"Antigravity answers this 429 to Codex's prompt for a model it has none of its own for (\"You are a coding agent running in the Codex CLI\") whatever quota is left, so it is not a quota and waiting won't help; magpie sends that line as \"You're …\", which goes through, so use another provider for these chats, or put one after Antigravity in a routing group"
const RFC_HINT =
"Antigravity answers this 429 to the line \"RFC 2119 keywords: MUST, REQUIRED, SHOULD, RECOMMENDED, MAY, OPTIONAL.\" that starts oh-my-pi (omp)'s system prompt, and to any prompt that has it, whatever quota is left, so it is not a quota and waiting won't help; magpie sends that line as \"RFC 2119 key words: …\", which goes through, so this one came from a copy of it that was worded another way"
@@ -139,6 +177,9 @@ export function hint(system) {
system = String(system ?? "")
if (said(system, "rfc 2119 keywords: must, required, should, recommended, may, optional.")) return RFC_HINT
if (said(system, "you are codex, an agent based on gpt-5") || said(system, "you are codex, a coding agent based on gpt-5")) return CODEX_HINT
if (said(system, "hermes agent, an intelligent ai assistant created by nous research")) return HERMES_HINT
if (said(system, "you are a coding agent running in the codex cli")) return CODEX_CLI_HINT
if (said(system, "you are hermes agent") || said(system, "an intelligent ai assistant created by nous research")) return HERMES_HINT
if (said(system, "you are opencode")) return OPENCODE_HINT
if (said(system, "a coding assistant running inside pi")) return PI_HINT
return HINT
}
+8
View File
@@ -19,6 +19,14 @@ const samples = [
"<conventions>\nRFC 2119\nkeywords:\tMUST, REQUIRED, SHOULD, RECOMMENDED, MAY,\u00a0OPTIONAL.\n</conventions>",
"You are Hermes Agent, an intelligent\nAI assistant created by Nous Research.",
"RFC 2119 keywords: MUST,REQUIRED,SHOULD,RECOMMENDED,MAY,OPTIONAL.",
"You are Hermes Agent, built by Nous Research.",
"You are OpenCode, a coding agent that helps users with software engineering tasks.",
"You are opencode, an interactive CLI tool that helps users with software engineering tasks.",
"You are OpenCode, the best coding agent on the planet.",
"You are a coding agent running in the Codex CLI, a terminal-based coding assistant. Codex CLI is an open source project led by OpenAI. You are expected to be precise, safe, and helpful.",
"You are a coding assistant running inside pi, a coding agent harness. Help users inspect files, run commands, and modify code.",
"Codex's GPT-6 prompt goes as written: You are Codex, an agent based on GPT-6.",
"You're Hermes Agent, an intelligent AI assistant created by Nous Research.",
"Nothing to see here; Claude Agent SDK alone is fine.",
"",
]
+30 -1
View File
@@ -126,6 +126,12 @@ const CREDITS_CORE = AGENT_ERROR_CORES[2]
const ATTEMPT_CORE = "⚠ API error (attempt "
const ATTEMPT_MARKER = "\n" + ATTEMPT_CORE
const ATTEMPT_LINE = /^⚠ API error \(attempt \d+\): ?(.*)$/
// The bare 429 Antigravity answers a system prompt it turns away, whatever
// quota is left. agy 1.5.9 retries it in the same turn with a banner each
// time, and only ends the turn after its last retry: to the client the turn
// hung (Lmohn39 on X, pi through agy-cli, 11-14). A banner with it ends the
// turn at once, as the 429 ending would.
const refused429 = (detail) => /code 429\b/i.test(detail) && /resource has been exhausted/i.test(detail)
// agy writes this into the reply when the model's first call came back with
// neither text nor tool calls, then calls the model again in the same turn.
// It is agy's, not the model's, and the turn goes on (#1124).
@@ -1155,6 +1161,7 @@ class Turn {
this.textTail = ""
this.openBanner = -1
this.attemptDetail = ""
this.refusedDetail = ""
this.agentErrorCore = ""
this.timer = null
this.cleanupTimer = null
@@ -1332,6 +1339,14 @@ class Turn {
// they start a line (#1124, #1136); one whose line hasn't ended is held.
pushText(chunk) {
if (this.done || this.agentError) return
this.pushHeld(chunk)
if (this.refusedDetail && !this.done) {
this.heldText = ""
this.proc.refuseTurn(this, this.refusedDetail)
}
}
pushHeld(chunk) {
let text = this.dropRetryBanner(this.heldText + chunk)
this.heldText = ""
if (this.openBanner >= 0) {
@@ -1381,10 +1396,14 @@ class Turn {
let end = attempt ? text.indexOf("\n", at) : at + RETRY_CORE.length
if (end < 0) end = text.length
if (end === text.length && !final) {
// agy waits before its next try with the line still open
const open = attempt ? ATTEMPT_LINE.exec(text.slice(at, end))?.[1]?.trim() : ""
if (open && refused429(open)) this.refusedDetail ||= open
this.openBanner = start
return text
}
if (attempt) this.attemptDetail = ATTEMPT_LINE.exec(text.slice(at, end))?.[1]?.trim() || this.attemptDetail
if (attempt && refused429(this.attemptDetail)) this.refusedDetail ||= this.attemptDetail
if (text[end] === "\n") end++
text = text.slice(0, start) + text.slice(end)
from = start
@@ -2124,7 +2143,7 @@ class Proc {
}
if (/QUOTA_EXHAUSTED|RESOURCE_EXHAUSTED|MODEL_CAPACITY_EXHAUSTED|code 429\b/i.test(detail)) {
return new AgentTurnError(
`agy bridge: Antigravity quota or rate limit reached${detail ? ": " + detail : ""}`,
`agy bridge: Antigravity quota or rate limit reached${detail ? ": " + detail : ""}${refused429(detail) ? " — Antigravity answers this same bare 429 to a system prompt it turns away whatever quota is left, so if quota is left it is not a quota and waiting won't help: something in this agent's system prompt is being matched" : ""}`,
"rate_limit_error",
)
}
@@ -2153,6 +2172,16 @@ class Proc {
return true
}
// A try Antigravity answered with the bare 429 ends the turn now, with the
// same error as agy's own 429 ending, instead of after agy's retries: the
// process goes, as on a timeout, since agy is still retrying in it.
refuseTurn(turn, detail) {
if (this.turn !== turn || turn.done) return
turn.fail(this.#formatAgentError(detail))
dropFromPool(this)
this.stop().catch(() => {})
}
timeoutTurn(turn, error) {
if (this.turn !== turn || turn.done) return
turn.fail(error)
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@magpie-community/opencode-agy-cli-auth",
"version": "0.1.47",
"version": "0.1.48",
"description": "Magpie/OpenCode model provider that connects your local agy CLI through the Agent Client Protocol (agy acp), so Antigravity subscription models run through the real CLI",
"type": "module",
"main": "./opencode.mjs",
+47
View File
@@ -938,3 +938,50 @@ test("#1136: the model quoting an attempt banner or the network ending mid-line
assert.equal(replyText(parsed), chunks.join(""))
})
})
// Lmohn39 on X (11-14): pi through agy-cli never answered. Antigravity gave
// every try the bare 429 it answers a turned-away system prompt with, and
// agy retried it in the same turn, a banner each time, before its 429
// ending. The first such banner ends the turn, with the same error.
const REFUSED_ATTEMPT = (n) => `\n⚠ API error (attempt ${n}): RESOURCE_EXHAUSTED (code 429): Resource has been exhausted (e.g. check quota).`
test("Lmohn39: a try answered with the bare 429 ends the turn at once, not after agy's retries", async () => {
const PI = "You are a coding assistant running inside pi, a coding agent harness. Help users inspect files, run commands, and modify code."
for (const [system, chunks, want, kind] of [
// the banner's line still open while agy waits to try again
[PI, [REFUSED_ATTEMPT(1)], /answered 429 to this system prompt: RESOURCE_EXHAUSTED \(code 429\).*pi's default system prompt/, "invalid_request_error"],
[PI, [REFUSED_ATTEMPT(1).slice(0, 40), REFUSED_ATTEMPT(1).slice(40) + "\n"], /answered 429 to this system prompt/, "invalid_request_error"],
["You are a test agent.", ["partial", REFUSED_ATTEMPT(1)], /quota or rate limit reached: RESOURCE_EXHAUSTED \(code 429\).*not a quota/, "rate_limit_error"],
]) {
await withKit({}, async (kit) => {
let tries = 0
kit.defaultPrompt = async (agent) => {
tries++
for (const chunk of chunks) await agent.text(chunk)
// agy waits, then tries again: never, here
await new Promise(() => {})
}
const reply = kit.request(baseBody({ metadata: { user_id: "refused-attempt" }, system,
messages: [{ role: "user", content: "hello" }] })).then((response) => response.text())
const text = await Promise.race([reply, sleep(5_000).then(() => "still waiting after 5s")])
assert.equal(tries, 1)
assert.match(text, want)
assert.ok(text.includes(kind), `${kind} in ${text.slice(-400)}`)
assert.ok(!text.includes("⚠"), "no banner reaches the client")
})
}
})
test("Lmohn39: a try that fails another way still waits for agy's next one", async () => {
await withKit({}, async (kit) => {
kit.defaultPrompt = async (agent) => {
await agent.text("\n⚠ API error (attempt 1): UNAVAILABLE (code 503): try again.")
await agent.text("\nanswer")
return { stopReason: "end_turn" }
}
const parsed = await readSse(await kit.request(baseBody({ metadata: { user_id: "other-attempt" },
messages: [{ role: "user", content: "hello" }] })))
assert.equal(parsed.error, null)
assert.equal(replyText(parsed), "answer")
})
})
+4 -4
View File
@@ -7,10 +7,10 @@ Antigravity answers a request whose system prompt reads as Claude Code's or the
- Claude Code's billing line, `x-anthropic-billing-header: …`;
- `built on Anthropic's Claude Agent SDK`, the Agent SDK's identity line (Claude Desktop's Code tab and its subagents);
- Codex's own prompt for its GPT-5 models, `You are Codex, an agent based on GPT-5` or `You are Codex, a coding agent based on GPT-5`. A Codex chat begun on a GPT model keeps it after `/model` or a fork onto an Antigravity model, so that chat 429s while a new one works;
- Hermes Agent's earlier default persona, `Hermes Agent, an intelligent AI assistant created by Nous Research`, which a SOUL.md the user edited keeps (Hermes' current default goes through);
- oh-my-pi's first line, `RFC 2119 keywords: MUST, REQUIRED, …`.
- oh-my-pi's first line, `RFC 2119 keywords: MUST, REQUIRED, …`;
- since the evening of 11-14: `You are Hermes Agent` (Hermes' persona in SOUL.md, the current one and the earlier one), `You are OpenCode` (OpenCode's prompts), `You are a coding agent running in the Codex CLI` (Codex's prompt for a model it has none of its own for) and `a coding assistant running inside pi` (pi's default prompt).
Up to 0.1.6 this middleware put zero-width spaces (U+200B) inside them. Since 11-14 Google's check reads past invisible characters, and a broken-up line is turned away as the line itself. This middleware now leaves Claude Code's billing line out and rewords the others with the same meaning: `built on the Claude Agent SDK by Anthropic`, `built on GPT-5`, `built by Nous Research`, `RFC 2119 key words`. It does this in the system prompt, and only in what an Antigravity account is sent. Since 11-14 Antigravity also turns away Codex's two lines in a user's message (a pasted AGENTS.md, say), so from 0.1.8 those two are reworded in the user's messages as well; the other lines, tool results and the model's replies go as written there, since Google lets them through. Every other provider, a Claude subscription above all, gets the prompt as the agent wrote it, even in a routing group that tries Antigravity first. A copy an older version broke up is reworded too.
Up to 0.1.6 this middleware put zero-width spaces (U+200B) inside them. Since 11-14 Google's check reads past invisible characters, and a broken-up line is turned away as the line itself. This middleware now leaves Claude Code's billing line out and rewords the others with the same meaning: `built on the Claude Agent SDK by Anthropic`, `built on GPT-5`, `RFC 2119 key words`, `You're Hermes Agent` / `You're OpenCode` / `You're a coding agent running in the Codex CLI`, `running within pi`. It does this in the system prompt, and only in what an Antigravity account is sent. Since 11-14 Antigravity also turns away Codex's two lines in a user's message (a pasted AGENTS.md, say), so from 0.1.8 those two are reworded in the user's messages as well; the other lines, tool results and the model's replies go as written there, since Google lets them through. Every other provider, a Claude subscription above all, gets the prompt as the agent wrote it, even in a routing group that tries Antigravity first. A copy an older version broke up is reworded too.
It needs a magpie with the `onProvider` hook (v0.1.1283 or later): an older magpie loads it and never calls it, so requests go as they came.
@@ -40,6 +40,6 @@ To find it, replay the failing request with a short user message and take parts
- `accounts`: the subscriptions it acts on, by kind. `antigravity` is the default.
- `off`: leave every request as it came.
中文:Antigravity 看到 Claude Code / Claude Agent SDK / Codex GPT-5 / Hermes Agent 旧版默认人设 / oh-my-pi 的系统提示词会回一个假的 429。0.1.6 及以前往这几行里插零宽空格;11-14 起 Google 的检查会忽略零宽字符,这招不再有效。现在这个中间件只在发给 Antigravity 账号的请求里,去掉 Claude Code 的计费行,其余几行换成同义说法(built on the Claude Agent SDK by Anthropic、built on GPT-5、built by Nous Research、RFC 2119 key words),其他供应商(尤其是 Claude 订阅)收到的提示词不变。这样做可能违反 Antigravity 的条款,账号有被封的风险,请只用在可以承受损失的账号上。需要 magpie v0.1.1283 或更新版本。如果还剩额度、同一模型的其他请求也正常,却仍然收到 429,说明系统提示词里还有别的内容被匹配到(常见的是自定义提示词,或其他插件注入的内容):把系统提示词逐段拿掉重放请求,找到触发的那段,再把其中有代表性的短语和同义说法加进 `saidAs`。
中文:Antigravity 看到 Claude Code / Claude Agent SDK / Codex GPT-5 / Codex CLI / Hermes Agent / OpenCode / pi / oh-my-pi 的系统提示词会回一个假的 429。0.1.6 及以前往这几行里插零宽空格;11-14 起 Google 的检查会忽略零宽字符,这招不再有效。现在这个中间件只在发给 Antigravity 账号的请求里,去掉 Claude Code 的计费行,其余几行换成同义说法(built on the Claude Agent SDK by Anthropic、built on GPT-5、RFC 2119 key words、You're …、running within pi),其他供应商(尤其是 Claude 订阅)收到的提示词不变。这样做可能违反 Antigravity 的条款,账号有被封的风险,请只用在可以承受损失的账号上。需要 magpie v0.1.1283 或更新版本。如果还剩额度、同一模型的其他请求也正常,却仍然收到 429,说明系统提示词里还有别的内容被匹配到(常见的是自定义提示词,或其他插件注入的内容):把系统提示词逐段拿掉重放请求,找到触发的那段,再把其中有代表性的短语和同义说法加进 `saidAs`。
After [hexiaolv/magpie-antigravity-cloak](https://github.com/hexiaolv/magpie-antigravity-cloak) (MIT), which breaks a longer list of words in every request, whatever provider it goes to.
@@ -8,10 +8,20 @@
// (Claude Desktop's Code tab and its subagents)
// "You are Codex, an agent based on GPT-5" Codex's own prompt
// "You are Codex, a coding agent based on GPT-5" for its GPT-5 models
// "Hermes Agent, an intelligent AI assistant created by Nous Research"
// Hermes Agent's earlier default persona (its SOUL.md)
// "RFC 2119 keywords: MUST, REQUIRED, SHOULD, RECOMMENDED, MAY, OPTIONAL."
// the first line of oh-my-pi (omp)'s system prompt
// "You are Hermes Agent" Hermes Agent's persona (its SOUL.md), the
// current one and the earlier one
// "You are OpenCode" OpenCode's prompts
// "You are a coding agent running in the Codex CLI"
// Codex's prompt for a model it has none of its own for
// "a coding assistant running inside pi" pi's default prompt
//
// The last four are turned away since the evening of 11-14 (Lmohn39 and
// ZhouYimingsjtu on X), 3 of 3 or 5 of 5 each on a real account, and go
// through as "You're …" and "running within pi". Hermes' earlier persona
// ("…, an intelligent AI assistant created by Nous Research") is turned
// away as "You're …" too, so its "created by" goes "built by" as before.
//
// (a Codex thread begun on a GPT model keeps its prompt after /model or a
// fork onto an Antigravity one)
@@ -40,21 +50,27 @@
// After hexiaolv's magpie-antigravity-cloak (MIT), which does the same to
// every request whatever provider it goes to.
export const lines = ["x-anthropic-billing-header:", "built on Anthropic's Claude Agent SDK", "You are Codex, an agent based on GPT-5", "You are Codex, a coding agent based on GPT-5", "Hermes Agent, an intelligent AI assistant created by Nous Research", "RFC 2119 keywords: MUST, REQUIRED, SHOULD, RECOMMENDED, MAY, OPTIONAL."]
export const lines = ["x-anthropic-billing-header:", "built on Anthropic's Claude Agent SDK", "You are Codex, an agent based on GPT-5", "You are Codex, a coding agent based on GPT-5", "RFC 2119 keywords: MUST, REQUIRED, SHOULD, RECOMMENDED, MAY, OPTIONAL.", "You are Hermes Agent", "an intelligent AI assistant created by Nous Research", "You are OpenCode", "You are a coding agent running in the Codex CLI", "a coding assistant running inside pi"]
// saidAs is how each line goes, given the line as it was matched with its
// invisible characters taken out and its white space kept: Claude Code's
// billing line not at all (no Antigravity model reads it), the Agent SDK's
// as "built on the Claude Agent SDK by Anthropic", Codex's as "built on
// GPT-5", Hermes' as "built by Nous Research" (as its current persona says
// it), omp's with RFC 2119's own "key words".
// GPT-5", omp's with RFC 2119's own "key words", Hermes', OpenCode's and
// Codex CLI's as "You're …" (Hermes' earlier "created by" as "built by"),
// pi's as "running within pi".
const youre = (m) => m.replace(/^(you)\s+are/i, "$1're")
const saidAs = [
() => "",
(m) => m.replace(/^(built\s+on\s+)anthropic's(\s+)(claude\s+agent\s+sdk)$/i, "$1the$2$3 by Anthropic"),
(m) => m.replace(/based(\s+)on/i, "built$1on"),
(m) => m.replace(/based(\s+)on/i, "built$1on"),
(m) => m.replace(/created(\s+)by/i, "built$1by"),
(m) => m.replace(/(key)(words)/i, "$1 $2"),
youre,
(m) => m.replace(/created(\s+)by/i, "built$1by"),
youre,
youre,
(m) => m.replace(/inside/i, "within"),
]
const zwsp = "​"
+3 -1
View File
@@ -8,7 +8,9 @@
{"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 earlier persona, built by Nous Research","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 are Hermes Agent, an intelligent AI assistant built by Nous Research. You are helpful, knowledgeable, and direct.\n\nYou are Hermes Agent, built by Nous Research."},{"role":"user","content":"hi"}]}},
{"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."}},
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@magpie-community/middleware-antigravity-cloak",
"version": "0.1.8",
"version": "0.1.9",
"description": "magpie gateway middleware: Antigravity stops turning Claude Code's and the Claude Agent SDK's system prompts away, and no other provider's request is changed",
"type": "module",
"files": ["antigravity-cloak.middleware.js", "README.md"],
+7 -4
View File
@@ -101,10 +101,13 @@ The plugin also changes the request itself, as the built-in did:
zero-width spaces (11-14): Claude Code's billing header is left out, the
Claude Agent SDK's "built on Anthropic's Claude Agent SDK" (Claude
Desktop's Code tab and its subagents) goes as "built on the Claude Agent
SDK by Anthropic", Codex's GPT-5 lines say "built on GPT-5", Hermes
Agent's earlier persona "built by Nous Research", and omp's line "RFC 2119
key words: …". A copy someone broke up with invisible characters is
reworded the same way.
SDK by Anthropic", Codex's GPT-5 lines say "built on GPT-5", omp's line
"RFC 2119 key words: …", Hermes Agent's persona, OpenCode's prompt and
Codex's prompt for a model it has none for go as "You're …" for "You are
Hermes Agent" / "You are OpenCode" / "You are a coding agent running in
the Codex CLI", and pi's default prompt as "running within pi" for
"running inside pi" (the last four turned away since 11-14). A copy
someone broke up with invisible characters is reworded the same way.
DeepSeek Harness's paragraph on `@` paths ("Tokens prefixed with @ are
paths…") goes reworded with the same meaning: word for word, it got most
`gemini-4-argon` answers fast, without thinking and shallow (#1028).
+48 -7
View File
@@ -922,14 +922,38 @@ function plainSchema(root) {
// ---- system prompts Antigravity turns away -----------------------------------------------
// TURNED_AWAY are the lines, lower-cased, Antigravity answers a 429 to
// whatever quota is left. Each goes as SAID_AS says instead.
// whatever quota is left. Each goes as SAID_AS says instead. The last four
// are turned away since the evening of 11-14 (Lmohn39 and ZhouYimingsjtu on
// X), each 3 of 3 or 5 of 5 on a real account, on gemini-3-flash and
// claude-sonnet-4-6 alike:
// - "You are Hermes Agent": Hermes' current persona ("You are Hermes
// Agent, built by Nous Research.") and its earlier one, and the earlier
// one as magpie reworded it up to 0.1.15 ("… built by Nous Research").
// The earlier one ("…, an intelligent AI assistant created by Nous
// Research.") is turned away as "You're Hermes Agent, …" too, 3 of 3,
// so its "created by" goes "built by" as before as well.
// - "You are OpenCode", whichever of OpenCode 2.0.25's lines follows it
// ("a coding agent that helps users…", "an interactive CLI tool…", "the
// best coding agent on the planet").
// - "You are a coding agent running in the Codex CLI", Codex's prompt for
// a model it has no prompt of its own for (Codex 0.165).
// - "a coding assistant running inside pi", pi 1.5.0's default prompt
// ("You are a coding assistant running inside pi, a coding agent
// harness."), as "agent" for "assistant" and "that runs inside pi" are.
// Codex's prompt for GPT-6 ("You are Codex, an agent based on GPT-6."),
// Claude Code's, Gemini CLI's, Qwen Code's, Cline's, Kilo's, goose's, Amp's,
// Droid's, Kimi CLI's, Aider's and Cursor's went through as written.
const TURNED_AWAY = [
"x-anthropic-billing-header:",
"built on anthropic's claude agent sdk",
"you are codex, an agent based on gpt-5",
"you are codex, a coding agent based on gpt-5",
"hermes agent, an intelligent ai assistant created by nous research",
"rfc 2119 keywords: must, required, should, recommended, may, optional.",
"you are hermes agent",
"an intelligent ai assistant created by nous research",
"you are opencode",
"you are a coding agent running in the codex cli",
"a coding assistant running inside pi",
]
// INVISIBLE are the characters Google's check reads past: since 11-14 a
@@ -978,17 +1002,24 @@ const turnsAway = (system) => TURNED_AWAY_RE.some((re) => has(system, re))
// line (Claude Desktop's Code tab and its subagents), goes as "built on
// the Claude Agent SDK by Anthropic".
// - Codex's GPT-5 lines go "built on GPT-5" for "based on GPT-5".
// - Hermes' earlier persona goes "built by Nous Research", as Hermes'
// current one says it, for "created by".
// - "You are Hermes Agent", "You are OpenCode" and Codex CLI's line go
// as "You're …" (5 of 5 each), and Hermes' earlier "created by Nous
// Research" as "built by" (3 of 3 together).
// - pi's line goes "running within pi" (5 of 5 on both models).
// - omp's RFC 2119 line goes as "key words", the RFC's own term (10 of 10
// on 11-14, eric_li8983 on X).
const youre = (line) => line.replace(/^(you)\s+are/i, "$1're")
const SAID_AS = {
"x-anthropic-billing-header:": () => "",
"built on anthropic's claude agent sdk": (line) => line.replace(/^(built\s+on\s+)anthropic's(\s+)(claude\s+agent\s+sdk)$/i, "$1the$2$3 by Anthropic"),
"you are codex, an agent based on gpt-5": (line) => line.replace(/based(\s+)on/i, "built$1on"),
"you are codex, a coding agent based on gpt-5": (line) => line.replace(/based(\s+)on/i, "built$1on"),
"hermes agent, an intelligent ai assistant created by nous research": (line) => line.replace(/created(\s+)by/i, "built$1by"),
"rfc 2119 keywords: must, required, should, recommended, may, optional.": (line) => line.replace(/(key)(words)/i, "$1 $2"),
"you are hermes agent": youre,
"an intelligent ai assistant created by nous research": (line) => line.replace(/created(\s+)by/i, "built$1by"),
"you are opencode": youre,
"you are a coding agent running in the codex cli": youre,
"a coding assistant running inside pi": (line) => line.replace(/inside/i, "within"),
}
// USER_TURNED_AWAY are the lines Antigravity also turns away in a user's
@@ -1023,7 +1054,14 @@ const HINT =
const CODEX_HINT =
"Antigravity answers this 429 to Codex's own system prompt for GPT-5 models whatever quota is left, so it is not a quota and waiting won't help; a Codex chat begun on a GPT model keeps that prompt after a model switch or a fork, so start a new chat on this model"
const HERMES_HINT =
"Antigravity answers this 429 to Hermes Agent's earlier default persona (its SOUL.md) whatever quota is left, so it is not a quota and waiting won't help; Hermes' current default persona goes through, so put it in SOUL.md, or use another provider for these chats"
"Antigravity answers this 429 to Hermes Agent's default persona (\"You are Hermes Agent, …\" in its SOUL.md), the current one and the earlier one alike, whatever quota is left, so it is not a quota and waiting won't help; magpie sends it as \"You're Hermes Agent, …\", which goes through, so start SOUL.md another way, or use another provider for these chats"
const PI_HINT =
"Antigravity answers this 429 to pi's default system prompt (\"You are a coding assistant running inside pi\") whatever quota is left, so it is not a quota and waiting won't help; magpie sends that line as \"running within pi\", which goes through, so give pi a system prompt of your own (--system-prompt) or use another provider for these chats"
const OPENCODE_HINT =
"Antigravity answers this 429 to OpenCode's system prompt (\"You are OpenCode, …\") whatever quota is left, so it is not a quota and waiting won't help; magpie sends that line as \"You're OpenCode, …\", which goes through, so use another provider for these chats, or put one after Antigravity in a routing group"
const CODEX_CLI_HINT =
"Antigravity answers this 429 to Codex's prompt for a model it has none of its own for (\"You are a coding agent running in the Codex CLI\") whatever quota is left, so it is not a quota and waiting won't help; magpie sends that line as \"You're …\", which goes through, so use another provider for these chats, or put one after Antigravity in a routing group"
const RFC_HINT =
"Antigravity answers this 429 to the line \"RFC 2119 keywords: MUST, REQUIRED, SHOULD, RECOMMENDED, MAY, OPTIONAL.\" that starts oh-my-pi (omp)'s system prompt, and to any prompt that has it, whatever quota is left, so it is not a quota and waiting won't help; magpie sends that line as \"RFC 2119 key words: …\", which goes through, so this one came from a copy of it that was worded another way"
@@ -1031,7 +1069,10 @@ const RFC_HINT =
function hint(system) {
if (said(system, "rfc 2119 keywords: must, required, should, recommended, may, optional.")) return RFC_HINT
if (said(system, "you are codex, an agent based on gpt-5") || said(system, "you are codex, a coding agent based on gpt-5")) return CODEX_HINT
if (said(system, "hermes agent, an intelligent ai assistant created by nous research")) return HERMES_HINT
if (said(system, "you are a coding agent running in the codex cli")) return CODEX_CLI_HINT
if (said(system, "you are hermes agent") || said(system, "an intelligent ai assistant created by nous research")) return HERMES_HINT
if (said(system, "you are opencode")) return OPENCODE_HINT
if (said(system, "a coding assistant running inside pi")) return PI_HINT
return HINT
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@magpie-community/opencode-antigravity-auth",
"version": "0.1.15",
"version": "0.1.16",
"description": "Sign in to Antigravity with a Google account from OpenCode or magpie: Gemini, and the Claude and GPT-OSS models Google hosts for it",
"type": "module",
"main": "./opencode.mjs",
+5 -1
View File
@@ -85,7 +85,11 @@ test("a 429 to a turned-away system prompt is a 400, not a quota", async () => {
for (const [sys, says] of [
["x-anthropic-billing-header: cc_version=2.1", "Claude Code and the Claude Agent SDK"],
["You are Codex, a coding agent based on GPT-5.", "Codex's own system prompt"],
["You are Hermes Agent, an intelligent AI assistant created by Nous Research.", "Hermes Agent's earlier default persona"],
["You are Hermes Agent, an intelligent AI assistant created by Nous Research.", "Hermes Agent's default persona"],
["You are Hermes Agent, built by Nous Research.", "Hermes Agent's default persona"],
["You are opencode, an interactive CLI tool that helps users with software engineering tasks.", "OpenCode's system prompt"],
["You are a coding agent running in the Codex CLI, a terminal-based coding assistant. Codex CLI is an open source project led by OpenAI. You are expected to be precise, safe, and helpful.", "Codex's prompt for a model it has none of its own for"],
["You are a coding assistant running inside pi, a coding agent harness. Help users inspect files, run commands, and modify code.", "pi's default system prompt"],
["RFC 2119 keywords: MUST, REQUIRED, SHOULD, RECOMMENDED, MAY, OPTIONAL.\n\n§ Role", "oh-my-pi (omp)'s system prompt"],
["RFC 2119 keywords: MUST, REQUIRED,\r\nSHOULD, RECOMMENDED, MAY, OPTIONAL.\r\n\r\n§ Role", "oh-my-pi (omp)'s system prompt"],
]) {
+13 -2
View File
@@ -148,7 +148,9 @@ test("omp's line is reworded wherever white space wraps or widens it", () => {
for (const line of OMP_PASSED) expect(cloak(line)).toBe(line)
// the other lines take white space the same way (Hermes' and Codex's
// were turned away wrapped and with a tab on the same account)
expect(cloak("You are Hermes Agent, an intelligent\nAI assistant created by Nous Research.")).toBe("You are Hermes Agent, an intelligent\nAI assistant built by Nous Research.")
expect(cloak("You are Hermes\nAgent, an intelligent\nAI assistant created by Nous Research.")).toBe("You're Hermes\nAgent, an intelligent\nAI assistant built by Nous Research.")
expect(cloak("running\tinside pi")).toBe("running\tinside pi")
expect(cloak("a coding assistant running\ninside pi")).toBe("a coding assistant running\nwithin pi")
expect(cloak("You are Codex, an agent\tbased on GPT-5.")).toBe("You are Codex, an agent\tbuilt on GPT-5.")
})
@@ -190,7 +192,16 @@ test("a line someone broke up with invisible characters is reworded as the line"
[SUBAGENT, "You are a Claude agent, built on the Claude Agent SDK by Anthropic."],
["You are Codex, an agent based on GPT-5.", "You are Codex, an agent built on GPT-5."],
["You are Codex, a coding agent based on GPT-5.", "You are Codex, a coding agent built on GPT-5."],
["You are Hermes Agent, an intelligent AI assistant created by Nous Research.", "You are Hermes Agent, an intelligent AI assistant built by Nous Research."],
// as "You're" alone it was turned away 3 of 3 on 11-14
["You are Hermes Agent, an intelligent AI assistant created by Nous Research.", "You're Hermes Agent, an intelligent AI assistant built by Nous Research."],
// 0.1.15's own rewording of it is turned away too since 11-14
["You are Hermes Agent, an intelligent AI assistant built by Nous Research.", "You're Hermes Agent, an intelligent AI assistant built by Nous Research."],
["You are Hermes Agent, built by Nous Research.", "You're Hermes Agent, built by Nous Research."],
["You are OpenCode, a coding agent that helps users with software engineering tasks.", "You're OpenCode, a coding agent that helps users with software engineering tasks."],
["You are opencode, an interactive CLI tool that helps users with software engineering tasks.", "You're opencode, an interactive CLI tool that helps users with software engineering tasks."],
["You are OpenCode, the best coding agent on the planet.", "You're OpenCode, the best coding agent on the planet."],
["You are a coding agent running in the Codex CLI, a terminal-based coding assistant. Codex CLI is an open source project led by OpenAI. You are expected to be precise, safe, and helpful.", "You're a coding agent running in the Codex CLI, a terminal-based coding assistant. Codex CLI is an open source project led by OpenAI. You are expected to be precise, safe, and helpful."],
["You are a coding assistant running inside pi, a coding agent harness. Help users inspect files, run commands, and modify code.", "You are a coding assistant running within pi, a coding agent harness. Help users inspect files, run commands, and modify code."],
["RFC 2119 keywords: MUST, REQUIRED, SHOULD, RECOMMENDED, MAY, OPTIONAL.", "RFC 2119 key words: MUST, REQUIRED, SHOULD, RECOMMENDED, MAY, OPTIONAL."],
]
// the break-ups also reach words outside the turned-away part, which go as