Skip to content

Commit 3b76d34

Browse files
authored
fix: tune OpenClaw review metrics guidance
Scope Review metrics guidance through the OpenClaw repository profile so deterministic PR surface stats are not repeated, while preserving high-signal user-facing config/API/default metrics.\n\nValidation:\n- ./node_modules/.bin/tsgo -p tsconfig.json\n- node --test test/repository-profiles.test.ts\n- git diff --check -- src/repository-profiles.ts\n- GitHub CI: pnpm check, CodeQL, Socket passed\n- ClawSweeper re-review: proof sufficient, ready for maintainer look
1 parent eef3e9a commit 3b76d34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/repository-profiles.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const CORE_OPENCLAW_PROFILE: RepositoryProfile = {
7676
docsUrl: "https://docs.openclaw.ai",
7777
communityUrl: "https://clawhub.ai/",
7878
promptNote:
79-
"Use the OpenClaw source tree, docs, changelog, and current main branch. Close proposals may use the normal OpenClaw stale/duplicate/not-in-repo/implemented-on-main policy when evidence is strong.",
79+
"Use the OpenClaw source tree, docs, changelog, and current main branch. Close proposals may use the normal OpenClaw stale/duplicate/not-in-repo/implemented-on-main policy when evidence is strong. For OpenClaw PR reviews, ClawSweeper renders deterministic PR surface stats separately; do not repeat changed-file counts, additions/deletions, or area totals in Review metrics unless adding a new interpretation not present in the deterministic surface block. Use Review metrics for new review-relevant facts, especially user-facing configuration additions, new flags/options/env vars, new protocol/API params, default changes, migrations, persisted settings, or compatibility paths.",
8080
applyCloseRules: {
8181
issue: OPENCLAW_CLOSE_REASONS,
8282
pull_request: OPENCLAW_CLOSE_REASONS.filter((reason) => reason !== "stale_insufficient_info"),

0 commit comments

Comments
 (0)