You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
investigate(antigravity): bootstrap agentapi delivery with a SessionStart hook #307
The existing Antigravity bridge already delivers through agentapi send-message, but is normally started from the receiving TUI's tool runner. A fresh idle TUI is therefore not registered before its first input.
Investigation
Test an opt-in workspace SessionStart hook in an isolated, owned CLI session. Determine whether it runs before the first user input or only before the first model invocation, whether a conversation ID and native presence owner exist, and whether the hook has legitimate agentapi authority. No credentials may be extracted, copied or fabricated.
Acceptance and safety
Record CLI version and startup timing, hook invocation, bridge registration, submission and actual receipt separately.
Keep ancestor/UID/presence/generation checks and bounded bridge lifecycle intact.
Do not treat new-conversation or another agy --conversation writer as delivery to the existing empty TUI.
Sidecars documentation marked Antigravity 2.0 is not proof of CLI autostart support.
Use only workspace-local test configuration; no global hooks, sidecars, settings or operations changes.
If first-input bootstrap is unavailable, report the limitation rather than weakening ownership/authentication checks.
Related: #85 (existing adapter) and #304 / #305 (Mac/Linux acceptance after registration). This is a separate startup capability experiment, not stable support or release authorization.
Partial result: hook-based bridge registration worked after initial input; first-input-before-user receipt and agentapi delivery were not established.
In the owned macOS arm64 TUI, the probe result was absent at the initial idle checkpoint before any input. This is a checkpoint observation, not a universal timing guarantee.
After one harmless first prompt, SessionStart supplied a conversation ID. The unchanged runtime bridge passed ancestor/presence checks and became ready. The TUI returned the requested initial READY marker.
One subsequent generation-pinned bridge send returned exit 1, status:unknown, submitted:false, consumptionConfirmed:false, retryAllowed:false. No ACK was visible during bounded observation. The legacy submitted:false on an unknown outcome is not proof of no effect. No resend or fallback occurred.
Evidence limits / next gates
The TUI displayed 1.3.3 at startup and exit, but the installed executable reported 1.3.4 afterward. This experiment did not invoke an update; replacement timing and the agentapi delegate version are unknown. Missing hook context variables alone do not prove authentication failure. Native diagnostics were discarded by the existing bridge, and the reduced result did not retain the native-exit/timeout discriminator, so the cause remains unclassified.
A follow-up must pin TUI and delegate versions, retain bounded non-secret native outcome classification, and separately establish startup timing, legitimate hook authority and actual receipt. No credentials may be copied or owner checks weakened. New-conversation creation is not a substitute for delivering to the original idle TUI.
The owned bridge and TUI were stopped, their absence verified, and the temporary workspace hook and private scratch removed. Existing history and unrelated sessions were preserved. Sanitized harness/report remain in the separate local experiment worktree; syntax/diff checks passed. No runtime changes, PR, merge, release or deployment. Linux/Windows were not tested in this experiment.
Implementation/preparation request submitted to the session-peer-claude session; consumption and acceptance are not yet confirmed.
Prepare a separate isolated investigation/documentation candidate from the preserved startup/receiver-bridge evidence. Preserve the original uncommitted evidence worktree; distinguish owner-bridge receipt from caller-process execution, pre-input observability from post-input bootstrap, reconstructed reports from raw evidence, and historical observations from new testing.
The coordinating Codex session owns independent-cli-review, finding verification, PR creation and exact-head CI checks after receiving frozen commits. No new live model/session experiments, operations, merge, release or publication are authorized here. Keep the issue OPEN until its actual acceptance gates are met; the 2026-10-18 target does not waive them.
Milestone housekeeping — 2026-10-30: moved remaining acceptance from the already published v1.2.0 milestone to Long-term, following the owner's research/backlog organization request. Shipped implementation and merged evidence remain unchanged. This issue stays OPEN; existing priority and safety/validation gates are preserved. No next release date, implementation completion, new live-test permission or operational change is implied.
Activity
abruption commentedon Oct 13, 2026
Isolated startup experiment — 2026-10-13
Partial result: hook-based bridge registration worked after initial input; first-input-before-user receipt and agentapi delivery were not established.
SessionStartsupplied a conversation ID. The unchanged runtime bridge passed ancestor/presence checks and became ready. The TUI returned the requested initialREADYmarker.status:unknown,submitted:false,consumptionConfirmed:false,retryAllowed:false. No ACK was visible during bounded observation. The legacysubmitted:falseon an unknown outcome is not proof of no effect. No resend or fallback occurred.Evidence limits / next gates
The TUI displayed 1.3.3 at startup and exit, but the installed executable reported 1.3.4 afterward. This experiment did not invoke an update; replacement timing and the agentapi delegate version are unknown. Missing hook context variables alone do not prove authentication failure. Native diagnostics were discarded by the existing bridge, and the reduced result did not retain the native-exit/timeout discriminator, so the cause remains unclassified.
A follow-up must pin TUI and delegate versions, retain bounded non-secret native outcome classification, and separately establish startup timing, legitimate hook authority and actual receipt. No credentials may be copied or owner checks weakened. New-conversation creation is not a substitute for delivering to the original idle TUI.
The owned bridge and TUI were stopped, their absence verified, and the temporary workspace hook and private scratch removed. Existing history and unrelated sessions were preserved. Sanitized harness/report remain in the separate local experiment worktree; syntax/diff checks passed. No runtime changes, PR, merge, release or deployment. Linux/Windows were not tested in this experiment.
abruption commentedon Oct 15, 2026
Owner-authorized allocation — correlation PY120-REMAINING-DELEGATION-20261015.
Implementation/preparation request submitted to the session-peer-claude session; consumption and acceptance are not yet confirmed.
Prepare a separate isolated investigation/documentation candidate from the preserved startup/receiver-bridge evidence. Preserve the original uncommitted evidence worktree; distinguish owner-bridge receipt from caller-process execution, pre-input observability from post-input bootstrap, reconstructed reports from raw evidence, and historical observations from new testing.
The coordinating Codex session owns independent-cli-review, finding verification, PR creation and exact-head CI checks after receiving frozen commits. No new live model/session experiments, operations, merge, release or publication are authorized here. Keep the issue OPEN until its actual acceptance gates are met; the 2026-10-18 target does not waive them.
docs(antigravity): record startup and receiver-bridge evidence (#313)
abruption commentedon Oct 30, 2026
Milestone housekeeping — 2026-10-30: moved remaining acceptance from the already published v1.2.0 milestone to Long-term, following the owner's research/backlog organization request. Shipped implementation and merged evidence remain unchanged. This issue stays OPEN; existing priority and safety/validation gates are preserved. No next release date, implementation completion, new live-test permission or operational change is implied.