Repository navigation
Closed as not planned
Labels
AIAI-donebase-2003-epic-goal-control-planeTarget the durable goal control-plane sub-epic branchenhancementNew feature or requestllm-codex-gpt56-solpropr-planned
Description
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_nodesand 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
maxActiveTasksand Ultrafix settings only as policy supplied to the coding agent. - Remove
autoandauto_squashfinal 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.
Metadata
Metadata
Assignees
Labels
AIAI-donebase-2003-epic-goal-control-planeTarget the durable goal control-plane sub-epic branchenhancementNew feature or requestllm-codex-gpt56-solpropr-planned
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-sol2063/gpt-5.6-sol-simplify-the-goal-foundat-20260902-1514-s5n2003-epic-goal-control-planeissue-2063-20260902-1514-gpt-5.6-sol-s5n🔍 Track Task Execution
fix(ai): Resolve issue #2063 - Simplify the goal foundation to one pr…
integry commentedon Sep 2, 2026
Superseded by #2071 and the simplified task-backed native /goal architecture. The unreleased branch is retained only for reference.