Skip to content

cli: report --input drops meta.partialAudit (and publishes without it) #2102

Closed

Description

@nc9

convertSlimReport (apps/cli/src/controllers/report.ts) does not read meta.partialAudit, so squirrel report --input audit.json (and --publish of it) loses the partial-audit marker that the JSON file carries. Found in pub#1949's fix round (repo#1082); pub#1949 documents --input as an exception until this lands.

Acceptance Criteria

  • squirrel report --input <file> -f json of a rule-filtered audit's JSON carries meta.partialAudit (validated: arrays of short strings, bounded length).
  • squirrel report --input <file> --publish payload carries partialAudit and decides through reportPublishDecision.
  • A JSON file without the field yields no marker.
  • docs/configuration/output.mdx no longer lists --input as an exception.

nik

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugclisize: S

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions