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
P0/P1 architecture reconciliation — canonical target for the previously requested DevSpace Ultra behavior.
This Issue records the exact behavioral target after re-reading current enwong93-sketch/devspace-ultra source/docs and comparing it with DevSpace #46–#51 and closed #101.
The requirement is broader than cross-session ownership handoff.
Owner intent / target experience
Normal operation should require the user to interact only with one main ChatGPT controller whenever the surrounding ChatGPT runtime/carrier permits it:
James
-> Main ChatGPT / orchestrator
-> GPT worker-01
-> GPT worker-02
-> GPT worker-03
Main dispatches targeted/parallel work
Workers submit backend results
Main collects/reasons over results
worker conversation reaches pressure/rollover
-> fresh conversation carrier
-> same logical worker identity
-> bounded continuity capsule
-> continue next task
main conversation reaches pressure/rollover
-> bounded Goal/frontier checkpoint
-> fresh main carrier
-> same logical work continues
unexpected main/controller loss
-> crash-safe continuation/takeover (#101 fallback)
Source-derived Ultra capability families
Fresh Ultra evidence (v0.5.x line) shows five distinct capability families that must not be collapsed into one generic 'handoff':
Ultra productized lifecycle around workers so the main agent can ensure/start/restore/minimize/wake/recover/scale worker carriers instead of requiring the user to manually prepare every worker conversation.
The implementation in Ultra is Windows/ChatGPT-Classic specific; DevSpace must reproduce the behavioral contract, not copy Windows AppX/runtime cloning assumptions onto macOS.
U3 — Durable logical worker identity
workerId != conversationId
A worker survives replacement of its ChatGPT conversation carrier. Continuation identity/tickets are short-lived/single-use and the old carrier loses authority after successful rebind.
U4 — Proactive worker context continuity / Auto Compact
Estimated context pressure must remain clearly distinct from exact native token telemetry.
U5 — Proactive Main conversation continuity
The user-facing Main controller is also replaceable before hard context exhaustion. Goal/Plan/current frontier/constraints/next action survive as bounded continuity state without copying the full transcript, raw tool history, hidden reasoning, credentials, or stale transport state.
Closed #101 is the crash/loss fallback; it does not replace proactive Main rollover.
Important DevSpace hardening that MUST remain stronger than Ultra
Do not import Ultra behavior where it conflicts with current DevSpace fail-closed invariants.
In particular:
server restart
!= task absent
!= retry safe
Keep:
OUTCOME_UNKNOWN != retry permission;
potentially-started work -> RECONCILE_REQUIRED, not blind claimed -> queued;
corrupt durable coordination state fails closed, not silent fresh-state reset;
exact task/attempt/effect identity;
lease/CAS ownership and stale-carrier fencing;
no browser/session state minting Nexus/DevSpace task authority;
no model/worker prose becoming completion authority.
Platform boundary
Current DevSpace delivery scope is macOS only.
Ultra may be used as a behavioral reference, but do not copy:
Windows AppX clone/package identity mechanics;
Windows chatgpt:// provisioning assumptions;
cookie/session cloning as an authority mechanism;
automatic browser/session authority transfer;
any context estimate presented as exact native token usage;
restart requeue behavior that can duplicate uncertain work.
The macOS implementation must first determine which supported carrier(s) can satisfy the behavioral contract: native MCP peer conversation, browser/web carrier, OpenCLI adapter, or another bounded supported transport. Carrier choice is execution infrastructure, not Swarm authority.
Required end-state UX
Peer dispatch
User can tell Main:
讓兩個 GPT 分別研究 A / B,再讓第三個 review
Main can deterministically create/resume worker capacity, dispatch tasks, collect results, and target follow-up to one logical worker without manual prompt copy/paste.
Worker rollover
When worker context pressure reaches the configured safe threshold, rollover occurs only at a safe boundary and the same workerId continues on a fresh carrier without duplicate task execution.
Main rollover
When Main context pressure approaches the unsafe boundary, DevSpace prepares a bounded checkpoint/capsule and supports safe continuation into a fresh carrier before the original conversation hard-fails.
Crash fallback
If proactive rollover cannot occur and Main dies abruptly, #101 recovery remains available:
新 Session: 接續剛才的工作
-> latest continuation discovery
-> reconcile active effects
-> fenced takeover
-> continue next gate
Priority
P0/P1 architecture reconciliation — canonical target for the previously requested DevSpace Ultra behavior.
This Issue records the exact behavioral target after re-reading current
enwong93-sketch/devspace-ultrasource/docs and comparing it with DevSpace #46–#51 and closed #101.The requirement is broader than cross-session ownership handoff.
Owner intent / target experience
Normal operation should require the user to interact only with one main ChatGPT controller whenever the surrounding ChatGPT runtime/carrier permits it:
Source-derived Ultra capability families
Fresh Ultra evidence (v0.5.x line) shows five distinct capability families that must not be collapsed into one generic 'handoff':
U1 — GPT peer swarm
U2 — Elastic worker carrier lifecycle
Ultra productized lifecycle around workers so the main agent can ensure/start/restore/minimize/wake/recover/scale worker carriers instead of requiring the user to manually prepare every worker conversation.
The implementation in Ultra is Windows/ChatGPT-Classic specific; DevSpace must reproduce the behavioral contract, not copy Windows AppX/runtime cloning assumptions onto macOS.
U3 — Durable logical worker identity
A worker survives replacement of its ChatGPT conversation carrier. Continuation identity/tickets are short-lived/single-use and the old carrier loses authority after successful rebind.
U4 — Proactive worker context continuity / Auto Compact
Before a worker context hard-fails:
Estimated context pressure must remain clearly distinct from exact native token telemetry.
U5 — Proactive Main conversation continuity
The user-facing Main controller is also replaceable before hard context exhaustion. Goal/Plan/current frontier/constraints/next action survive as bounded continuity state without copying the full transcript, raw tool history, hidden reasoning, credentials, or stale transport state.
Closed #101 is the crash/loss fallback; it does not replace proactive Main rollover.
Current DevSpace mapping
chat_swarm_*toolsImportant DevSpace hardening that MUST remain stronger than Ultra
Do not import Ultra behavior where it conflicts with current DevSpace fail-closed invariants.
In particular:
Keep:
OUTCOME_UNKNOWN != retry permission;RECONCILE_REQUIRED, not blindclaimed -> queued;Platform boundary
Current DevSpace delivery scope is macOS only.
Ultra may be used as a behavioral reference, but do not copy:
chatgpt://provisioning assumptions;The macOS implementation must first determine which supported carrier(s) can satisfy the behavioral contract: native MCP peer conversation, browser/web carrier, OpenCLI adapter, or another bounded supported transport. Carrier choice is execution infrastructure, not Swarm authority.
Required end-state UX
Peer dispatch
User can tell Main:
Main can deterministically create/resume worker capacity, dispatch tasks, collect results, and target follow-up to one logical worker without manual prompt copy/paste.
Worker rollover
When worker context pressure reaches the configured safe threshold, rollover occurs only at a safe boundary and the same
workerIdcontinues on a fresh carrier without duplicate task execution.Main rollover
When Main context pressure approaches the unsafe boundary, DevSpace prepares a bounded checkpoint/capsule and supports safe continuation into a fresh carrier before the original conversation hard-fails.
Crash fallback
If proactive rollover cannot occur and Main dies abruptly, #101 recovery remains available:
Required child work
ensure/start/wake/park/recover/scale).Closure matrix
This Epic closes only when the exact tested macOS runtime supports, with fresh source/build/capability evidence:
Claim ceiling
Until every relevant child has exact live evidence:
ULTRA_PARITY_TARGET_RECONCILED — END_TO_END_PARITY_NOT_YET_PROVENNo child source merge, tool registration, or deterministic unit test alone proves the full Ultra-style user experience.