# How to automate rework and scrap in Uranus OS
Record rework and scrap in Uranus OS with cause and parts on every card, and let an agent show where the same cause keeps coming back before it becomes routine.

The scrapped part goes in the bin. Rework gets done at the end of the shift by whoever is free. The record, when there is one, is a notebook on the bench or a photo in the WhatsApp group. Nobody adds it up. The same burr comes back every week, and every time it feels like the first.

Without the cause written down, you cannot see the pattern. Without the pattern, the corrective action stays in conversation.

## The stages

Production and quality run it together. Production records, quality investigates. There are four stages:

- Record
- Cause
- Action
- Closed

## How to set it up in Uranus OS

1. **Create a "Rework and scrap" project type** with those stages. Each occurrence becomes a task with its own key, such as OS-512.
2. **Build the occurrence form.** The two core fields: cause and parts. Cause is a list you define, such as raw material, setup, drawing, tooling or machine. Parts is the quantity lost or reworked. Add the obvious ones: rework or scrap, source production order, machine, product and photo.
3. **Set the owner of each stage.** Whoever found the problem records it, operator or inspector. Cause belongs to quality. Action belongs to the lead of the line where the problem showed up. Quality closes it after checking that the action was done.
4. **Write the procedure in Documents.** How to record, what each cause on the list means, when an occurrence calls for action. Every version keeps who wrote it.

An action that depends on a new part or a technician's visit goes to Blocked, and the card shows why.

## Where the agent comes in

The agent records the cause and shows where it keeps happening. When an occurrence comes in, it checks that cause and parts are filled in. If not, it proposes sending it back to whoever recorded it, with the reason.

Then it looks for earlier occurrences with the same cause on the same machine or product. If it finds a repeat, it proposes an action task for the line lead that lists the earlier occurrences by key. When you ask, it writes a summary of the causes that show up most and posts it to the project.

The instruction you write:

> Follow the rework and scrap occurrences. If cause or parts are empty, propose sending the card back to Record and say what is missing. Look for earlier occurrences with the same cause and the same machine. If there are any, propose a task in Action for the line lead that lists the earlier keys. Do not close any occurrence.

The tools it calls: `tasks_search` to find similar occurrences, `tasks_get` to read the card, `tasks_create` and `tasks_assign` to open the action, `tasks_transition` to change the stage and `project_updates_publish` for the summary.

By default, the agent proposes and a person clicks Approve or Decline. It reaches only what you allow it in the system.

## What gets recorded

Every occurrence stays in the history with a name and a date: who recorded it, which cause, how many parts, what action was taken, who closed it. The agent's actions carry the "agent" badge and the name of whoever approved them. When the same cause comes back, the list of earlier occurrences is there with their dates, and the discussion no longer starts from scratch.

## With the AI you already use

If your company already uses ChatGPT, Claude, Gemini or another assistant, you can connect it to Uranus OS through the MCP server. Quality asks which causes repeated most on the press this month and gets the answer from the same cards, with the same permissions.

If you prefer, Uranus can do the rollout with your team.

Uranus OS is in closed beta. [Join the closed beta](/contact?servico=teste) and record your first occurrence with your production team.
