Pre-flight Checklist
📝 Bug Description
On Windows, gentle-ai generates the GGA global config under:
%USERPROFILE%\.config\gga\config
but GGA appears to read from:
As a result, gga config reports no global config and no provider, even though gentle-ai generated one.
This also conflicts with GGA's own configuration documentation, which describes the global config path as:
🔄 Steps to Reproduce
- Install
gentle-ai with a preset that includes GGA, such as full-gentleman or ecosystem-only.
- Verify that gentle-ai generated the GGA config:
Test-Path "$env:USERPROFILE\.config\gga\config"
Test-Path "$env:USERPROFILE\.config\gga\AGENTS.md"
Get-Content "$env:USERPROFILE\.config\gga\config"
- Run:
- Check whether
%APPDATA%\gga\config exists:
Test-Path "$env:APPDATA\gga\config"
✅ Expected Behavior
The config path used by gentle-ai and the config path read by gga should match on Windows.
After installing a preset that includes GGA, gga config should show the generated global config and provider.
❌ Actual Behavior
gentle-ai generated these files successfully:
%USERPROFILE%\.config\gga\config
%USERPROFILE%\.config\gga\AGENTS.md
Both paths return True with Test-Path.
The generated config contains:
PROVIDER="opencode"
RULES_FILE="AGENTS.md"
But gga config reports:
Config Files:
Global: Not found
Project: Not found
Values:
PROVIDER: Not configured
FILE_PATTERNS: *
EXCLUDE_PATTERNS: None
RULES_FILE: AGENTS.md
STRICT_MODE: true
TIMEOUT: 300s
PR_BASE_BRANCH: auto-detect
Rules File: Not found (AGENTS.md)
APPDATA points to:
%USERPROFILE%\AppData\Roaming
and this path does not exist:
🖥️ Environment
Gentle AI Version
1.23.0
GGA version: 2.8.1
Install method: Scoop
Shell: PowerShell
Operating System
Windows
AI Agent / Client
OpenCode
📋 Affected Area
Installation Pipeline
💡 Logs / Error Output
Config Files:
Global: Not found
Project: Not found
Values:
PROVIDER: Not configured
FILE_PATTERNS: *
EXCLUDE_PATTERNS: None
RULES_FILE: AGENTS.md
STRICT_MODE: true
TIMEOUT: 300s
PR_BASE_BRANCH: auto-detect
Rules File: Not found (AGENTS.md)
Additional Context
Technical Notes
gentle-ai writes GGA config using:
ConfigPath(homeDir) => ~/.config/gga/config
But the installed GGA script prioritizes $APPDATA/gga/config on Windows when APPDATA is set.
This creates a path mismatch:
Written by gentle-ai:
%USERPROFILE%\.config\gga\config
Read by GGA:
%APPDATA%\gga\config
Impact
This is more than cosmetic: GGA is installed, but it does not pick up the provider generated by gentle-ai, so users may think GGA is configured when it is not.
Project-level hooks still need to be enabled manually with:
That part is expected. The issue is only about the global config generated by gentle-ai not being read by GGA on Windows.
Related
Related Windows/GGA reports exist, but they appear to cover different symptoms:
This issue is specifically about the path mismatch where gentle-ai writes GGA config under %USERPROFILE%\.config\gga\, while GGA reads from %APPDATA%\gga\ on Windows.
Pre-flight Checklist
status:approved📝 Bug Description
On Windows,
gentle-aigenerates the GGA global config under:but GGA appears to read from:
As a result,
gga configreports no global config and no provider, even thoughgentle-aigenerated one.This also conflicts with GGA's own configuration documentation, which describes the global config path as:
🔄 Steps to Reproduce
gentle-aiwith a preset that includes GGA, such asfull-gentlemanorecosystem-only.%APPDATA%\gga\configexists:✅ Expected Behavior
The config path used by
gentle-aiand the config path read byggashould match on Windows.After installing a preset that includes GGA,
gga configshould show the generated global config and provider.❌ Actual Behavior
gentle-aigenerated these files successfully:Both paths return
TruewithTest-Path.The generated config contains:
But
gga configreports:APPDATApoints to:and this path does not exist:
🖥️ Environment
Gentle AI Version
1.23.0
GGA version: 2.8.1
Install method: Scoop
Shell: PowerShell
Operating System
Windows
AI Agent / Client
OpenCode
📋 Affected Area
Installation Pipeline
💡 Logs / Error Output
Additional Context
Technical Notes
gentle-aiwrites GGA config using:But the installed GGA script prioritizes
$APPDATA/gga/configon Windows whenAPPDATAis set.This creates a path mismatch:
Impact
This is more than cosmetic: GGA is installed, but it does not pick up the provider generated by
gentle-ai, so users may think GGA is configured when it is not.Project-level hooks still need to be enabled manually with:
That part is expected. The issue is only about the global config generated by
gentle-ainot being read by GGA on Windows.Related
Related Windows/GGA reports exist, but they appear to cover different symptoms:
%USERPROFILE%\.config\gga\AGENTS.md, but its root symptom isAccess is deniedwhile writing managed files.This issue is specifically about the path mismatch where
gentle-aiwrites GGA config under%USERPROFILE%\.config\gga\, while GGA reads from%APPDATA%\gga\on Windows.