Skip to content

fix: ignore symlinked root metadata in TypeScript inventory - #12

Merged
cmdr-chara merged 1 commit into
mainfrom
fix/typescript-inventory-root-symlinks
Aug 18, 2026
Merged

fix: ignore symlinked root metadata in TypeScript inventory#12
cmdr-chara merged 1 commit into
mainfrom
fix/typescript-inventory-root-symlinks

Conversation

@cmdr-chara

Copy link
Copy Markdown
Owner

Summary

  • ignore a symlinked root package.json instead of parsing external package metadata
  • ignore symlinked root lint/build config candidates
  • align direct root probes with the existing symlink-safe repository walker

Why

The inventory walker already excludes symlinked files and directories, but package_summary() and config_files() bypassed it. A repository could therefore expose metadata from outside the requested root through root-level symlinks, producing misleading ownership and tooling signals.

Scope

Owned regular files keep the same behavior; no source scanning or JSONC parsing changes.

@cmdr-chara
cmdr-chara marked this pull request as ready for review August 18, 2026 22:52
@cmdr-chara
cmdr-chara merged commit 276e25a into main Aug 18, 2026
1 check passed
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