Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request adds telemetry tracking for customization files in the chat prompt system, specifically for Claude-related files. The changes enable tracking of how users are utilizing Claude rules, CLAUDE.md files, and Claude agents to better understand adoption and usage patterns.
Changes:
- Added three new telemetry counters:
claudeRulesCount,claudeMdCount, andclaudeAgentsCount - Created a new helper function
isInClaudeAgentsFolderto identify files in the.claude/agents/directory - Updated telemetry event structure and classification metadata
- Extended test assertions to verify the new telemetry fields exist
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.ts | Added telemetry tracking logic for Claude rules, CLAUDE.md files, and Claude agents; incremented appropriate counters when these files are processed |
| src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.ts | Added isInClaudeAgentsFolder helper function to identify files directly in the .claude/agents/ folder |
| src/vs/workbench/contrib/chat/test/common/promptSyntax/computeAutomaticInstructions.test.ts | Updated test to assert that new telemetry fields exist and are non-negative |
src/vs/workbench/contrib/chat/test/common/promptSyntax/computeAutomaticInstructions.test.ts
Outdated
Show resolved
Hide resolved
TylerLeonhardt
approved these changes
Feb 12, 2026
pwang347
added a commit
that referenced
this pull request
Feb 12, 2026
lramos15
pushed a commit
that referenced
this pull request
Feb 12, 2026
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.
No description provided.