Skip to content

chore: change default data/config dir from ~/Library/Application Support to ~/.ao#187

Merged
harshitsinghbhandari merged 1 commit into
mainfrom
chore/default-dir-dot-ao
Jun 11, 2026
Merged

chore: change default data/config dir from ~/Library/Application Support to ~/.ao#187
harshitsinghbhandari merged 1 commit into
mainfrom
chore/default-dir-dot-ao

Conversation

@harshitsinghbhandari

Copy link
Copy Markdown
Collaborator

Summary

  • Replace os.UserConfigDir() + "agent-orchestrator/..." fallback with os.UserHomeDir() + ".ao/..." in resolveRunFilePath() and resolveDataDir() (backend/internal/config/config.go)
  • Default layout is now ~/.ao/running.json and ~/.ao/data/
  • AO_RUN_FILE and AO_DATA_DIR env overrides unchanged
  • Updated TestLoadDefaults to assert the new .ao/ suffix

Note for release: existing installs will lose their data on upgrade unless AO_DATA_DIR is set explicitly or state is migrated manually from ~/Library/Application Support/agent-orchestrator/.

Closes #183

Test plan

  • go build ./... passes
  • go test -race ./... passes (1264 tests, 0 failures)

🤖 Generated with Claude Code

…ort to ~/.ao

Replaces os.UserConfigDir() + "agent-orchestrator/..." fallback with
os.UserHomeDir() + ".ao/..." in resolveRunFilePath() and resolveDataDir(),
so the default layout is:
  ~/.ao/running.json
  ~/.ao/data/

AO_RUN_FILE and AO_DATA_DIR env overrides are unchanged.

Closes #183

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

harshitsinghbhandari has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.

@harshitsinghbhandari harshitsinghbhandari merged commit 9c7866d into main Jun 11, 2026
9 checks passed
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.

chore: change default data/config dir from ~/Library/Application Support to ~/.ao

1 participant