lumenflow:pre-commit-check
lumenflow:pre-commit-check
Section titled “lumenflow:pre-commit-check”Run enforcement checks used by pre-commit and CI
Options:
| Flag | Description | Required |
|---|---|---|
--ci | Use CI diff mode (range-based) instead of staged diff mode | No |
--base <ref> | Base git ref/sha for CI mode | No |
--head <ref> | Head git ref/sha for CI mode (default: HEAD) | No |
--project-root <path> | Original checkout for pre-push Git history and workspace policy when using a primary installed CLI | No |
--pre-push | Read published refs from stdin, run opt-in local Gitleaks committed-content scanning, then validate lifecycle commit ranges | No |