Skip to content

refactor(config): unify user config path to ~/.config/cli-sub-agent/#73

Merged
RyderFreeman4Logos merged 2 commits intomainfrom
refactor/unified-global-config
Feb 14, 2026
Merged

refactor(config): unify user config path to ~/.config/cli-sub-agent/#73
RyderFreeman4Logos merged 2 commits intomainfrom
refactor/unified-global-config

Conversation

@RyderFreeman4Logos
Copy link
Owner

Summary

  • Unified user-level ProjectConfig path from ~/.config/csa/config.toml to ~/.config/cli-sub-agent/config.toml, same directory as GlobalConfig
  • Eliminates dual global config path confusion (overlapping review/debate/tools sections)
  • Updated all stale path references in tests and skill docs
  • No backward compat code (pre-production per AGENTS.md 019 versioning rule)

Test plan

  • cargo test -p csa-config — 130 tests pass (3 new: path consistency, user-only tiers, project-overrides-user)
  • just pre-commit — full 860 test suite passes
  • @codex review

🤖 Generated with Claude Code

RyderFreeman4Logos and others added 2 commits February 13, 2026 17:32
[MOTIVATION]
User-level ProjectConfig was at ~/.config/csa/config.toml while
GlobalConfig was at ~/.config/cli-sub-agent/config.toml. Two paths
for global-scope configs caused user confusion and schema overlap
(review, debate, tools sections in both).

[IMPLEMENTATION DETAILS]
- Changed ProjectConfig::user_config_path() to use cli-sub-agent
  namespace (same as GlobalConfig), eliminating the dual-path problem
- Updated template location comment to reflect new path
- Added tests: path consistency with GlobalConfig, user-only tiers,
  project-overrides-user tiers
- No backward compat code (pre-production per AGENTS.md 019)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@RyderFreeman4Logos RyderFreeman4Logos merged commit bdc4c18 into main Feb 14, 2026
0 of 5 checks passed
@RyderFreeman4Logos RyderFreeman4Logos deleted the refactor/unified-global-config branch February 14, 2026 01:38
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.

1 participant