Skip to content

Simplify the goal foundation to one provider-native session #2063

Closed as not planned

Description

@integry

Context

Corrective follow-up to #2006/#2018 on 2003-epic-goal-control-plane, required by the simplified architecture in #2002 and #2003.

The selected coding agent owns planning and continuation through one native /goal session. The merged foundation still exposes a ProPR-authored goal-node/dependency hierarchy as authoritative, allows automatic final-PR merging, and permits more than one provider session per goal. Correct those foundation contracts before integrating #2008 or #2010.

Scope

Keep the useful durable ownership/lifecycle/session primitives while removing the old planner/scheduler authority.

Requirements

  • Remove goal-node and dependency DTOs, repository methods, lifecycle/detail summaries, and runtime/API assumptions that make a ProPR hierarchy authoritative.
  • Remove or quarantine the goal_nodes and dependency schema from the product path. Because the branch is not released, make both fresh migration and already-applied branch-upgrade paths deterministic.
  • Replace hierarchy-derived checklist/count fields with a provider-native plan/checklist projection boundary to be populated by Add durable native-goal output, steering, replay, checklist, and statistics #2008. Do not fabricate status when no provider plan exists.
  • Enforce exactly one provider session per goal, bound to the immutable selected goals.agent. A caller cannot upsert a second agent/session or change provider ownership.
  • Keep provider thread/session identity, recovery metadata, worktree identity, native status/checkpoints, and requested/effective model fields needed for resume.
  • Treat maxActiveTasks and Ultrafix settings only as policy supplied to the coding agent.
  • Remove auto and auto_squash final epic merge choices from goal creation/runtime behavior. The goal's final epic PR remains draft/unmerged for human approval.
  • Keep SQL ownership, authenticated lifecycle APIs, idempotent commands, fenced controller lease, pause timing, monotonic internal events, and FIFO operator messages.
  • Separate trusted internal lifecycle/control event writing from the typed provider-ingress boundary implemented by Add durable native-goal output, steering, replay, checklist, and statistics #2008.
  • Preserve existing one-shot Planner, issue, review, indexing, and demo behavior.

Acceptance criteria

  • Public shared/API contracts contain no authoritative goal-node/dependency hierarchy.
  • List/detail/checklist progress can be populated exclusively from provider-native plan/todo/status events.
  • Fresh and upgrade migration tests prove the old hierarchy cannot remain active product authority.
  • Database and service tests prove exactly one session per goal and exact selected-agent binding.
  • API tests reject automatic final epic merge policy.
  • No ProPR goal planner, dependency scheduler, or synthetic completion logic is introduced.
  • Full repository validation remains green.

Activity

  1. added
    enhancement
    base-2003-epic-goal-control-plane
    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: 2063/gpt-5.6-sol-simplify-the-goal-foundat-20260902-1514-s5n
    • Base Branch: 2003-epic-goal-control-plane
    • Worktree: issue-2063-20260902-1514-gpt-5.6-sol-s5n

    🔍 Track Task Execution

  3. added a commit that references this issue on Sep 2, 2026
  4. integry commented on Sep 2, 2026

    @integry
    OwnerAuthor

    Superseded by #2071 and the simplified task-backed native /goal architecture. The unreleased branch is retained only for reference.

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-2003-epic-goal-control-planeenhancementllm-codex-gpt56-solpropr-planned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions