AI4Kanban

Codex workflow guide · 5 min read

Kanban for Codex: planning before parallel execution

A planning layer for Codex that clarifies requirements, shares decisions, and coordinates delivery.

On this page

Codex can already run independent coding tasks in parallel, including in separate Git worktrees. That lets you run more work at once, but it does not decide which ideas are ready, which tasks depend on others, which product decisions every task must share, or which finished change should land first.

AI4Kanban manages those project-level questions, then gives the implementation work to your existing Codex CLI.

AI4Kanban separates Codex cards that are ready to build from cards with unresolved decisions
Cards are sorted by whether they are ready to build, not by whether an agent is free. A card leaves the right-hand column when its outcome and constraints are settled — the question marks are cards still holding an open decision.

Codex runs tasks in parallel. AI4Kanban plans the work.

Codex supports parallel chats in isolated worktrees. Each chat can work without disturbing another checkout. Isolation does not make the tasks share a plan.

Parallel Codex gives youThe management problem it leaves
Several independent chatsWhich ideas are ready enough to start?
Separate worktreesWhich tasks overlap or depend on one another?
Context inside each taskWhich product decisions must stay consistent across every task?
Several finished diffsWhat should be reviewed and landed first?
Questions from each chatWhich decisions genuinely require human attention?

AI4Kanban puts readiness, dependencies, shared decisions, and release order on cards. Independent cards can build together; blocked cards wait; finished deliveries land one at a time. Codex still does the coding, but you no longer have to act as its scheduler and shared memory.

One specification

IDEAWhat does done mean?

A coordinated task graph

IDEA#1#2#3#4
A goal splits into subtasks with their dependencies drawn. The arrows decide what Codex can run at the same time and what has to wait.

Can Codex clarify requirements before coding?

Yes. Codex can inspect a repository, propose a plan, and ask questions before editing. But a typical Codex session does not consistently check whether the requirement has a clear outcome, scope, defaults, and edge cases.

Before Codex starts codingWhat AI4Kanban does
Checks the requirementTests outcome, scope, defaults, acceptance criteria, dependencies, and edge cases
Finds a routine uncertaintyResearches it and chooses a safe answer from project evidence
Finds a consequential product choiceLeaves concrete options and a recommendation for you

Your answer updates the requirement and durable project memory instead of remaining in one conversation.

A Codex task with 2 unresolved product questions, concrete choices, and recommended answers
Only unresolved product choices reach you, with concrete options and a recommendation.

Why not rely on Codex memory or Mem0?

They help Codex recall more information. AI4Kanban keeps only the product context that should change future planning.

Context sourceWhat it carries forwardLimit for project planning
Codex local memoryGenerated context from prior chatsHelpful recall, not guaranteed project guidance
AGENTS.md and repository filesWorking rules and current implementationOften omit why a product decision was made
Mem0 for CodexMemories found through semantic search (search that matches meaning, not just keywords)Retrieval relevance is not the same as product importance
AI4Kanban memoryCurated, checked-in product decisionsExcludes chat history and code detail on purpose

AI4Kanban memory is ordinary Markdown: compact, versioned, reviewable, and usable without a vector database.

Will project memory become one giant context file?

No. AI4Kanban keeps the same 4 small documents for the whole project and for each module.

FileKeeps
readme.mdShipped user-facing behavior
decisions.mdCurrent product decisions
rejected.mdIdeas that should not return
redesign.mdDesign corrections to apply next time

A card loads the project memory plus the memory for its named modules. Regular pruning merges duplicates and removes stale detail, so the agent reads a planning brief rather than the project's entire history.

Project memory gives future Codex tasks the decisions, rejected ideas, and design lessons they need
Project and module memory stay in small, reviewable Markdown files.

Read why project decisions become the bottleneck.

Which questions does AI4Kanban send to me?

Only consequential product decisions that the agent cannot safely settle from evidence. Agents are expected to answer questions, not merely raise them.

Routine questions: the agent researches them, decides, and updates the requirement.

Product decisions: you get the question only when it affects behavior, scope, risk, privacy, compatibility, or ongoing cost. Each question includes options, costs, and a recommendation.

If more than 3 questions remain, the QA loop reviews them again instead of sending you a questionnaire.

How am I notified when Codex needs me?

Questions and review requests appear in the app and can be sent to Slack. Running and landed cards are status only. Other deliveries keep moving while one waits for you.

AI4Kanban notifications separate Codex questions and review requests from routine status updates
Questions and review requests need action; Running and Landed are status only.

Can I keep my existing Codex setup?

Yes. AI4Kanban launches your installed Codex CLI and keeps its login, AGENTS.md, skills, MCP servers, and resumable threads.

Reach Codex once — its provider, endpoint and key — and then each agent on the board picks the model and reasoning effort it runs, so refinement, implementation and review need not share one. Leave those fields empty to keep Codex's defaults.

AI4Kanban's Agents pane, with the builder set to Codex and its own model and reasoning effort
Each agent picks the coding tool and model it runs. The tool travels with the repository; the model stays on this computer.

See What each coding agent can do for the current connector support.

How does AI4Kanban keep parallel Codex changes from colliding?

Each automatic delivery gets its own branch and Git worktree. Dependencies stop blocked cards from starting too early.

After implementation, a fresh session reviews the card and diff. Approved deliveries enter a queue and land on the target branch one at a time as squash commits. Enable diff approval so each reviewed worktree waits for your approval.

AI4Kanban settings for isolated worktrees, diff approval, and silent-run handling
Choose whether deliveries use isolated worktrees and whether a reviewed tree must wait for your approval before it lands.

You can inspect logs, stop without discarding the worktree, and resume the same Codex thread. Disable automatic Git commits to work in your current checkout and commit manually. AI4Kanban never pushes.

Frequently asked questions

Does it work with a ChatGPT subscription, or do I need an API key?

Both work. Use Codex's ChatGPT login, an OpenAI API key, or a Responses-API gateway. The chosen provider is always explicit.

Can I choose the Codex model and reasoning effort for each kind of work?

Yes. Give the planner, the builder, the reviewer, and each specialist their own Codex model and reasoning effort on the Agents pane. Empty fields keep Codex's defaults.

Can I set a token or cost limit before starting a Codex run?

Not as a hard cap. AI4Kanban reports available token and cost data; provider, model, and reasoning effort remain your spending controls.

Can AI4Kanban run several Codex tasks at once?

Yes. Independent cards build in separate worktrees, dependent cards wait for blockers, and completed deliveries land one at a time.

Can Codex work in my main checkout instead of a new worktree?

Yes. Disable automatic Git commits globally or for 1 delivery. Codex then works in your current checkout and you commit after review.

How are .env files and dependencies handled inside worktrees?

A worktree starts with tracked files only. Add an implementation rule for dependencies and local configuration; agent keys stay in the ignored docs/kanban/.env file.

Will Codex ever commit, merge, or push without my approval?

Card approval authorizes automatic commits and 1 reviewed squash landing. Enable diff approval for a 2nd checkpoint, or use manual commit mode. AI4Kanban never pushes.

What happens when Codex fails or reaches its usage limit?

Your work stays available: the card keeps its delivery, worktree, and Codex thread. Stop it manually or let the silence timeout end it, then resume later.

Can I resume the same Codex session after restarting a task?

Yes. Resume uses the saved thread ID and keeps the existing delivery and context.