checkOwners CLI auto-generates CODEOWNERS files from git history with confidence scores
An open-source command-line tool called checkOwners has been released to help software teams maintain accurate code ownership files by analyzing git history instead of relying on manually written records. The tool reads git log and git blame data to assign confidence scores between 0 and 1 to each path-owner pair, factoring in commit recency, frequency, blame coverage, and optional pull request review activity. It can detect second-order risks such as bus factor exposure, expertise decay, team topology, and reviewer overload. checkOwners integrates natively with CI pipelines through a composite GitHub Action that tracks ownership drift on pull requests and can fail builds when committed CODEOWNERS files diverge from inferred reality. The tool requires no large language models and is installable via pip, with all commands supporting structured JSON output.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in