Skip to content

Commit 93d7521

Browse files
refactor(tests): remove old-dimension-name absence checks from reviewer test (merge worktree-20260324-164324)
2 parents a306418 + e5ac909 commit 93d7521

File tree

2 files changed

+1
-22
lines changed

2 files changed

+1
-22
lines changed

plugins/dso/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dso",
3-
"version": "0.26.0",
3+
"version": "0.26.1",
44
"description": "Workflow infrastructure plugin for Claude Code projects",
55
"commands": "./commands/",
66
"skills": "./skills/",

tests/agents/test-reviewer-dimension-names.sh

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33
# Asserts that all code-reviewer agent definitions use the canonical dimension names
44
# expected by record-review.sh: hygiene, design, maintainability, correctness, verification.
55
#
6-
# Bug a5cb-5a76: Code reviewer agents use wrong dimension names in reviewer-findings.json.
7-
# All agents were outputting code_hygiene, object_oriented_design, readability,
8-
# functionality, testing_coverage — causing record-review.sh to reject findings with
9-
# "missing score dimension" errors.
10-
#
116
# Usage: bash tests/agents/test-reviewer-dimension-names.sh
127
# Returns: exit 0 if all tests pass, exit 1 if any fail
138

@@ -32,25 +27,9 @@ REVIEWER_AGENTS=(
3227
)
3328

3429
CORRECT_DIMS=("hygiene" "design" "maintainability" "correctness" "verification")
35-
WRONG_DIMS=("code_hygiene" "object_oriented_design" "readability" "functionality" "testing_coverage")
3630

3731
for agent_file in "${REVIEWER_AGENTS[@]}"; do
3832
agent_name=$(basename "$agent_file" .md)
39-
echo "--- ${agent_name}: no wrong dimension names ---"
40-
_snapshot_fail
41-
42-
_has_wrong=0
43-
for wrong_dim in "${WRONG_DIMS[@]}"; do
44-
if grep -qF "\"${wrong_dim}\"" "$agent_file"; then
45-
_has_wrong=1
46-
break
47-
fi
48-
done
49-
assert_eq "${agent_name}: must not use old dimension names (code_hygiene/object_oriented_design/readability/functionality/testing_coverage)" \
50-
"0" "$_has_wrong"
51-
assert_pass_if_clean "${agent_name}_no_wrong_dims"
52-
53-
echo ""
5433
echo "--- ${agent_name}: uses all correct dimension names ---"
5534
_snapshot_fail
5635

0 commit comments

Comments
 (0)