Skip to content

Feature request: persistent ChatGPT-style supervisor for Codex threads (independent, evidence-driven oversight) #52564

Open

Description

@oraclexing

Summary

Please consider a persistent, project-level supervisory conversation that can oversee multiple existing Codex threads without being the executor itself.

The key separation is:

  • Codex workers own implementation, tools, experiments, builds, and tests.
  • A ChatGPT-style supervisor retains the project's goals and decisions, evaluates evidence across threads, and helps the user decide continue / pause / diagnose / replan / stop.
  • The supervisor should not inherit every worker tool call or long execution transcript into its own context. It should receive concise, evidence-linked checkpoints and drill down only when needed.

This is not a request to force yet another reviewer into every task, or to put an extra approval gate in front of routine execution. The point is to improve overall task completion and judgment while preserving worker autonomy.

Real-world motivation

In one long-running agent-managed machine-learning/game experiment, a Codex thread operated autonomously for about 9 hours. A rule-based teacher cleared 8/8 development scenarios, while the trained student still cleared 0/8. The worker conducted additional training/correction cycles before identifying a key gap: the student had been trained to imitate action scores, but its ability to predict action consequences and stable subsequent game states had not been separately established.

A read-only supervisor seeing goal + teacher 8/8 + student 0/8 + elapsed time + latest experiment outcome, independently of the worker's detailed tool history, could have raised an early decision checkpoint: stop scaling training, isolate the first significant wrong decision, validate rule/transition consistency, then explicitly choose whether to continue.

The example is an observed workflow failure, not a claim that this particular model architecture could not have succeeded or that a product bug is proven.

Similar engineering workflows suffer when workers keep unsuccessful experimental implementations, accumulate compatibility layers in unreleased projects, or enter repeated review/fix loops that produce more activity without advancing the actual acceptance criteria.

Proposed capabilities

  1. Durable project supervisory context. Preserve the human's original goal, constraints, acceptance criteria, major decisions, falsified hypotheses, and links to evidence across worker thread restarts and supervisor chat length limits. Preserve raw history separately; the active supervisor context need not include all of it.
  2. Opt-in, cross-thread observation. A user can attach selected local/cloud Codex threads (and eventually Work tasks) to one supervisor, with read-only-by-default access to their results, test artifacts, diffs, and relevant history. Source thread/turn/artifact references must remain traceable.
  3. Structured, evidence-backed checkpoints. A lightweight worker receipt could contain: task/goal, attempted approach, baseline vs current outcome, acceptance-test results, failure evidence, decision or code changes, elapsed time/resource budget, and proposed next step. The supervisor should be able to verify claims rather than merely trust worker prose.
  4. Independent evaluation and bounded intervention. At meaningful milestones, stalled metrics, repeated failures, budget exhaustion, or user request, the supervisor decides whether to recommend continuing, pausing, diagnosing, replanning, or stopping. It must distinguish genuine blockers from speculative reviewer concerns. Any cross-thread steering or stopping should be explicit, attributable, and subject to user-configured permission/approval.
  5. Selective model/effort routing (optional). Use a lighter/faster model for routine status interpretation; escalate specific difficult architectural or research decisions to a stronger model. The user can override routing, and the effective model/effort should be visible. Do not spin up more expensive reviewers without a reason.
  6. Keep execution and governance contexts separate. The supervisor should not be polluted by raw tool logs or bound to the worker's current hypothesis. Multiple independent perspectives should be available when evidence is ambiguous, without automatically multiplying agents.

Suggested minimal viable workflow

  1. In Codex Desktop or a linked ChatGPT conversation, create a persistent Project Supervisor and attach two or more existing Codex threads.
  2. Set a project goal and a measurable acceptance criterion; choose a read-only default.
  3. Each worker emits a compact checkpoint with source references on completion, significant result changes, or an agreed budget threshold.
  4. The supervisor independently highlights trends and discrepancies (e.g. improved training loss but unchanged end-to-end pass rate), can inspect original artifacts, and produces a short continue / diagnose / pause / replan / stop recommendation.
  5. The user may authorize sending an actionable instruction to the relevant Codex thread. That action and rationale are visible in both histories.
  6. The supervisory project state survives app restarts and does not require manually copying transcripts or maintaining a huge single chat.

Success criteria

  • Supervisory decisions are based on measurable outcomes and inspectable references, not sheer agent activity or self-reported confidence.
  • Long-running projects can be resumed without reconstructing goals and previously disproven approaches.
  • A supervisor can review several workers without consuming their full tool-call histories.
  • A stalled task can be flagged with a concrete reason, without repeatedly inventing blockers or triggering indefinite review/fix loops.
  • Cross-thread actions have explicit permissions and an audit trail.
  • Product evaluation measures completed user objectives, cost/time, unnecessary rework, and false interventions, not just the number of reviews or messages.

Non-goals

  • Automatically making all ChatGPT/Codex conversations mutually visible.
  • Giving the supervisor unrestricted workspace write access.
  • Forcing supervision on every Codex task.
  • Guaranteeing infinite model context or replacing existing Codex subagents.

Related issues

The central product question is: Can ChatGPT provide persistent, independent project judgment while Codex remains an autonomous executor, without either side having to ingest the other's entire transcript?

Activity

  1. added
    enhancement
    app
    subagent
    session
    on Oct 9, 2026
  2. github-actions commented on Oct 9, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. oraclexing commented on Oct 9, 2026

    @oraclexing
    Author

    Follow-up: milestone-triggered deliberation ("hold a meeting, then get back to work")

    A practical management analogy sharpens this request: when a team repeatedly fails to advance the original objective, a human manager does not simply order endless retries. They pause the failing approach, convene the relevant expertise, decide what the evidence says, then end the meeting and let execution continue.

    The proposed supervisor should support that as a first-class event-triggered deliberation and recovery mechanism, rather than a continuously running reviewer or another layer of bureaucratic approvals.

    Desired behavior

    • Recognize stagnation from outcomes, not activity. Trigger a decision checkpoint after repeated lack of progress, conflicting evidence (e.g. improving proxy metrics with unchanged task success), persistent first-failure patterns, or exhausting an agreed exploration budget. Thresholds should be goal-specific, not "review after every tool call."
    • Temporarily convene independent perspectives. When the problem warrants it, gather a suitable set of models/agents with different hypotheses or expertise; they receive the stable project objective and curated evidence, not the full noisy execution transcript. This is a short-lived diagnostic meeting, not permanent review overhead. Scale participation to expected information gain, rather than prescribing a fixed agent count.
    • Disagree productively and converge. Explicitly compare candidate explanations, identify the minimal discriminating test, challenge assumptions about existing design, and decide to continue, replan, rollback, or stop. An output that is merely "more possible issues to investigate" is not a successful meeting.
    • Close the loop. Record the decision, why alternatives were rejected, validation criteria, and the next budget/stop condition in durable project state. Send an actionable, bounded plan to the worker and let the participants disperse. Only reconvene if there is new evidence or another genuine stall.
    • Account for total cost. A short high-compute intervention can be economical if it avoids hours of fruitless worker execution. Optimize end-to-end verified success per total compute / latency / user intervention, including the deliberation overhead, not agent utilization or total turns.
    • Separate static instructions from adaptive management. AGENTS.md can retain stable build/test commands and project invariants, but should not be expected to encode all evolving strategy, failed approaches, progress criteria, and orchestration judgment. That is what a durable supervisory layer is for.

    A strong minimal demonstration would compare same model, same goal and acceptance tests, same total compute budget, with and without such milestone-triggered supervision, measuring verified success, wasted iterations, repeated errors, false interventions and user interruptions.

    This is a refinement of #52564, rather than a separate issue: the important missing primitive is not another coding agent, but a supervisor that knows when to stop execution briefly, make a better decision, and then get out of the way.

  4. oraclexing commented on Oct 9, 2026

    @oraclexing
    Author

    Follow-up: autonomous project knowledge maintenance (the supervisor should maintain AGENTS.md, not the user)

    One recurring failure mode in long-running Codex projects is instruction and decision accretion. After each discussion, users ask a worker to "write the lesson into AGENTS.md." The file gradually accumulates duplicated rules, temporary experiment decisions, contradictory guidance, and constraints that no longer reflect the project. Eventually, the user must start a separate cleanup task just to make the agents' own instructions usable again.

    If the persistent supervisor in this proposal really acts as a project assistant, maintaining this knowledge lifecycle should be its responsibility, not another recurring task for the human.

    Crucial distinction: a suggestion is not a requirement

    A productive human-agent exchange is often: "I suspect the student model doesn't understand post-action game-state changes. What do you think? My hypothesis may be wrong; you decide based on evidence."

    That must not be silently promoted into a permanent rule like "GRU cannot learn the rules; change architectures." The supervisory system should preserve epistemic status and decision authority:

    • Observation / user intuition / hypothesis: worth testing, not a command or an established fact.
    • Proposed approach: a candidate, not yet approved as the project's design.
    • Experiment result: evidence tied to a run/artifact, with scope and limitations.
    • Accepted decision / stable project invariant: a current rule, with provenance, applicability, and revision conditions.
    • Rejected or superseded approach: searchable history, not active instructions.

    Suggested product behavior

    1. Maintain a durable, versioned project knowledge store, distinct from raw chat and tool histories. Track source references, validity, scope, conflicting evidence, and whether a rule was explicitly set by the user.
    2. Treat AGENTS.md (including appropriately scoped files) as a small, current execution-facing projection of that knowledge, rather than an append-only diary. Keep transient investigations, rejected hypotheses, and one-off instructions out of it.
    3. When a new result contradicts old guidance, reconcile and replace or retire the old guidance, instead of appending another exception beneath it. Preserve the prior rationale in retrievable history.
    4. Manage changes to this projection without overwriting unrelated manual edits or silently weakening explicit user constraints. Use inspectable diffs, origin tracking, and reversible updates; escalate only material ambiguities.
    5. Deliver each worker only the instructions and verified context relevant to its task. Let the supervisor retrieve deeper history on demand, rather than duplicating years of conversations or raw tool output.
    6. Keep maintenance incremental and inexpensive; do not spawn a new agent or conduct a full-project re-review merely because another tool call occurred.

    Small acceptance test

    Start with a project whose AGENTS.md includes overlapping requirements and two contradictory, historically valid experimental assumptions. The user then offers a tentative hypothesis, and a worker later produces evidence disproving one old assumption.

    Expected outcome: the hypothesis stays a hypothesis; obsolete guidance disappears from active instructions; remaining rules are deduplicated and correctly scoped; user-authored requirements remain intact; the reason for every change is traceable; and the next worker can start correctly without asking the user to clean the file.

    Measure downstream task success, context/token overhead, rediscovery of failed paths, and erroneous promotion of speculation to instruction—not just how short the final file becomes.

    This extends #52564's persistent supervision beyond managing workers into managing the evolving project knowledge that shapes workers' decisions. The desired UX is that a user can simply discuss goals and offer ideas, while the assistant maintains the operational memory behind the scenes.

  5. aldi949 commented on Oct 9, 2026

    @aldi949

    @oraclexing the separation you’re describing — workers execute, a separate layer retains the goal and evaluates evidence — is very close to the boundary I’ve been testing.
    The part I’m especially interested in is making “stop” an evidence decision rather than a worker judgment.
    If the worker has activity, tests, experiments, or even a plausible final summary, but one mandatory objective is still unproven, the task should stay open or escalate instead of silently closing.
    I’m testing a small prototype around exactly that idea. Your 8/8 teacher vs 0/8 student example looks like a particularly good case for exposing where an evidence-driven supervisor still fails.

  6. oraclexing commented on Oct 9, 2026

    @oraclexing
    Author

    Field report: Dot supervising a Codex worker turned into a costly chain of bridge agents (Windows, October 10, 2026)

    This is a concrete example of why #52564 should be evaluated on end-to-end task completion and total agent/compute overhead, not merely whether Dot can eventually dispatch a task.

    Intended workflow

    I already had a long-running local Codex research thread with project context, code, trained weights, results, and an ongoing technical investigation. I asked Dot to supervise/continue that existing worker, preserve the research state, and avoid unnecessary duplicate execution.

    Expected: User → persistent Dot supervisor → existing Codex worker.

    Observed workflow

    1. Dot could not directly operate the identified existing local thread. It reported an "unsupported thread region"-type failure when attempting to read it directly, while a newly created local coordination task could use a desktop interface to read/message it.
    2. Instead of continuing the existing worker, Dot created a new Codex task as an intermediary.
    3. That task was launched with read-only/restricted execution permissions despite being asked to perform work. Subsequent execution encountered an insufficient-permissions problem. Switching the task's UI selection to Full Access did not resolve the observed delegated execution problem.
    4. Worse, I could not send a message directly to the Dot-created task in the desktop UI. Dot could send messages, but the task owner could not readily intervene or take over.
    5. Dot then created another thread while trying to recover. The resulting architecture was effectively User → Dot → new Codex bridge → existing local Codex worker, with additional messaging, result relaying, and wait-cursor bookkeeping.
    6. I suggested eliminating the relay: let the Dot-created Codex task take over execution of the same project when the original worker reaches a safe stopping point. Dot agreed and described this plan, but the screenshot at that point did not yet establish that handoff had succeeded. Please do not count an agreed plan as a completed recovery.

    This is an account of an observed user workflow, not a confirmed common root cause or a claim about all Dot configurations. I have omitted private thread IDs, project paths, and wait-cursor values.

    Why this matters

    This is almost the inverse of the proposed supervisor's purpose. A supervisor should reduce redundant work and human coordination. Here the user became the dispatcher/debugger of Dot's dispatchers, and additional model-backed threads were used substantially for transport and administration rather than research.

    I have not measured exact billed credits or tokens, so I am not claiming a numerical cost. The unnecessary task creations and message/relay turns are directly observable; the total cost should be instrumented by the product.

    A deliberate one-time bridge may be a reasonable compatibility fallback. Repeatedly spawning reasoning agents to deliver messages, rather than exposing a reliable cross-thread transport primitive or failing clearly, should not be the normal management architecture.

    Suggested product requirements / acceptance tests

    • Reuse-first thread addressing: Let Dot reference an authorized existing local Codex thread/project by stable ID and inspect/send/continue it. If the backend cannot support it, return a specific capability error immediately; don't silently create a replacement.
    • Bounded fallback: If a local bridge is the only supported route, ask the user before creating it, reuse one bridge, and avoid spawning another bridge after recoverable failures. For deterministic messaging, prefer a lightweight transport over an additional reasoning worker.
    • Effective permissions, not UI fiction: Verify the actual sandbox/approval profile at delegated turn/start. A displayed Full Access selection must either be honored or explain precisely which enforced policy prevents it. Detect insufficient permission before dispatch.
    • Owner control: The human who authorized a Dot-created task must have a working path to inspect, message, approve, pause, or take over it (or a clear documented limitation and recovery route). Agent creation must not make the owner less capable of controlling their own work.
    • Safe executor handoff: Support transferring project context/checkpoint and sole execution ownership from an old thread to an authorized new worker; confirm the new worker can access workspace/weights and execute before claiming success. Avoid simultaneous conflicting writes and duplicate GPU jobs.
    • Evidence-backed status: Report which thread owns execution, whether the last message was delivered, whether a real tool/action ran, effective permissions, errors, and incremental model/compute cost. Hide internal afterCursor bookkeeping from user-facing progress unless specifically debugging transport.
    • Evaluate the overhead: In a basic "inspect and send one message to an existing worker" test, measure created threads, model turns, unnecessary retries, token/credit use, user intervention, and actual verified delivery. Compare against direct user-to-Codex control.

    Related reports

    The request is not to remove meaningful permission boundaries. It is to make the thread ownership, authorized handoff, and permission propagation work as a product.

    Bottom line: A persistent AI supervisor that needs to hire extra AI workers to forward its messages, then requires the human to troubleshoot those workers, fails the basic efficiency test even if it eventually reaches the original worker.

  7. aldi949 commented on Oct 10, 2026

    @aldi949

    @oraclexing this is exactly the kind of case I was hoping to get from this thread.
    The strongest part for me is your distinction between an agreed recovery plan and a completed recovery. If the system says it has handed execution over, but we cannot independently establish the new owner, effective permissions, message delivery, and a real tool/action, completion should remain unproven.
    I’m building a small external completion verifier around that boundary. Rather than adapting the product around your report first, I’d prefer to test the current verifier unchanged against a reduced version of this workflow and see where it fails.
    If you’re willing, could we reduce this to one concrete completion contract such as:
    “Send one instruction to the already-authorized worker and prove that the intended worker received it and executed one observable action — otherwise return HUMAN_REQUIRED.”
    I’d be especially interested in any case where the system produces a convincing handoff/status report while that contract is still objectively false.

  8. oraclexing commented on Oct 10, 2026

    @oraclexing
    Author

    @aldi949 Happy to help. Let’s keep your verifier unchanged and reduce this to one small test.

    In our case, early forwarding attempts were denied, and a generic question-card acknowledgement did not prove approval or delivery. A later authorized handoff succeeded, followed by verified execution. We also saw a “connected” status while task continuation still failed. I don’t yet have a verified example of a convincing success claim with objectively absent execution, so I’d treat that as a failure mode to test rather than claim we reproduced it.

    Proposed contract:

    • Fix the intended, already-authorized worker before dispatch.
    • Give it a fresh marker and ask it to create a harmless artifact in an authorized scratch location.
    • Independently verify receipt by that worker, an attributable execution record, and the artifact’s exact contents. An artifact created by the supervisor or another worker must not count.
    • Allow uncertainty while the test is running. At the agreed endpoint, missing evidence means HUMAN_REQUIRED, identifying the unmet condition.

    An accepted request or connection flag alone is insufficient. We should also count extra threads, relay turns, and user interventions.

    What input interface or minimal evidence schema does your current harness accept?

  9. aldi949 commented on Oct 10, 2026

    @aldi949

    @oraclexing this is a very useful reduction.
    The current public harness is narrower than your proposed contract, so I don’t want to pretend it already accepts that evidence.
    Today its task interface is a JSON contract with mandatory deterministic checks of only three kinds:

    • file_exists
    • python_function
    • black_box
      and the current worker path is a local Codex CLI operating on a bounded Python repository.
      So it can independently verify the final artifact contents, but it cannot currently prove:
    • that the intended worker received the instruction,
    • that a specific execution record belongs to that worker,
    • that another worker/supervisor did not create the artifact,
    • thread/relay counts,
    • or user-intervention count.
      Those are exactly the missing evidence dimensions in your reduced case.
      I’d rather keep the verifier unchanged, as you suggested, and record this honestly as not expressible by the current evidence model than add a one-off adapter just to make the test pass.
      The smallest evidence schema I think your case would require is something like:
      intended_worker_id
      message_id / delivery_status
      execution_id
      execution_actor_id
      artifact_path
      artifact_hash or exact_contents
      created_by_execution_id
      threads_created
      relay_turns
      user_interventions
      with the completion rule:
      VERIFIED_DONE only if delivery + attributable execution + exact artifact all bind to the preselected worker; otherwise HUMAN_REQUIRED at the endpoint.
      If you can expose even a small sanitized record with those bindings from the real run, that would give me a much better falsification case than inventing the evidence on my side.
  10. oraclexing commented on Oct 10, 2026

    @oraclexing
    Author

    @aldi949 We can provide a partial, sanitized evidence summary, but not all the bindings your proposed contract requires:

    • Observed: a send returned the intended target thread and an admitted turn. Readback showed the instruction in that thread, and a subsequent record marked that turn completed. Library metadata independently confirmed the resulting uploaded artifact exists.
    • Worker-reported: the artifact’s creation and hash.
    • Unknown: independently authenticated execution_actor_id and created_by_execution_id linking that artifact to the designated worker. A recorded turn ID is not itself an authenticated execution ID. We also haven’t established thread, relay, and user-intervention counts over a complete, defined trace.

    So this is insufficient for VERIFIED_DONE under the proposed contract. It identifies an evidence gap; it does not establish that execution failed or that the result was falsely reported. The fresh-marker test remains a proposal, not an executed reproduction.

    Would documenting these missing bindings be useful for your unchanged verifier?

  11. aldi949 commented on Oct 10, 2026

    @aldi949

    @oraclexing yes — documenting those missing bindings would be useful.
    This is already a valuable case even without a reproduced false success, because it gives a clean boundary between:
    Observed

    • instruction appeared in the intended thread
    • an admitted turn existed
    • that turn later showed completed
    • independent library metadata showed the artifact exists
      Worker-reported
    • artifact creation
    • artifact hash
      Still unproven
    • authenticated execution actor
    • binding from that execution to the artifact creation
    • complete thread/relay/user-intervention counts
      Under the proposed contract, I would treat that as:
      HUMAN_REQUIRED
      not because execution is known to have failed, but because completion is not independently proven.
      That distinction is exactly useful for the verifier.
      If you can document the sanitized evidence in this form, I’d like to preserve it as an external adversarial case:
    1. original bounded task
    2. required completion conditions
    3. observed evidence
    4. worker-reported evidence
    5. unknown / unauthenticated bindings
    6. expected terminal decision
      I would keep the current verifier unchanged and record the case as “not fully expressible by the current evidence model / should not reach VERIFIED_DONE,” rather than modifying the product around it first.
  12. Kkkkkuro commented on Oct 16, 2026

    @Kkkkkuro

    I'd like to add a concrete workflow to this request: a persistent cloud project coordinator that owns delegation to local and cloud workers.

    My preferred flow is:

    User → dot → fixed project coordinator → local/cloud Codex workers

    dot would discuss the project with that coordinator, rather than create and supervise every execution session itself. The coordinator would retain project context, break down work, create or reuse workers, follow their results, and report back.

    The native experience I would like:

    • A visible coordinator under the project, with its own stable conversation. I can open it, see progress, and talk to it directly.
    • The coordinator can assign work to approved local folders or cloud environments. Each worker keeps its own context, working directory, permissions, and visible task history.
    • Worker completion or failure returns to the coordinator, which can review the result and continue within the authorized scope without requiring me or dot to relay each message.
    • The UI distinguishes running, waiting for a worker, waiting for approval, disconnected, failed, and completed states.
    • Closing the app or reconnecting does not lose the project-to-coordinator relationship or create duplicate workers. If a local computer is offline, the coordinator reports the blocked work instead of silently moving execution elsewhere.

    All of this should preserve explicit project/environment authorization and normal approval boundaries.

    I understand that cross-thread primitives have shipped in #14923, and that #41716 describes a related planner/worker architecture. I have not found a documented, turnkey workflow combining those pieces into this project-level experience. If one already exists, a supported setup guide would help.

    I'm looking for native product configuration, rather than a custom API integration or third-party bridge.

    The practical goal is simple: dot talks to one project lead; that project lead manages the workers. I can inspect and intervene at either level without becoming the message relay.

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

    appenhancementmemorysessionsubagent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions