code-standards 7.1.5__tar.gz → 7.1.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {code_standards-7.1.5 → code_standards-7.1.7}/PKG-INFO +1 -1
- {code_standards-7.1.5 → code_standards-7.1.7}/pyproject.toml +1 -1
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/api.py +1 -16
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/cli/main.py +152 -18
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/cli-reference.v1.json +1 -1
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/diagnostics/baseline.py +22 -2
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/linting/external.py +15 -7
- {code_standards-7.1.5 → code_standards-7.1.7}/.gitignore +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/LICENSE +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/README.md +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/__init__.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/__main__.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/_meta.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/cli/__init__.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/basedpyright.python315-watch.json +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/basedpyright.strict.json +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/doctor.config.json +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/eslint-compact-formatter.mjs +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/eslint.application.mjs +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/eslint.peers.json +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/eslint.strict.mjs +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/markdownlint.strict.yaml +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/pyright.strict.json +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/ruff.application.toml +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/ruff.python315-watch.toml +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/ruff.strict.toml +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/rule-inventory.v1.json +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/rule-ledger.json +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/rule-warning-levels.v1.json +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/taplo.strict.toml +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/yamllint.strict.yaml +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/__init__.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/adoption/__init__.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/adoption/configs.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/adoption/doctor.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/adoption/exclusions.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/adoption/hooks.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/adoption/launcher.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/adoption/lifecycle.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/adoption/manifest.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/adoption/packagemanager.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/adoption/retired_suppressions.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/adoption/scaffold.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/adoption/service.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/adoption/transaction.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/adoption/upgrade.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/adoption/uvtool.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/catalogs/__init__.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/catalogs/slack_automations.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/corpus/__init__.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/corpus/manifest.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/corpus/snapshot.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/diagnostics/__init__.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/diagnostics/analysis.schema.json +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/diagnostics/models.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/diagnostics/serialize.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/diagnostics/source.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/filesystem.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/linting/__init__.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/linting/analysis.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/linting/library_policy.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/linting/policy.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/linting/runner.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/linting/textlint.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/release/__init__.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/release/_values.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/release/artifacts.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/release/causality.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/release/changes.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/release/process.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/release/publish.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/release/registry.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/release/release_age.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/release/rollout.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/release/tags.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/release/typescript.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/__init__.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/cli_reference_artifact.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/comment_corpus.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/config_generation.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/docs.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/hooks.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/ledger.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/repository.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/rule_authoring.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/rule_catalog_artifact.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/rule_changes.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/rule_inventory_artifact.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/rule_lifecycle.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/rule_maintenance.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/rules/__init__.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/rules/catalog.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/rules/contracts.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/rules/corpus_runner.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/rules/evaluation.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/setup/__init__.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/setup/repository.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/py.typed +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/schemas/__init__.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/schemas/_paths.py +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/schemas/rule-catalog.v1.json +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/schemas/rule-catalog.v1.schema.json +0 -0
- {code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/schemas/slack-automations.v1.schema.json +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: code-standards
|
|
3
|
-
Version: 7.1.
|
|
3
|
+
Version: 7.1.7
|
|
4
4
|
Summary: One deterministic quality gate for Sarj Python, TypeScript, SQL, IaC, and repository policy.
|
|
5
5
|
Project-URL: Homepage, https://code-standards.sarj.ai/
|
|
6
6
|
Project-URL: Documentation, https://code-standards.sarj.ai/cli/
|
|
@@ -655,22 +655,7 @@ def _analysis_inputs(root: Path, paths: Sequence[str] | None, *, mode: AnalysisM
|
|
|
655
655
|
|
|
656
656
|
|
|
657
657
|
def _with_tracked_terraform_tests(root: Path, selected: list[str]) -> list[str]:
|
|
658
|
-
|
|
659
|
-
if git is None:
|
|
660
|
-
return selected
|
|
661
|
-
completed = subprocess.run( # ruff: ignore[subprocess-without-shell-equals-true] -- fixed git argv.
|
|
662
|
-
(git, "-C", str(root), "ls-files", "-z"),
|
|
663
|
-
check=False,
|
|
664
|
-
capture_output=True,
|
|
665
|
-
)
|
|
666
|
-
if completed.returncode != 0:
|
|
667
|
-
return selected
|
|
668
|
-
tracked = [
|
|
669
|
-
str(root / item)
|
|
670
|
-
for item in completed.stdout.decode("utf-8", errors="replace").split("\0")
|
|
671
|
-
if item.casefold().endswith((".tftest.hcl", ".tftest.json"))
|
|
672
|
-
]
|
|
673
|
-
return list(dict.fromkeys((*selected, *tracked)))
|
|
658
|
+
return list(dict.fromkeys((*selected, *diagnostic_baseline.tracked_terraform_test_paths(root))))
|
|
674
659
|
|
|
675
660
|
|
|
676
661
|
def _rule_selection(values: Sequence[str | RuleSelector] | None) -> RuleSelection | None:
|
|
@@ -3,6 +3,7 @@ from __future__ import annotations
|
|
|
3
3
|
import argparse
|
|
4
4
|
from datetime import timedelta
|
|
5
5
|
from enum import StrEnum
|
|
6
|
+
from functools import lru_cache
|
|
6
7
|
import json
|
|
7
8
|
import os
|
|
8
9
|
from pathlib import Path
|
|
@@ -11,7 +12,8 @@ import shutil
|
|
|
11
12
|
import subprocess # ruff: ignore[suspicious-subprocess-import] -- repository commands report failures from fixed-argument child processes.
|
|
12
13
|
import sys
|
|
13
14
|
import tempfile
|
|
14
|
-
from
|
|
15
|
+
from types import MappingProxyType
|
|
16
|
+
from typing import TYPE_CHECKING, Final, NoReturn
|
|
15
17
|
|
|
16
18
|
from packaging.version import InvalidVersion, Version
|
|
17
19
|
|
|
@@ -26,7 +28,7 @@ from sarj_standards.libs.filesystem import is_link_like
|
|
|
26
28
|
|
|
27
29
|
|
|
28
30
|
if TYPE_CHECKING:
|
|
29
|
-
from collections.abc import Iterable, Sequence
|
|
31
|
+
from collections.abc import Iterable, Mapping, Sequence
|
|
30
32
|
|
|
31
33
|
from sarj_standards.libs.adoption import service
|
|
32
34
|
from sarj_standards.libs.diagnostics import AnalysisReport, Diagnostic
|
|
@@ -64,6 +66,19 @@ _REACT_DOCTOR_METADATA = frozenset(
|
|
|
64
66
|
}
|
|
65
67
|
)
|
|
66
68
|
_REACT_DOCTOR_TYPESCRIPT_SUFFIXES = frozenset({".js", ".jsx", ".mjs", ".cjs", ".ts", ".tsx", ".mts", ".cts"})
|
|
69
|
+
_BASELINE_RULE_SOURCE_ALIASES: Final[Mapping[str, str]] = MappingProxyType(
|
|
70
|
+
{
|
|
71
|
+
"sarj-iac-lint": "iac",
|
|
72
|
+
"sarj-python-lint": "python",
|
|
73
|
+
"sarj-sql-lint": "sql",
|
|
74
|
+
"sarj-text-lint": "text",
|
|
75
|
+
}
|
|
76
|
+
)
|
|
77
|
+
_BASELINE_RULE_ENGINE_SOURCES: Final[Mapping[str, str]] = MappingProxyType(
|
|
78
|
+
{engine: source for source, engine in _BASELINE_RULE_SOURCE_ALIASES.items()}
|
|
79
|
+
)
|
|
80
|
+
_REACT_DOCTOR_RULE_SOURCES: Final = frozenset({"react-doctor", "react-hooks-js"})
|
|
81
|
+
_REACT_DOCTOR_RULE_PREFIXES: Final = tuple(f"{source}/" for source in sorted(_REACT_DOCTOR_RULE_SOURCES))
|
|
67
82
|
|
|
68
83
|
|
|
69
84
|
class _EvaluationScope(StrEnum):
|
|
@@ -1685,11 +1700,11 @@ def cmd_baseline(args: _Args) -> int:
|
|
|
1685
1700
|
try:
|
|
1686
1701
|
# `analyze` rejects anything outside the repository, so normalize the paths a
|
|
1687
1702
|
# caller naturally types (absolute, or relative to the shell) before handing over.
|
|
1688
|
-
selected =
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1703
|
+
selected = _baseline_selected_paths(
|
|
1704
|
+
root,
|
|
1705
|
+
args.files,
|
|
1706
|
+
scoped=args.baseline_cmd == "update" and bool(args.baseline_rules),
|
|
1707
|
+
)
|
|
1693
1708
|
except ValueError as exc:
|
|
1694
1709
|
print(f"error: {exc}", file=sys.stderr)
|
|
1695
1710
|
return 2
|
|
@@ -1727,18 +1742,14 @@ def cmd_baseline(args: _Args) -> int:
|
|
|
1727
1742
|
),
|
|
1728
1743
|
)
|
|
1729
1744
|
reports.append(external)
|
|
1745
|
+
if _react_doctor_rules_for_baseline(args.baseline_rules):
|
|
1746
|
+
reports.append(_react_doctor_baseline_report(root, selected, trust))
|
|
1730
1747
|
blocked = [issue for report in reports for issue in report.issues if issue.kind != "baseline-failure"]
|
|
1731
1748
|
if blocked:
|
|
1732
1749
|
for issue in blocked:
|
|
1733
1750
|
print(f"error: {issue.kind}: {issue.message}", file=sys.stderr)
|
|
1734
1751
|
return 2
|
|
1735
|
-
eligible =
|
|
1736
|
-
item
|
|
1737
|
-
for report in reports
|
|
1738
|
-
for item in report.diagnostics
|
|
1739
|
-
if baseline.is_baselineable(item)
|
|
1740
|
-
and (not upstream_eslint or report is not reports[-1] or _diagnostic_matches(item, upstream_eslint))
|
|
1741
|
-
)
|
|
1752
|
+
eligible = _eligible_baseline_diagnostics(reports, args.baseline_rules)
|
|
1742
1753
|
provenance = {
|
|
1743
1754
|
"bundle_version": __version__,
|
|
1744
1755
|
"consumer_base_sha": baseline.repository_base_sha(root),
|
|
@@ -1748,7 +1759,12 @@ def cmd_baseline(args: _Args) -> int:
|
|
|
1748
1759
|
if not output.is_file():
|
|
1749
1760
|
print(f"error: scoped diagnostic baseline update requires an existing baseline: {output}", file=sys.stderr)
|
|
1750
1761
|
return 2
|
|
1751
|
-
rendered = baseline.merge_scoped(
|
|
1762
|
+
rendered = baseline.merge_scoped(
|
|
1763
|
+
output,
|
|
1764
|
+
eligible,
|
|
1765
|
+
selectors=_baseline_merge_selectors(args.baseline_rules),
|
|
1766
|
+
**provenance,
|
|
1767
|
+
)
|
|
1752
1768
|
else:
|
|
1753
1769
|
rendered = baseline.render(eligible, **provenance)
|
|
1754
1770
|
try:
|
|
@@ -1766,15 +1782,67 @@ def cmd_baseline(args: _Args) -> int:
|
|
|
1766
1782
|
return 0
|
|
1767
1783
|
|
|
1768
1784
|
|
|
1785
|
+
def _baseline_selected_paths(root: Path, files: Sequence[str], *, scoped: bool) -> list[str] | None:
|
|
1786
|
+
from sarj_standards.libs.diagnostics import baseline # ruff: ignore[import-outside-top-level]
|
|
1787
|
+
|
|
1788
|
+
selected = _selected_paths(root, files) if files else None
|
|
1789
|
+
if selected is not None or not scoped or (adopted := manifest.load(root)) is None:
|
|
1790
|
+
return selected
|
|
1791
|
+
verified = (str(root / path) for path in adopted.verify_paths)
|
|
1792
|
+
return list(dict.fromkeys((*verified, *baseline.tracked_terraform_test_paths(root))))
|
|
1793
|
+
|
|
1794
|
+
|
|
1795
|
+
def _react_doctor_baseline_report(root: Path, selected: Sequence[str] | None, trust: str) -> AnalysisReport:
|
|
1796
|
+
from sarj_standards.libs.linting.analysis import ( # ruff: ignore[import-outside-top-level]
|
|
1797
|
+
report_from_tools,
|
|
1798
|
+
)
|
|
1799
|
+
from sarj_standards.libs.linting.external import ( # ruff: ignore[import-outside-top-level]
|
|
1800
|
+
analyze_external,
|
|
1801
|
+
)
|
|
1802
|
+
|
|
1803
|
+
return report_from_tools(
|
|
1804
|
+
root,
|
|
1805
|
+
analyze_external(
|
|
1806
|
+
selected or [str(root)],
|
|
1807
|
+
root=root,
|
|
1808
|
+
trust=trust,
|
|
1809
|
+
capabilities=frozenset({"react-doctor"}),
|
|
1810
|
+
include_react_doctor=True,
|
|
1811
|
+
force_react_doctor=True,
|
|
1812
|
+
react_doctor_full_scan=True,
|
|
1813
|
+
),
|
|
1814
|
+
)
|
|
1815
|
+
|
|
1816
|
+
|
|
1817
|
+
def _eligible_baseline_diagnostics(
|
|
1818
|
+
reports: Sequence[AnalysisReport], selectors: Sequence[str]
|
|
1819
|
+
) -> tuple[Diagnostic, ...]:
|
|
1820
|
+
from sarj_standards.libs.diagnostics import baseline # ruff: ignore[import-outside-top-level]
|
|
1821
|
+
|
|
1822
|
+
selected = frozenset(_baseline_merge_selectors(selectors))
|
|
1823
|
+
return tuple(
|
|
1824
|
+
item
|
|
1825
|
+
for report in reports
|
|
1826
|
+
for item in report.diagnostics
|
|
1827
|
+
if baseline.is_baselineable(item) and (not selectors or _diagnostic_matches(item, selected))
|
|
1828
|
+
)
|
|
1829
|
+
|
|
1830
|
+
|
|
1769
1831
|
def _analysis_rules_for_baseline(selectors: Sequence[str]) -> list[str] | None:
|
|
1770
1832
|
if not selectors:
|
|
1771
1833
|
return None
|
|
1772
1834
|
normalized: list[str] = []
|
|
1773
1835
|
for selector in selectors:
|
|
1774
|
-
|
|
1836
|
+
source, separator, rule_id = selector.partition(":")
|
|
1837
|
+
if _is_react_doctor_selector(source=source, rule_id=rule_id, separator=bool(separator)):
|
|
1838
|
+
continue
|
|
1839
|
+
if separator and source in _BASELINE_RULE_SOURCE_ALIASES:
|
|
1840
|
+
normalized.append(f"{_BASELINE_RULE_SOURCE_ALIASES[source]}:{rule_id}")
|
|
1841
|
+
elif selector.startswith("eslint:@sarj/"):
|
|
1775
1842
|
normalized.append("eslint:" + selector.removeprefix("eslint:@sarj/"))
|
|
1776
1843
|
elif selector.startswith("eslint:"):
|
|
1777
|
-
|
|
1844
|
+
if selector in _baseline_catalog_selectors():
|
|
1845
|
+
normalized.append(selector)
|
|
1778
1846
|
else:
|
|
1779
1847
|
normalized.append(selector)
|
|
1780
1848
|
return normalized
|
|
@@ -1784,10 +1852,76 @@ def _upstream_eslint_rules_for_baseline(selectors: Sequence[str]) -> frozenset[s
|
|
|
1784
1852
|
return frozenset(
|
|
1785
1853
|
selector
|
|
1786
1854
|
for selector in selectors
|
|
1787
|
-
if selector.startswith("eslint:")
|
|
1855
|
+
if selector.startswith("eslint:")
|
|
1856
|
+
and not selector.startswith("eslint:@sarj/")
|
|
1857
|
+
and selector not in _baseline_catalog_selectors()
|
|
1858
|
+
and not _is_react_doctor_rule_id(selector.removeprefix("eslint:"))
|
|
1859
|
+
)
|
|
1860
|
+
|
|
1861
|
+
|
|
1862
|
+
def _react_doctor_rules_for_baseline(selectors: Sequence[str]) -> frozenset[str]:
|
|
1863
|
+
return frozenset(
|
|
1864
|
+
selector
|
|
1865
|
+
for selector in selectors
|
|
1866
|
+
if (source := selector.partition(":")[0]) in _REACT_DOCTOR_RULE_SOURCES
|
|
1867
|
+
or (source == "eslint" and _is_react_doctor_rule_id(selector.partition(":")[2]))
|
|
1868
|
+
)
|
|
1869
|
+
|
|
1870
|
+
|
|
1871
|
+
def _is_react_doctor_selector(*, source: str, rule_id: str, separator: bool) -> bool:
|
|
1872
|
+
return separator and (
|
|
1873
|
+
source in _REACT_DOCTOR_RULE_SOURCES or (source == "eslint" and _is_react_doctor_rule_id(rule_id))
|
|
1788
1874
|
)
|
|
1789
1875
|
|
|
1790
1876
|
|
|
1877
|
+
def _is_react_doctor_rule_id(rule_id: str) -> bool:
|
|
1878
|
+
return rule_id.startswith(_REACT_DOCTOR_RULE_PREFIXES)
|
|
1879
|
+
|
|
1880
|
+
|
|
1881
|
+
def _baseline_merge_selectors(selectors: Sequence[str]) -> tuple[str, ...]:
|
|
1882
|
+
resolved: list[str] = []
|
|
1883
|
+
for selector in selectors:
|
|
1884
|
+
source, separator, rule_id = selector.partition(":")
|
|
1885
|
+
resolved.append(selector)
|
|
1886
|
+
native_source = _BASELINE_RULE_ENGINE_SOURCES.get(source)
|
|
1887
|
+
if separator and source == "eslint" and _is_react_doctor_rule_id(rule_id):
|
|
1888
|
+
plugin, _, plugin_rule_id = rule_id.partition("/")
|
|
1889
|
+
resolved.extend((f"react-doctor:{rule_id}", f"{plugin}:{plugin_rule_id}"))
|
|
1890
|
+
elif separator and source == "react-hooks-js":
|
|
1891
|
+
resolved.append(f"react-doctor:react-hooks-js/{rule_id}")
|
|
1892
|
+
elif separator and source == "react-doctor" and not _is_react_doctor_rule_id(rule_id):
|
|
1893
|
+
resolved.append(f"react-doctor:react-doctor/{rule_id}")
|
|
1894
|
+
elif separator and native_source is not None:
|
|
1895
|
+
resolved.append(f"{native_source}:{rule_id}")
|
|
1896
|
+
elif separator and source == "eslint" and selector in _baseline_catalog_selectors():
|
|
1897
|
+
resolved.append(f"eslint:@sarj/{rule_id}")
|
|
1898
|
+
return tuple(dict.fromkeys(resolved))
|
|
1899
|
+
|
|
1900
|
+
|
|
1901
|
+
@lru_cache(maxsize=1)
|
|
1902
|
+
def _baseline_catalog_selectors() -> frozenset[str]:
|
|
1903
|
+
from sarj_standards.libs.repository import rule_catalog_artifact # ruff: ignore[import-outside-top-level]
|
|
1904
|
+
|
|
1905
|
+
payload = rule_catalog_artifact.load()
|
|
1906
|
+
rules = payload.get("rules")
|
|
1907
|
+
if not isinstance(rules, list):
|
|
1908
|
+
msg = "invalid bundled rule catalog"
|
|
1909
|
+
raise TypeError(msg)
|
|
1910
|
+
values: list[object] = rules # pyright: ignore[reportUnknownVariableType]
|
|
1911
|
+
selectors: set[str] = set()
|
|
1912
|
+
for value in values:
|
|
1913
|
+
if not isinstance(value, dict):
|
|
1914
|
+
msg = "invalid bundled rule catalog selector"
|
|
1915
|
+
raise TypeError(msg)
|
|
1916
|
+
entry: dict[str, object] = value # pyright: ignore[reportUnknownVariableType]
|
|
1917
|
+
key = entry.get("key")
|
|
1918
|
+
if not isinstance(key, str):
|
|
1919
|
+
msg = "invalid bundled rule catalog selector"
|
|
1920
|
+
raise TypeError(msg)
|
|
1921
|
+
selectors.add(key)
|
|
1922
|
+
return frozenset(selectors)
|
|
1923
|
+
|
|
1924
|
+
|
|
1791
1925
|
def _diagnostic_matches(item: Diagnostic, selectors: frozenset[str]) -> bool:
|
|
1792
1926
|
return item.rule_id is not None and f"{item.source}:{item.rule_id}" in selectors
|
|
1793
1927
|
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/cli-reference.v1.json
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"commands":[{"commands":[],"name":"doctor","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":["text","json"],"kind":"option","metavar":"OUTPUT_FORMAT","names":["--format"],"repeatable":false,"required":false,"summary":"output format (default: text)"},{"choices":[],"kind":"option","metavar":null,"names":["--repair"],"repeatable":false,"required":false,"summary":"transactionally repair safe drift with the executing bundle, then re-diagnose"},{"choices":[],"kind":"option","metavar":null,"names":["--no-install"],"repeatable":false,"required":false,"summary":"with --repair, update configuration without installing dependencies or hooks"}],"path":["doctor"],"summary":"diagnose adoption health and optionally repair safe drift","usage":"code-standards doctor [-h] [--format OUTPUT_FORMAT] [--repair] [--no-install]"},{"commands":[],"name":"setup","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":["pre-commit","lefthook","none"],"kind":"option","metavar":"HOOKS","names":["--hooks"],"repeatable":false,"required":false,"summary":"hook manager (default: detect Lefthook, otherwise pre-commit)"},{"choices":[],"kind":"option","metavar":"PYTHON_DEST","names":["--python-dest"],"repeatable":false,"required":false,"summary":"the directory that owns pyproject.toml (default: detected)"},{"choices":[],"kind":"option","metavar":"TYPESCRIPT_DEST","names":["--typescript-dest"],"repeatable":false,"required":false,"summary":"the directory that owns the npm lockfile (default: detected)"},{"choices":[],"kind":"option","metavar":null,"names":["--dry-run"],"repeatable":false,"required":false,"summary":"print the complete plan without writing"},{"choices":[],"kind":"option","metavar":null,"names":["--force"],"repeatable":false,"required":false,"summary":"replace conflicting generated lint configuration after review"},{"choices":["standard","application"],"kind":"option","metavar":"PROFILE","names":["--profile"],"repeatable":false,"required":false,"summary":"policy profile to adopt (default: existing value, otherwise standard)"},{"choices":[],"kind":"option","metavar":null,"names":["--no-install"],"repeatable":false,"required":false,"summary":"write wiring without installing dependencies or hooks"},{"choices":["eslint","markdownlint","pyright","ruff","taplo","yamllint"],"kind":"option","metavar":"ONLY","names":["--config"],"repeatable":true,"required":false,"summary":"select one config explicitly (repeatable)"}],"path":["setup"],"summary":"adopt or converge the repository in one idempotent operation","usage":"code-standards setup [-h] [--hooks HOOKS] [--python-dest PYTHON_DEST] [--typescript-dest TYPESCRIPT_DEST] [--dry-run] [--force] [--profile PROFILE] [--no-install] [--config ONLY ...]"},{"commands":[],"name":"check","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":null,"names":["--trust-repository-code"],"repeatable":false,"required":false,"summary":"allow executable repository ESLint configuration (generated hooks and CI set this explicitly)"},{"choices":[],"kind":"option","metavar":null,"names":["--staged"],"repeatable":false,"required":false,"summary":"run custom rules on hook-supplied paths, or discover staged files when none are supplied"},{"choices":["text","json","sarif","github"],"kind":"option","metavar":"OUTPUT_FORMAT","names":["--format"],"repeatable":false,"required":false,"summary":""},{"choices":[],"kind":"option","metavar":"OUTPUT","names":["--output"],"repeatable":false,"required":false,"summary":"write JSON or SARIF atomically to PATH"},{"choices":["0","1","2","3","4","5","6","7","8","9","10"],"kind":"option","metavar":"MAX_ANNOTATIONS_PER_LEVEL","names":["--max-annotations-per-level"],"repeatable":false,"required":false,"summary":""},{"choices":[],"kind":"positional","metavar":"files","names":["files"],"repeatable":true,"required":false,"summary":"selected paths; when omitted, check the complete repository"}],"path":["check"],"summary":"run the complete quality gate or check selected paths","usage":"code-standards check [-h] [--trust-repository-code] [--staged] [--format OUTPUT_FORMAT] [--output OUTPUT] [--max-annotations-per-level MAX_ANNOTATIONS_PER_LEVEL] [files ...]"},{"commands":[],"name":"validate-slack-automations","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"positional","metavar":"PATH","names":["slack_catalog"],"repeatable":false,"required":true,"summary":""}],"path":["validate-slack-automations"],"summary":"validate a versioned Slack automation catalog","usage":"code-standards validate-slack-automations [-h] PATH"},{"commands":[],"name":"observe","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"SELECTED_RULES","names":["--rule"],"repeatable":true,"required":true,"summary":"canonical ENGINE:ID selector (repeatable)"},{"choices":["text","json","sarif","github"],"kind":"option","metavar":"OUTPUT_FORMAT","names":["--format"],"repeatable":false,"required":false,"summary":""},{"choices":[],"kind":"option","metavar":"OUTPUT","names":["--output"],"repeatable":false,"required":false,"summary":""},{"choices":[],"kind":"option","metavar":null,"names":["--trust-repository-code"],"repeatable":false,"required":false,"summary":"allow repository ESLint configuration to execute"},{"choices":[],"kind":"option","metavar":"MAX_ANNOTATIONS_PER_LEVEL","names":["--max-annotations-per-level"],"repeatable":false,"required":false,"summary":""},{"choices":[],"kind":"positional","metavar":"files","names":["files"],"repeatable":true,"required":false,"summary":"selected paths; defaults to adopted verification paths"}],"path":["observe"],"summary":"report warning-stage findings with exit 0; invalid input or execution still exits 2","usage":"code-standards observe [-h] --rule SELECTED_RULES ... [--format OUTPUT_FORMAT] [--output OUTPUT] [--trust-repository-code] [--max-annotations-per-level MAX_ANNOTATIONS_PER_LEVEL] [files ...]"},{"commands":[],"name":"fix","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":null,"names":["--staged"],"repeatable":false,"required":false,"summary":"fix only files staged in Git"},{"choices":[],"kind":"positional","metavar":"files","names":["files"],"repeatable":true,"required":false,"summary":"selected paths; when omitted, fix the complete repository"}],"path":["fix"],"summary":"apply safe formatting and lint fixes","usage":"code-standards fix [-h] [--staged] [files ...]"},{"commands":[],"name":"update","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":null,"names":["--check"],"repeatable":false,"required":false,"summary":"preview without writing; exit 1 when changes exist"},{"choices":[],"kind":"option","metavar":null,"names":["--offline"],"repeatable":false,"required":false,"summary":"reconverge the executing bundle and skip every network-dependent install; does not resolve latest"},{"choices":[],"kind":"option","metavar":"VERSION","names":["--to"],"repeatable":false,"required":false,"summary":"resolve and apply exactly this immutable coherent bundle version"},{"choices":[],"kind":"option","metavar":null,"names":["--no-install"],"repeatable":false,"required":false,"summary":"do not install dependencies or hooks"}],"path":["update"],"summary":"upgrade to the latest published coherent Standards bundle","usage":"code-standards update [-h] [--check] [--offline] [--to VERSION] [--no-install]"},{"commands":[{"commands":[],"name":"init","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"OUTPUT","names":["--output"],"repeatable":false,"required":false,"summary":"baseline JSON (default: diagnostic-baseline.json)"},{"choices":[],"kind":"option","metavar":null,"names":["--trust-repository-code"],"repeatable":false,"required":false,"summary":"run repository-local analyzers that execute project code"},{"choices":[],"kind":"positional","metavar":"files","names":["files"],"repeatable":true,"required":false,"summary":"paths to analyze (default: the whole repository)"}],"path":["baseline","init"],"summary":"record the first diagnostic baseline","usage":"code-standards baseline init [-h] [--output OUTPUT] [--trust-repository-code] [files ...]"},{"commands":[],"name":"update","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"OUTPUT","names":["--output"],"repeatable":false,"required":false,"summary":"baseline JSON (default: diagnostic-baseline.json)"},{"choices":[],"kind":"option","metavar":null,"names":["--trust-repository-code"],"repeatable":false,"required":false,"summary":"run repository-local analyzers that execute project code"},{"choices":[],"kind":"option","metavar":"BASELINE_RULES","names":["--rule"],"repeatable":true,"required":false,"summary":"replace debt only for this newly promoted rule (repeatable; source:RULE is also accepted)"},{"choices":[],"kind":"positional","metavar":"files","names":["files"],"repeatable":true,"required":false,"summary":"paths to analyze (default: the whole repository)"}],"path":["baseline","update"],"summary":"re-record the diagnostic baseline after reviewed cleanup","usage":"code-standards baseline update [-h] [--output OUTPUT] [--trust-repository-code] [--rule BASELINE_RULES ...] [files ...]"}],"name":"baseline","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["baseline"],"summary":"grandfather today's findings so only new ones fail","usage":"code-standards baseline [-h] {init,update}"},{"commands":[{"commands":[],"name":"init","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"BASELINE","names":["--baseline"],"repeatable":false,"required":false,"summary":"budget JSON (default: suppression-baseline.json)"},{"choices":[],"kind":"option","metavar":"PACKAGE","names":["--package"],"repeatable":true,"required":false,"summary":"Python package root (repeatable)"},{"choices":[],"kind":"option","metavar":"EXCLUDE_SUBTREE","names":["--exclude-subtree"],"repeatable":true,"required":false,"summary":"generated or vendored subtree to persistently exclude (repeatable)"}],"path":["ratchet","init"],"summary":"create the first suppression budget","usage":"code-standards ratchet init [-h] [--baseline BASELINE] [--package PACKAGE ...] [--exclude-subtree EXCLUDE_SUBTREE ...]"},{"commands":[],"name":"check","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"BASELINE","names":["--baseline"],"repeatable":false,"required":false,"summary":"budget JSON (default: suppression-baseline.json)"},{"choices":[],"kind":"option","metavar":"PACKAGE","names":["--package"],"repeatable":true,"required":false,"summary":"Python package root (repeatable)"},{"choices":[],"kind":"option","metavar":"EXCLUDE_SUBTREE","names":["--exclude-subtree"],"repeatable":true,"required":false,"summary":"generated or vendored subtree to persistently exclude (repeatable)"}],"path":["ratchet","check"],"summary":"fail when suppression debt grows","usage":"code-standards ratchet check [-h] [--baseline BASELINE] [--package PACKAGE ...] [--exclude-subtree EXCLUDE_SUBTREE ...]"},{"commands":[],"name":"status","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"BASELINE","names":["--baseline"],"repeatable":false,"required":false,"summary":"budget JSON (default: suppression-baseline.json)"},{"choices":[],"kind":"option","metavar":"PACKAGE","names":["--package"],"repeatable":true,"required":false,"summary":"Python package root (repeatable)"},{"choices":[],"kind":"option","metavar":"EXCLUDE_SUBTREE","names":["--exclude-subtree"],"repeatable":true,"required":false,"summary":"generated or vendored subtree to persistently exclude (repeatable)"}],"path":["ratchet","status"],"summary":"show current suppression debt and available reductions","usage":"code-standards ratchet status [-h] [--baseline BASELINE] [--package PACKAGE ...] [--exclude-subtree EXCLUDE_SUBTREE ...]"},{"commands":[],"name":"update","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"BASELINE","names":["--baseline"],"repeatable":false,"required":false,"summary":"budget JSON (default: suppression-baseline.json)"},{"choices":[],"kind":"option","metavar":"PACKAGE","names":["--package"],"repeatable":true,"required":false,"summary":"Python package root (repeatable)"},{"choices":[],"kind":"option","metavar":"EXCLUDE_SUBTREE","names":["--exclude-subtree"],"repeatable":true,"required":false,"summary":"generated or vendored subtree to persistently exclude (repeatable)"},{"choices":[],"kind":"option","metavar":null,"names":["--allow-increase"],"repeatable":false,"required":false,"summary":"permit a reviewed increase in suppression debt"}],"path":["ratchet","update"],"summary":"lock in reviewed suppression-budget changes","usage":"code-standards ratchet update [-h] [--baseline BASELINE] [--package PACKAGE ...] [--exclude-subtree EXCLUDE_SUBTREE ...] [--allow-increase]"}],"name":"ratchet","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["ratchet"],"summary":"keep the Python suppression budget from growing","usage":"code-standards ratchet [-h] {init,check,status,update}"},{"commands":[{"commands":[],"name":"list","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["exclude","list"],"summary":"list the complete denylist","usage":"code-standards exclude list [-h]"},{"commands":[],"name":"add","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":["path","rule"],"kind":"positional","metavar":"{path,rule}","names":["exclude_kind"],"repeatable":false,"required":true,"summary":""},{"choices":[],"kind":"positional","metavar":"value","names":["value"],"repeatable":false,"required":true,"summary":"repository-relative glob or canonical engine:rule selector"}],"path":["exclude","add"],"summary":"add one exact denylist entry","usage":"code-standards exclude add [-h] {path,rule} value"},{"commands":[],"name":"remove","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":["path","rule"],"kind":"positional","metavar":"{path,rule}","names":["exclude_kind"],"repeatable":false,"required":true,"summary":""},{"choices":[],"kind":"positional","metavar":"value","names":["value"],"repeatable":false,"required":true,"summary":"repository-relative glob or canonical engine:rule selector"}],"path":["exclude","remove"],"summary":"remove one exact denylist entry","usage":"code-standards exclude remove [-h] {path,rule} value"}],"name":"exclude","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["exclude"],"summary":"inspect or change explicit path and rule exclusions","usage":"code-standards exclude [-h] {list,add,remove}"},{"commands":[{"commands":[],"name":"state","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["show","state"],"summary":"print detected adoption state as JSON","usage":"code-standards show state [-h]"},{"commands":[],"name":"configs","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["show","configs"],"summary":"list bundled configurations","usage":"code-standards show configs [-h]"},{"commands":[],"name":"config","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":["eslint","markdownlint","pyright","ruff","taplo","yamllint"],"kind":"positional","metavar":"name","names":["name"],"repeatable":false,"required":true,"summary":""},{"choices":["standard","application"],"kind":"option","metavar":"PROFILE","names":["--profile"],"repeatable":false,"required":false,"summary":""}],"path":["show","config"],"summary":"print one bundled configuration path","usage":"code-standards show config [-h] name [--profile PROFILE]"},{"commands":[],"name":"peers","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["show","peers"],"summary":"show tested ESLint peer dependencies and install command","usage":"code-standards show peers [-h]"},{"commands":[],"name":"rules","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["show","rules"],"summary":"print the machine-readable custom-rule inventory","usage":"code-standards show rules [-h]"},{"commands":[],"name":"ci","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"OUTPUT","names":["--output"],"repeatable":false,"required":false,"summary":"write a managed workflow inside the repository"}],"path":["show","ci"],"summary":"print a complete pinned GitHub Actions standards workflow","usage":"code-standards show ci [-h] [--output OUTPUT]"}],"name":"show","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["show"],"summary":"print read-only package and adoption information","usage":"code-standards show [-h] {state,configs,config,peers,rules,ci}"},{"commands":[{"commands":[],"name":"setup","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":null,"names":["--check"],"repeatable":false,"required":false,"summary":"print the deterministic setup plan without executing it"}],"path":["maintain","setup"],"summary":"install every standards development environment and repository hook","usage":"code-standards maintain setup [-h] [--check]"},{"commands":[{"commands":[],"name":"check-tag","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"positional","metavar":"tag","names":["tag"],"repeatable":false,"required":true,"summary":""}],"path":["maintain","release","check-tag"],"summary":"require a release tag to match its package manifest","usage":"code-standards maintain release check-tag [-h] tag"},{"commands":[],"name":"verify-tags","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"RELEASE_COMMIT","names":["--commit"],"repeatable":false,"required":false,"summary":"also require existing tags to match this publishing commit or an unchanged package tree"}],"path":["maintain","release","verify-tags"],"summary":"verify all manifest release tags on origin","usage":"code-standards maintain release verify-tags [-h] [--commit RELEASE_COMMIT]"},{"commands":[],"name":"create-tags","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":["typescript","bootstrap","python","sql","iac","standards","tsconfig","docs-ui"],"kind":"positional","metavar":"release_targets","names":["release_targets"],"repeatable":true,"required":true,"summary":""},{"choices":[],"kind":"option","metavar":"RELEASE_COMMIT","names":["--commit"],"repeatable":false,"required":true,"summary":"exact commit that was published"},{"choices":[],"kind":"option","metavar":"ATTEMPTS","names":["--attempts"],"repeatable":false,"required":false,"summary":""},{"choices":[],"kind":"option","metavar":"DELAY_SECONDS","names":["--delay-seconds"],"repeatable":false,"required":false,"summary":""}],"path":["maintain","release","create-tags"],"summary":"create and push manifest release tags","usage":"code-standards maintain release create-tags [-h] release_targets ... --commit RELEASE_COMMIT [--attempts ATTEMPTS] [--delay-seconds DELAY_SECONDS]"},{"commands":[],"name":"changes","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"BEFORE","names":["--before"],"repeatable":false,"required":true,"summary":""},{"choices":[],"kind":"option","metavar":"AFTER","names":["--after"],"repeatable":false,"required":true,"summary":""},{"choices":[],"kind":"option","metavar":"GITHUB_OUTPUT","names":["--github-output"],"repeatable":false,"required":true,"summary":""}],"path":["maintain","release","changes"],"summary":"emit package version changes between Git revisions","usage":"code-standards maintain release changes [-h] --before BEFORE --after AFTER --github-output GITHUB_OUTPUT"},{"commands":[],"name":"causality","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"BEFORE","names":["--before"],"repeatable":false,"required":true,"summary":""},{"choices":[],"kind":"option","metavar":"AFTER","names":["--after"],"repeatable":false,"required":true,"summary":""}],"path":["maintain","release","causality"],"summary":"require every publishable package change to bump its version","usage":"code-standards maintain release causality [-h] --before BEFORE --after AFTER"},{"commands":[],"name":"lock-age","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"positional","metavar":"lockfile","names":["lockfile"],"repeatable":false,"required":true,"summary":""},{"choices":[],"kind":"option","metavar":"MINIMUM_AGE","names":["--minimum-days"],"repeatable":false,"required":false,"summary":""},{"choices":[],"kind":"option","metavar":"RELEASE_EXCLUDE","names":["--exclude"],"repeatable":true,"required":false,"summary":""},{"choices":[],"kind":"option","metavar":"RELEASE_EXCLUDE_FILE","names":["--exclude-file"],"repeatable":true,"required":false,"summary":"line-oriented exact package@version exceptions (repeatable)"}],"path":["maintain","release","lock-age"],"summary":"enforce npm lockfile minimum release age","usage":"code-standards maintain release lock-age [-h] lockfile [--minimum-days MINIMUM_AGE] [--exclude RELEASE_EXCLUDE ...] [--exclude-file RELEASE_EXCLUDE_FILE ...]"},{"commands":[],"name":"typescript","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":["check","pack","publish"],"kind":"positional","metavar":"release_mode","names":["release_mode"],"repeatable":false,"required":true,"summary":""},{"choices":[],"kind":"option","metavar":"OUTPUT","names":["--output"],"repeatable":false,"required":false,"summary":"artifact directory (required for pack)"}],"path":["maintain","release","typescript"],"summary":"check, pack, or publish the TypeScript package","usage":"code-standards maintain release typescript [-h] release_mode [--output OUTPUT]"},{"commands":[],"name":"verify-wheel","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"positional","metavar":"wheels","names":["wheels"],"repeatable":true,"required":true,"summary":""}],"path":["maintain","release","verify-wheel"],"summary":"require non-empty license text in built Python wheels","usage":"code-standards maintain release verify-wheel [-h] wheels ..."},{"commands":[],"name":"verify-publications","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"ATTEMPTS","names":["--attempts"],"repeatable":false,"required":false,"summary":""},{"choices":[],"kind":"option","metavar":"DELAY_SECONDS","names":["--delay-seconds"],"repeatable":false,"required":false,"summary":""}],"path":["maintain","release","verify-publications"],"summary":"wait for every exact sibling publication required by Standards","usage":"code-standards maintain release verify-publications [-h] [--attempts ATTEMPTS] [--delay-seconds DELAY_SECONDS]"},{"commands":[],"name":"publish","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":["typescript","bootstrap","python","sql","iac","standards","tsconfig","docs-ui"],"kind":"positional","metavar":"release_target","names":["release_target"],"repeatable":false,"required":true,"summary":""}],"path":["maintain","release","publish"],"summary":"build and publish one package through its native client","usage":"code-standards maintain release publish [-h] release_target"}],"name":"release","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","release"],"summary":"validate and build publishable release artifacts","usage":"code-standards maintain release [-h] {check-tag,verify-tags,create-tags,changes,causality,lock-age,typescript,verify-wheel,verify-publications,publish}"},{"commands":[],"name":"check","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":["ci-history","file-conventions","private-refs","versions"],"kind":"option","metavar":"REPO_ONLY","names":["--only"],"repeatable":true,"required":false,"summary":""},{"choices":[],"kind":"option","metavar":"COMMITS","names":["--commits"],"repeatable":false,"required":false,"summary":"also inspect commit messages in this revision range"},{"choices":[],"kind":"option","metavar":"POLICY_DEST","names":["--policy-root"],"repeatable":false,"required":false,"summary":"trusted repository policy root (default: --root)"},{"choices":[],"kind":"option","metavar":"PRIVATE_REFS_FILE","names":["--private-refs-file"],"repeatable":false,"required":false,"summary":"private-reference TOML outside the scanned repository"},{"choices":[],"kind":"option","metavar":null,"names":["--quiet"],"repeatable":false,"required":false,"summary":"hide finding details"}],"path":["maintain","check"],"summary":"run repository policy gates","usage":"code-standards maintain check [-h] [--only REPO_ONLY ...] [--commits COMMITS] [--policy-root POLICY_DEST] [--private-refs-file PRIVATE_REFS_FILE] [--quiet]"},{"commands":[],"name":"sync-ledger","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":null,"names":["--check"],"repeatable":false,"required":false,"summary":"report drift without writing"}],"path":["maintain","sync-ledger"],"summary":"synchronize the rule compatibility ledger","usage":"code-standards maintain sync-ledger [-h] [--check]"},{"commands":[{"commands":[],"name":"check","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","docs","check"],"summary":"","usage":"code-standards maintain docs check [-h]"},{"commands":[],"name":"sync","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","docs","sync"],"summary":"","usage":"code-standards maintain docs sync [-h]"}],"name":"docs","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","docs"],"summary":"check or synchronize source-derived documentation","usage":"code-standards maintain docs [-h] {check,sync}"},{"commands":[],"name":"comment-corpus","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"positional","metavar":"roots","names":["roots"],"repeatable":true,"required":true,"summary":""},{"choices":[],"kind":"option","metavar":"PRIVATE_JSONL","names":["--include-text"],"repeatable":false,"required":false,"summary":"write sensitive comment text to a new owner-readable file"}],"path":["maintain","comment-corpus"],"summary":"extract comments for calibration","usage":"code-standards maintain comment-corpus [-h] roots ... [--include-text PRIVATE_JSONL]"},{"commands":[{"commands":[],"name":"install","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","hooks","install"],"summary":"install Lefthook","usage":"code-standards maintain hooks install [-h]"}],"name":"hooks","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","hooks"],"summary":"manage the pinned repository hooks","usage":"code-standards maintain hooks [-h] {install}"},{"commands":[{"commands":[],"name":"manifest","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","rules","manifest"],"summary":"print the shipped rule inventory","usage":"code-standards maintain rules manifest [-h]"},{"commands":[],"name":"check","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","rules","check"],"summary":"verify the shipped rule inventory matches live registries","usage":"code-standards maintain rules check [-h]"},{"commands":[],"name":"sync","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","rules","sync"],"summary":"update the shipped rule inventory from live registries","usage":"code-standards maintain rules sync [-h]"},{"commands":[],"name":"new","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"positional","metavar":"selector","names":["selector"],"repeatable":false,"required":true,"summary":"canonical ENGINE:ID selector"},{"choices":["architecture","correctness","maintainability","performance","security","style","testing"],"kind":"option","metavar":"RULE_CATEGORY","names":["--category"],"repeatable":false,"required":true,"summary":""},{"choices":[],"kind":"option","metavar":"RULE_SUMMARY","names":["--summary"],"repeatable":false,"required":true,"summary":""},{"choices":[],"kind":"option","metavar":null,"names":["--apply"],"repeatable":false,"required":false,"summary":"create the planned files"}],"path":["maintain","rules","new"],"summary":"plan or create author-owned rule and test skeletons","usage":"code-standards maintain rules new [-h] selector --category RULE_CATEGORY --summary RULE_SUMMARY [--apply]"},{"commands":[],"name":"stage-warning","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"positional","metavar":"selector","names":["selector"],"repeatable":false,"required":true,"summary":"canonical ENGINE:ID selector"},{"choices":[],"kind":"option","metavar":null,"names":["--check"],"repeatable":false,"required":false,"summary":"report required staging without writing"}],"path":["maintain","rules","stage-warning"],"summary":"prepare one registered rule for warning-first publication","usage":"code-standards maintain rules stage-warning [-h] selector [--check]"},{"commands":[],"name":"prepare","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"positional","metavar":"selector","names":["selector"],"repeatable":false,"required":true,"summary":"canonical ENGINE:ID selector"},{"choices":[],"kind":"option","metavar":null,"names":["--check"],"repeatable":false,"required":false,"summary":"report required preparation without writing"}],"path":["maintain","rules","prepare"],"summary":"validate and prepare one registered rule for warning-first publication","usage":"code-standards maintain rules prepare [-h] selector [--check]"},{"commands":[],"name":"verify","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"positional","metavar":"selector","names":["selector"],"repeatable":false,"required":true,"summary":"canonical ENGINE:ID selector"}],"path":["maintain","rules","verify"],"summary":"validate one registered rule's authored files and public examples","usage":"code-standards maintain rules verify [-h] selector"},{"commands":[],"name":"changes","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"BEFORE","names":["--before"],"repeatable":false,"required":true,"summary":""},{"choices":[],"kind":"option","metavar":"AFTER","names":["--after"],"repeatable":false,"required":true,"summary":""},{"choices":["json","text"],"kind":"option","metavar":"OUTPUT_FORMAT","names":["--format"],"repeatable":false,"required":false,"summary":""}],"path":["maintain","rules","changes"],"summary":"compare rule inventory and policy between two Git revisions","usage":"code-standards maintain rules changes [-h] --before BEFORE --after AFTER [--format OUTPUT_FORMAT]"},{"commands":[],"name":"evaluate","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"SELECTED_RULES","names":["--rule"],"repeatable":true,"required":true,"summary":"canonical ENGINE:ID selector (repeatable)"},{"choices":["corpus","effective"],"kind":"option","metavar":"EVALUATION_SCOPE","names":["--scope"],"repeatable":false,"required":false,"summary":"corpus ignores baselines/rule exclusions; effective applies adopted repository policy"},{"choices":["json","text"],"kind":"option","metavar":"OUTPUT_FORMAT","names":["--format"],"repeatable":false,"required":false,"summary":""},{"choices":[],"kind":"option","metavar":"OUTPUT","names":["--output"],"repeatable":false,"required":false,"summary":""},{"choices":[],"kind":"option","metavar":null,"names":["--trust-repository-code"],"repeatable":false,"required":false,"summary":"allow executable repository ESLint configuration"},{"choices":[],"kind":"positional","metavar":"files","names":["files"],"repeatable":true,"required":false,"summary":""}],"path":["maintain","rules","evaluate"],"summary":"calibrate selected custom rules; findings exit 1 and invalid input or execution exits 2","usage":"code-standards maintain rules evaluate [-h] --rule SELECTED_RULES ... [--scope EVALUATION_SCOPE] [--format OUTPUT_FORMAT] [--output OUTPUT] [--trust-repository-code] [files ...]"}],"name":"rules","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","rules"],"summary":"inspect live custom rules","usage":"code-standards maintain rules [-h] {manifest,check,sync,new,stage-warning,prepare,verify,changes,evaluate}"},{"commands":[{"commands":[],"name":"check","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","catalog","check"],"summary":"verify the public catalog matches every live rule","usage":"code-standards maintain catalog check [-h]"},{"commands":[],"name":"sync","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","catalog","sync"],"summary":"update the public catalog from source-owned rule metadata","usage":"code-standards maintain catalog sync [-h]"}],"name":"catalog","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","catalog"],"summary":"maintain the source-derived public rule catalog","usage":"code-standards maintain catalog [-h] {check,sync}"},{"commands":[{"commands":[],"name":"check","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","cli-reference","check"],"summary":"verify the shipped reference matches the parser graph","usage":"code-standards maintain cli-reference check [-h]"},{"commands":[],"name":"sync","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","cli-reference","sync"],"summary":"update the shipped reference from the parser graph","usage":"code-standards maintain cli-reference sync [-h]"}],"name":"cli-reference","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","cli-reference"],"summary":"maintain the source-derived CLI reference","usage":"code-standards maintain cli-reference [-h] {check,sync}"}],"name":"maintain","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain"],"summary":"repository policy, hooks, rule ledgers, and releases","usage":"code-standards maintain [-h] {setup,release,check,sync-ledger,docs,comment-corpus,hooks,rules,catalog,cli-reference}"}],"epilog":"Start with `code-standards setup`, then use `code-standards check`.","globalOptions":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":null,"names":["--version"],"repeatable":false,"required":false,"summary":"show program's version number and exit"},{"choices":[],"kind":"option","metavar":"DEST","names":["--root"],"repeatable":false,"required":false,"summary":"repository root shared by the selected command (default: current directory)"}],"launcher":{"install":"uv tool install --python 3.14 code-standards","runLatest":"uvx --no-config --isolated --python 3.14 --from code-standards code-standards"},"program":"code-standards","schemaVersion":1,"summary":"Adopt, check, fix, diagnose, and update sarj-ai standards (v7.1.5).","version":"7.1.5"}
|
|
1
|
+
{"commands":[{"commands":[],"name":"doctor","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":["text","json"],"kind":"option","metavar":"OUTPUT_FORMAT","names":["--format"],"repeatable":false,"required":false,"summary":"output format (default: text)"},{"choices":[],"kind":"option","metavar":null,"names":["--repair"],"repeatable":false,"required":false,"summary":"transactionally repair safe drift with the executing bundle, then re-diagnose"},{"choices":[],"kind":"option","metavar":null,"names":["--no-install"],"repeatable":false,"required":false,"summary":"with --repair, update configuration without installing dependencies or hooks"}],"path":["doctor"],"summary":"diagnose adoption health and optionally repair safe drift","usage":"code-standards doctor [-h] [--format OUTPUT_FORMAT] [--repair] [--no-install]"},{"commands":[],"name":"setup","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":["pre-commit","lefthook","none"],"kind":"option","metavar":"HOOKS","names":["--hooks"],"repeatable":false,"required":false,"summary":"hook manager (default: detect Lefthook, otherwise pre-commit)"},{"choices":[],"kind":"option","metavar":"PYTHON_DEST","names":["--python-dest"],"repeatable":false,"required":false,"summary":"the directory that owns pyproject.toml (default: detected)"},{"choices":[],"kind":"option","metavar":"TYPESCRIPT_DEST","names":["--typescript-dest"],"repeatable":false,"required":false,"summary":"the directory that owns the npm lockfile (default: detected)"},{"choices":[],"kind":"option","metavar":null,"names":["--dry-run"],"repeatable":false,"required":false,"summary":"print the complete plan without writing"},{"choices":[],"kind":"option","metavar":null,"names":["--force"],"repeatable":false,"required":false,"summary":"replace conflicting generated lint configuration after review"},{"choices":["standard","application"],"kind":"option","metavar":"PROFILE","names":["--profile"],"repeatable":false,"required":false,"summary":"policy profile to adopt (default: existing value, otherwise standard)"},{"choices":[],"kind":"option","metavar":null,"names":["--no-install"],"repeatable":false,"required":false,"summary":"write wiring without installing dependencies or hooks"},{"choices":["eslint","markdownlint","pyright","ruff","taplo","yamllint"],"kind":"option","metavar":"ONLY","names":["--config"],"repeatable":true,"required":false,"summary":"select one config explicitly (repeatable)"}],"path":["setup"],"summary":"adopt or converge the repository in one idempotent operation","usage":"code-standards setup [-h] [--hooks HOOKS] [--python-dest PYTHON_DEST] [--typescript-dest TYPESCRIPT_DEST] [--dry-run] [--force] [--profile PROFILE] [--no-install] [--config ONLY ...]"},{"commands":[],"name":"check","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":null,"names":["--trust-repository-code"],"repeatable":false,"required":false,"summary":"allow executable repository ESLint configuration (generated hooks and CI set this explicitly)"},{"choices":[],"kind":"option","metavar":null,"names":["--staged"],"repeatable":false,"required":false,"summary":"run custom rules on hook-supplied paths, or discover staged files when none are supplied"},{"choices":["text","json","sarif","github"],"kind":"option","metavar":"OUTPUT_FORMAT","names":["--format"],"repeatable":false,"required":false,"summary":""},{"choices":[],"kind":"option","metavar":"OUTPUT","names":["--output"],"repeatable":false,"required":false,"summary":"write JSON or SARIF atomically to PATH"},{"choices":["0","1","2","3","4","5","6","7","8","9","10"],"kind":"option","metavar":"MAX_ANNOTATIONS_PER_LEVEL","names":["--max-annotations-per-level"],"repeatable":false,"required":false,"summary":""},{"choices":[],"kind":"positional","metavar":"files","names":["files"],"repeatable":true,"required":false,"summary":"selected paths; when omitted, check the complete repository"}],"path":["check"],"summary":"run the complete quality gate or check selected paths","usage":"code-standards check [-h] [--trust-repository-code] [--staged] [--format OUTPUT_FORMAT] [--output OUTPUT] [--max-annotations-per-level MAX_ANNOTATIONS_PER_LEVEL] [files ...]"},{"commands":[],"name":"validate-slack-automations","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"positional","metavar":"PATH","names":["slack_catalog"],"repeatable":false,"required":true,"summary":""}],"path":["validate-slack-automations"],"summary":"validate a versioned Slack automation catalog","usage":"code-standards validate-slack-automations [-h] PATH"},{"commands":[],"name":"observe","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"SELECTED_RULES","names":["--rule"],"repeatable":true,"required":true,"summary":"canonical ENGINE:ID selector (repeatable)"},{"choices":["text","json","sarif","github"],"kind":"option","metavar":"OUTPUT_FORMAT","names":["--format"],"repeatable":false,"required":false,"summary":""},{"choices":[],"kind":"option","metavar":"OUTPUT","names":["--output"],"repeatable":false,"required":false,"summary":""},{"choices":[],"kind":"option","metavar":null,"names":["--trust-repository-code"],"repeatable":false,"required":false,"summary":"allow repository ESLint configuration to execute"},{"choices":[],"kind":"option","metavar":"MAX_ANNOTATIONS_PER_LEVEL","names":["--max-annotations-per-level"],"repeatable":false,"required":false,"summary":""},{"choices":[],"kind":"positional","metavar":"files","names":["files"],"repeatable":true,"required":false,"summary":"selected paths; defaults to adopted verification paths"}],"path":["observe"],"summary":"report warning-stage findings with exit 0; invalid input or execution still exits 2","usage":"code-standards observe [-h] --rule SELECTED_RULES ... [--format OUTPUT_FORMAT] [--output OUTPUT] [--trust-repository-code] [--max-annotations-per-level MAX_ANNOTATIONS_PER_LEVEL] [files ...]"},{"commands":[],"name":"fix","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":null,"names":["--staged"],"repeatable":false,"required":false,"summary":"fix only files staged in Git"},{"choices":[],"kind":"positional","metavar":"files","names":["files"],"repeatable":true,"required":false,"summary":"selected paths; when omitted, fix the complete repository"}],"path":["fix"],"summary":"apply safe formatting and lint fixes","usage":"code-standards fix [-h] [--staged] [files ...]"},{"commands":[],"name":"update","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":null,"names":["--check"],"repeatable":false,"required":false,"summary":"preview without writing; exit 1 when changes exist"},{"choices":[],"kind":"option","metavar":null,"names":["--offline"],"repeatable":false,"required":false,"summary":"reconverge the executing bundle and skip every network-dependent install; does not resolve latest"},{"choices":[],"kind":"option","metavar":"VERSION","names":["--to"],"repeatable":false,"required":false,"summary":"resolve and apply exactly this immutable coherent bundle version"},{"choices":[],"kind":"option","metavar":null,"names":["--no-install"],"repeatable":false,"required":false,"summary":"do not install dependencies or hooks"}],"path":["update"],"summary":"upgrade to the latest published coherent Standards bundle","usage":"code-standards update [-h] [--check] [--offline] [--to VERSION] [--no-install]"},{"commands":[{"commands":[],"name":"init","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"OUTPUT","names":["--output"],"repeatable":false,"required":false,"summary":"baseline JSON (default: diagnostic-baseline.json)"},{"choices":[],"kind":"option","metavar":null,"names":["--trust-repository-code"],"repeatable":false,"required":false,"summary":"run repository-local analyzers that execute project code"},{"choices":[],"kind":"positional","metavar":"files","names":["files"],"repeatable":true,"required":false,"summary":"paths to analyze (default: the whole repository)"}],"path":["baseline","init"],"summary":"record the first diagnostic baseline","usage":"code-standards baseline init [-h] [--output OUTPUT] [--trust-repository-code] [files ...]"},{"commands":[],"name":"update","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"OUTPUT","names":["--output"],"repeatable":false,"required":false,"summary":"baseline JSON (default: diagnostic-baseline.json)"},{"choices":[],"kind":"option","metavar":null,"names":["--trust-repository-code"],"repeatable":false,"required":false,"summary":"run repository-local analyzers that execute project code"},{"choices":[],"kind":"option","metavar":"BASELINE_RULES","names":["--rule"],"repeatable":true,"required":false,"summary":"replace debt only for this newly promoted rule (repeatable; source:RULE is also accepted)"},{"choices":[],"kind":"positional","metavar":"files","names":["files"],"repeatable":true,"required":false,"summary":"paths to analyze (default: the whole repository)"}],"path":["baseline","update"],"summary":"re-record the diagnostic baseline after reviewed cleanup","usage":"code-standards baseline update [-h] [--output OUTPUT] [--trust-repository-code] [--rule BASELINE_RULES ...] [files ...]"}],"name":"baseline","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["baseline"],"summary":"grandfather today's findings so only new ones fail","usage":"code-standards baseline [-h] {init,update}"},{"commands":[{"commands":[],"name":"init","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"BASELINE","names":["--baseline"],"repeatable":false,"required":false,"summary":"budget JSON (default: suppression-baseline.json)"},{"choices":[],"kind":"option","metavar":"PACKAGE","names":["--package"],"repeatable":true,"required":false,"summary":"Python package root (repeatable)"},{"choices":[],"kind":"option","metavar":"EXCLUDE_SUBTREE","names":["--exclude-subtree"],"repeatable":true,"required":false,"summary":"generated or vendored subtree to persistently exclude (repeatable)"}],"path":["ratchet","init"],"summary":"create the first suppression budget","usage":"code-standards ratchet init [-h] [--baseline BASELINE] [--package PACKAGE ...] [--exclude-subtree EXCLUDE_SUBTREE ...]"},{"commands":[],"name":"check","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"BASELINE","names":["--baseline"],"repeatable":false,"required":false,"summary":"budget JSON (default: suppression-baseline.json)"},{"choices":[],"kind":"option","metavar":"PACKAGE","names":["--package"],"repeatable":true,"required":false,"summary":"Python package root (repeatable)"},{"choices":[],"kind":"option","metavar":"EXCLUDE_SUBTREE","names":["--exclude-subtree"],"repeatable":true,"required":false,"summary":"generated or vendored subtree to persistently exclude (repeatable)"}],"path":["ratchet","check"],"summary":"fail when suppression debt grows","usage":"code-standards ratchet check [-h] [--baseline BASELINE] [--package PACKAGE ...] [--exclude-subtree EXCLUDE_SUBTREE ...]"},{"commands":[],"name":"status","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"BASELINE","names":["--baseline"],"repeatable":false,"required":false,"summary":"budget JSON (default: suppression-baseline.json)"},{"choices":[],"kind":"option","metavar":"PACKAGE","names":["--package"],"repeatable":true,"required":false,"summary":"Python package root (repeatable)"},{"choices":[],"kind":"option","metavar":"EXCLUDE_SUBTREE","names":["--exclude-subtree"],"repeatable":true,"required":false,"summary":"generated or vendored subtree to persistently exclude (repeatable)"}],"path":["ratchet","status"],"summary":"show current suppression debt and available reductions","usage":"code-standards ratchet status [-h] [--baseline BASELINE] [--package PACKAGE ...] [--exclude-subtree EXCLUDE_SUBTREE ...]"},{"commands":[],"name":"update","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"BASELINE","names":["--baseline"],"repeatable":false,"required":false,"summary":"budget JSON (default: suppression-baseline.json)"},{"choices":[],"kind":"option","metavar":"PACKAGE","names":["--package"],"repeatable":true,"required":false,"summary":"Python package root (repeatable)"},{"choices":[],"kind":"option","metavar":"EXCLUDE_SUBTREE","names":["--exclude-subtree"],"repeatable":true,"required":false,"summary":"generated or vendored subtree to persistently exclude (repeatable)"},{"choices":[],"kind":"option","metavar":null,"names":["--allow-increase"],"repeatable":false,"required":false,"summary":"permit a reviewed increase in suppression debt"}],"path":["ratchet","update"],"summary":"lock in reviewed suppression-budget changes","usage":"code-standards ratchet update [-h] [--baseline BASELINE] [--package PACKAGE ...] [--exclude-subtree EXCLUDE_SUBTREE ...] [--allow-increase]"}],"name":"ratchet","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["ratchet"],"summary":"keep the Python suppression budget from growing","usage":"code-standards ratchet [-h] {init,check,status,update}"},{"commands":[{"commands":[],"name":"list","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["exclude","list"],"summary":"list the complete denylist","usage":"code-standards exclude list [-h]"},{"commands":[],"name":"add","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":["path","rule"],"kind":"positional","metavar":"{path,rule}","names":["exclude_kind"],"repeatable":false,"required":true,"summary":""},{"choices":[],"kind":"positional","metavar":"value","names":["value"],"repeatable":false,"required":true,"summary":"repository-relative glob or canonical engine:rule selector"}],"path":["exclude","add"],"summary":"add one exact denylist entry","usage":"code-standards exclude add [-h] {path,rule} value"},{"commands":[],"name":"remove","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":["path","rule"],"kind":"positional","metavar":"{path,rule}","names":["exclude_kind"],"repeatable":false,"required":true,"summary":""},{"choices":[],"kind":"positional","metavar":"value","names":["value"],"repeatable":false,"required":true,"summary":"repository-relative glob or canonical engine:rule selector"}],"path":["exclude","remove"],"summary":"remove one exact denylist entry","usage":"code-standards exclude remove [-h] {path,rule} value"}],"name":"exclude","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["exclude"],"summary":"inspect or change explicit path and rule exclusions","usage":"code-standards exclude [-h] {list,add,remove}"},{"commands":[{"commands":[],"name":"state","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["show","state"],"summary":"print detected adoption state as JSON","usage":"code-standards show state [-h]"},{"commands":[],"name":"configs","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["show","configs"],"summary":"list bundled configurations","usage":"code-standards show configs [-h]"},{"commands":[],"name":"config","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":["eslint","markdownlint","pyright","ruff","taplo","yamllint"],"kind":"positional","metavar":"name","names":["name"],"repeatable":false,"required":true,"summary":""},{"choices":["standard","application"],"kind":"option","metavar":"PROFILE","names":["--profile"],"repeatable":false,"required":false,"summary":""}],"path":["show","config"],"summary":"print one bundled configuration path","usage":"code-standards show config [-h] name [--profile PROFILE]"},{"commands":[],"name":"peers","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["show","peers"],"summary":"show tested ESLint peer dependencies and install command","usage":"code-standards show peers [-h]"},{"commands":[],"name":"rules","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["show","rules"],"summary":"print the machine-readable custom-rule inventory","usage":"code-standards show rules [-h]"},{"commands":[],"name":"ci","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"OUTPUT","names":["--output"],"repeatable":false,"required":false,"summary":"write a managed workflow inside the repository"}],"path":["show","ci"],"summary":"print a complete pinned GitHub Actions standards workflow","usage":"code-standards show ci [-h] [--output OUTPUT]"}],"name":"show","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["show"],"summary":"print read-only package and adoption information","usage":"code-standards show [-h] {state,configs,config,peers,rules,ci}"},{"commands":[{"commands":[],"name":"setup","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":null,"names":["--check"],"repeatable":false,"required":false,"summary":"print the deterministic setup plan without executing it"}],"path":["maintain","setup"],"summary":"install every standards development environment and repository hook","usage":"code-standards maintain setup [-h] [--check]"},{"commands":[{"commands":[],"name":"check-tag","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"positional","metavar":"tag","names":["tag"],"repeatable":false,"required":true,"summary":""}],"path":["maintain","release","check-tag"],"summary":"require a release tag to match its package manifest","usage":"code-standards maintain release check-tag [-h] tag"},{"commands":[],"name":"verify-tags","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"RELEASE_COMMIT","names":["--commit"],"repeatable":false,"required":false,"summary":"also require existing tags to match this publishing commit or an unchanged package tree"}],"path":["maintain","release","verify-tags"],"summary":"verify all manifest release tags on origin","usage":"code-standards maintain release verify-tags [-h] [--commit RELEASE_COMMIT]"},{"commands":[],"name":"create-tags","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":["typescript","bootstrap","python","sql","iac","standards","tsconfig","docs-ui"],"kind":"positional","metavar":"release_targets","names":["release_targets"],"repeatable":true,"required":true,"summary":""},{"choices":[],"kind":"option","metavar":"RELEASE_COMMIT","names":["--commit"],"repeatable":false,"required":true,"summary":"exact commit that was published"},{"choices":[],"kind":"option","metavar":"ATTEMPTS","names":["--attempts"],"repeatable":false,"required":false,"summary":""},{"choices":[],"kind":"option","metavar":"DELAY_SECONDS","names":["--delay-seconds"],"repeatable":false,"required":false,"summary":""}],"path":["maintain","release","create-tags"],"summary":"create and push manifest release tags","usage":"code-standards maintain release create-tags [-h] release_targets ... --commit RELEASE_COMMIT [--attempts ATTEMPTS] [--delay-seconds DELAY_SECONDS]"},{"commands":[],"name":"changes","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"BEFORE","names":["--before"],"repeatable":false,"required":true,"summary":""},{"choices":[],"kind":"option","metavar":"AFTER","names":["--after"],"repeatable":false,"required":true,"summary":""},{"choices":[],"kind":"option","metavar":"GITHUB_OUTPUT","names":["--github-output"],"repeatable":false,"required":true,"summary":""}],"path":["maintain","release","changes"],"summary":"emit package version changes between Git revisions","usage":"code-standards maintain release changes [-h] --before BEFORE --after AFTER --github-output GITHUB_OUTPUT"},{"commands":[],"name":"causality","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"BEFORE","names":["--before"],"repeatable":false,"required":true,"summary":""},{"choices":[],"kind":"option","metavar":"AFTER","names":["--after"],"repeatable":false,"required":true,"summary":""}],"path":["maintain","release","causality"],"summary":"require every publishable package change to bump its version","usage":"code-standards maintain release causality [-h] --before BEFORE --after AFTER"},{"commands":[],"name":"lock-age","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"positional","metavar":"lockfile","names":["lockfile"],"repeatable":false,"required":true,"summary":""},{"choices":[],"kind":"option","metavar":"MINIMUM_AGE","names":["--minimum-days"],"repeatable":false,"required":false,"summary":""},{"choices":[],"kind":"option","metavar":"RELEASE_EXCLUDE","names":["--exclude"],"repeatable":true,"required":false,"summary":""},{"choices":[],"kind":"option","metavar":"RELEASE_EXCLUDE_FILE","names":["--exclude-file"],"repeatable":true,"required":false,"summary":"line-oriented exact package@version exceptions (repeatable)"}],"path":["maintain","release","lock-age"],"summary":"enforce npm lockfile minimum release age","usage":"code-standards maintain release lock-age [-h] lockfile [--minimum-days MINIMUM_AGE] [--exclude RELEASE_EXCLUDE ...] [--exclude-file RELEASE_EXCLUDE_FILE ...]"},{"commands":[],"name":"typescript","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":["check","pack","publish"],"kind":"positional","metavar":"release_mode","names":["release_mode"],"repeatable":false,"required":true,"summary":""},{"choices":[],"kind":"option","metavar":"OUTPUT","names":["--output"],"repeatable":false,"required":false,"summary":"artifact directory (required for pack)"}],"path":["maintain","release","typescript"],"summary":"check, pack, or publish the TypeScript package","usage":"code-standards maintain release typescript [-h] release_mode [--output OUTPUT]"},{"commands":[],"name":"verify-wheel","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"positional","metavar":"wheels","names":["wheels"],"repeatable":true,"required":true,"summary":""}],"path":["maintain","release","verify-wheel"],"summary":"require non-empty license text in built Python wheels","usage":"code-standards maintain release verify-wheel [-h] wheels ..."},{"commands":[],"name":"verify-publications","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"ATTEMPTS","names":["--attempts"],"repeatable":false,"required":false,"summary":""},{"choices":[],"kind":"option","metavar":"DELAY_SECONDS","names":["--delay-seconds"],"repeatable":false,"required":false,"summary":""}],"path":["maintain","release","verify-publications"],"summary":"wait for every exact sibling publication required by Standards","usage":"code-standards maintain release verify-publications [-h] [--attempts ATTEMPTS] [--delay-seconds DELAY_SECONDS]"},{"commands":[],"name":"publish","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":["typescript","bootstrap","python","sql","iac","standards","tsconfig","docs-ui"],"kind":"positional","metavar":"release_target","names":["release_target"],"repeatable":false,"required":true,"summary":""}],"path":["maintain","release","publish"],"summary":"build and publish one package through its native client","usage":"code-standards maintain release publish [-h] release_target"}],"name":"release","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","release"],"summary":"validate and build publishable release artifacts","usage":"code-standards maintain release [-h] {check-tag,verify-tags,create-tags,changes,causality,lock-age,typescript,verify-wheel,verify-publications,publish}"},{"commands":[],"name":"check","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":["ci-history","file-conventions","private-refs","versions"],"kind":"option","metavar":"REPO_ONLY","names":["--only"],"repeatable":true,"required":false,"summary":""},{"choices":[],"kind":"option","metavar":"COMMITS","names":["--commits"],"repeatable":false,"required":false,"summary":"also inspect commit messages in this revision range"},{"choices":[],"kind":"option","metavar":"POLICY_DEST","names":["--policy-root"],"repeatable":false,"required":false,"summary":"trusted repository policy root (default: --root)"},{"choices":[],"kind":"option","metavar":"PRIVATE_REFS_FILE","names":["--private-refs-file"],"repeatable":false,"required":false,"summary":"private-reference TOML outside the scanned repository"},{"choices":[],"kind":"option","metavar":null,"names":["--quiet"],"repeatable":false,"required":false,"summary":"hide finding details"}],"path":["maintain","check"],"summary":"run repository policy gates","usage":"code-standards maintain check [-h] [--only REPO_ONLY ...] [--commits COMMITS] [--policy-root POLICY_DEST] [--private-refs-file PRIVATE_REFS_FILE] [--quiet]"},{"commands":[],"name":"sync-ledger","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":null,"names":["--check"],"repeatable":false,"required":false,"summary":"report drift without writing"}],"path":["maintain","sync-ledger"],"summary":"synchronize the rule compatibility ledger","usage":"code-standards maintain sync-ledger [-h] [--check]"},{"commands":[{"commands":[],"name":"check","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","docs","check"],"summary":"","usage":"code-standards maintain docs check [-h]"},{"commands":[],"name":"sync","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","docs","sync"],"summary":"","usage":"code-standards maintain docs sync [-h]"}],"name":"docs","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","docs"],"summary":"check or synchronize source-derived documentation","usage":"code-standards maintain docs [-h] {check,sync}"},{"commands":[],"name":"comment-corpus","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"positional","metavar":"roots","names":["roots"],"repeatable":true,"required":true,"summary":""},{"choices":[],"kind":"option","metavar":"PRIVATE_JSONL","names":["--include-text"],"repeatable":false,"required":false,"summary":"write sensitive comment text to a new owner-readable file"}],"path":["maintain","comment-corpus"],"summary":"extract comments for calibration","usage":"code-standards maintain comment-corpus [-h] roots ... [--include-text PRIVATE_JSONL]"},{"commands":[{"commands":[],"name":"install","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","hooks","install"],"summary":"install Lefthook","usage":"code-standards maintain hooks install [-h]"}],"name":"hooks","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","hooks"],"summary":"manage the pinned repository hooks","usage":"code-standards maintain hooks [-h] {install}"},{"commands":[{"commands":[],"name":"manifest","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","rules","manifest"],"summary":"print the shipped rule inventory","usage":"code-standards maintain rules manifest [-h]"},{"commands":[],"name":"check","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","rules","check"],"summary":"verify the shipped rule inventory matches live registries","usage":"code-standards maintain rules check [-h]"},{"commands":[],"name":"sync","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","rules","sync"],"summary":"update the shipped rule inventory from live registries","usage":"code-standards maintain rules sync [-h]"},{"commands":[],"name":"new","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"positional","metavar":"selector","names":["selector"],"repeatable":false,"required":true,"summary":"canonical ENGINE:ID selector"},{"choices":["architecture","correctness","maintainability","performance","security","style","testing"],"kind":"option","metavar":"RULE_CATEGORY","names":["--category"],"repeatable":false,"required":true,"summary":""},{"choices":[],"kind":"option","metavar":"RULE_SUMMARY","names":["--summary"],"repeatable":false,"required":true,"summary":""},{"choices":[],"kind":"option","metavar":null,"names":["--apply"],"repeatable":false,"required":false,"summary":"create the planned files"}],"path":["maintain","rules","new"],"summary":"plan or create author-owned rule and test skeletons","usage":"code-standards maintain rules new [-h] selector --category RULE_CATEGORY --summary RULE_SUMMARY [--apply]"},{"commands":[],"name":"stage-warning","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"positional","metavar":"selector","names":["selector"],"repeatable":false,"required":true,"summary":"canonical ENGINE:ID selector"},{"choices":[],"kind":"option","metavar":null,"names":["--check"],"repeatable":false,"required":false,"summary":"report required staging without writing"}],"path":["maintain","rules","stage-warning"],"summary":"prepare one registered rule for warning-first publication","usage":"code-standards maintain rules stage-warning [-h] selector [--check]"},{"commands":[],"name":"prepare","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"positional","metavar":"selector","names":["selector"],"repeatable":false,"required":true,"summary":"canonical ENGINE:ID selector"},{"choices":[],"kind":"option","metavar":null,"names":["--check"],"repeatable":false,"required":false,"summary":"report required preparation without writing"}],"path":["maintain","rules","prepare"],"summary":"validate and prepare one registered rule for warning-first publication","usage":"code-standards maintain rules prepare [-h] selector [--check]"},{"commands":[],"name":"verify","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"positional","metavar":"selector","names":["selector"],"repeatable":false,"required":true,"summary":"canonical ENGINE:ID selector"}],"path":["maintain","rules","verify"],"summary":"validate one registered rule's authored files and public examples","usage":"code-standards maintain rules verify [-h] selector"},{"commands":[],"name":"changes","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"BEFORE","names":["--before"],"repeatable":false,"required":true,"summary":""},{"choices":[],"kind":"option","metavar":"AFTER","names":["--after"],"repeatable":false,"required":true,"summary":""},{"choices":["json","text"],"kind":"option","metavar":"OUTPUT_FORMAT","names":["--format"],"repeatable":false,"required":false,"summary":""}],"path":["maintain","rules","changes"],"summary":"compare rule inventory and policy between two Git revisions","usage":"code-standards maintain rules changes [-h] --before BEFORE --after AFTER [--format OUTPUT_FORMAT]"},{"commands":[],"name":"evaluate","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":"SELECTED_RULES","names":["--rule"],"repeatable":true,"required":true,"summary":"canonical ENGINE:ID selector (repeatable)"},{"choices":["corpus","effective"],"kind":"option","metavar":"EVALUATION_SCOPE","names":["--scope"],"repeatable":false,"required":false,"summary":"corpus ignores baselines/rule exclusions; effective applies adopted repository policy"},{"choices":["json","text"],"kind":"option","metavar":"OUTPUT_FORMAT","names":["--format"],"repeatable":false,"required":false,"summary":""},{"choices":[],"kind":"option","metavar":"OUTPUT","names":["--output"],"repeatable":false,"required":false,"summary":""},{"choices":[],"kind":"option","metavar":null,"names":["--trust-repository-code"],"repeatable":false,"required":false,"summary":"allow executable repository ESLint configuration"},{"choices":[],"kind":"positional","metavar":"files","names":["files"],"repeatable":true,"required":false,"summary":""}],"path":["maintain","rules","evaluate"],"summary":"calibrate selected custom rules; findings exit 1 and invalid input or execution exits 2","usage":"code-standards maintain rules evaluate [-h] --rule SELECTED_RULES ... [--scope EVALUATION_SCOPE] [--format OUTPUT_FORMAT] [--output OUTPUT] [--trust-repository-code] [files ...]"}],"name":"rules","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","rules"],"summary":"inspect live custom rules","usage":"code-standards maintain rules [-h] {manifest,check,sync,new,stage-warning,prepare,verify,changes,evaluate}"},{"commands":[{"commands":[],"name":"check","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","catalog","check"],"summary":"verify the public catalog matches every live rule","usage":"code-standards maintain catalog check [-h]"},{"commands":[],"name":"sync","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","catalog","sync"],"summary":"update the public catalog from source-owned rule metadata","usage":"code-standards maintain catalog sync [-h]"}],"name":"catalog","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","catalog"],"summary":"maintain the source-derived public rule catalog","usage":"code-standards maintain catalog [-h] {check,sync}"},{"commands":[{"commands":[],"name":"check","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","cli-reference","check"],"summary":"verify the shipped reference matches the parser graph","usage":"code-standards maintain cli-reference check [-h]"},{"commands":[],"name":"sync","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","cli-reference","sync"],"summary":"update the shipped reference from the parser graph","usage":"code-standards maintain cli-reference sync [-h]"}],"name":"cli-reference","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain","cli-reference"],"summary":"maintain the source-derived CLI reference","usage":"code-standards maintain cli-reference [-h] {check,sync}"}],"name":"maintain","options":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"}],"path":["maintain"],"summary":"repository policy, hooks, rule ledgers, and releases","usage":"code-standards maintain [-h] {setup,release,check,sync-ledger,docs,comment-corpus,hooks,rules,catalog,cli-reference}"}],"epilog":"Start with `code-standards setup`, then use `code-standards check`.","globalOptions":[{"choices":[],"kind":"option","metavar":null,"names":["-h","--help"],"repeatable":false,"required":false,"summary":"show this help message and exit"},{"choices":[],"kind":"option","metavar":null,"names":["--version"],"repeatable":false,"required":false,"summary":"show program's version number and exit"},{"choices":[],"kind":"option","metavar":"DEST","names":["--root"],"repeatable":false,"required":false,"summary":"repository root shared by the selected command (default: current directory)"}],"launcher":{"install":"uv tool install --python 3.14 code-standards","runLatest":"uvx --no-config --isolated --python 3.14 --from code-standards code-standards"},"program":"code-standards","schemaVersion":1,"summary":"Adopt, check, fix, diagnose, and update sarj-ai standards (v7.1.7).","version":"7.1.7"}
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/diagnostics/baseline.py
RENAMED
|
@@ -25,8 +25,8 @@ LEGACY_SCHEMA_VERSION = 1
|
|
|
25
25
|
_MAX_BYTES = 16 * 1024 * 1024
|
|
26
26
|
_FINGERPRINT = re.compile(r"[0-9a-f]{64}")
|
|
27
27
|
_GIT_SHA = re.compile(r"[0-9a-f]{40}|[0-9a-f]{64}")
|
|
28
|
-
_NON_BASELINEABLE_SOURCES = frozenset({"react-doctor"})
|
|
29
28
|
_HUNK = re.compile(r"^@@ -(?:\d+)(?:,\d+)? \+(\d+)(?:,(\d+))? @@")
|
|
29
|
+
_TERRAFORM_TEST_SUFFIXES = (".tftest.hcl", ".tftest.json")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
@dataclass(frozen=True, slots=True)
|
|
@@ -98,7 +98,8 @@ def touches_changed_lines(diagnostic: Diagnostic, scope: ChangedLineScope | None
|
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
def is_baselineable(diagnostic: Diagnostic) -> bool:
|
|
101
|
-
|
|
101
|
+
_ = diagnostic
|
|
102
|
+
return True
|
|
102
103
|
|
|
103
104
|
|
|
104
105
|
def load(
|
|
@@ -312,6 +313,24 @@ def repository_base_sha(root: Path) -> str:
|
|
|
312
313
|
return candidate
|
|
313
314
|
|
|
314
315
|
|
|
316
|
+
def tracked_terraform_test_paths(root: Path) -> tuple[str, ...]:
|
|
317
|
+
git = shutil.which("git")
|
|
318
|
+
if git is None:
|
|
319
|
+
return ()
|
|
320
|
+
completed = subprocess.run( # ruff: ignore[subprocess-without-shell-equals-true] -- fixed read-only Git argv.
|
|
321
|
+
(git, "-C", str(root), "ls-files", "-z"),
|
|
322
|
+
check=False,
|
|
323
|
+
capture_output=True,
|
|
324
|
+
)
|
|
325
|
+
if completed.returncode != 0:
|
|
326
|
+
return ()
|
|
327
|
+
return tuple(
|
|
328
|
+
str(root / item)
|
|
329
|
+
for item in completed.stdout.decode("utf-8", errors="replace").split("\0")
|
|
330
|
+
if item.casefold().endswith(_TERRAFORM_TEST_SUFFIXES)
|
|
331
|
+
)
|
|
332
|
+
|
|
333
|
+
|
|
315
334
|
def bundled_catalog_digest() -> str:
|
|
316
335
|
configs = Path(__file__).parents[2] / "configs"
|
|
317
336
|
digest = sha256()
|
|
@@ -354,4 +373,5 @@ __all__ = [
|
|
|
354
373
|
"render",
|
|
355
374
|
"repository_base_sha",
|
|
356
375
|
"touches_changed_lines",
|
|
376
|
+
"tracked_terraform_test_paths",
|
|
357
377
|
]
|
|
@@ -237,6 +237,7 @@ def analyze_external(
|
|
|
237
237
|
include_react_doctor: bool = False,
|
|
238
238
|
react_doctor_staged: bool = False,
|
|
239
239
|
force_react_doctor: bool = False,
|
|
240
|
+
react_doctor_full_scan: bool = False,
|
|
240
241
|
) -> tuple[ToolReport, ...]:
|
|
241
242
|
execute = run_process if runner is None else runner
|
|
242
243
|
execute_eslint = _run_eslint_process if runner is None else runner
|
|
@@ -360,6 +361,7 @@ def analyze_external(
|
|
|
360
361
|
use_local_binary=runner is None,
|
|
361
362
|
file_count=max(len(routed.typescript), 1),
|
|
362
363
|
staged=react_doctor_staged,
|
|
364
|
+
full_scan=react_doctor_full_scan,
|
|
363
365
|
allow_empty_projects=react_doctor_staged and not routed.typescript,
|
|
364
366
|
)
|
|
365
367
|
)
|
|
@@ -435,7 +437,11 @@ def _selected_react_doctor_projects(
|
|
|
435
437
|
has_typescript: bool,
|
|
436
438
|
capabilities: frozenset[str] | None,
|
|
437
439
|
) -> _ReactDoctorSelection | None:
|
|
438
|
-
if
|
|
440
|
+
if (
|
|
441
|
+
not enabled
|
|
442
|
+
or not has_typescript
|
|
443
|
+
or (capabilities is not None and not capabilities.intersection({"eslint", "react-doctor"}))
|
|
444
|
+
):
|
|
439
445
|
return None
|
|
440
446
|
adopted = manifest.load(root)
|
|
441
447
|
project = _react_doctor_root(root, adopted=adopted)
|
|
@@ -493,6 +499,7 @@ def _invoke_react_doctor(
|
|
|
493
499
|
use_local_binary: bool,
|
|
494
500
|
file_count: int,
|
|
495
501
|
staged: bool,
|
|
502
|
+
full_scan: bool = False,
|
|
496
503
|
allow_empty_projects: bool = False,
|
|
497
504
|
) -> ToolReport:
|
|
498
505
|
name = "react-doctor"
|
|
@@ -507,11 +514,10 @@ def _invoke_react_doctor(
|
|
|
507
514
|
)
|
|
508
515
|
install_root = packagemanager.workspace_root(project, root)
|
|
509
516
|
client = packagemanager.detect(install_root)
|
|
510
|
-
#
|
|
511
|
-
#
|
|
512
|
-
#
|
|
513
|
-
|
|
514
|
-
scope_args = _react_doctor_scope_args(staged=staged)
|
|
517
|
+
# Hooks inspect the index and CI uses the native merge-base scope. A scoped
|
|
518
|
+
# baseline promotion explicitly requests a full scan so existing debt can be
|
|
519
|
+
# recorded even though the rollout itself changes no React source files.
|
|
520
|
+
scope_args = _react_doctor_scope_args(staged=staged, full_scan=full_scan)
|
|
515
521
|
allow_empty_projects = allow_empty_projects or _react_doctor_changed_scope_has_no_source(
|
|
516
522
|
projects,
|
|
517
523
|
root=root,
|
|
@@ -562,7 +568,9 @@ def _react_doctor_max_duration(file_count: int) -> timedelta:
|
|
|
562
568
|
return _REACT_DOCTOR_MAX_DURATION
|
|
563
569
|
|
|
564
570
|
|
|
565
|
-
def _react_doctor_scope_args(*, staged: bool) -> tuple[str, ...]:
|
|
571
|
+
def _react_doctor_scope_args(*, staged: bool, full_scan: bool = False) -> tuple[str, ...]:
|
|
572
|
+
if full_scan:
|
|
573
|
+
return ("--scope", "full")
|
|
566
574
|
if staged:
|
|
567
575
|
return ("--staged",)
|
|
568
576
|
base = change_scope_base()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/basedpyright.strict.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/eslint.application.mjs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/markdownlint.strict.yaml
RENAMED
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/pyright.strict.json
RENAMED
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/ruff.application.toml
RENAMED
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/ruff.python315-watch.toml
RENAMED
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/rule-inventory.v1.json
RENAMED
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/rule-warning-levels.v1.json
RENAMED
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/configs/yamllint.strict.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/adoption/exclusions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/adoption/packagemanager.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/adoption/transaction.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/catalogs/slack_automations.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/diagnostics/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/diagnostics/serialize.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/linting/library_policy.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/release/release_age.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/comment_corpus.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/repository.py
RENAMED
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/rule_authoring.py
RENAMED
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/rule_changes.py
RENAMED
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/rule_lifecycle.py
RENAMED
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/repository/rule_maintenance.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/libs/rules/corpus_runner.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/schemas/rule-catalog.v1.json
RENAMED
|
File without changes
|
{code_standards-7.1.5 → code_standards-7.1.7}/src/sarj_standards/schemas/rule-catalog.v1.schema.json
RENAMED
|
File without changes
|
|
File without changes
|