codex - 💡(How to fix) Fix Declarative Dynamic Workflows foundation for Codex

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

I would like to propose an experimental foundation for declarative Dynamic Workflows in Codex.

I understand from docs/contributing.md that unsolicited PRs are not currently accepted, so I am opening this as a proposal first rather than requesting code review directly.

Prototype branch:

https://github.com/ErenAri/codex/tree/dynamic-workflows-pr4

Compare view:

https://github.com/openai/codex/compare/main...ErenAri:codex:dynamic-workflows-pr4

Root Cause

I would like to propose an experimental foundation for declarative Dynamic Workflows in Codex.

I understand from docs/contributing.md that unsolicited PRs are not currently accepted, so I am opening this as a proposal first rather than requesting code review directly.

Prototype branch:

https://github.com/ErenAri/codex/tree/dynamic-workflows-pr4

Compare view:

https://github.com/openai/codex/compare/main...ErenAri:codex:dynamic-workflows-pr4

RAW_BUFFERClick to expand / collapse

What variant of Codex are you using?

CLI

What feature would you like to see?

Summary

I would like to propose an experimental foundation for declarative Dynamic Workflows in Codex.

I understand from docs/contributing.md that unsolicited PRs are not currently accepted, so I am opening this as a proposal first rather than requesting code review directly.

Prototype branch:

https://github.com/ErenAri/codex/tree/dynamic-workflows-pr4

Compare view:

https://github.com/openai/codex/compare/main...ErenAri:codex:dynamic-workflows-pr4

Motivation

Codex already has subagent and MultiAgentV2 infrastructure. A workflow layer could provide a typed foundation for repeatable, bounded, inspectable multi-agent orchestration without placing all intermediate orchestration state inside the main model context.

The goal is not to add a broad user-facing workflow runtime immediately. The goal is to establish a conservative foundation that can later support workflows safely.

Prototype scope

The prototype includes:

  • a standalone codex-workflows crate
  • TOML workflow manifest parsing and validation
  • strict unknown-field rejection
  • deterministic DAG validation and phase waves
  • an in-memory workflow run store
  • a mock workflow executor
  • an async-compatible workflow scheduler/executor abstraction
  • a private core-side MultiAgent workflow executor adapter
  • a minimal CLI validation command:
codex workflows validate <path>

### Additional information

_No response_

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Declarative Dynamic Workflows foundation for Codex