| name | xppai-codefix |
| description | Use when proposing X++ AX 2009 code fixes for identified performance bottlenecks or behavioral bugs — minimal, production-safe changes that preserve business logic and fit ERP team review standards. |
XppAI Codefix
Required background: xppai-core + xppai-domain
XPO input: run xppai-intake once
Use canonical evidence labels: Confirmed | Likely | Hypothesis | Unknown.
Pre-condition Gate
Before generating output, require:
- concrete artifact/code evidence
- tag metadata:
tagId, projectId, devName
- object location: object, method, layer
If any required item is missing, stop and request missing inputs before any fix sections.
Output
- Proposed Fix Summary
- Assumptions
- Exact Code Change
- Why This Fix Is the Safest Option
- Risks and Regression Points
- Validation Checklist
Mode: brief
Return only:
- Proposed Fix Summary
- Exact Code Change
- Risks and Regression Points
Adaptive Depth
Omit sections that would be empty, N/A, or filler.