claude-dev-env 8.124.0 → 8.126.0
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/bin/ever-registered-hooks.mjs +1 -0
- package/bin/ever-registered-hooks.test.mjs +4 -0
- package/bin/install-constants.mjs +5 -0
- package/bin/install-constants.test.mjs +29 -0
- package/bin/install.mjs +15 -15
- package/bin/install.test.mjs +6 -2
- package/bin/profile-stop-gate.mjs +99 -70
- package/bin/profile-stop-gate.test.mjs +230 -12
- package/docs/agents-guidance/asks.md +1 -1
- package/docs/rule-guides/question-presentation.md +1 -1
- package/hooks/blocking/closing_reply_judge.py +332 -0
- package/hooks/blocking/closing_reply_shapes.py +365 -0
- package/hooks/blocking/conftest.py +84 -0
- package/hooks/blocking/open_tasks_stop_gate.py +247 -10
- package/hooks/blocking/open_tasks_transcript.py +25 -2
- package/hooks/blocking/open_tasks_transcript_records.py +10 -0
- package/hooks/blocking/question_brief_gate.py +6 -4
- package/hooks/blocking/test_closing_reply_judge.py +246 -0
- package/hooks/blocking/test_closing_reply_shapes.py +247 -0
- package/hooks/blocking/test_open_tasks_stop_gate.py +562 -0
- package/hooks/blocking/test_open_tasks_transcript.py +23 -0
- package/hooks/blocking/test_open_tasks_transcript_records.py +14 -0
- package/hooks/blocking/test_question_brief_gate.py +22 -0
- package/hooks/features/conduct-gates.md +7 -3
- package/hooks/hooks.json +6 -1
- package/hooks/hooks_constants/closing_reply_judge_constants.py +143 -0
- package/hooks/hooks_constants/open_tasks_stop_gate_constants.py +93 -0
- package/hooks/hooks_constants/test_hook_time_budget.py +7 -0
- package/hooks/once_per_session.py +65 -1
- package/hooks/test_once_per_session.py +35 -0
- package/package.json +1 -1
- package/scripts/gh_artifact_upload.py +3 -3
- package/scripts/policy_lint/adapter_configuration.py +6 -0
- package/scripts/policy_lint/config/constants.py +1 -0
- package/scripts/tests/test_adapter_configuration.py +8 -0
- package/scripts/tests/test_gh_artifact_upload.py +18 -0
|
@@ -70,6 +70,24 @@ def test_timestamped_asset_name_prefixes_basename() -> None:
|
|
|
70
70
|
assert len(asset_name) > len("_contact_sheet.png")
|
|
71
71
|
|
|
72
72
|
|
|
73
|
+
@pytest.mark.parametrize(
|
|
74
|
+
"source_path",
|
|
75
|
+
[
|
|
76
|
+
r"C:\stage\nested\contact_sheet.png",
|
|
77
|
+
"/stage/nested/contact_sheet.png",
|
|
78
|
+
"C:/stage/nested/contact_sheet.png",
|
|
79
|
+
],
|
|
80
|
+
)
|
|
81
|
+
def test_timestamped_asset_name_should_keep_only_the_basename_for_either_slash(
|
|
82
|
+
source_path: str,
|
|
83
|
+
) -> None:
|
|
84
|
+
asset_name = mod.timestamped_asset_name(source_path)
|
|
85
|
+
date_part, time_part, basename = asset_name.split("_", 2)
|
|
86
|
+
assert date_part.isdigit()
|
|
87
|
+
assert time_part.isdigit()
|
|
88
|
+
assert basename == "contact_sheet.png"
|
|
89
|
+
|
|
90
|
+
|
|
73
91
|
def test_upload_artifact_returns_the_readback_url(
|
|
74
92
|
tmp_path: Path, monkeypatch: pytest.MonkeyPatch
|
|
75
93
|
) -> None:
|