Skip to content

Remember project directories and switch between them at runtime - #882

Merged
RetroGameDeveloper merged 3 commits into
mainfrom
feat/remember-project-directories
Nov 8, 2026
Merged

RetroGameDeveloper merged 3 commits into
mainfrom
feat/remember-project-directories

Conversation

@RetroGameDeveloper

@RetroGameDeveloper RetroGameDeveloper commented Nov 8, 2026 •

Copy link
Copy Markdown

Summary

  • Replace the read-only project-home display with a folder picker, editable path, remembered-directory select, Remember and Switch controls.
  • Keep machine-local history and the successful next-launch choice outside individual data directories. Preserve DECOMP_HOME precedence and separate fork release/development histories.
  • Switch desktop runtimes through the existing graceful save/stop/reopen path; retain files in place. Validate available/writable directories and readable databases, reserve the target instance, block conflicting updates and duplicate handoffs, rotate window credentials and remove the old instance marker.
  • Select the new default only after its engine starts. Missing remembered drives are not recreated. Existing target runtimes are rejected before stopping current work. Browser users can remember paths; runtime switching is a desktop operation.

Verification

  • 77 directory/edition/update/source-runtime/shutdown tests passed; focused directory/API run: 13 passed.
  • GUI VM scripts for directory selection, picker, remembering, duplicate suppression, errors and browser mode; existing source-runtime GUI checks.
  • Real isolated source-app subprocess: A → B → A succeeded, directory history/default updated, files preserved, old credentials rejected, old instance markers removed; scratch runtime shut down afterwards. All runtime data and logs under /Volumes/Data/Codex/tmp.
  • Ruff and git diff --check passed. Native visual UI not exercised; existing controls/styles reused.
  • No live runtime switch, restart or project changes performed.

Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@RetroGameDeveloper
RetroGameDeveloper merged commit 5db5853 into main Nov 8, 2026
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.

1 participant