> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Repair Plan • AI Agent SDK

> RepairPlan: Result of a doctor repair pass, carrying the safety contract surface.

# RepairPlan

> Defined in the [**Doctor Protocol**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/doctor_protocol.md) module.

AI Agent

Result of a doctor repair pass, carrying the safety contract surface.

In dry-run mode nothing is written; `config` holds the proposed result and
`diffs` describes each change so a caller can preview before applying.

## Properties

**config** `Dict[str, Any]`

No description available.

**diffs** `List[ConfigDiff]`

No description available.

**backup\_path** `Optional[str]`

No description available.

**residual\_findings** `Optional`

No description available.

**refused** `Optional`

No description available.

**applied** `bool`

No description available.

## Methods

> [card] [has\_changes()](https://praison.ai/docs/sdk/reference/praisonaiagents/functions/RepairPlan-has_changes.md)
>
> True if any rule proposed a change.

> [card] [render\_diffs()](https://praison.ai/docs/sdk/reference/praisonaiagents/functions/RepairPlan-render_diffs.md)
>
> Render all per-rule unified diffs joined together.

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/runtime/doctor_protocol.py#L50)
>
> `praisonaiagents/runtime/doctor_protocol.py` at line 50


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.