DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to have the factory fix red CI on its own draft PRs with Eve Software Factory Template

Let Foreman diagnose a failing check on a factory PR and push the fix to its own branch.

Short answer: Confirm FACTORY_BRANCH_PREFIX is set to the default factory/ or your chosen prefix; then open a draft PR from the factory on a branch that starts with that prefix; let CI run on the draft PR and wait for a red result. All steps.

Who it is forA maintainer who runs the factory on a busy repository and wants failing checks on factory branches repaired without manual edits.

The problemA draft PR from the factory fails CI, and someone has to read the logs and push a fix before review can continue.

The outcomeForeman diagnoses the failure and pushes a fix to its own factory branch, leaving your branches alone.

What you need first

  • A Vercel account to deploy the template with the deploy button
  • A GitHub repository you want the factory to work on, in owner/repo format
  • A GitHub App installed on that repository with access granted, as the connector requires
  • A Linear workspace, only if you want to delegate tasks from Linear
  • The Vercel CLI, for the local TUI workflow

Steps

  1. Confirm FACTORY_BRANCH_PREFIX is set to the default factory/ or your chosen prefix.
  2. Open a draft PR from the factory on a branch that starts with that prefix.
  3. Let CI run on the draft PR and wait for a red result.
  4. Check the new commit Foreman pushes to its own factory branch.
  5. Review the updated draft PR and merge it once CI is green and you approve the change.

Prompt for your agent

On the repository <owner/repo>, find the factory draft PR on branch <factory-branch> with failing CI. Verify that Foreman pushes its fix to that factory/ branch only and that CI on the PR turns green after the push.

Caveat. The README says automated CI fixes only touch branches with the factory prefix, so a PR on any other branch will not receive an automatic fix.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for vercel-labs/eve-software-factory-template and "Have the factory fix red CI on its own draft PRs"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer