Repository navigation
docs(matrix): Antigravity runs hook commands through cmd.exe on Windows (AGY-3a) - #215
Merged
Merged
Conversation
antigravity's matrix notes now record the 2026-10-18 owner witness run (Antigravity IDE, Windows 11, version not recorded; org-plan witness/results/witness-antigravity-2026-10-18.md at 16ca2e2): the corrected hooks.json loaded and its PreToolUse hook ran; a hook command is run through cmd.exe, so a single-quoted or \"-quoted argument does not reach git.exe intact; a command with no quotes and no space inside an argument worked (guard refused, turn-end gate refused, benign call ran); a hook that exited 1 halted the tool call. The cmd.exe and \" mechanism is an inference from the error text, and the note says so. Notes only, as goose's sh -c fact was recorded (#213): no adapter, schema or capability change, nothing marked witnessed; examples regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Jothi Mani Rajendran <250249270+jothimani-rajendran@users.noreply.github.com>
jothimani-rajendran
marked this pull request as ready for review
October 18, 2026 01:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Antigravity's
matrix.jsonnotes now carry what the owner's witness run on 2026-10-18 found (Antigravity IDE, Windows 11, version not recorded; source: org-planwitness/results/witness-antigravity-2026-10-18.mdat 16ca2e2):jsonhook__agentseam_PreToolUse_0_0and ran it.commandruns through cmd.exe. A single-quoted argument split inside git (unknown option: -f), and cmd.exe ran the rest ('{' is not recognized ...). With\"quoting, git still failed (unknown option: -f, exit 129).git statusran.The note says plainly that the cmd.exe and
\"-escaping mechanism is inferred from the error text. It was not read from vendor docs or source. The old sentence "The corrected file has not been run." now says the file loaded in this run.Why notes, not a schema field: I followed the goose
sh -cprecedent (#213). That fact went into the matrix row's notes, and nothing in the vendor schema reads a spawn-shell fact today. AGENTS.md says the matrix is data and claims never exceed it. A new field with no reader would be data that no code checks. The consumer change (chock AGY-3b, a quote-free command for Antigravity on Windows) can add a field if it needs one.Claim check
fail_modestaysopen, even though one run saw exit 1 halt a call. Nothing is marked witnessed.Checks
pytest -q: 2626 passed, 6 skippedruff check .andruff format --check .passexamples/generate.py --check: up to date (18 files). Onlyexamples/generated/antigravity.mdchanged.Notes for the reviewer
Only the antigravity row changed. Two files:
src/agentseam/data/matrix.jsonandexamples/generated/antigravity.md.Generated by Claude Code
Generated by Claude Code