You shouldn't be finding violations in code review.
Your agent can't finish its turn while a rule is unresolved. It fixes the violation, or a named reviewer approves the deviation.
- Rule
- MUST NOT call malloc, calloc, realloc or free outside startup.
- Tags
- misra-c-2012 · rule-21.3 · required · deviable
- Agent's reason
- "The vendor BSP allocates its ring buffer once during init and never frees it. I cannot reach that code. Requesting a deviation."
Approve it and the decision is on the record: the rule, the reason, the file, who said yes, and when. Your next audit gets an answer instead of a shrug.
