Skip to content

feat(docs): Replace deprecated chat.modeFilesLocations with chat.agentFilesLocations#413

Merged
WilliamBerryiii merged 4 commits intomainfrom
copilot/update-deprecated-chat-settings
Feb 4, 2026
Merged

feat(docs): Replace deprecated chat.modeFilesLocations with chat.agentFilesLocations#413
WilliamBerryiii merged 4 commits intomainfrom
copilot/update-deprecated-chat-settings

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 4, 2026

The deprecated chat.modeFilesLocations property was still referenced throughout the codebase. VS Code now uses chat.agentFilesLocations for discovering custom agents.

Changes

  • Settings: Updated .vscode/settings.json to use correct property
  • Installer agent: Removed deprecated property from templates (was emitting both old and new properties)
  • Documentation: Updated all installation method guides in docs/getting-started/methods/
  • Troubleshooting: Fixed property reference in getting started guide

Before/After

 {
-  "chat.modeFilesLocations": {
+  "chat.agentFilesLocations": {
     ".github/agents": true
   }
 }

All 13 occurrences across 9 files have been updated.

Original prompt

This section details on the original issue you should resolve

<issue_title>[Issue]: Settings still apply deprecated 'chat.modeFilesLocations' property</issue_title>
<issue_description>### Issue Description

Settings still apply deprecated 'chat.modeFilesLocations' property --> chat.agentFilesLocations is the right config property now

  • hve-core-installer agent adds both chat.modeFilesLocations and chat.agentFilesLocations
  • docs still pointing to deprecated property

Additional Context

No response</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…gentFilesLocations

- Updated .vscode/settings.json to use chat.agentFilesLocations
- Updated hve-core-installer agent to remove deprecated property
- Updated all documentation files in docs/getting-started/methods/
- Updated docs/getting-started/README.md troubleshooting section

Resolves issue where deprecated chat.modeFilesLocations was still being used throughout the codebase

Co-authored-by: bindsi <16034499+bindsi@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix usage of deprecated chat.modeFilesLocations property Replace deprecated chat.modeFilesLocations with chat.agentFilesLocations Feb 4, 2026
Copilot AI requested a review from bindsi February 4, 2026 14:23
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 4, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@bindsi bindsi marked this pull request as ready for review February 4, 2026 14:25
@bindsi bindsi requested a review from a team as a code owner February 4, 2026 14:25
Copilot AI review requested due to automatic review settings February 4, 2026 14:25
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Feb 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.63%. Comparing base (8529725) to head (9b651db).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #413      +/-   ##
==========================================
- Coverage   74.66%   74.63%   -0.04%     
==========================================
  Files          19       19              
  Lines        3296     3296              
==========================================
- Hits         2461     2460       -1     
- Misses        835      836       +1     
Flag Coverage Δ
pester 74.63% <ø> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes all occurrences of the deprecated chat.modeFilesLocations VS Code property and replaces it with the current chat.agentFilesLocations property. The change ensures HVE-Core users configure custom agent discovery using the correct property name.

Changes:

  • Replaced deprecated chat.modeFilesLocations with chat.agentFilesLocations across all documentation and configuration files
  • Removed duplicate property emission from the installer agent template
  • Updated troubleshooting guidance to reference the correct property name

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.vscode/settings.json Updated repository's own settings to use correct property
.github/agents/hve-core-installer.agent.md Removed deprecated property from templates (was emitting both old and new)
docs/getting-started/README.md Updated troubleshooting section to reference correct property
docs/getting-started/methods/submodule.md Updated settings example for submodule installation method
docs/getting-started/methods/peer-clone.md Updated settings example for peer clone installation method
docs/getting-started/methods/multi-root.md Updated workspace settings example for multi-root installation method
docs/getting-started/methods/mounted.md Updated settings examples (3 occurrences) for mounted directory method
docs/getting-started/methods/git-ignored.md Updated settings examples (2 occurrences) for git-ignored installation method
docs/getting-started/methods/codespaces.md Updated settings examples (4 occurrences) for Codespaces installation method

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated no new comments.

Copy link
Copy Markdown
Contributor

@katriendg katriendg left a comment

Choose a reason for hiding this comment

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

Looking nice, all references cleaned up including the docs.

@WilliamBerryiii WilliamBerryiii changed the title Replace deprecated chat.modeFilesLocations with chat.agentFilesLocations feat(docs): Replace deprecated chat.modeFilesLocations with chat.agentFilesLocations Feb 4, 2026
@WilliamBerryiii WilliamBerryiii merged commit 67fb2ab into main Feb 4, 2026
16 checks passed
@WilliamBerryiii WilliamBerryiii deleted the copilot/update-deprecated-chat-settings branch February 4, 2026 17:49
WilliamBerryiii added a commit that referenced this pull request Feb 4, 2026
🤖 I have created a release *beep* *boop*
---


##
[2.1.0](hve-core-v2.0.1...hve-core-v2.1.0)
(2026-02-04)


### ✨ Features

* add PowerShell script to validate copyright headers
([#370](#370))
([92fce72](92fce72))
* **docs:** Replace deprecated chat.modeFilesLocations with
chat.agentFilesLocations
([#413](#413))
([67fb2ab](67fb2ab))
* **scripts:** add CIHelpers module for CI platform abstraction
([#348](#348))
([23e7a7e](23e7a7e))
* **scripts:** add SecurityHelpers and CIHelpers modules
([#354](#354))
([b93d990](b93d990))
* **workflow:** add copilot-setup-steps.yml for Coding Agent environment
([#398](#398))
([085a38b](085a38b))


### 🐛 Bug Fixes

* **build:** increase release-please search depths to prevent 250-commit
window issue ([#342](#342))
([4bb857d](4bb857d))
* **build:** patch @isaacs/brace-expansion critical vulnerability
([#404](#404))
([292ef51](292ef51))
* **ci:** disable errexit during spell check exit code capture
([#356](#356))
([ed6ed46](ed6ed46))
* **ci:** exclude extension/README.md from frontmatter validation
([#362](#362))
([e0d7378](e0d7378))
* exclude test fixtures from markdown link checker
([#345](#345))
([58147f9](58147f9))
* **extension:** resolve path resolution issues in Windows/WSL
environments ([#407](#407))
([8529725](8529725))
* **linting:** use Write-Error instead of Write-Host for error output
([#377](#377))
([2ca766b](2ca766b))
* **scripts:** apply CI output escaping to infrastructure scripts
([#369](#369))
([251021e](251021e))
* **scripts:** apply CI output escaping to linting scripts
([#367](#367))
([fdd75ed](fdd75ed))
* **scripts:** apply CI output escaping to security scripts
([#368](#368))
([1237c9a](1237c9a))
* **scripts:** ensure reliable array count operations in linting and
security scripts
([#395](#395))
([de43e73](de43e73))
* **scripts:** standardize PowerShell requirements header block
([#385](#385))
([6e26282](6e26282))


### 📚 Documentation

* add doc-ops agent to CUSTOM-AGENTS reference
([#358](#358))
([15f7185](15f7185))
* add memory agent to CUSTOM-AGENTS.md
([#359](#359))
([d92c4e1](d92c4e1))
* add missing agents to extension README
([#357](#357))
([d58541c](d58541c))
* add task-reviewer agent to CUSTOM-AGENTS.md
([#363](#363))
([0efb722](0efb722))
* **contributing:** add copyright header guidelines
([#382](#382))
([881a567](881a567))
* **scripts:** update README.md with missing directory sections
([#355](#355))
([ac2966f](ac2966f))


### ♻️ Refactoring

* **scripts:** align linting and tests with CIHelpers
([#401](#401))
([3587e6a](3587e6a))
* **scripts:** extract Invoke-PackageExtension for testability
([#343](#343))
([858a1be](858a1be))
* **scripts:** extract orchestration function for Prepare-Extension
testability ([#344](#344))
([9fd4bd1](9fd4bd1))
* **scripts:** replace raw GITHUB_OUTPUT with Set-CIOutput in
Package-Extension
([#391](#391))
([74a30bb](74a30bb))
* **security:** move DependencyViolation and ComplianceReport to shared
module ([#378](#378))
([1dd31ad](1dd31ad))


### 🔧 Maintenance

* add copyright headers to PowerShell scripts
([#381](#381))
([d19c9b3](d19c9b3))
* add copyright headers to shell scripts
([#380](#380))
([284b456](284b456))
* **deps-dev:** bump cspell from 9.6.1 to 9.6.2 in the npm-dependencies
group ([#387](#387))
([23c2b9f](23c2b9f))
* **workflows:** simplify Copilot setup steps workflow triggers
([#414](#414))
([492a7b1](492a7b1))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: hve-core-release-please[bot] <254602402+hve-core-release-please[bot]@users.noreply.github.com>
Co-authored-by: Bill Berry <wberry@microsoft.com>
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.

[Issue]: Settings still apply deprecated 'chat.modeFilesLocations' property

6 participants