Repository navigation
Send each repeated skill/rule text once per report (WEB-6999) - #443
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vigneshsubbiah16
left a comment
Contributor
There was a problem hiding this comment.
✅ Security consensus: no issues found. (reviewers: Claude, Semgrep, Gitleaks)
🤖 consensus review · reviewers: Claude, Semgrep, Gitleaks · head 2bd667e5 · 2026-11-28T19:21Z
Contributor
Author
|
/review code |
1 similar comment
Contributor
Author
|
/review code |
…rt (WEB-6999) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
/review code |
gowshik450526511
approved these changes
Nov 28, 2026
vigneshsubbiah16
left a comment
Contributor
There was a problem hiding this comment.
✅ Security consensus: no issues found. (reviewers: claude, semgrep, gitleaks)
🤖 consensus review · reviewers: Claude, Semgrep, Gitleaks · head d32fc7ff · 2026-11-28T19:52Z
AakashVelusamy
approved these changes
Nov 28, 2026
anonpran
added a commit
that referenced
this pull request
Nov 29, 2026
…444) * Send each repeated skill/rule text once per discovery report (WEB-6999) * Keep short repeated texts inline when a ref would not shrink the report (WEB-6999) --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
Problem
Fix
send_report_to_backendputs every skill, rule or skill-folder-file text that appears more than once intotools[i].shared_contentsand leaves acontent_sha256/head_sha256ref in each entry. Texts that appear once stay inline, so reports without repeats are byte-identical to before.payload_hashis still the hash of the expanded tool.:sharedsuffix for these reports so devices whose oversized report was lost re-send.tests/test_skill_folder_upload.py.Pairs with websentry-ai/ai-gateway-data#3601. Deploy the backend PR to prod before merging the agent PR (an old backend rejects
shared_contentswith "Unexpected fields in tool" and keeps existing rows).🤖 Generated with Claude Code
Unbound Review · Score 5/5 (no findings) ·
d32fc7fshared_contentsand leaves a sha256 ref in each entry. The size guard is judged on the compact form, whilepayload_hashand the retry-queue copy stay based on the expanded tools. The local cache key gets a:sharedsuffix so reports that were lost before get sent again. I traced how the hash, the folderfindings: 0 P0 · 0 P1 · 0 P2 (top 5 P0/P1 inline) · engines: codex ✅ · claude ✅
rules applied: CLAUDE.md