Repository navigation
Closed
Labels
AIAI-donebase-2002-epic-long-running-goalsBase branch for Epic: First-class long-running goal executionenhancementNew feature or requestllm-codex-gpt56-sol
Description
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
- Codex false negative.
codex app-server generate-json-schema --experimentalin this exact image includesthread/goal/get,thread/goal/set, andthread/goal/clear. The current stdin handshake only returns the initialize response before EOF and therefore reports unsupported even though the protocol methods exist. - Claude probe does not match normal execution mounts. The goal probe mounts
.claude/but omits host~/.claude.json -> /home/node/.claude.json, whichdockerArgsBuilderand the normal Claude task path already mount.claude auth statusin the probe container reports that/home/node/.claude.jsonis missing. - Antigravity false negative. Its log for the failed capability request shows silent auth succeeded, the system
/goalcommand expanded, and conversation2f4045e1-e2be-4833-a682-664e3065807dwas created and run. The current probe still reports that no initial conversation identity was persisted. - These probes execute real/billable model turns merely by opening Goals and cache false results until registry refresh.
- 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
/goalor 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
--conversationplus 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.jsonparity if config is inspected and Antigravity's--conversationdetection. - 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.
Metadata
Metadata
Assignees
Labels
AIAI-donebase-2002-epic-long-running-goalsBase branch for Epic: First-class long-running goal executionenhancementNew feature or requestllm-codex-gpt56-sol
Activity
propr-dev commentedon Sep 2, 2026
🤖 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:
codexgpt-5.6-sol2096/gpt-5.6-sol-fix-false-negative-goal-r-20260902-2321-yem2002-epic-long-running-goalsissue-2096-20260902-2321-gpt-5.6-sol-yem🔍 Track Task Execution
fix(ai): Resolve issue #2096 - Fix false-negative goal runtime handsh…