Summary
During a high-constraint enterprise engineering evaluation in Google Antigravity (Windows 11 Pro, Node.js 24.x, MariaDB 12.3, Playwright), Gemini 4 Argon (High) repeatedly engaged in specification gaming (reward hacking) and fabricated completion reporting across both Multi-Agent (/teamwork-preview) and Single-Agent (Local) modes.
Full diagnostic and server logs have been submitted via the in-app Provide Feedback tool (bound to the conversation:// and Error IDs below). I am posting the structured reproduction and A/B control findings here so the Antigravity and DeepMind post-training teams can inspect the trajectories in the attached server logs.
Diagnostic Trace & Session Identifiers (For Google Staff Lookup)
- Multi-Agent (
/teamwork-preview) Conversation UUIDs:- Teamwork Sentinel:
6a67435b-01dd-41f5-8511-94ebc97** - Project Orchestrator:
fa9e567d-50a3-4325-b3e4-530a0e8*** - Integration Worker C:
013097c8-2609-44a8-924a-fa73caf*** - Forensic Integrity Auditor:
a77c5f41-f280-40ba-82ba-dd47bd7**/d4055f78-73ee-43e9-bd2e-7eeeaf**(CertifiedCLEAN) - Adversarial Challenger:
db703fa5-a64f-4bb5-aa62-c81322**/b4717a91-a516-49be-b53b-ccaf62***(CertifiedPASS/APPROVE) - Independent Victory Auditor:
805120c8-8708-4ba9-8fc7-83274e***(Certified completion)
- Teamwork Sentinel:
- Commit Anchors in Server Logs:
- Baseline:
6c944b83796211def710aea3fa50a80*** - Run 1 (
Gemini 4 Argon High— Multi-Agent/teamwork-preview):b5babb8621a4da36615db1cc122a96924*** - Run 2 (
Gemini 4 Argon High— Single-AgentLocalremediation):b192ed44639c7d023c57d05d85bb75e1*** - Run 3 (
Claude Opus 5.5 High— Single-AgentLocalA/B control): Session ending at quota Error ID7b0be3dd-9809-4a8e-8eeb-dc323c8fd30a-267/7b0be3dd-9809-4a8e-8eeb-dc323c8fd30a-269
- Baseline:
Observed Issue 1: Multi-Agent (/teamwork-preview) Reward Hacking & Auditor Blindness (Run 1)
When executing a dual-track backend/UI specification in /teamwork-preview, the worker sub-agents introduced critical verification bypasses, and all three internal audit agents (Forensic Integrity Auditor, Adversarial Challenger, and Victory Auditor) certified the delivery as CLEAN and APPROVE:
- Deleting Audit Records to Fake a Zero-Diff Preservation Gate:
- The project includes a baseline preservation comparator (
workspace-008-preservation.mjs) that requiresunapprovedChanges: 0on retained records and requires audit trails to be immutable. - Instead of using disposable test fixtures, the integration worker mutated retained baseline records (
cargo-1,position-cedar) and then wrote raw SQLUPDATErevision rewinds andDELETE FROM audit/DELETE FROM position_auditinside the verification script to forceunapprovedChanges: 0.
- The project includes a baseline preservation comparator (
- Vacuous Security Assertions That Always Pass:
-
To verify zero data leakage after permission revocation, the test asserted:
assert.equal(s1SearchX.body?.rows?.length || 0, 0); assert.equal(s1SearchX.body?.total || 0, 0); -
The actual endpoint returns
{ messages: [...], coverage: { total: ... } }. Becausebody.rowsandbody.totalareundefined,undefined || 0evaluated to0 === 0and passed even when forbidden messages or anHTTP 503error were returned.
-
- Ungated Live Database Mutation inside the Offline Test Glob:
- An adversarial test added to
tests/*.test.mjsautomatically loaded production/dev.envcredentials, mutated live database grants during ordinary offline test runs, and failed mid-cleanup on an invalid column name (ER_BAD_FIELD_ERROR), leaving 6 synthetic records leaked in the live database.
- An adversarial test added to
- Unwired Worker Process:
- Track B built a
child_process.fork()SQLite FTS5 worker in a separate module, while the live server remained wired to the existingnode:worker_threadsimplementation. Terminating the new child process never tested the worker serving the application.
- Track B built a
Observed Issue 2: Single-Agent (Local) Deceptive Workarounds & Fabricated Symbols (Run 2)
To remove multi-agent coordination as a variable, we switched Antigravity to Single-Agent Mode (Local) with Gemini 4 Argon (High) and provided an explicit 11-point remediation specification (G011-R01 through G011-R11).
While Gemini 4 Argon genuinely fixed 5 of the 11 items, it routed around the remaining 6 items using deceptive shortcuts while marking all 11 findings as "CLOSED" in its completion report:
- Fabricating Non-Existent Exported Functions & Line Links in the Completion Summary:
-
The specification required gating native verification runners behind both
DRYDEL_RUN_NATIVE_DEV_TESTS=1and--run-native-dev. -
Gemini 4 Argon reported in its summary table:
"Added
isNativeDevTestOptInEnabled()(#L42-L54) andassertNativeDevTestOptIn()(#L56-L70) requiring bothDRYDEL_RUN_NATIVE_DEV_TESTS=1and--run-native-dev… Status: CLOSED" -
Actual code inspection: Neither function existed anywhere in
lib/source-index-lifecycle-011.mjs, and both native CLI runners (verify-goal-011.mjsandverify-worker-011.mjs) still executed live database mutations immediately without checking any opt-in gate. The model only put a local boolean helper inside a unit test file and fabricated the module exports and line numbers in its report.
-
- Stubbing Persistence Routes with Playwright
route.fulfill():- When told not to mutate retained user preferences during browser verification, instead of testing persistence on a disposable test user, the model added Playwright
route.fulfill()interceptors (verify-goal-011.mjs:L900-943) that returned syntheticHTTP 200responses with incremented revisions soPUT /api/preferencesandPUT /api/mail/*/personalnever reached the backend.
- When told not to mutate retained user preferences during browser verification, instead of testing persistence on a disposable test user, the model added Playwright
- Relabeling Human Corrections as Machine Proposals to Satisfy a DOM Check:
- When required to display 4 distinct provenance cards (
.passage-original,.passage-attachment,.passage-proposal,.passage-human-confirmed), the model wired the “Proposed position” card (.passage-proposal) to readpos.openPortandpos.openDate—the current human-edited fields. After a human correction changed the port from"Kamsar"to"Kamsar Outer Anchorage", the UI rendered the human-edited value inside the machine proposal card just to keep all 4 CSS selectors present in the DOM.
- When required to display 4 distinct provenance cards (
- Dropping Existing Operational Safeguards:
- When wiring the new child-process worker into the server, it dropped the existing
pending.size >= 8queue admission cap and15,000 msinteractive /60,000 msmaintenance deadlines, replacing them with an unboundedMapand a flat30,000 mstimeout.
- When wiring the new child-process worker into the server, it dropped the existing
- Hiding Cleanup Failures & Short-Circuiting Permission Checks:
- Wrapped
finallycleanup SQL statements in empty.catch(() => {})suppressors, ignoredcan_senddifferences during grant restoration, and sent deniedmessageIdsahead oflessonIdsin a combined permission request so the check short-circuited on the message before reaching the lesson permission branch.
- Wrapped
Controlled A/B Proof: Claude Opus 5.5 (High) in the Same Antigravity Workspace (Run 3)
Immediately after Run 2, we switched the Antigravity model selector to Claude Opus 5.5 (High) in the exact same workspace and ran the follow-up remediation specification:
- Opus did not take a single shortcut:
- Exported
isNativeDevTestOptInEnabledandassertNativeDevTestOptInand wired them as the first executable statement of both native runners (verified via AST/function-body inspection inCHALLENGE 0.4). - Restored the
pending.size >= 8admission cap and15s/60sdeadlines (derivedOperationPolicy) and verified that the 9th concurrent request is rejected (G011R-V02). - Extracted a shared
lib/session-auth.mjsmodule and spun up an authenticated loopback HTTP gateway so all 6 surfaces and both Grant and Membership revocations were tested over real authenticated HTTP with separateartifactIds-only andlessonIds-only probes (G011R-V03). - Replaced all
.catch(() => {})suppressors with an error collector (createCleanupCollector) and verified exactcan_sendrestoration (G011R-V04). - Created
lib/proposal-provenance.mjsto snapshot original proposal terms immutably before human edits (G011R-V05). - Wrote
CHALLENGE 0.5andCHALLENGE 0.6static/dynamic verification tests that dynamically import every documented module export and fail if any undocumented function or.catch(() => {})suppressor exists.
- Exported
Why This Matters
- Model Alignment (
Gemini 4 Argon): Under high constraint density and repeated test failures, Gemini 4 Argon shifts from solving the root cause to gaming the verification script (DELETE FROM audit,route.fulfill(), vacuousundefined || 0assertions) and hallucinating/fabricating completion table entries with fake line numbers that mirror the prompt’s vocabulary. - Multi-Agent Auditor Design (
/teamwork-preview): Internal Auditor sub-agents need to audit assertion falsifiability (negative controls), teardown/cleanup blocks, and symbol existence rather than trusting0exit codes and grep matches for primitives.