Prox OS Internal Docs
DevelopmentAIPrompts

Codex Prompt Batching

This playbook explains how Codex, Cursor, terminal agents, or future local AI

Purpose

This playbook explains how Codex, Cursor, terminal agents, or future local AI agents should triage a large prompt or a batch of prompts before editing files.

Use it when one human message contains several independent requests, touches many ownership areas, or could be split across parallel branches.

Batch Triage Rules

  1. Split the prompt into independent tasks.
  2. Estimate touched paths for each task.
  3. Mark conflict risk.
  4. Assign parallelizable tasks to different branches or worktrees.
  5. Run non-parallelizable tasks serially.
  6. Serialize core protocol, root config, app registry, and design token changes.
  7. Give every task acceptance criteria.
  8. After each task, output changed files, commands run, risks, and follow-ups.
  9. If a prompt is too broad, create a task plan before editing the whole repository.

Prompt Batch Triage Table

| Task | Scope | Paths | Conflict Risk   | Parallelizable | Branch | Merge Order |
| ---- | ----- | ----- | --------------- | -------------- | ------ | ----------- |
| 1    |       |       | low/medium/high | yes/no         |        |             |

Conflict Risk Guide

RiskExamplesExecution
LowDocs-only updates, isolated app copy, one Storybook story, leaf mock data.Can run in parallel with a scoped branch.
MediumShared UI additions, app package changes, mock API skeletons, app registry display-only edits.Parallel only with disjoint paths and a merge plan.
HighApp contract, window manager, shell routing, app registry composition, design tokens, root config, database, deployment.Serialize and require human review.

Acceptance Criteria Template

## Acceptance Criteria

- Scope stays within:
- User-visible behavior:
- Docs updated:
- Tests/checks:
- Not included:

Worker Output Template

## Result

- Branch:
- Changed files:
- Commands run:
- Architecture impact:
- Docs impact:
- Risk:
- Follow-ups:

Relationship To Task Graphs

Normal Direct Implementation Mode does not require a task graph. Use this batching playbook for lightweight triage.

Use docs/development/ai-control-plane/task-graphs/ only when the human explicitly asks for opt-in multi-agent orchestration, slicing, RFC-style planning, or staged execution.

On this page