repo-lint · sarj-repo-lint
CLI
15 cataloged commands
repo-lint capabilities
Describe the stable machine capabilities without inspecting a repository.
repo-lint catalog
Export the deterministic public product, rule, command, and schema catalog.
repo-lint check
Analyze one repository manifest.
root- Path · optional
--manifest- str · optional
--baseline- str · optional
--policy- str · optional
--mode- Mode · optional · report | ratchet | strict
--format- OutputFormat · optional · json | pretty-json | text
--as-of- str · optional
Deterministic YYYY-MM-DD
--github-repository- str · optional
GitHub owner/name override for optional read-only delivery evidence.
--require-github-evidence- bool · optional
Exit 2 unless configured GitHub evidence is complete.
repo-lint explain
Explain one immutable rule.
rule_id- str · required
--policy- str · optional
repo-lint github
Audit committed GitHub workflows, with or without a repository manifest.
root- Path · optional
--format- OutputFormat · optional · json | pretty-json | text
--github-repository- str · optional
GitHub owner/name for explicit read-only branch and repository evidence.
repo-lint inspect
Inventory tracked inert repository metadata without requiring a manifest.
root- Path · optional
--kind- str · optional
Filter: all, project, workflow, cloudbuild, dockerfile, terraform, openapi.
--path-prefix- str · optional
Filter by repository path prefix.
--limit- str · optional
Page size from 1 through 500.
--cursor- str · optional
Opaque cursor returned by the prior page.
repo-lint pull-request size
Calculate review-sized churn while excluding tests and declared generated artifacts.
root- Path · optional
--base- str · optional
Trusted base revision used for diff and policy.
--head- str · optional
Head revision to compare with the base.
--generated-attribute- str · optional
Git attribute that marks repository-specific excluded artifacts.
--format- OutputFormat · optional · json | pretty-json | text
repo-lint report
Analyze one manifest without blocking on completed policy findings.
root- Path · optional
--manifest- str · optional
--policy- str · optional
--format- OutputFormat · optional · json | pretty-json | text
--as-of- str · optional
Deterministic YYYY-MM-DD
--github-repository- str · optional
GitHub owner/name override for optional read-only delivery evidence.
--require-github-evidence- bool · optional
Exit 2 unless configured GitHub evidence is complete.
repo-lint rest check
Check one committed OpenAPI contract from the exact selected Git tree.
root- Path · optional
--spec- str · optional
Exact tracked OpenAPI entry path; inferred only when unambiguous.
--semantics- str · optional
Optional exact tracked contract-semantics JSON path.
--enforcement- RestEnforcement · optional · report | strict
report or strict; incomplete evidence always exits 2.
repo-lint rest discover
Discover committed OpenAPI entry candidates without importing application code.
root- Path · optional
repo-lint rest doctor
Return the installed capability handshake and inert repository detection.
root- Path · optional
repo-lint rest explain
Explain one immutable REST/OpenAPI rule without scanning a repository.
rule_id- str · required
repo-lint rest rules
List the immutable REST/OpenAPI RuleProblem catalog.
repo-lint rules
List installed policy rules as bounded deterministic JSON.
--policy- str · optional
--rule-prefix- str · optional
Filter rule IDs by prefix.
--severity- str · optional
Filter by warning or error.
--limit- str · optional
Page size from 1 through 500.
--cursor- str · optional
Opaque cursor returned by the prior page.
repo-lint schema
Print the report JSON Schema.
document- str · optional