Repository navigation
docs(discovery): clarify aliases into excluded directories - #785
Conversation
Explain that internal aliases are skipped and their real targets remain subject to discovery exclusions. Signed-off-by: YMuskrat <Y.Laaouach@sussex.ac.uk>
chrisknvidia
left a comment
There was a problem hiding this comment.
Thanks, this reads right. I checked the wording against the walk: an in-tree alias is skipped and its real target goes through the normal exclusions, so an alias into node_modules is ignored silently, while an alias to a directory outside the scan root is still inspected and reported as a linked skill directory. That matches what the comment now says, and the exclusion-scoping change that landed in #746 only touched the validator-side rglob discovery, so nothing else needs updating here. No changelog entry is needed for a comment-only change.
The branch is behind main and main requires branches to be up to date; since maintainer edits are off on this fork, could you click Update branch when you get a chance?
rng1995
left a comment
There was a problem hiding this comment.
Thank you for the contribution! The revised comment matches discovery's handling of internal aliases and excluded real targets. Reviewed the surrounding traversal and exclusion behavior; helper and catalog-discovery tests passed (61 tests). No actionable issues found.
Summary
Clarify the internal-directory-alias comment: aliases are skipped, and targets such as
node_modulesstill follow normal discovery exclusions. This changes no discovery behavior.Follow-up to the non-blocking note on #210.
Verification
make lintpassedmake buildproduced the wheel and source distributionmake test: 2,645 passed, 3 skipped, 4 failed before the configured failure limit. All four failing cases also fail on unchanged upstreamaffe1acwith the same dependencies and isolated temporary directory. They concern Tier 2 reporting, GitLab's hard-coded /tmp path, ambient provider validation, and generated-output provenance. A full-suite pass is not claimed.Validated with Python 3.12 and the committed dependency lock. No new test is needed for this comment-only correction.
Release Impact