A scoped repository bug fix

Home Tools Platforms Codex Workflows A scoped repository bug fix

Reproduce a sample defect and hand off a checked diff.

Coding & development · Documented · Documentation checked 2026-10-04

Codex CLI, IDE extension, and desktop coding work; cloud environments need separate setup.

ChatGPT entitlement or supported API authentication, host capabilities, and workspace policy affect access.

An illustrative recipe. This website does not run the automation.

The goal and the right kind of system

Reproduce a sample defect and hand off a checked diff.

An interactive coding agent fits investigation and iteration. A person selects scope and reviews the final change.

Inputs and connected services

Inputs: sample repo, clean checkpoint, reproduction, expected behavior, and actual test command.

Services: local Codex and repository tools; external services are excluded from the pilot.

The steps

An illustrative sequence to adapt and test before using real data or enabling ongoing work.

  1. Read AGENTS.md and inspect the relevant files.
  2. Reproduce or document the blocked reproduction.
  3. Make a scoped change and run meaningful checks.
  4. Review the diff and exact command outcomes.

Outputs and human checkpoints

Outputs: changed files, test evidence, and unverified concerns.

Human checkpoints: approve scope and inspect the diff before commit.

Exceptions, permissions, and stopping conditions

Permission boundary: sample workspace only, no push / merge / deployment. Missing dependencies remain blockers.

Stop on failing checks, uncertain reproduction, unexpected file changes, or a request for production access.

Adaptable prompt

Fix [reproducible sample defect] in this repo. Follow project guidance, preserve unrelated edits, run actual checks, and report outcomes. Stop on missing required access. Do not push, merge, or deploy.

Repository tasks and the coding loop

Inspect a repository, make a scoped change, run appropriate checks, and review the difference.

Explore Repository tasks and the coding loop

AGENTS.md, skills, and memory

Separate checked-in project instructions from reusable procedures and locally recalled context.

Explore AGENTS.md, skills, and memory

Shell tools, MCP, and permissions

Distinguish a requested command from the filesystem, network, and external access actually allowed.

Explore Shell tools, MCP, and permissions

Designing an AI workflow

Make a useful task repeatable with clear inputs, steps, outputs, exceptions, and human checkpoints.

Explore Designing an AI workflow

Permissions and meaningful approvals

Decide what a system may read, what it may change, and when someone needs to authorize a concrete action.

Explore Permissions and meaningful approvals

Sources and verification

Documentation checked 2026-10-04. Examples are illustrative unless described otherwise.

Codex CLI · OpenAI

Using ChatGPT: Chat and Work · OpenAI

Projects and chats · OpenAI

Build skills · OpenAI

Memories across product surfaces · OpenAI

Permissions and approval policies · OpenAI

Plugins and supported surfaces · OpenAI

Share this page