Skip to content

Software factory fundamentals / Implement automation

Implement automation

Customize how an agent changes code and creates pull requests across workspace repositories.

The Implement automation converts an approved task into changes and pull requests across workspace repositories. Customize the agent, repository instructions, validation commands, artifact handling and failure behavior for your codebase.

An Implement automation that runs a SuperPlane agent, records errors, attaches a branch and creates or updates a pull request.
The agent opens pull requests and attaches them to the task. The canvas records implementation failures.

The task says what must change. Repository instructions say how work is done here. Include the commands, conventions and boundaries that a contributor needs to follow.

Configure the agent with:

  • the target repository and base branch
  • the task description and attached analysis
  • project instructions such as AGENTS.md or contribution guidance
  • the build, test and lint commands relevant to the change
  • files or directories that must not change
  • the required output such as a commit, branch and pull request summary

Set the workspace model source in Model sources. Choose a model that matches the change.

Open Settings → Agent and review Repositories. The agent can change the primary repository and enabled Read & Write repositories from the same provider. Read Only repositories remain reference material.

The default Implement workflow uses agent-owned pull request creation:

  1. Run the implementation agent.
  2. Commit changes in each affected repository.
  3. Use the SuperPlane pull request operation for each changed repository.
  4. Confirm that each pull request is attached to the task.

The pull request operation updates an existing pull request or opens one when needed. Verify receives stored links for every changed repository. A workspace with one repository uses the same workflow.

Design the failure path before increasing volume

Section titled “Design the failure path before increasing volume”

Connect the agent’s failure output to a node that records the error. Preserve the task, run and relevant logs so a person can distinguish a transient service failure from a code failure.

Do not retry unchanged work without a reason. Retry a temporary provider error. Return a failing test through Verify. Pause when credentials are missing or the task requires a product decision.

Spend model usage where it improves the result

Section titled “Spend model usage where it improves the result”

Implementation is usually the most expensive stage because it combines model tokens and machine time. Keep tasks narrow and use the SuperPlane pull request operation to attach review links.

  • Use the smallest model that can complete this class of work reliably.
  • Pass the relevant task context instead of every prior message.
  • Run focused checks during implementation and reserve the full required suite for Verify.
  • Limit parallel tasks when they touch the same repository or environment.
  • Compare cost per accepted pull request across similar task types.

Continue to Verify automation to process checks and review feedback.