Skip to content
Source
Sign inSign up

For contributors

Software factory / Start

For contributors

You sent a pull request to a project on TanStack Source, and the TanStack Source bot comments on your change. You want to know what the Factory panel in the right sidebar says, and what the bot can do to your branch.

6 min read

The factory is a set of AI agents that the maintainers run on the forge. They check each pull request before a maintainer reads it.

1. Wait for screening

You opened an issue or a pull request, and other people cannot see it yet. If you have no write access, screening reads each new item first. It looks for spam and unsafe content.

  1. Open your issue or pull request. A blue Screening badge shows next to its state.
  2. Read the notice on the page: "We're checking this issue for spam and unsafe content. Until it passes, only you and the maintainers can see it."
  3. Wait on the page. It updates by itself until screening ends, for up to 30 minutes. Usually this takes a few seconds.

Your item shows the same badge in the issues list or the pull requests list. Only you and the maintainers see it there until screening ends.

  • If your item passes, the badge goes away and everyone who can read the repository sees the item.
  • If the notice says "This issue is held for review", a maintainer must approve it. You do not need to post it again.
  • If screening does not end in about 30 minutes, the item is held for review too.

After screening, the factory agents can start on your item. The badge then shows them, for example Security audit running.

2. Read the panel

The panel has one row for each question:

RowWhat it says
SafeClean, Needs a maintainer or Malicious: the result of the security audit.
UsefulUseful, Unclear, Duplicate or Out of scope.
Fixes the issueFixes #12, Does not fix or Could not reproduce, when your pull request says fixes #12.
ConflictsNo conflicts, Has conflicts or Resolved.

Each step of an agent that is on gets a row with the result of its latest run, for example PR review: Fixer. Click a row to read the reason.

A row can also say Waiting, Running, Failed or Skipped, or the cause of a failure, for example Failed, can retry. See When a run fails or waits.

The Factory panel of a pull request, with a row for each step. Click a row to read the reason.

Each push to your branch starts the checks again on the new commit.

How the audit checks your change

The other checks wait for a clean audit. The audit checks your change in one of two ways:

  • A fast first check reads your diff. If it finds no risk, Safe shows Clean and the other checks start.
  • The audit agent reads your change with more care. This takes longer. It runs when the first check finds a risk, and in the cases below.

The audit agent always runs when your change touches one of these:

  • CI workflows, or .source/.
  • A package.json or a lockfile.
  • AGENTS.md, CLAUDE.md or an agent skill folder.

It also always runs for a line that can hide code, a diff over 100,000 characters, or a binary file.

Only the audit agent can say Needs a maintainer or Malicious. See How the audit decides.

3. Decide if the bot can push to your branch

If the project turns on these steps, the bot can push to your branch after a clean audit:

  • Push fixes (PR review): one commit that fixes the findings of the review.
  • Resolve merge conflicts (Keep green): one merge commit that merges the base branch into your branch. It never force-pushes.
  • Fix failing CI (Keep green): one commit that fixes the cause of a failed CI run. It never weakens or deletes a test to make it pass.

The bot pushes to your fork only when your pull request allows edits from maintainers. This is on by default. To stop it, clear Allow edits from maintainers on the pull request page. CI fixes use the same setting: see Pull requests from a fork.

Note

The bot never approves a pull request, and never merges it without the project's branch rules.

Done

You can read each answer of the Factory panel, and you know when the bot pushes to your branch. When a run fails for a temporary cause, you can retry it yourself. If you are banned, you can appeal from the repository page.

Comments and pull requests from agent workflows

A project can run its own agent workflows. Their comments and pull requests show the name of the job that wrote them, for example linear-fixes-fix, with an Agent badge. The last line names the workflow and the job: TanStack Source bot, linear-fixes workflow, fix job.

  • The name is never the name of a person or an organization here, and never the name of TanStack Source.
  • A comment, a label or a pull request that the bot writes starts no event run of a workflow.
  • If you have no write access, your comment or your pull request can start a workflow run only after a maintainer approves the run. That run only reads, and comments on your item.

People can ask an agent about your pull request

A person who can read your pull request can click Ask about this PR on its page, and ask an agent about it. The agent can open the files, comments and commits of your pull request for them.

  • The agent reads only what that person can read on the page. For example: your description, your diff, the comments and the CI checks that they see.
  • It reads your intent summary only when that person sees the Intent tab.
  • It only reads. It cannot comment, review, approve, merge or push, so it cannot change your pull request or your branch.

See Ask an agent about a pull request.

If the project connects other tools

A project can give its agents the tools of an MCP server, such as Linear or Notion. If you have no write access, a run on your issue or pull request gets only the tools that each server marks read-only. The forge applies this rule in code, so no text in your issue can change it.