Skip to content

Bound --changed output and fail outside Git #14

Closed

Description

@ElbertePlinio

A Pi completion hook ran from /home/dev/Projects, where no Git repository exists. The CLI fallback scanned every child project and injected 17,113 violations across 12,191 files into one model turn.

  • Make check --changed fail without a Git HEAD instead of scanning the cwd
  • Default changed checks to a summary capped at 20 paths
  • Add scoped --verbose and explicit --summary modes
  • Use the compact renderer in every native hook
  • Keep complete JSON output compatible
  • Add regression tests and release v0.2.1

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions