Skip to content

feat(external-agents): add Antigravity (agy) provider, config keys and defaults - #17967

Draft
kyle-sexton wants to merge 10 commits into
feat/external-agentsfrom
feat/external-agents-antigravity
Draft

kyle-sexton wants to merge 10 commits into
feat/external-agentsfrom
feat/external-agents-antigravity

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

Stacked on #17954 (the external-agents scaffold); retarget to main once it merges.

What

  • plugins/external-agents/providers/antigravity.yaml: the agy provider record, built from live probes of agy 1.5.14.
  • antigravity block in schemas/external-agents.schema.json and its bundled defaults in defaults.json: task runs write, investigate and review runs read-only, council member on. There is no profile key, because agy has no profile flag.
  • Changelog fragment.

Probe findings behind the record

  • --mode accepts only accept-edits, auto and plan. --mode=default prints a warning, runs in the persistent mode (auto) and exits 0 with SUCCESS, so read-only runs use --settings <file> with agentMode: "" (default mode) instead.
  • Refusals are reported in an undocumented denied_actions JSON field, on exit 0 with SUCCESS and an empty response; a stderr notice is the second signal.
  • In read-only mode one refused tool call ends the run, so a prompt_preface asks the model to use file-reading tools only.
  • Reviews use review.kind: diff_file: the runner writes the diff into the job's own folder and passes --add-dir on it, because read-only mode refuses git diff.
  • agy reads no plain-text prompt on stdin (prompt.form: "-p={prompt}"); output is one JSON envelope (status, response, conversation_id, error).

The six fields this record adds beyond the current validateProvider (prompt, output, resume, review, effort_flag, prompt_preface) land in #17954's Phase 3. The record validates today because unknown keys are ignored.

Not yet in this PR

Refs #17786

🤖 Generated with Claude Code

…ys and defaults

Add providers/antigravity.yaml from agy 1.5.14 probes: read-only runs
use a per-run settings file with agentMode "" (agy's default mode),
since --mode accepts only accept-edits, auto and plan; soft-denies are
read from the denied_actions JSON field, with the stderr notice as a
second signal. Add the antigravity block to the team config schema and
its bundled defaults (task write, investigate and review read-only,
council member on).

Refs #17786

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

PR body contract — issue linkage

This PR body does not yet satisfy the issue-linkage contract:

  • Missing a "## Summary" section. Describe what this PR changes and why, in a sentence or two.
  • Missing a "## Fix" section. State the concrete change and how it addresses the problem.
  • Missing a "## Verification" section. Record concrete evidence the change works (commands, gates, output).
  • Missing a "## Related" section. List related PRs, ADRs, or decision-log entries this PR does not close.
  • Missing a native closing keyword (Closes/Fixes/Resolves #N). If this PR references an issue it must not close, put "Refs: #N" (or "Relates to: #N") on its own line. If it relates to no GitHub issue at all, state "No linked issue" (or "No related issue:") in the body instead.

Edit the body and this comment updates itself on the next run.

@github-actions github-actions Bot added the needs-issue-linkage Pull request body has no issue linkage line; set by the check-contract step, advisory. label Nov 21, 2026
kyle-sexton and others added 9 commits November 21, 2026 12:52
…inary_path

Refs #17786

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he schema's unset-model text

A reviewed branch that changes .agents/ (workspace hooks, agents) now gets the pre-launch notice. Refs #17786

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Probed on agy 1.5.14: a prompt starting with /models expanded into a refused command without the flag and reached the model as text with it. Refs #17786

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs #17786

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drives external-agents run, review, status, result, cancel and update for agy, on the Codex skill's shape. Adds the agy prerequisite with its daily latest-release check, and a read-only preface that names the refused search commands (live: investigate ok, a write attempt blocked-by-mode). Refs #17786

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-issue-linkage Pull request body has no issue linkage line; set by the check-contract step, advisory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant