Skip to content

audit: exit code and JSON ignore findings accepted with --force (audit_accepted) #869

Closed

Description

@vieGPT

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

  1. Install a skill whose content has a HIGH finding, accept it with --force.
  2. 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.

Related: #598 (show/annotate/revoke accepted findings).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions