Repository navigation
Closed as not planned
Labels
base-2004-epic-goal-agent-runtimesTarget the resumable goal-agent runtime sub-epic branchenhancementNew feature or requestllm-codex-gpt56-solpropr-planned
Description
Context
Part of #2004 and #2002. Depends on #2007. The coding agent must own goal planning and continuation; ProPR only hosts one native Antigravity session.
The current Dockerfile.agent pin is Antigravity CLI 1.1.13. Its official CLI command reference does not currently document /goal, although the binary contains internal goal-stop-hook code. Treat native goal support as an unproven provider capability, not an assumption.
Capability gate
- Run an authenticated pinned-image smoke that enumerates slash commands and invokes
/goal <verifiable no-op condition>in print/stream mode. - If 1.1.13 does not expose a working native goal, update
Dockerfile.agentthrough the existing pinned-version/supply-chain process to the first vendor release that officially supports it, then regenerate capability metadata and rerun the smoke. - If no supported Antigravity release exposes native goal continuation, report Antigravity as
goalCapable: falsewith an actionable reason. Do not recreate/goalwith a ProPR evaluator, repeated prompts, planner, or scheduler.
The goal remains to ship Antigravity support; the capability gate determines the honest implementation pin rather than silently substituting different semantics.
Runtime contract after the gate passes
- Use the existing unified agent container, credentials, project/worktree, and safe config handling.
- Start the vendor's native goal command with the objective using argument arrays/stdin, never shell interpolation.
- Use documented headless
--output-format stream-jsonevents and return the conversation ID plus required resume metadata to the Sub-epic: Durable control surface for agent-native goals #2003 SQL controller before recoverability is reported. The adapter owns no database. - Resume the exact conversation using
--conversation <id>or the vendor-documented equivalent; never replay the objective as a second goal. - Emit bounded terminal, assistant/tool, native plan/todo, usage, checkpoint/status, and completion events into the shared sink.
- Deliver one SQL-claimed FIFO correction to the same conversation and acknowledge only after provider acceptance.
- Pause native continuation at a documented recoverable boundary; resume the same goal; cancel separately.
- Apply supported model/reasoning changes at a documented boundary and capability-gate unsupported live changes.
- Preserve the exact worktree/branch and isolated writable state; reject cross-goal reuse.
Acceptance
- A real authenticated pinned-image smoke proves native goal activation, observable continuation, conversation identity, and status/output behavior.
- Forced process/container replacement resumes the same active goal without a duplicate start.
- FIFO steering, pause/resume, model boundary, cancel, completion, missing/corrupt state, and cross-goal isolation are tested.
- Existing Antigravity one-shot and credential behavior remains green.
- No ProPR goal planner, evaluator loop, issue hierarchy, or scheduler is introduced.
Metadata
Metadata
Assignees
Labels
base-2004-epic-goal-agent-runtimesTarget the resumable goal-agent runtime sub-epic branchenhancementNew feature or requestllm-codex-gpt56-solpropr-planned
Activity
integry commentedon Aug 31, 2026
Provider preflight refinement for implementation:
agy1.1.13. It creates its conversation UUID only during the first real-pturn and has no documented multi-turn stdin/active pause channel. Implement Introduce a thin resumable native-goal session and container contract #2007's lazyfirst_turnID binding plusafter_turnpause/steering/model boundaries. Do not invent an ID or claim active-turn continuation.--conversation <persisted UUID>; never--continue, which selects mutable “most recent” state. A missing/corrupt UUID currently warns and silently creates a different conversation, so validate state and observedconversation_idbefore accepting authoritative events; missing state must block with zero new provider work..db/-wal/-shmtrio underantigravity-cli/conversations/<uuid>plusbrain/<uuid>/**. Exclude global summaries/cache/history/presence/logs. Quiesce/checkpoint DB+WAL atomically and store a bounded manifest/checksum/schema/CLI version; reject symlinks/devices/hardlinks/path escapes and test SIGKILL/corruption.init/step_update/resultvariants. Real API-key init can omitinit.model; surfaceresult.error, correlate every event to the exact UUID, and deduplicate by a durable ordinal/content identity rather thanstep_indexalone. Do not fabricate provider todos.integry commentedon Aug 31, 2026
Owner foundation-conformance addendum
GoalSessionAdapterdirectly and export an injectable factory plus literal capability descriptor. The goal-session supervisor and injected container/recovery ports remain authoritative; do not couple this adapter to routes, Redis, queues, or a provider database.goal/session/controllerEpoch/turn/execution/attempt), steering (messageId), model changes (modelChangeId+ monotonic application generation), cancellation (cancellationId), and reconciliation (controllerEpoch/operationToken/execution/attempt). Same-ID retries are effect-idempotent; stale generations cannot resume, emit, acknowledge, or overwrite. Reconcile ambiguous provider success instead of blindly replaying.Antigravity protocol decisions
1.1.13and declarenativeSessionId: 'first_turn',firstTurnIdCrashPolicy: 'fail'unless deterministic pre-bind open is proven,steering: 'next_turn',pause: 'after_turn', andmodelChange: 'next_turn'.providerSessionIdonly to the exact conversation UUID from the correlated streaminitenvelope; transient process IDs are not interchangeable. Checkpoint the first trusted UUID before accepting later output. A kill before checkpoint fails once with no replacement conversation; cancellation targets the exact pending container/attempt.--continueis forbidden unless the goal-scoped store provably contains exactly that conversation and returned identity is reverified. Limit recovery metadata to UUID, pinned protocol/CLI version, goal-relative state key, cursor, model, and usage watermark.init,step_update, andresultwith a durable cursor; do not double-count cumulative usage or fabricate todo events from prose. Pinned-image tests cover kill before/after conversation ID, conflicting IDs, transcript replay/corruption, duplicate message retry, pause, reverse model intents, stale output, and exact-conversation fresh-home resume.integry commentedon Aug 31, 2026
Provider launch gate addendum — do not start until corrected #2007/#2017 is merged into 2004-epic-goal-agent-runtimes. Use Codex GPT-5.6 Sol only and target #2004. Rebase on the frozen shared supervisor/security/recovery contract; this leaf must not fork or duplicate it.
Antigravity-specific acceptance:
[-]Resume, pause, and steer isolated Antigravity goal conversations[/-][+]Run isolated resumable Antigravity native goals[/+]integry commentedon Sep 2, 2026
Superseded by #2071 and the simplified task-backed native /goal architecture. The unreleased branch is retained only for reference.