GPT Orchestration Build
Convert findings into working software. Own the implementation result; do not merely redistribute the list or return another plan.
Establish the build contract
- Read repository instructions and capture the branch, dirty-path ledger, relevant diffs, manifests, and available verification commands.
- Confirm that the user authorized implementation. Treat review-only or audit-only requests as read-only.
- Gather all supplied findings from the conversation, reports, plans, issues, test output, and working tree.
- Normalize them into a finding ledger with:
- stable identifier and concise outcome;
- evidence and affected paths;
- confidence, severity, and user impact;
- prerequisites and conflicts;
- owner and write scope;
- acceptance test;
- final disposition.
- Preserve pre-existing user changes. Never reset, checkout, stash, or overwrite unrelated work.
Validate before writing
Trace each finding to current repository truth. Mark it confirmed, already satisfied, duplicate, invalid, or blocked. Do not implement stale advice blindly. Research only the gaps needed to make a safe build decision; avoid restarting a broad audit unless the findings are unusable.
If current APIs, dependencies, standards, or security guidance affect the implementation, verify them with primary sources. Adapt the result to the repository's actual stack.
Plan implementation waves
Order confirmed work by dependency and blast radius:
- contracts, schemas, and shared types;
- core services and persistence boundaries;
- SDKs, adapters, and integration seams;
- product routes and user-facing behavior;
- cleanup, documentation, and generated artifacts;
- independent verification and residual-gap scan.
Use the runtime's available concurrency, counting the orchestrator as a slot. Give one writer ownership of each file or tightly coupled subsystem. Latest-only is the default: use confirmed sol_engineer (gpt-5.6-sol) for hard integration, terra_worker (gpt-5.6-terra) for bounded implementation, terra_explorer for read-heavy gaps, and luna_verifier (gpt-5.6-luna) for mechanical checks. Native custom agents are the interactive default; for a new programmatic controller, prefer the stable official Codex SDK where it covers the need and version-pin/feature-detect experimental app-server APIs. If neither can request the required route or prove isolation and the sibling gpt-engineer skill is installed, use its guarded CLI compatibility adapter with an explicit --compatibility-reason; it does not independently attest the provider's effective model. Otherwise never use a generic, inherited, model-less, GPT-5, GPT-5.4, Spark, or Claude substitute; keep work with a proven parent or report the limitation.
Every writer contract must include exact paths, success criteria, prohibited side effects, required tests, baseline constraints, and expected handoff evidence. Keep overlapping work read-only.
Build every confirmed finding
For each wave:
- Assign non-overlapping changes.
- Continue useful integration work while agents run.
- Inspect every returned diff rather than trusting the summary.
- Reject scope drift, placeholder replacements, silent fallbacks, and unverified completion claims.
- Run focused tests before dependent work begins.
- Update the finding ledger immediately.
Do not drop difficult items. A confirmed in-scope finding must end as implemented or blocked by a concrete missing authority, credential, external dependency, or mutually exclusive user decision. Do not use deferred unless the user explicitly accepts deferral.
Integrate and prove the result
After all waves, run checks selected by the changed behavior and acceptance criteria:
- regenerate code only when its source schema changed and regenerate lockfiles only when dependency inputs changed;
- always run diff hygiene plus the focused lint, static analysis, type checks, tests, build, or runtime checks that cover the affected system;
- reserve repository-wide gates and production builds for cross-cutting changes, broad completion claims, or explicit acceptance criteria;
- exercise the affected user path against a verified local or disposable target;
- inspect scripts before running them and never let a smoke command default to production;
- run a residual search for the original findings and incomplete-code markers;
- compare the final worktree with the captured baseline.
Keep credentialed, destructive, deployment, messaging, merge, and push actions outside scope unless the user separately authorized them.
Tear down the build fleet
After accepting the last implementation result, wait for every required handoff and inspect the live agent tree. Interrupt superseded or stale agents, then verify that no bounded worker remains active.
Track every background process or temporary resource launched by the fleet. Preserve evidence, then stop and reap task-owned subprocess groups, watchers, servers, and listeners and remove task-owned temporary worktrees unless the user explicitly requested continued runtime. Classify ownership using agent state, parent process, working directory, launch time, and recorded PID or resource identifier. Never kill by process name alone, and never terminate shared MCP services, the host application, another task's cohort, or an unclassified process. Report host-retained helpers when the runtime provides no safe task-scoped teardown.
Close the ledger
Return the outcome first, followed by the finding ledger disposition summary, changed subsystems, verification matrix, fleet teardown result, preserved user work, and exact blockers. Claim completion only when every confirmed finding has an acceptance result, no required build work remains, and task-owned resources have been reclaimed or explicitly retained.
1---2name: gpt-orchestration-build3description: Turn an existing audit, finding list, issue set, review, failing-test report, or implementation plan into completed, verified code through a coordinated agent fleet. Use when the user asks to build from findings, implement every audit item, finish a known backlog, remediate review results, or continue from research without repeating the whole investigation. Validate each finding, preserve repository state, assign non-overlapping writers, integrate in dependency order, and track every item to an explicit disposition.4license: MIT5---67# GPT Orchestration Build89Convert findings into working software. Own the implementation result; do not merely redistribute the list or return another plan.1011## Establish the build contract12131. Read repository instructions and capture the branch, dirty-path ledger, relevant diffs, manifests, and available verification commands.142. Confirm that the user authorized implementation. Treat review-only or audit-only requests as read-only.153. Gather all supplied findings from the conversation, reports, plans, issues, test output, and working tree.164. Normalize them into a finding ledger with:17 - stable identifier and concise outcome;18 - evidence and affected paths;19 - confidence, severity, and user impact;20 - prerequisites and conflicts;21 - owner and write scope;22 - acceptance test;23 - final disposition.245. Preserve pre-existing user changes. Never reset, checkout, stash, or overwrite unrelated work.2526## Validate before writing2728Trace each finding to current repository truth. Mark it `confirmed`, `already satisfied`, `duplicate`, `invalid`, or `blocked`. Do not implement stale advice blindly. Research only the gaps needed to make a safe build decision; avoid restarting a broad audit unless the findings are unusable.2930If current APIs, dependencies, standards, or security guidance affect the implementation, verify them with primary sources. Adapt the result to the repository's actual stack.3132## Plan implementation waves3334Order confirmed work by dependency and blast radius:35361. contracts, schemas, and shared types;372. core services and persistence boundaries;383. SDKs, adapters, and integration seams;394. product routes and user-facing behavior;405. cleanup, documentation, and generated artifacts;416. independent verification and residual-gap scan.4243Use the runtime's available concurrency, counting the orchestrator as a slot. Give one writer ownership of each file or tightly coupled subsystem. Latest-only is the default: use confirmed `sol_engineer` (`gpt-5.6-sol`) for hard integration, `terra_worker` (`gpt-5.6-terra`) for bounded implementation, `terra_explorer` for read-heavy gaps, and `luna_verifier` (`gpt-5.6-luna`) for mechanical checks. Native custom agents are the interactive default; for a new programmatic controller, prefer the stable official Codex SDK where it covers the need and version-pin/feature-detect experimental app-server APIs. If neither can request the required route or prove isolation and the sibling `gpt-engineer` skill is installed, use its guarded CLI compatibility adapter with an explicit `--compatibility-reason`; it does not independently attest the provider's effective model. Otherwise never use a generic, inherited, model-less, GPT-5, GPT-5.4, Spark, or Claude substitute; keep work with a proven parent or report the limitation.4445Every writer contract must include exact paths, success criteria, prohibited side effects, required tests, baseline constraints, and expected handoff evidence. Keep overlapping work read-only.4647## Build every confirmed finding4849For each wave:50511. Assign non-overlapping changes.522. Continue useful integration work while agents run.533. Inspect every returned diff rather than trusting the summary.544. Reject scope drift, placeholder replacements, silent fallbacks, and unverified completion claims.555. Run focused tests before dependent work begins.566. Update the finding ledger immediately.5758Do not drop difficult items. A confirmed in-scope finding must end as implemented or blocked by a concrete missing authority, credential, external dependency, or mutually exclusive user decision. Do not use `deferred` unless the user explicitly accepts deferral.5960## Integrate and prove the result6162After all waves, run checks selected by the changed behavior and acceptance criteria:6364- regenerate code only when its source schema changed and regenerate lockfiles only when dependency inputs changed;65- always run diff hygiene plus the focused lint, static analysis, type checks, tests, build, or runtime checks that cover the affected system;66- reserve repository-wide gates and production builds for cross-cutting changes, broad completion claims, or explicit acceptance criteria;67- exercise the affected user path against a verified local or disposable target;68- inspect scripts before running them and never let a smoke command default to production;69- run a residual search for the original findings and incomplete-code markers;70- compare the final worktree with the captured baseline.7172Keep credentialed, destructive, deployment, messaging, merge, and push actions outside scope unless the user separately authorized them.7374## Tear down the build fleet7576After accepting the last implementation result, wait for every required handoff and inspect the live agent tree. Interrupt superseded or stale agents, then verify that no bounded worker remains active.7778Track every background process or temporary resource launched by the fleet. Preserve evidence, then stop and reap task-owned subprocess groups, watchers, servers, and listeners and remove task-owned temporary worktrees unless the user explicitly requested continued runtime. Classify ownership using agent state, parent process, working directory, launch time, and recorded PID or resource identifier. Never kill by process name alone, and never terminate shared MCP services, the host application, another task's cohort, or an unclassified process. Report host-retained helpers when the runtime provides no safe task-scoped teardown.7980## Close the ledger8182Return the outcome first, followed by the finding ledger disposition summary, changed subsystems, verification matrix, fleet teardown result, preserved user work, and exact blockers. Claim completion only when every confirmed finding has an acceptance result, no required build work remains, and task-owned resources have been reclaimed or explicitly retained.