claude-dev-env 1.26.1 → 1.26.2
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/hooks/lifecycle/config_change_guard.py +1 -0
- package/hooks/validators/git_checks.py +4 -1
- package/hooks/validators/test_output_formatter.py +7 -2
- package/package.json +1 -1
- package/skills/bugteam/SKILL.md +143 -309
- package/skills/bugteam/SKILL_EVALS.md +46 -46
- package/skills/bugteam/reference/README.md +13 -0
- package/skills/bugteam/reference/audit-and-teammates.md +127 -0
- package/skills/bugteam/reference/design-rationale.md +28 -0
- package/skills/bugteam/reference/github-pr-reviews.md +86 -0
- package/skills/bugteam/reference/team-setup.md +51 -0
- package/skills/bugteam/reference/teardown-publish-permissions.md +70 -0
- package/skills/bugteam/scripts/README.md +4 -0
- package/skills/bugteam/{_claude_permissions_common.py → scripts/_claude_permissions_common.py} +37 -33
- package/skills/bugteam/scripts/bugteam_code_rules_gate.py +55 -0
- package/skills/bugteam/{grant_project_claude_permissions.py → scripts/grant_project_claude_permissions.py} +10 -11
- package/skills/bugteam/{revoke_project_claude_permissions.py → scripts/revoke_project_claude_permissions.py} +13 -14
- package/skills/bugteam/sources.md +93 -0
- /package/hooks/validators/{config.py → validator_defaults.py} +0 -0
- /package/skills/bugteam/{test_claude_permissions_common.py → scripts/test_claude_permissions_common.py} +0 -0
|
@@ -6,7 +6,10 @@ import sys
|
|
|
6
6
|
from dataclasses import dataclass
|
|
7
7
|
from typing import List
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
try:
|
|
10
|
+
from .validator_defaults import DEFAULT_BASE_BRANCH_WHEN_UNKNOWN
|
|
11
|
+
except ImportError:
|
|
12
|
+
from validator_defaults import DEFAULT_BASE_BRANCH_WHEN_UNKNOWN
|
|
10
13
|
|
|
11
14
|
|
|
12
15
|
SUBPROCESS_TIMEOUT_SECONDS = 30
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""Tests for output formatting."""
|
|
2
2
|
|
|
3
3
|
import os
|
|
4
|
+
import sys
|
|
4
5
|
|
|
5
6
|
import pytest
|
|
6
7
|
|
|
@@ -95,11 +96,15 @@ class TestJsonFlag:
|
|
|
95
96
|
import json
|
|
96
97
|
import subprocess
|
|
97
98
|
|
|
99
|
+
validators_directory = os.path.dirname(os.path.abspath(__file__))
|
|
100
|
+
hooks_directory = os.path.normpath(
|
|
101
|
+
os.path.join(validators_directory, os.pardir)
|
|
102
|
+
)
|
|
98
103
|
result = subprocess.run(
|
|
99
|
-
["
|
|
104
|
+
[sys.executable, "-m", "validators.run_all_validators", "--json"],
|
|
100
105
|
capture_output=True,
|
|
101
106
|
text=True,
|
|
102
|
-
cwd=
|
|
107
|
+
cwd=hooks_directory,
|
|
103
108
|
)
|
|
104
109
|
|
|
105
110
|
output = result.stdout.strip()
|