Check a change against adopted rules
archprint_checkCheck the current change, including uncommitted edits, against the repo's architecture rules and report only violations it introduces or fixes, before finishing.
Instructions
Check the current change, including uncommitted edits, against the rules this repo adopted with archprint init or generate, and report only the violations the change introduces (file, line, rule, and the evidence for the rule), plus those it fixed and any exceptions allowed with a reason in .archprint/config.json. Use it before finishing a change. Compares with base (a branch or commit, default origin/HEAD). Read-only: the files of the base commit are copied to a temporary folder outside the repo and deleted afterwards; it runs no git hooks and changes nothing in the repo. Returns status "skipped" with the reason when the repo has not adopted rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | branch or commit to compare against (default origin/HEAD) | |
| path | No | repository directory where archprint was set up, on this machine (default ".") |