Compare exported OAuth scope definitions, client grants and operation requirements. Reports the least-required set for each operation, the operations no grant covers, and the grants nothing requires.
This walkthrough uses the tool's public README and checked-in example files. Run the command from a repository checkout with Node.js 22+.
Run the checked-in example
npm run example # examples/clean, exits 0
node bin/oauth-scope-matrix.mjs --root examples/broken; echo $? # 1
node bin/oauth-scope-matrix.mjs --root examples/incomplete; echo $? # 2Read the result
The rule catalog, the limits and the supported input dialect are in docs/scope-matrix-rules.md.
Scope
What a pass means. The three documents are consistent with one another: every operation is covered by at least one client, and every scope named is one the catalog declares. That is the whole claim.