claude-dev-env 8.5.0 → 8.6.1
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.
- package/_shared/pr-loop/scripts/pr_loop_shared_constants/terminology_sweep_constants.py +4 -0
- package/_shared/pr-loop/scripts/terminology_sweep.py +154 -18
- package/_shared/pr-loop/scripts/tests/test_terminology_sweep.py +117 -0
- package/bin/cde.mjs +40 -6
- package/bin/cde.test.mjs +25 -0
- package/commands/fix-followups.md +15 -8
- package/hooks/blocking/state_description_blocker.py +230 -90
- package/hooks/blocking/test_code_rules_enforcer_duplicate_body_hook_routing.py +23 -25
- package/hooks/blocking/test_state_description_blocker.py +43 -0
- package/hooks/followup_ledger.py +109 -4
- package/hooks/hooks_constants/followup_ledger_constants.py +15 -0
- package/hooks/hooks_constants/state_description_blocker_constants.py +5 -1
- package/hooks/hooks_constants/test_state_description_blocker_constants.py +85 -0
- package/hooks/test_followup_ledger.py +92 -4
- package/package.json +1 -1
- package/rules/flag-non-breaking-findings.md +35 -2
- package/scripts/dev_env_scripts_constants/followup_constants.py +21 -4
- package/scripts/followup_cli.py +78 -4
- package/scripts/policy_lint/adapter_detectors.py +1 -1
- package/scripts/policy_lint/adapter_support.py +11 -15
- package/scripts/policy_lint/adapters.py +0 -1
- package/scripts/policy_lint/check_catalog.py +44 -0
- package/scripts/policy_lint/config/check_catalog_constants.py +59 -0
- package/scripts/policy_lint/model.py +4 -1
- package/scripts/test_followup_cli.py +116 -2
- package/scripts/test_validate_instruction_pairs.py +23 -1
- package/scripts/tests/test_policy_lint_rules_check_catalog.py +151 -0
- package/scripts/tests/test_policy_lint_rules_engine.py +4 -1
- package/scripts/validate_instruction_pairs.py +9 -2
|
@@ -29,7 +29,7 @@ from dev_env_scripts_constants.followup_constants import (
|
|
|
29
29
|
REGULAR_FILE_RULE_ID,
|
|
30
30
|
SEVERITY_BY_RULE_ID,
|
|
31
31
|
)
|
|
32
|
-
from followup_ledger import FollowupFinding, record_followup_finding
|
|
32
|
+
from followup_ledger import FollowupFinding, head_commit, record_followup_finding
|
|
33
33
|
from hooks_constants.followup_ledger_constants import SEVERITY_BREAKING
|
|
34
34
|
|
|
35
35
|
class InstructionFinding(NamedTuple):
|
|
@@ -358,7 +358,14 @@ def _record_smell(repository_root: Path, finding: InstructionFinding) -> None:
|
|
|
358
358
|
"""
|
|
359
359
|
record_followup_finding(
|
|
360
360
|
repository_root,
|
|
361
|
-
FollowupFinding(
|
|
361
|
+
FollowupFinding(
|
|
362
|
+
finding.rule_id,
|
|
363
|
+
finding.file_path,
|
|
364
|
+
finding.message,
|
|
365
|
+
finding.rule_id,
|
|
366
|
+
finding.severity,
|
|
367
|
+
head_commit(repository_root),
|
|
368
|
+
),
|
|
362
369
|
)
|
|
363
370
|
logger.warning(RECORDED_SMELL_TEMPLATE, finding.message)
|
|
364
371
|
|