Skip to content

Add native Hermes and Antigravity crew/scout adapters - #4139

Open
DavidJSbar wants to merge 14 commits into
kunchenguid:mainfrom
DavidJSbar:integration/seven-tools
Open

DavidJSbar wants to merge 14 commits into
kunchenguid:mainfrom
DavidJSbar:integration/seven-tools

Conversation

@DavidJSbar

Copy link
Copy Markdown

Adds native Hermes and Antigravity crew/scout adapters via a worker bridge, so both run real CLI conversations under the existing harness/backend contracts.

What this adds

  • bin/fm-worker-bridge.py / .sh: a worker bridge driving real CLI turns for both adapters, with explicit model and supported-effort propagation, generation-bound busy/completion state, interruption, exit, relaunch and cleanup.
  • Registration across fm-spawn.sh, fm-control-lib.sh, fm-busy-lib.sh, fm-harness.sh, the crew-dispatch validator and the tmux liveness classifier.
  • Briefs for both adapters go through the canonical typed launch-brief envelope used by every other adapter, rather than a raw file path.

Verification

Validated through the repository's no-mistakes pipeline: review, test, document and lint all completed with zero outstanding findings.

Credentialed live proofs, run against installed agy 1.1.28 and the exact shipped invocation:

  • FM_WORKER_BRIDGE_LIVE=1 FM_BRIDGE_HARNESSES=antigravity bash tests/fm-worker-bridge-live-e2e.test.sh — PASS (real CLI initial turn, exact conversation follow-up, tmux liveness, inbox acknowledgement, fm-send, fm-control interrupt and exit)
  • FM_WORKER_BRIDGE_HERDR_LIVE=1 bash tests/fm-worker-bridge-herdr-live-e2e.test.sh — PASS (real Herdr fm-spawn scout, report, busy/idle lifecycle, acknowledged follow-up, control exit, guarded teardown, Treehouse return)

Portable regressions cover the new liveness identity and the bridge contract.

Not verified

Hermes has no credentialed proof. Its provider was never authenticated, so no live Hermes turn has been exercised. The adapter is implemented and covered by portable tests only, and it is documented as unverified rather than claimed working.

One known gap is recorded rather than fixed: brief preservation across an interrupted opening turn covers the Antigravity path only. On Hermes, if the opening brief turn is interrupted before the named session persists, a subsequent steer may create the session from the steer alone. Settling that needs live Hermes credentials.

Behavior note

Turn-end cleanup no longer terminates deliberately-backgrounded descendants, so a crewmate can start a long-running process and use it across steers. This trades some automatic leak cleanup for that workflow.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

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