Skip to content

fix(cli): report recursive root scope exclusions - #1180

Merged
rng1995 merged 5 commits into
mainfrom
naren/recursive-scope-exclusions
Nov 24, 2026
Merged

rng1995 merged 5 commits into
mainfrom
naren/recursive-scope-exclusions

Conversation

@rng1995

@rng1995 rng1995 commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Report configured collection-root exclusions as bounded out_of_scope records in recursive JSON and SARIF and list the paths in Markdown and terminal output.
  • Preserve the discovered children, completeness, risk and strict exit behavior for legitimate exclusions.

Verification

  • pytest -q tests/test_multi_skill.py tests/unit/test_cli.py passed 609 tests.
  • Ruff lint, formatting and git diff --check passed.
  • A freshly installed wheel reported .git/ and .venv/ in all four formats with strict exit 0. A scan limited to one child kept the exclusions and returned strict exit 1.

@rng1995
rng1995 marked this pull request as ready for review November 24, 2026 04:07

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the recursive scope change. The exclusion records are limited to the existing configured root names. They stay separate from omitted skills and leave strict exit behavior intact. The CLI and discovery suite passed all 609 cases, including the four report formats and the aggregate budget control. Ruff checks also passed. The hosted CI run for the updated head has been restarted.

@rng1995
rng1995 merged commit 10d0815 into main Nov 24, 2026
@rng1995
rng1995 deleted the naren/recursive-scope-exclusions branch November 24, 2026 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant