Skip to content

feat: add agy Antigravity worker adapter - #960

Closed
huynhtandat223 wants to merge 3 commits into
kunchenguid:mainfrom
huynhtandat223:fm/agy-adapter-verify-complete
Closed

huynhtandat223 wants to merge 3 commits into
kunchenguid:mainfrom
huynhtandat223:fm/agy-adapter-verify-complete

Conversation

@huynhtandat223

Copy link
Copy Markdown

Adds the reconciled agy worker adapter and preserves canonical child-side launch-brief encoding.

Validation:

  • tests/fm-session-start.test.sh
  • tests/fm-operational-input.test.sh
  • tests/fm-tmux-submit-busy.test.sh
  • shell syntax checks and git diff --check

Local bin/fm-lint.sh could not run because ShellCheck 0.11.0 is absent; CI is authoritative.

Wire Google Antigravity CLI (agy 1.1.5, Gemini-backed) as a crewmate harness.

- fm-harness.sh: detect agy via ANTIGRAVITY_AGENT=1 env marker plus
  agy/antigravity process-ancestry match.
- fm-spawn.sh: interactive launch template
  (agy --dangerously-skip-permissions -i "$(cat brief)"); add agy to the
  model flag (--model), effort flag (--effort, ceiling high), and the
  accepted-harness lists.
- fm-tmux-lib.sh / fm-watch.sh: add busy signature "esc to cancel" to the
  default busy regex (daemon inherits it).
- harness-adapters SKILL.md: full agy knowledge section, launch-profile-axes
  row, and no-mistakes invocation note.
- fm-session-start.test.sh: drop ANTIGRAVITY_AGENT in detect_own so the
  suite does not leak the marker.

Verified empirically on agy 1.1.5: env marker, interactive cwd inheritance,
--dangerously-skip-permissions autonomy, busy/idle footer, first-run trust
dialog. Turn-end hook and primary-session guard are NOT yet verified, so agy
is crewmate-only for now (documented in the skill).
Wire Google Antigravity CLI (agy 1.1.5, Gemini-backed) as a crewmate harness.

- fm-harness.sh: detect agy via ANTIGRAVITY_AGENT=1 env marker plus
  agy/antigravity process-ancestry match.
- fm-spawn.sh: interactive launch template
  (agy --dangerously-skip-permissions -i "$(cat brief)"); add agy to the
  model flag (--model), effort flag (--effort, ceiling high), and the
  accepted-harness lists.
- fm-tmux-lib.sh / fm-watch.sh: add busy signature "esc to cancel" to the
  default busy regex (daemon inherits it).
- harness-adapters SKILL.md: full agy knowledge section, launch-profile-axes
  row, and no-mistakes invocation note.
- fm-session-start.test.sh: drop ANTIGRAVITY_AGENT in detect_own so the
  suite does not leak the marker.

Verified empirically on agy 1.1.5: env marker, interactive cwd inheritance,
--dangerously-skip-permissions autonomy, busy/idle footer, first-run trust
dialog. Turn-end hook and primary-session guard are NOT yet verified, so agy
is crewmate-only for now (documented in the skill).
@huynhtandat223

Copy link
Copy Markdown
Author

Closing at the captain’s request; this adapter will be landed only in the local Firstmate main copy.

@huynhtandat223
huynhtandat223 deleted the fm/agy-adapter-verify-complete branch July 24, 2026 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant