chore: update drain3 default log pattern weights#36190
Merged
Merged
Conversation
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.
chore: update drain3 default weights from weekly training run
Summary
Refreshes
pkg/agentdrain/data/default_weights.jsonwith the latest weeklydrain3 training run. No Go source or test files were modified.
What changed
New error clusters (ids 7–10)
web-fetchMCP tool not availablemissing_toolmcpscripts-ghCLI not mounted; onlygithub_pr_query/github_issue_query/github_discussion_queryavailablemissing_toolweb-fetchtool not available → direct web-fetch smoke step could not executemissing_tool/tmp/gh-aw/comment-memorydirectory absent; no markdown files to append haiku tomissing_data(data_type=comment_memory_files)next_idin the error stage bumped 7 → 11 to accommodate the four new clusters.Updated existing error clusters (ids 1–6)
reason=missing tool/permission issue: numerous permission denied errors(size 1 → 2)close_discussionsafe-output not available errordata_type=cache_memory reason=cache_memory_miss type=missing_data(size 5 → 3)close_discussionsafe-output missing-tool templatereason=security tool= type=missing_toolmcpscripts-ghunknown-tool error (JSON-RPC -32602) (size 2 → 1)web-fetch MCP tool is not available in this runtimeCluster size updates
tool_result clusters
Multiple cluster templates updated to reflect newly observed patterns (e.g. PR-nudger run summaries).
JSON formatting
ExcludeFieldsarrays and template arrays reformatted from single-line to multi-line style throughout the file for readability.Why
The drain3 weight file is regenerated on a weekly cadence from real agent run logs. This update:
missing_toolerrors forweb-fetchandmcpscripts-gh, and amissing_dataerror for the comment-memory directory.Testing
Data-file-only change. No code paths altered; existing drain3 unit tests cover the weight-loading logic.
Files changed
pkg/agentdrain/data/default_weights.json