You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Child of #104 (DevSpace Ultra parity reconciliation).
Priority
P1 — required to prevent Main controller loss before hard context exhaustion.
Closed #101 / PR #102 now provides crash-safe continuation after a Main ChatGPT controller is already lost or unusable. That is a fallback path.
Ultra v0.5 demonstrates a distinct proactive behavior: before a user-facing Main conversation reaches an unsafe context boundary, preserve a bounded Goal/Plan/frontier capsule and continue on a fresh backend conversation/carrier while keeping one logical work stream.
This Issue owns that proactive Main path for macOS DevSpace.
Goal
Support:
Main conversation A
-> context/continuity pressure becomes unsafe soon
-> prepare bounded authoritative checkpoint
-> wait for safe transport boundary
-> bind fresh Main carrier/conversation B
-> preserve logical work identity + Goal/frontier
-> fence stale carrier where authority transfer occurs
-> continue next real user turn / authorized continuation
The normal path should happen before the user is forced to manually abandon a full conversation.
If proactive rollover fails or A dies abruptly, #101 remains the fallback:
new Session -> coordination_continuation_latest -> reconcile -> takeover
Core principle
logical engineering goal != ChatGPT conversation ID
Do not reconstruct continuity by copying the full transcript.
It explicitly excludes full raw mapping/transcript, raw tool history, hidden reasoning, credentials, and expired transport/session state.
DevSpace should adopt those principles while using current DevSpace authority/reconciliation semantics rather than Ultra's exact Windows/Classic implementation.
#51 owns the same core principle for a Chat Swarm worker:
workerId != conversationId.
This Issue owns Main/controller continuity. Reuse common capsule/continuation primitives where safe, but do not make Main a Swarm worker merely to reuse code.
Required capability 1 — Main continuity record
Persist or project a bounded Main continuity object that references authoritative DevSpace state rather than duplicating it.
If the ChatGPT host itself cannot expose enough carrier control to automate prepare/bind, still implement the durable checkpoint/continuity contract and expose the exact remaining host limitation. Do not claim automatic rollover without real carrier evidence.
Gate sequence
G0 — host/carrier capability matrix
Freshly determine what current ChatGPT + Dev MCP on macOS can actually observe/control for Main rollover:
conversation/session identity metadata;
ability to start/open a fresh carrier if any;
ability to bind/correlate first target turn;
whether OpenCLI/browser adapter is required;
native context usage signals if any;
what remains user-mediated.
G1 — durable Main checkpoint/capsule
Implement bounded versioned continuation state independent from one transport.
G2 — pressure estimation + safe-boundary state machine
Prove no false exact-token claim and no rollover during an unreconciled effect.
G3 — first real carrier binding
Use the smallest proven macOS carrier mechanism; keep transport separate from continuity truth.
G4 — proactive A -> B witness
Temporarily lower a configured test pressure threshold, drive the real production path, and prove:
Parent
Child of #104 (DevSpace Ultra parity reconciliation).
Priority
P1 — required to prevent Main controller loss before hard context exhaustion.
Closed #101 / PR #102 now provides crash-safe continuation after a Main ChatGPT controller is already lost or unusable. That is a fallback path.
Ultra v0.5 demonstrates a distinct proactive behavior: before a user-facing Main conversation reaches an unsafe context boundary, preserve a bounded Goal/Plan/frontier capsule and continue on a fresh backend conversation/carrier while keeping one logical work stream.
This Issue owns that proactive Main path for macOS DevSpace.
Goal
Support:
The normal path should happen before the user is forced to manually abandon a full conversation.
If proactive rollover fails or A dies abruptly, #101 remains the fallback:
Core principle
Do not reconstruct continuity by copying the full transcript.
Ultra behavior to preserve conceptually
The Ultra Main path keeps bounded:
It explicitly excludes full raw mapping/transcript, raw tool history, hidden reasoning, credentials, and expired transport/session state.
DevSpace should adopt those principles while using current DevSpace authority/reconciliation semantics rather than Ultra's exact Windows/Classic implementation.
Relationship to #101
#101 is reactive crash takeover and is already merged.
This Issue is proactive rollover.
Required ordering:
Do not merge the two states; telemetry/receipts should say whether continuity was planned rollover or crash takeover.
Relationship to #51
#51 owns the same core principle for a Chat Swarm worker:
workerId != conversationId.This Issue owns Main/controller continuity. Reuse common capsule/continuation primitives where safe, but do not make Main a Swarm worker merely to reuse code.
Required capability 1 — Main continuity record
Persist or project a bounded Main continuity object that references authoritative DevSpace state rather than duplicating it.
Equivalent fields:
The record must remain small and versioned.
Required capability 2 — pressure signal without false precision
Do not claim exact ChatGPT token usage unless a supported native signal exists.
Pressure may combine bounded conservative signals such as:
Rules:
get_context_remainingexactness.Required capability 3 — bounded capsule
The carry-forward capsule must include only material continuity state.
Allowed categories:
Forbidden:
Required capability 4 — safe rollover boundary
A Main rollover may only cross at a safe boundary.
Examples:
If an active effect is unknown:
Required capability 5 — target validation before authority moves
Creating/opening a target conversation is not enough.
Before logical Main authority moves, validate applicable evidence:
Failed/partial transfer leaves old authority current where still possible; otherwise falls back to #101's explicit recovery states.
Required tool/API surface
Exact names may vary, but provide bounded equivalents of:
If the ChatGPT host itself cannot expose enough carrier control to automate
prepare/bind, still implement the durable checkpoint/continuity contract and expose the exact remaining host limitation. Do not claim automatic rollover without real carrier evidence.Gate sequence
G0 — host/carrier capability matrix
Freshly determine what current ChatGPT + Dev MCP on macOS can actually observe/control for Main rollover:
G1 — durable Main checkpoint/capsule
Implement bounded versioned continuation state independent from one transport.
G2 — pressure estimation + safe-boundary state machine
Prove no false exact-token claim and no rollover during an unreconciled effect.
G3 — first real carrier binding
Use the smallest proven macOS carrier mechanism; keep transport separate from continuity truth.
G4 — proactive A -> B witness
Temporarily lower a configured test pressure threshold, drive the real production path, and prove:
Restore production threshold/config after the test.
G5 — crash fallback witness
Break the proactive path deliberately and prove #101 can still recover the latest authoritative checkpoint without transcript copy/paste.
Required hostile tests
Non-goals
Exact next gate
DEVSPACE_MAIN_CONTINUITY_G0_MACOS_HOST_CAPABILITY_MATRIXDetermine the real macOS ChatGPT carrier/identity/context-pressure surfaces before committing to an automated transport implementation.
Claim ceiling
MAIN_CONTINUITY_REQUIREMENT_RECORDED — PROACTIVE_ROLLOVER_NOT_YET_PROVEN