Audit fix
audit_fix
MCP tool for deterministic test-suite auto-fixing.
AuditFixTool
Bases: AXMTool
Run the deterministic test-suite fix pipeline.
Registered as audit_fix via axm.tools entry point.
Source code in packages/axm-audit/src/axm_audit/tools/audit_fix.py
name
property
Return tool name for registry lookup.
execute(*, path='.', apply=False, rules=None, **kwargs)
Run the fix pipeline on a project.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path
|
str
|
Path to project root. |
'.'
|
apply
|
bool
|
If True, mutate the tree; otherwise dry-run. |
False
|
rules
|
list[str] | None
|
Optional list of rule ids to filter the pipeline. |
None
|
Returns:
| Type | Description |
|---|---|
ToolResult
|
ToolResult with a JSON-serializable |
ToolResult
|
human-readable |