You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Locked-rule reason codes: add a 'credits' reason for audits that ran out of credits #1792
Locked and not-checked rules carry a machine-readable reason (#1734): plan, provider_error or unsupported_environment. A cloud audit that runs out of credits partway has no fitting code. The cloud currently reports it as unsupported_environment with a detail sentence ("The audit ran out of credits. Add credits, then re-run the audit."). That never blames the plan, but the label is a stretch, and an agent reading the code can't tell "add credits" apart from "this can't run in the cloud".
Acceptance Criteria
The public reason set has a credits value, documented beside the others
The report renderers (console, text, markdown, html, llm, json) group and word credits locked rules on their own ("ran out of credits: add credits and re-run"), never as a plan or environment limit
Older readers that don't know credits fall back to the generic wording without failing
Tests cover the new code in each renderer and in the contract schema
Activity
feat(core-contracts,report): locked-rule reason 'credits': an audit t…
feat(core-contracts,report): locked-rule reason 'credits': an audit t…
feat(core-contracts,report): locked-rule reason 'credits': an audit t…