summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/findings.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/findings.md b/docs/findings.md
index c1ee609..a519a4b 100644
--- a/docs/findings.md
+++ b/docs/findings.md
@@ -1,9 +1,29 @@
# Antigravity provider evidence
+## Steering and thinking (agy 1.5.21)
+
+A live, isolated Neon Low turn returned its MCP marker plus both independently injected words: one from plain Enter while busy, one from `ext.agent:submit` inside the tool. The adapter sends the ordered text tail after the matched result as a concurrent ACP `session/prompt`, then returns the original MCP result once. Each request gets its own ID and only the original and all steering replies together complete the Panto turn. Both replies can carry distinct usage (observed 833 + 1044 tokens); the footer sums reported counts once. See [Google’s ACP steering contract](https://antigravity.google/docs/cli/acp/).
+
+Agent-sent `agent_thought_chunk` text routes separately to Panto’s thinking component, preserving its position among answer chunks and tools. A fake ACP peer verified the render event and checkpoint continuity. Neither the live Low probe nor a High arithmetic follow-up emitted a thought chunk; choosing a reasoning level does not guarantee displayable text. No reconstruction from logs or token counts.
+
## Subscription meter (offline)
The bundled `agy` changelog for 1.1.11 documents `-p "/usage"` as a read-only print command that spends no model turn. Static inspection of **1.5.18** (`printmode.quotaRows`, `bucketRemaining`, `bucketReset`, `headless.writeRows`) established the piped record: group, bucket, **remaining**, UTC reset. A raw count has no denominator and cannot yield a percentage. This is an allowance reading, not ACP context occupancy or an estimate from token counts. The signed CLI also returned four-column TSV with `--gemini_dir <private profile> --sandbox -p /usage` in 1.5.19. Print mode rejects the ACP flags `--gemini-dir` and `--disable-telemetry`. The footer checks the exit status and records directly, without asking for a version.
+## ACP isolation (agy 1.5.21)
+
+The installed CLI's `agy help acp` advertises `--agent` and `--include-default-customizations`. Its bundled changelog documents `excludeDefaultComponents` (1.2.1) and the MCP `antigravity/alwaysLoad` tool hint (1.3.3). A network-blocked `initialize` advertised system-prompt **append**, not override or a tool-inventory query. In a temporary home, `agy agents` listed a main-agent definition with an explicit stdio MCP entry. Discovery is not proof that the executor loaded its tools.
+
+In an authenticated startup probe with an inert local relay, `session/new` with the relay only in the agent definition went 11 seconds without `tools/list`. With the same descriptor also in ACP `mcpServers`, fresh processes called `tools/list` before replying to both `session/new` and `session/resume`. No `session/prompt` was sent. The adapter now uses that handshake rather than waiting for rewrites in a shared on-disk cache.
+
+The provider selects a custom main agent, disallows inherited tools/customizations in its definition, and puts the one relay directly in that definition rather than expecting the selected agent to inherit `session/new.mcpServers`. The offline TUI fixture launches that relay and dispatches a tool on new and resumed sessions. It does not run Google's executor. Use the fresh-marker checks in the README when upgrading; agy may retain infrastructure declarations even if native workspace actions are absent. A model listing names, a `tools/list` request, and successful execution are three different observations.
+
+Live Rex checks on `agy` 1.5.21 with a fresh `antigravity:gemini-4-neon -r low` verified a first-turn Panto `std.read` card and the correct file line. Neon described the Panto role and tool guidance and reported three unprefixed declarations: `list_resources`, `read_resource`, `manage_task`. A disposable rig adding `excludeFundamentalComponents`, `disallowedTools` and `disabledTools` to the agent frontmatter produced the same three names; none of those trial keys shipped. With the production agent definition and `tools = []`, Neon reported only `manage_task` and could not retrieve a fresh file marker. The frontend tool list is self-reported, not an ACP inventory. The usage footer showed numbers before any prompt through the signed CLI's `/usage` command.
+
+A subsequent 1.5.21 Rex probe called `manage_task` (list only) and `mcp_pantograph_std__read` in one turn. ACP sent distinct tool-call IDs and start/completion statuses for both. `session/prompt` returned `inputTokens=2166`, `outputTokens=228`, `thoughtTokens=117`, `totalTokens=2394` with zero cache reads/writes. The latest `usage_update` instead said `used=1330, size=1048576`. A one-word follow-up returned 1418 total tokens: the prompt totals are not cumulative session usage. Panto records usage on final completion only and prices it from model config, not Google endpoints. Real nonzero cache splits have not been independently audited.
+
+Current [Terms §6](https://antigravity.google/terms/) explicitly permit supported ACP, headless, MCP and custom-agent interfaces while separately prohibiting direct entitlement use and raw-model proxying. `agy` owns the turn and asks Panto for tool results over MCP. The older references below are historical, not a promise about enforcement.
+
## Native tool switch (agy 1.5.19)
An unauthenticated ACP probe in a temporary profile sent `_meta.disableBuiltInTools` with both `session/new` and `session/resume`. Both methods rejected a string with `-32602` (expected bool at `_meta.disableBuiltInTools`); `true` passed decoding and reached `Authentication required`. A string at the top level or under `_meta.antigravity` was ignored. This verifies the wire field, not the tool inventory of a signed-in Neon turn. `check.lua` tests both outbound envelopes and actual MCP listing/dispatch through the Panto TUI with a fake peer. For the live check use the read-card and `/antigravity-status` procedure in the README.