Skip to content

Fix false-negative goal runtime handshakes in the MVP #2096

Closed

Description

@integry

Observed on the live epic deployment

The Goals page shows:

No pinned coding-agent runtime passed its goal/session capability handshake.

This is reproducible on [email protected]:/root/gitfix at epic head using the generated bundle propr/agent:bundle-331acabaa4d7-4052f5.

The bundle is healthy and contains the pinned CLIs:

  • Claude Code 2.1.220
  • Codex CLI 0.151.0
  • Antigravity 1.1.13

The capability API nevertheless returns all three as false.

Concrete root evidence

  1. Codex false negative. codex app-server generate-json-schema --experimental in this exact image includes thread/goal/get, thread/goal/set, and thread/goal/clear. The current stdin handshake only returns the initialize response before EOF and therefore reports unsupported even though the protocol methods exist.
  2. Claude probe does not match normal execution mounts. The goal probe mounts .claude/ but omits host ~/.claude.json -> /home/node/.claude.json, which dockerArgsBuilder and the normal Claude task path already mount. claude auth status in the probe container reports that /home/node/.claude.json is missing.
  3. Antigravity false negative. Its log for the failed capability request shows silent auth succeeded, the system /goal command expanded, and conversation 2f4045e1-e2be-4833-a682-664e3065807d was created and run. The current probe still reports that no initial conversation identity was persisted.
  4. These probes execute real/billable model turns merely by opening Goals and cache false results until registry refresh.
  5. The UI collapses all provider reasons into one blanket dead-end banner.

MVP correction

Keep Goals a thin wrapper over the existing native agent/session functionality.

  • Capability detection must be non-billable and must not launch a real /goal or model turn.
  • Prove Codex support from its generated experimental app-server protocol schema (or an equally deterministic non-inference protocol introspection), including all required goal methods.
  • Prove Claude whole-session support using CLI option/help/version introspection for persisted noninteractive sessions and --resume; do not require a live authenticated inference during page load.
  • Prove Antigravity whole-session support using CLI option/help/version introspection for --conversation plus native slash-command availability if it can be inspected without inference. Do not reject a configured compatible runtime solely due login state.
  • Authentication readiness belongs to the existing agent status/login surface. A missing/expired credential should be shown as an actionable warning or launch error, not as “runtime unsupported.”
  • Hard-disable only unsupported provider types or a pinned CLI that lacks the required transport/protocol.
  • Show each provider's reason in the Goals create UI when a runtime really is unsupported.
  • Do not permanently cache a transient false result. Provide a retry/recheck path or short-lived failure caching.
  • Reuse the same mounts/helpers as normal agent execution wherever any probe needs configuration.
  • Keep the create endpoint's server-side capability validation.

Validation

  • Regression test the exact pinned Codex schema containing all required methods.
  • Tests prove capability listing performs no provider inference/model call.
  • Tests cover Claude's .claude.json parity if config is inspected and Antigravity's --conversation detection.
  • UI test shows provider-specific unsupported reasons and a retry path.
  • Existing goal/provider and normal task tests remain green.

Delivery

Target 2002-epic-long-running-goals. Keep this a narrow MVP correction; do not add orchestration, schedulers, event stores, or new execution abstractions.

Activity

  1. added
    enhancement
    base-2002-epic-long-running-goals
    on Sep 2, 2026
  2. propr-dev commented on Sep 2, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using codex agent with gpt-5.6-sol model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: codex
    • Model: gpt-5.6-sol
    • Branch: 2096/gpt-5.6-sol-fix-false-negative-goal-r-20260902-2321-yem
    • Base Branch: 2002-epic-long-running-goals
    • Worktree: issue-2096-20260902-2321-gpt-5.6-sol-yem

    🔍 Track Task Execution

  3. added a commit that references this issue on Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AIAI-donebase-2002-epic-long-running-goalsenhancementllm-codex-gpt56-sol

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions