Skip to content

Epic: First-class native /goal execution #2002

Closed

Description

@integry

Goal

Make a coding agent's native /goal <objective> mode a first-class ProPR task type with a dedicated operator UI.

The coding agent owns planning, decomposition, parallel subagents, issue/PR structure, status answers, and completion. ProPR only launches and durably hosts the same session.

Thin architecture

Reuse ProPR's existing task execution substrate:

  • AgentRegistry and provider executeTask container paths;
  • existing worktree/branch/config/credential handling;
  • task state/history session, conversation, container, worktree, and model metadata;
  • existing Redis/container output, taskWatcher, conversation parsers, live-details, native todos, token usage, and LLM metrics;
  • existing stop, follow-up, liveness, duplicate-execution, queue, realtime, and polling behavior.

Goal mode changes the initial provider input to native /goal <objective>, keeps provider session persistence enabled, and resumes that same session/worktree after interruption.

Add only the minimal owner-scoped goal metadata needed for list/create/control/recovery and final PR association. Do not duplicate existing task output, history, metrics, or transport state.

Product behavior

  • Dedicated Goals create/list/detail UI.
  • Choose repository, goal-capable agent/model, objective, optional agent concurrency policy, and optional Ultrafix policy.
  • Run Claude, Codex, or Antigravity native goal mode when the pinned provider version supports it; otherwise expose the capability as unavailable.
  • Resume the same provider session after worker/daemon/container loss.
  • Show existing streamed terminal/assistant/tool output, provider-native todos/checklist, tokens, and elapsed/paused time.
  • Pause/resume/cancel, request a supported model change, and send free-form or canned status messages to the same session.
  • Passively show issues/PRs and record the coding agent's final draft epic PR (or single PR for a small goal); never auto-merge it.

Non-goals

  • No ProPR goal planner or planning state.
  • No issue/node/dependency hierarchy or task scheduler.
  • No goal-specific supervisor, lease system, WAL/event/output store, JSONL authority, socket protocol, container manager, or provider-effect ledger.
  • No synthetic checklist or controller-computed “what's done/left” response.

Implementation

Earlier #2003-#2015 branches and PRs were an unreleased overengineered direction and are superseded by #2071.

Delivery

The implementation PR targets 2002-epic-long-running-goals. After exact-head audit and end-to-end validation, create one final draft epic PR from that branch to main and leave it unmerged for human approval.

Activity

  1. added
    enhancement
    on Aug 31, 2026
  2. changed the title [-]Epic: First-class long-running goal execution[/-] [+]Epic: First-class agent-native long-running goal execution[/+] on Sep 2, 2026
  3. changed the title [-]Epic: First-class agent-native long-running goal execution[/-] [+]Epic: First-class native /goal execution[/+] 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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions