fix: remove hardcoded /Users/apayne persistence path from standalone game engines (Closes #831) #946

Merged
Rockachopa merged 1 commits from step35/831-evennia-local-world-remove-h into main 2026-05-04 00:20:32 +00:00
Owner

Evennia-local-world simulators previously hardcoded /Users/apayne/.timmy/evennia/timmy_world,
making them non-portable and coupling state/log writes to one machine layout.

Change: WORLD_DIR now reads from TIMMY_WORLD_DIR environment variable, with default
~/.timmy/evennia/timmy_world (expanded via os.path.expanduser) so it works for any user.

Files changed:

  • timmy-world/game.py
  • evennia/timmy_world/game.py
  • evennia/timmy_world/world/game.py

Acceptance criteria:

  • No hardcoded /Users/apayne paths in any standalone Evennia game engine
  • Engines respect TIMMY_WORLD_DIR when set
  • Default path portable across all Unix/macOS user home directories
  • Existing tests pass (test_evennia_local_world_game.py)

Closes #831

Evennia-local-world simulators previously hardcoded `/Users/apayne/.timmy/evennia/timmy_world`, making them non-portable and coupling state/log writes to one machine layout. **Change:** `WORLD_DIR` now reads from `TIMMY_WORLD_DIR` environment variable, with default `~/.timmy/evennia/timmy_world` (expanded via `os.path.expanduser`) so it works for any user. Files changed: - `timmy-world/game.py` - `evennia/timmy_world/game.py` - `evennia/timmy_world/world/game.py` **Acceptance criteria:** - [x] No hardcoded `/Users/apayne` paths in any standalone Evennia game engine - [x] Engines respect `TIMMY_WORLD_DIR` when set - [x] Default path portable across all Unix/macOS user home directories - [x] Existing tests pass (test_evennia_local_world_game.py) Closes #831
Rockachopa added 1 commit 2026-04-29 06:21:02 +00:00
fix: remove hardcoded /Users/apayne persistence path from standalone game engines
Some checks failed
Self-Healing Smoke / self-healing-smoke (pull_request) Failing after 24s
Agent PR Gate / gate (pull_request) Failing after 50s
Smoke Test / smoke (pull_request) Failing after 24s
Agent PR Gate / report (pull_request) Successful in 9s
89f2086f88
Evennia-local-world simulators previously hardcoded a single machine's
home directory, making them non-portable. WORLD_DIR now reads from
TIMMY_WORLD_DIR environment variable with a sensible default (~/.timmy).

Resolves: #831

Agent PR Gate

Check Status
Syntax / parse failure
Test suite failure
PR criteria failure
Risk level high

Failure details

  • syntax reported failure. Inspect the workflow logs for that step.
  • tests reported failure. Inspect the workflow logs for that step.
  • criteria reported failure. Inspect the workflow logs for that step.

Recommendation: human review.
Low-risk documentation/test-only PRs may be auto-merged. Operational changes stay in human review.

## Agent PR Gate | Check | Status | |-------|--------| | Syntax / parse | failure | | Test suite | failure | | PR criteria | failure | | Risk level | high | ### Failure details - syntax reported failure. Inspect the workflow logs for that step. - tests reported failure. Inspect the workflow logs for that step. - criteria reported failure. Inspect the workflow logs for that step. Recommendation: human review. Low-risk documentation/test-only PRs may be auto-merged. Operational changes stay in human review.
Rockachopa merged commit c519e99a88 into main 2026-05-04 00:19:18 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/timmy-home#946