Skip to content

pre-commit-review: cluster title line carries its rule ids - #92

Merged
buzzdan merged 2 commits into
mainfrom
claude/cluster-header-rule-tail
Oct 18, 2026
Merged

buzzdan merged 2 commits into
mainfrom
claude/cluster-header-rule-tail

Conversation

@buzzdan

@buzzdan buzzdan commented Oct 14, 2026

Copy link
Copy Markdown
Owner

What

The pre-commit-review reference now writes every cluster title as 🔗 CLUSTER: <anchor> — <rules>, the same form SKILL.md shows. One sentence says the rule ids go on the title line itself.

Why

The reference showed 🔗 CLUSTER: Alert.Channel with the rules on the lines below. Agents followed the reference. The report-contract graders read the rules on the title line, so correct clusters failed their graders: 6 of 11 cluster graders missed in the ts-react baseline (ldd-evals baselines/ts-react-2.0.0-b64f8a8/).

Changes

  • core/skills/pre-commit-review/reference.md: the three examples and the rendering sentence carry the rule tail.
  • The four generated plugins, regenerated.

Checks

  • task check, task lint-core, task docs:check: green.
  • task test-gate: green except 2 check-repo-brain_test cases. Those fail on macOS sed only, in code this PR does not touch; CI runs on Linux.
  • Not measured yet: ts-react case A ×2 should go from 0/2 to 2/2 on the cluster graders; go and py case A should not move.

🤖 Generated with Claude Code

buzzdan and others added 2 commits October 14, 2026 13:06
The reference showed the cluster header as `🔗 CLUSTER: <anchor>` with the
rules on the lines below, while SKILL.md shows `<anchor> — <rules>`. Agents
followed the reference, and the report-contract graders read the rules on the
title line, so a correct cluster failed its grader. The reference examples and
the rendering sentence now carry the ` — <rules>` tail.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-rule-tail

# Conflicts:
#	core/skills/pre-commit-review/reference.md
#	go-linter-driven-development/skills/pre-commit-review/reference.md
#	linter-driven-development/skills/pre-commit-review/reference.md
#	python-linter-driven-development/skills/pre-commit-review/reference.md
#	ts-react-linter-driven-development/skills/pre-commit-review/reference.md
@buzzdan
buzzdan merged commit 834a2f4 into main Oct 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant