Skip to content

fix: remove duplicate confidence/status from low-confidence escalation reason#12

Merged
Turtle-Hwan merged 1 commit into
mainfrom
fix/stop-hook-duplicate-confidence
May 12, 2026
Merged

fix: remove duplicate confidence/status from low-confidence escalation reason#12
Turtle-Hwan merged 1 commit into
mainfrom
fix/stop-hook-duplicate-confidence

Conversation

@Turtle-Hwan
Copy link
Copy Markdown
Contributor

@Turtle-Hwan Turtle-Hwan commented May 12, 2026

Summary

  • Remove the inline bullet list (- status:, - confidence:, - threshold:) from the low-confidence escalation message — that information is already present in predictedPromptSection, causing it to appear twice
  • Update test assertions to match the new format (Confidence: 0.NNNNN)

Before

Clone was not confident enough to continue automatically.
- status: escalated          ← duplicate
- confidence: 0.53261        ← duplicate
- threshold: 0.6             ← duplicate

Iteration 4 : ...
Confidence: 0.53261 / threshold: 0.6
Prediction status: escalated

After

Iteration 4 : ...
Confidence: 0.53261 / threshold: 0.6
Prediction status: escalated

Clone was not confident enough to continue automatically.

…n reason

status and confidence appeared twice in the escalation reason:
once in the inline bullet list and again inside predictedPromptSection.
Removed the inline bullets; predictedPromptSection already has both.

Also update test assertion to match new Confidence: 0.NNNNN format.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Turtle-Hwan Turtle-Hwan merged commit 4de64ef into main May 12, 2026
@Turtle-Hwan Turtle-Hwan deleted the fix/stop-hook-duplicate-confidence branch May 12, 2026 10:59
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