Skip to content

fix: teach grippy LLM to use finding_type note for praise#92

Merged
Navi Bot (project-navi-bot) merged 1 commit into
mainfrom
fix/finding-type-schema
Apr 5, 2026
Merged

fix: teach grippy LLM to use finding_type note for praise#92
Navi Bot (project-navi-bot) merged 1 commit into
mainfrom
fix/finding-type-schema

Conversation

@Fieldnote-Echo
Copy link
Copy Markdown
Member

Summary

  • Add Step 4 (Classify Finding Types) to system-core.md prompt chain
  • Explicit instructions: use "issue" for problems, "note" for positive observations
  • Rule: notes don't deduct, at least one note per review when quality warrants it

Bug

PR #91 added finding_type to the schema and scoring logic, but the LLM wasn't told when to use it. Without prompt guidance, all findings remained "issue" — praise still tanked scores. PR #90 scored 68/100 FAIL on the rebased run despite all findings being compliments.

Test plan

  • 1404 tests passing
  • Prompt-only change, no code logic affected

Add Step 4 (Classify Finding Types) to system-core.md prompt chain.
Without explicit guidance, the LLM emits all findings as "issue"
even when describing good practices, causing praise to tank scores.

Coding-Agent: claude-code
Model: claude-opus-4-6
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grippy approves — PASS (100/100)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 5, 2026

✅ Grippy Review — PASS

Score: 100/100 | Findings: 0


Commit: 34cda50

@project-navi-bot Navi Bot (project-navi-bot) merged commit fe94aa9 into main Apr 5, 2026
19 checks passed
@project-navi-bot Navi Bot (project-navi-bot) deleted the fix/finding-type-schema branch April 5, 2026 00:34
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.

2 participants