Skip to content

t27mcp: fix duplicate body in chain_metrics -- is_generalizing delegates to is_rsi_signal - #13564

Merged
gHashTag merged 1 commit into
masterfrom
lane/chain-metrics-dupe-fix
Nov 10, 2026
Merged

gHashTag merged 1 commit into
masterfrom
lane/chain-metrics-dupe-fix

Conversation

@gHashTag

@gHashTag gHashTag commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes the duplicate-bodies CI gate failure introduced when chain_metrics.t27 landed via PR #13557.

is_rsi_signal and is_generalizing had identical bodies (both checking EL_SIGNAL|EL_CONFIRMED). Made is_generalizing delegate to is_rsi_signal — same semantics, no duplicate.

Closes #13563

🤖 Generated with Claude Code


Note

Low Risk
Spec-helper DRY refactor only; semantics unchanged and covered by existing tests in chain_metrics.t27.

Overview
is_generalizing in chain_metrics.t27 no longer duplicates the EL_SIGNAL / EL_CONFIRMED checks; it now returns is_rsi_signal(level), preserving the same behavior. A doc line was added noting that generalization uses the same evidence threshold as RSI signal.

This addresses the duplicate-bodies CI gate that failed after the two helpers had identical implementations.

Reviewed by Cursor Bugbot for commit 508cd2c. Bugbot is set up for automated code reviews on this repo. Configure here.

…tes to is_rsi_signal

Both functions shared identical bodies (EL_SIGNAL|EL_CONFIRMED threshold).
is_generalizing now calls is_rsi_signal, which has the same semantics.
Fixes duplicate-bodies gate on master.

Closes #13563

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@cursor

cursor Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: 90f51613-a2f7-41ed-8e43-5e9ae8c57a65)

@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-11-10 12:59:14 UTC

Summary

Status Count
Total Open PRs 31
PRs with Failing Checks 29
PRs with All Checks Green 2
READY 0
FAILING 29
PENDING 0
NO CHECKS YET 0

These columns do not partition: 0 + 29 + 0 + 0 = 29, and there are 31 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=b882be1e4933 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@gHashTag
gHashTag enabled auto-merge (squash) November 10, 2026 12:59
@gHashTag
gHashTag merged commit dcb0518 into master Nov 10, 2026
37 of 45 checks passed
@gHashTag
gHashTag deleted the lane/chain-metrics-dupe-fix branch November 10, 2026 13:00
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.

t27mcp: fix duplicate body in chain_metrics.t27 -- is_generalizing delegates to is_rsi_signal

1 participant