Repository navigation
Closed as not planned
Closed as not planned
Copy link
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
Part of #2003 and #2002. This consumes normalized events from the selected coding agent's native goal session.
Scope
Persist/replay provider output and status, carry ordered operator messages, project the provider's native plan/checklist, and aggregate basic statistics. Do not synthesize progress from a ProPR-authored issue hierarchy.
Requirements
- Provider ingress accepts only provider output, assistant/tool, plan/todo, usage, checkpoint, and completion/status events.
- Lifecycle and message-audit events use a separate trusted internal writer and source namespace.
- Store bounded terminal chunks with stable provider occurrence identities and monotonic per-goal replay sequence.
- Deduplicate retries, reject stale/cross-session writes, and validate provider/model attribution against the durable execution attempt from the first usage event.
- Expose paginated replay and realtime tailing; compact output without losing status/checklist/usage/audit correctness.
- Store free-form and predefined "what's done?" / "what's left?" messages in one FIFO inbox and send them to the same native session.
- Claim steering with the provider's next accepted input sequence; acknowledge only after provider acceptance and recover unaccepted claims safely.
- Provider replies are ordinary output. Project native plan/todo events as the only checklist.
- Track native goal status, tokens by provider/model, elapsed/active/paused time, message lag, and passively associated issue/PR counts.
- Authorize every HTTP/socket read and mutation; generation-fence concurrent replay/tail joins and in-flight poll replacement.
- There is no scheduler/node event vocabulary in goal mode.
Acceptance
- Restart/reconnect/compaction tests prove ordered gap-free replay from reopened WAL connections.
- Hostile provider events cannot forge lifecycle, message, GitHub, CI, review, or Ultrafix evidence.
- Same-lease stale attempts, wrong first usage attribution, FIFO takeover/sequence recovery, socket in-flight replacement, and exactly-page-limit replay are tested.
- Checklist tests prove all items come from provider plan/todo events.
- Production composition connects the native runtime adapter to the durable sink/inbox; repository-only mocks are insufficient.
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
integry commentedon Aug 31, 2026
Owner planning constraint carried forward from the #2006 foundation review (do not start until #2006 is merged):
These are acceptance constraints for #2008's event ingestion/query and replay work, not a request to modify the foundation PR.
integry commentedon Aug 31, 2026
Additional owner planning constraints from the latest foundation review (still do not start until #2006 merges):
applied = 0row. Preserve ordered audit and idempotent retry semantics.integry commentedon Aug 31, 2026
Owner planning addendum — treat these as acceptance criteria when this leaf is launched:
(session, turn, provider sequence/chunk)to the current durable execution/attempt/lease generation so stale providers cannot append.asOfVersion/asOfSequenceso stats, checklist, messages, lifecycle, and output have an explicit consistency point.integry commentedon Aug 31, 2026
Additional integration acceptance from the foundation Sol review: every goal list/event/message cursor emitted or accepted here must be canonical, not merely decodable. Require canonical unpadded base64url, the exact emitted version/schema, exact ISO timestamp/sequence spelling, filter/owner/repository binding, and reject alternate encodings or date spellings before lexicographic/database comparison. Add round-trip, forged/non-canonical, cross-filter, cross-owner, and compaction-boundary tests. This folds review suggestion S1 into the durable cursor implementation rather than expanding the isolated foundation patch.
integry commentedon Aug 31, 2026
Owner launch addendum — durable event/message/projection boundary
Implementation remains blocked on #2006/#2018. Use Codex GPT-5.6 Sol only. #2008 is the single writer for goal events, operator messages, replay/cursors, projections/stats, and realtime delivery. It must not reconcile GitHub or mutate authoritative plan/node/attempt state; #2010 owns those transitions and emits typed events through this leafs port.
Required contract details:
Acceptance tests must cover append/projection/publish crash points, provider-accepted message crash recovery, failed/cancelled FIFO behavior, two WAL connections, byte-bounded large histories, compaction cursor expiry, replay/live cutover without gaps or duplicates, and permission loss after room join. Keep migrations and modules independent from #2010 so both serialized merge orders can be validated.
propr-dev commentedon Sep 1, 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-sol2008/gpt-5.6-sol-add-durable-goal-output-s-20260901-2239-6aj2003-epic-goal-control-planeissue-2008-20260901-2239-gpt-5.6-sol-6aj🔍 Track Task Execution
fix(ai): Resolve issue #2008 - Add durable goal output, steering, rea…
[-]Add durable goal output, steering, realtime replay, and statistics[/-][+]Add durable native-goal output, steering, replay, checklist, and statistics[/+]integry commentedon Sep 2, 2026
Superseded by #2071 and the simplified task-backed native /goal architecture. The unreleased branch is retained only for reference.