Skip to content

feat: support .mempalace/ subdirectory for project config#933

Open
ttquoccuong wants to merge 1 commit intoMemPalace:developfrom
ttquoccuong:feat/dotmempalace-config-dir
Open

feat: support .mempalace/ subdirectory for project config#933
ttquoccuong wants to merge 1 commit intoMemPalace:developfrom
ttquoccuong:feat/dotmempalace-config-dir

Conversation

@ttquoccuong
Copy link
Copy Markdown

Store mempalace.yaml and entities.json in a .mempalace/ subdirectory instead of the project root, keeping the working tree clean and making it easy to gitignore all palace artifacts with a single entry.

Lookup order (backward compatible):

  1. /.mempalace/mempalace.yaml
  2. /mempalace.yaml
  3. /.mempalace/mempal.yaml (legacy)
  4. /mempal.yaml (legacy)

What does this PR do?

How to test

Checklist

  • Tests pass (python -m pytest tests/ -v)
  • No hardcoded paths
  • Linter passes (ruff check .)

@igorls igorls added enhancement New feature or request area/cli CLI commands labels Apr 16, 2026
Store mempalace.yaml and entities.json in a .mempalace/ subdirectory
instead of the project root, keeping the working tree clean and making
it easy to gitignore all palace artifacts with a single entry.

Lookup order (backward compatible):
  1. <project>/.mempalace/mempalace.yaml
  2. <project>/mempalace.yaml
  3. <project>/.mempalace/mempal.yaml  (legacy)
  4. <project>/mempal.yaml             (legacy)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cli CLI commands enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants