Analysis Provenance

•
34
•

Identifies code ownership and provenance to prevent accidental modification of upstream tools and dependencies.

Analysis Provenance is a specialized utility designed to determine whether a file is local to a project, part of an upstream dependency, or vendored from an external source. By analyzing file headers, package manifests, and directory structures, it provides actionable guidance on whether to modify a file directly or adjust its configuration. This is particularly useful when working with validators, linters, and tool configurations where direct changes to upstream files would be lost during updates, ensuring long-term project maintainability.

主要功能

01Deep file header scanning for copyright notices and generation markers
02Cross-platform support for npm, pip, NuGet, and Git submodules
03Automated ownership detection (UPSTREAM, LOCAL, VENDOR, UNKNOWN)
0434 GitHub stars
05Actionable recommendations for configuration overrides vs. direct edits
06JSON output support for integration into automated CI/CD pipelines

使用场景

01Verifying if a linter configuration is project-owned or a dependency before editing
02Auditing vendored third-party code to ensure proper upstream tracking
03Preventing 'lost changes' in dependency folders during package updates