Repository navigation
feat(admin): group harness feedback into named issues - #7768
Open
benjaminshafii wants to merge 3 commits into
Open
benjaminshafii wants to merge 3 commits into
benjaminshafii wants to merge 3 commits into
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is this about?
Harness feedback in Den admin now groups agent reports into named issues ("
session.archivereports success when a required argument is missing") tagged by theme, instead of label buckets.What problem does it solve?
Most real reports never reached a group, and the groups that formed were labels like "Tool error (tool: execute_capability)": they didn't say what was broken, merged unrelated bugs on one tool, and split one bug reported under two tool names.
What was the situation before?
On
/admin/harness-feedback, 9 of 10 real reports sat ungrouped in "Needs review", and Slack posts carried only category and tool.How is this implemented?
harness-feedback/classifier.ts: reworded Jev questions; best category wins when the gate is ≥ 0.60 and it scores ≥ 0.50 (no runner-up or lead rule).harness-feedback/grouping.ts: Jev asks "same underlying defect?" against up to 24 same-org issues; joins the best match at ≥ 0.60.llm/issue-naming-model.ts: no match → Sol 6.2 (same AI Gateway key, zero data retention) writes the title and picks a theme; output validated, failures retry then end in needs review.worker.ts/repository.ts: one org's reports run in sequence; settle locks the org settings row and re-queues if an issue appeared meanwhile. Old label groups get named in place without a new Slack post.What else changed?
functions./tools.prefix.0217adds nullableharness_feedback_group.theme.Release note
none
Evidence
No E2E;
harness-feedback*.api.test.ts(fake Jev, Sol and Slack) cover matching, naming, races, sanitizing and legacy naming. Replayed 10 real reports plus 6 synthetic ones against the live models: before, 1 classified and 9 needs review; after, 12 named issues, every reworded duplicate joined its original, and every different problem on the same tool stayed separate.Design: P5, P6, S2, S3, C3, C7