axint.repair
Diagnose and fix existing app bugs by analyzing project files, build logs, UI symptoms, and runtime errors. Provides a ranked repair plan with privacy-safe feedback artifacts.
Instructions
Plan a project-aware Apple repair for existing apps. Indexes the local project, classifies build/UI/runtime evidence, runs Cloud Check when source is provided, ranks likely SwiftUI/App files, returns a... Use: use for existing app bugs with logs, UI symptoms, or runtime evidence; not for greenfield generation. Effects: writes .axint/repair and privacy-safe .axint/feedback artifacts; reads local project files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project directory. Defaults to the MCP process cwd. | |
| issue | Yes | The broken behavior or repair goal, e.g. 'comment box is visible but cannot be tapped'. | |
| source | No | Optional inline Swift source for the suspected file. Source is not included in the feedback packet. | |
| sourcePath | No | Optional suspected Swift file path. Axint reads it locally for Cloud Check and project anchoring. | |
| fileName | No | Display file name when passing inline source. | |
| platform | No | Target Apple platform hint. | |
| agent | No | Active host/tool lane. Axint adapts the repair plan so Codex/Claude/Cursor avoid Xcode-only write tools. | |
| expectedBehavior | No | Optional expected behavior for the failing feature. | |
| actualBehavior | No | Optional observed behavior from the failing run. | |
| xcodeBuildLog | No | Optional Xcode build/test log evidence. | |
| testFailure | No | Optional focused unit/UI-test failure text. | |
| runtimeFailure | No | Optional crash, freeze, hang, or runtime failure text. | |
| changedFiles | No | Changed files to pin into the project context pack. | |
| projectContextPath | No | Optional .axint/context/latest.json path. | |
| writeReport | No | Whether to write .axint/repair/latest.json and latest.md. Defaults to true. | |
| writeFeedback | No | Whether to write a privacy-safe .axint/feedback packet. Defaults to true. | |
| format | No | Output format. markdown returns the report, json returns structured data, and prompt returns the agent... |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Primary Axint tool response text, matching the first text content block. | |
| isError | No | Whether Axint marked the tool response as an error. |