Context
Part of Codecora ecosystem path standardization. All tools must use ~/.codecora/{project}/ as their data directory.
Target
~/.codecora/
├── trapfall/ ← this repo's data directory
│ └── config.toml
├── cora/
├── corin/
├── uteke/
├── rungu/
├── cache/
└── logs/
Scope
- Update Trapfall config/data path resolution to use
~/.codecora/trapfall/ as default
- Ensure
config.toml reads/writes to ~/.codecora/trapfall/config.toml
- If custom path via env var or flag is provided, respect that (override)
- First-run: auto-create directory if not exists
Note
Trapfall may run in Docker/server — the config path on the host vs container should be considered (env var override is essential).
Reference
Context
Part of Codecora ecosystem path standardization. All tools must use
~/.codecora/{project}/as their data directory.Target
Scope
~/.codecora/trapfall/as defaultconfig.tomlreads/writes to~/.codecora/trapfall/config.tomlNote
Trapfall may run in Docker/server — the config path on the host vs container should be considered (env var override is essential).
Reference