A Codex multi-agent workflow

PigeonStack: a Codex workflow

First, credit and thanks to Lauren Tan (poteto), the original author of pstack. PigeonStack adapts her work for this Codex workflow.

PigeonStack keeps global Codex rules, an adapted pstack plugin, model roles, and local synchronization in one source. The active Primary investigates, implements, and verifies directly. Subagents require an explicit user request.

Version 0.15.32+codex.20261026optin keeps engineering caveats in developer conversations or documentation. Agents add disclaimers to delivered interfaces or customer-facing backend responses only when the user explicitly requests them. Actual status, errors, and functional limits stay concrete.

Source version 0.15.32 integrates current upstream workflows. Choosing a skill, encountering complexity, or retrying a failure does not authorize subagents. Existing models and efforts stay unchanged.

Not sure which pstack skill fits your task? Ask /poteto-help. It reads the bundled guides, recommends a relevant skill, and can provide one example prompt. Asking for help does not start the suggested work. Codex model selection and permissions follow this repository’s GPT configuration.

A bounded handoff

One Primary owns the decisions

The Primary completes the task directly. When the user explicitly requests agents, each receives a bounded task and returns evidence.

RoleWork
Active PrimaryExecutes diagnosis, design, implementation, verification, and final acceptance directly by default.
Luna mechanical helperOnly for explicitly requested agents doing simple repetitive steps with fixed inputs and checkable results.
Sol executorFor explicitly requested ordinary delegated work, starts at gpt-6.1-sol, medium and owns the assigned result.
Astra ExpertFor explicitly requested critical design or eligible takeovers, starts at gpt-6-astra, high. Its role does not authorize an automatic child.

These child roles apply only within explicit user authorization. Skill selection, model configuration, critical design, and failures do not grant delegation permission. The active Primary keeps its selected model.

Run independent work together

When the user explicitly requests parallel agents, text and code tasks can run together when they have no shared writes or dependencies. Image generation, editing, viewing, and transfer run one at a time.

Use the tools you already have

PigeonStack packages instructions, a Codex plugin, configuration, and deployment tooling. It does not provide an MCP server or a separate autonomous scheduler.

For explicitly authorized delegated work, assess progress after 30 minutes. Continue with a productive owner. Elapsed time alone does not require a transfer.

Within authorized replacements, evidenced inability follows Sol medium, high, xhigh, then Astra high and xhigh. Eligible Luna failures enter at Sol medium. Access gaps are external blockers. This sequence does not authorize new agents.

ComputerUse actions stay with the Primary because child tools do not expose ComputerUse. Do not delegate actions requiring ComputerUse. A Senior Executor or Expert may request a named UI action and its observed result, then continue the same problem. This asks the Primary for an observation, not for a solution. Text, code, CLI, and API work remain delegable. The rule adds no tools or permission flow.

Prioritize the authorized normal business workflow through existing entry points. When an actual bug occurs or is reported, retain sufficient evidence, diagnose and repair the cause within scope, then rerun the affected real workflow and targeted regression checks. Address the bug when encountered, without waiting for the whole workflow to finish. Block only affected and dependent actions, and continue independent valid work. Report any outcome that an unavailable workflow prevents you from verifying. Targeted regression does not authorize a full test suite.

During normal task work, reuse existing scripts, CLIs, and business entry points. A minimal tool may help with repeated deterministic work only when the need is observed and authorized. Give the responsible agent a way to inspect the real result. Before escalating models, distinguish gaps in tools, feedback, or the environment from reasoning failures. At completion, use evidence already collected to identify recurring mistakes and improve the smallest relevant code, tool, skill, or rule within scope. Record unrelated findings in the existing project record. These habits add no mandatory project scan, report, skill, harness, validation gate, or automatic retrospective.

A validation gate is a mandatory check that must pass before an action can proceed. Add a new gate only for an evidence-confirmed problem or an explicit current requirement. An unverified hypothesis or hypothetical future failure cannot become a new gate or prerequisite. A confirmed bug does not automatically require a gate. If needed, scope the gate to the affected action and boundary, and verify that it catches the failure or enforces the requirement without unnecessarily blocking valid work. Existing required checks, explicit current requirements, and safety, permission, and data-integrity boundaries remain in force before any bug occurs.

Who it helps

For Codex users who need clear handoffs

Use PigeonStack when you want an agent workflow with named decision ownership, scoped execution, and evidence-based acceptance.

Its cost-performance goal is a work strategy, not a benchmark. Model IDs, access, supported reasoning effort, and cost depend on your account and Codex client.

Questions and limits

What to expect from PigeonStack

What is PigeonStack?

PigeonStack is PigeonYang's maintained set of Codex global rules, agent-role definitions, selected configuration, a customized pstack plugin, and a local synchronization script.

How does PigeonStack relate to pstack?

PigeonStack adapts Lauren Tan's pstack workflows for Codex and adds repository-specific rules and deployment configuration. It does not claim to be superior to the upstream project. The site links to the pinned upstream source and preserves its attribution.

Is it a plugin, an MCP server, or a skill?

PigeonStack is a repository and deployment setup that includes an adapted Codex plugin and selected skills. It does not include an MCP server, timers, hooks, or a background scheduler.

Can I choose other models?

Model choices are configured in the repository, and the local rules give explicit user selection priority. Your Codex host and account must expose the model and agent tools you choose. The repository does not verify a provider's internal model mapping.

What is the difference between a preview and an installation?

An isolated preview uses --codex-home with --skip-plugin-install to check copied files and merged configuration. It does not activate the plugin or rewrite machine-specific paths embedded in instructions. The getting started guide shows both routes.

What has been verified?

A successful sync check establishes that managed files and configuration align on disk. A new Codex session is needed to verify instruction loading and actual model routing. Publishing this site does not prove search indexing or rankings.

Start with a safe target

Preview the files before changing a live Codex home

The guide shows the isolated preview commands, their exit codes, and the maintainer-host deployment boundary.

Open the getting started guide