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
report: locked and not-checked rules carry a machine-readable reason (plan, provider error, unsupported here) #1734
Today a cloud report's locked rules all get one message chosen by plan alone (lockedRulesMessage in packages/report/src/locked-rules.ts), and LockedRule in core-contracts is { id, name } with no reason. So a Team-plan audit whose archive-indexing provider failed is told "the cloud service may have been temporarily unavailable", and an agent cannot tell whether the plan excludes the rule, a provider failed, or the check cannot run in that environment. It either retries (spending credits) or trusts a result that never ran.
The private cloud already knows the cause for a failed service (the prefetch records it with its reason) and will fill the new field once this ships.
Acceptance Criteria
LockedRule (and each notChecked entry) carries a reason code from a closed set: at least plan, provider_error, unsupported_environment, plus a free-text detail.
Every report format (html, llm, markdown, json, text, xml) renders a message that matches the code: a plan reason names the plan, a provider_error says a re-run may help, and unsupported_environment says where the check can run.
A report whose locked rules carry no reason (older publishers) renders today's wording unchanged.
Tests cover each code in the llm and html formats, plus the no-reason fallback.
docs/reports.mdx describes the reasons, and the PR states whether the agent skill needs a change.
Activity
fix(report): white-label XML drops the locked-rules block, like the h…
feat(report): locked and not-checked rules carry a machine-readable r…
fix(report): white-label XML drops the locked-rules block, like the h…
nc9 commentedon Nov 12, 2026
Shipped in v0.0.179: https://github.com/squirrelscan/squirrelscan/releases/tag/v0.0.179
Acceptance criteria checked against the tag; the change is f159390.
nik