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
audit: exit code and JSON ignore findings accepted with --force (audit_accepted) #869
Version: skillshare v0.30.6 (also seen on v0.30.4 and v0.30.5), macOS, global mode.
What happens
Findings accepted with install --force / update --force are recorded in .metadata.json under audit_accepted, and later update runs skip them (audit.md "Update-time", update.md). skillshare audit itself does not use those acceptances: with every HIGH/CRITICAL finding accepted, skillshare audit -g --profile strict --threshold high still exits 1 and lists the accepted skills under failedSkills.
Steps
Install a skill whose content has a HIGH finding, accept it with --force.
skillshare audit -g --threshold high --format json --yes --no-tui; echo $? → 1, the skill is in summary.failedSkills, nothing in the output says the finding was accepted.
Why it matters
An unattended job (a timed sync, a pre-push or CI gate) cannot use the exit code as its gate, because one accepted finding fails it forever. The workaround is to re-compute Skillshare's acceptance keys outside Skillshare and compare them with audit_accepted — which depends on internal details (key format, hidden acceptance context) and breaks when they change.
Request
Either let audit honour audit_accepted (for example an accepted flag on each finding in the JSON, and an exit code that ignores accepted findings, perhaps behind --respect-accepted), or document how a gate should combine audit with the acceptance record.
Activity
feat(audit): honor findings accepted with --force via --respect-accep…