feat(kugetsu): add local config file for user overrides (fixes #67) #69

Closed
shoko wants to merge 0 commits from fix/issue-67-config-file into main
Owner

Summary

Add ~/.kugetsu/config file that sources on each command call for persistent user overrides.

Implementation

After line 11 in kugetsu script (after MAX_CONCURRENT_AGENTS default):

# Load user config overrides (~/.kugetsu/config)
if [ -f "$KUGETSU_DIR/config" ]; then
    source "$KUGETSU_DIR/config"
fi

Usage

Users can create ~/.kugetsu/config:

MAX_CONCURRENT_AGENTS=5

Benefits

  • Config sourced on each command call (immediate effect, no re-init)
  • No environment variables needed
  • Persistent across sessions
  • Simple bash-compatible format

Fixes #67

## Summary Add `~/.kugetsu/config` file that sources on each command call for persistent user overrides. ## Implementation After line 11 in kugetsu script (after MAX_CONCURRENT_AGENTS default): ```bash # Load user config overrides (~/.kugetsu/config) if [ -f "$KUGETSU_DIR/config" ]; then source "$KUGETSU_DIR/config" fi ``` ## Usage Users can create `~/.kugetsu/config`: ```bash MAX_CONCURRENT_AGENTS=5 ``` ## Benefits - Config sourced on each command call (immediate effect, no re-init) - No environment variables needed - Persistent across sessions - Simple bash-compatible format Fixes #67
shoko added 1 commit 2026-04-01 09:12:09 +02:00
Add ~/.kugetsu/config file that sources on each command call for
persistent user overrides like MAX_CONCURRENT_AGENTS.

Fixes #67
First-time contributor

I think we should include in kugetsu initialize that it will write config file. so basically its easier for user to modify it rather than figuring out which config key is it. we initialized the config file exactly as the default value. also add the SKILL.md to mention about the ability to change the config

I think we should include in kugetsu initialize that it will write config file. so basically its easier for user to modify it rather than figuring out which config key is it. we initialized the config file exactly as the default value. also add the SKILL.md to mention about the ability to change the config
shoko force-pushed fix/issue-67-config-file from ebc2f99320 to 4d3205de86 2026-04-01 10:02:25 +02:00 Compare
shoko added 1 commit 2026-04-01 10:21:06 +02:00
- Source ~/.kugetsu/config on each command call
- Allows user to override defaults (e.g., MAX_CONCURRENT_AGENTS)
- Changes take effect immediately, no re-init needed

Fixes #67
Author
Owner

Thanks han! I will address both requests: 1) Add config file initialization to kugetsu init, 2) Document config override in SKILL.md. Let me know if anything else is needed.

Thanks han! I will address both requests: 1) Add config file initialization to kugetsu init, 2) Document config override in SKILL.md. Let me know if anything else is needed.
Author
Owner

Thanks han! I will address both requests: 1) Add config file initialization to kugetsu init, 2) Document config override in SKILL.md. Let me know if anything else is needed.

Thanks han! I will address both requests: 1) Add config file initialization to kugetsu init, 2) Document config override in SKILL.md. Let me know if anything else is needed.
shoko added 1 commit 2026-04-02 00:12:33 +02:00
- Initialize default ~/.kugetsu/config during kugetsu init
- Document config override options in SKILL.md
- Addresses han's review feedback
han approved these changes 2026-04-02 00:13:49 +02:00
han left a comment
First-time contributor

lgtm

lgtm
shoko closed this pull request 2026-04-02 00:14:12 +02:00
shoko deleted branch fix/issue-67-config-file 2026-04-02 00:14:12 +02:00

Pull request closed

Sign in to join this conversation.