[PR #7451] [CLOSED] docs(clients): note the XDG config root for Trae #7845

Closed
opened 2026-11-05 01:48:05 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/7451
Author: @XiaoBinGan
Created: 10/27/2026
Status: ❌ Closed

Base: main ← Head: docs/trae-xdg-config


📝 Commits (1)

  • 5d8d937 docs(clients): note the XDG config root for Trae

📊 Changes

1 file changed (+5 additions, -4 deletions)

View changed files

📝 docs/client-configuration.md (+5 -4)

📄 Description

Summary

The Trae section states its POSIX user directory as ~/.config/Trae/User, but the resolver honors $XDG_CONFIG_HOME there too. Name the override.

Problem and expected behavior

src/application/SupportedClients.ts resolves Trae's user directory as join(xdgConfigHome(...), "Trae", "User"), and xdgConfigHome is env.XDG_CONFIG_HOME || join(home, ".config"). The section already names %APPDATA% for Windows and ~/Library/Application Support for macOS, so the POSIX branch should name the override as well. Every other client section on this page that honors an override states it.

Change and scope

One clause: the POSIX ~/.config/Trae/User path now names $XDG_CONFIG_HOME with ~/.config as its default. Nothing else changes.

Contract and boundary impact

Documentation only. No CLI, MCP/tool-catalog, provider, artifact, or generated-metadata change; docs:check passes unchanged.

  • Documentation or usability only; no target interaction.

Evidence and regression coverage

The source and behaviour evidence is in the section above. No tests added — this changes prose only, and the owning tests already cover the behaviour it describes.

Validation performed

  • npx oxfmt --check on the changed file — exit 0
  • npm run docs:check — exit 0, 9 tests passed

Compatibility, safety, and release

No breaking change, migration step, package or release metadata impact, or security review. Documentation only.

Author readiness

Human owner: @XiaoBinGan

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

Before merge

  • This PR addresses a concrete problem or an agreed enhancement.
  • Material scope and authority questions are resolved, and any required maintainer scope decision covers the final diff.
  • The PR has one focused outcome and the title follows type(scope): outcome.
  • Related issue is linked, or the reason for not linking one is stated above.
  • Owning docs, contracts, and generated metadata are updated where needed.
  • I checked the final diff for secrets, unrelated cleanup, and unsupported claims.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/morluto/rea/pull/7451 **Author:** [@XiaoBinGan](https://github.com/XiaoBinGan) **Created:** 10/27/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `docs/trae-xdg-config` --- ### 📝 Commits (1) - [`5d8d937`](https://github.com/morluto/rea/commit/5d8d937a9e9bbcc9e252e6c7fd185eac7eeda894) docs(clients): note the XDG config root for Trae ### 📊 Changes **1 file changed** (+5 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `docs/client-configuration.md` (+5 -4) </details> ### 📄 Description ## Summary The Trae section states its POSIX user directory as `~/.config/Trae/User`, but the resolver honors `$XDG_CONFIG_HOME` there too. Name the override. ## Problem and expected behavior `src/application/SupportedClients.ts` resolves Trae's user directory as `join(xdgConfigHome(...), "Trae", "User")`, and `xdgConfigHome` is `env.XDG_CONFIG_HOME || join(home, ".config")`. The section already names `%APPDATA%` for Windows and `~/Library/Application Support` for macOS, so the POSIX branch should name the override as well. Every other client section on this page that honors an override states it. ## Change and scope One clause: the POSIX `~/.config/Trae/User` path now names `$XDG_CONFIG_HOME` with `~/.config` as its default. Nothing else changes. ## Contract and boundary impact Documentation only. No CLI, MCP/tool-catalog, provider, artifact, or generated-metadata change; `docs:check` passes unchanged. - [x] Documentation or usability only; no target interaction. ## Evidence and regression coverage The source and behaviour evidence is in the section above. No tests added — this changes prose only, and the owning tests already cover the behaviour it describes. ## Validation performed - `npx oxfmt --check` on the changed file — exit 0 - `npm run docs:check` — exit 0, 9 tests passed ## Compatibility, safety, and release No breaking change, migration step, package or release metadata impact, or security review. Documentation only. ## Author readiness Human owner: @XiaoBinGan - [x] I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work. - [x] I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps. - [x] I declare this PR ready for initial maintainer review. ## Before merge - [x] This PR addresses a concrete problem or an agreed enhancement. - [x] Material scope and authority questions are resolved, and any required maintainer scope decision covers the final diff. - [x] The PR has one focused outcome and the title follows `type(scope): outcome`. - [x] Related issue is linked, or the reason for not linking one is stated above. - [x] Owning docs, contracts, and generated metadata are updated where needed. - [x] I checked the final diff for secrets, unrelated cleanup, and unsupported claims. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-05 01:48:05 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#7845
No description provided.