Skip to content
SprecherEast
Issue 87

Remove hardcoded OneDrive paths from tracked config and docs

Back to our plan
Done
documentationconfig

Problem

Five tracked files hardcode absolute paths to a OneDrive working copy. They tie the repo to one machine, one user account, and one checkout location — so a fresh clone anywhere else silently gets a broken or misleading config.

.claude/settings.json — permissions.additionalDirectories

All three entries are dead weight:

EntryWhy it goes
c:\Users\ameen\.claude\projects\c--Users-ameen-OneDrive-...\memoryKeyed to the OneDrive path. Claude Code derives its project key from the checkout location, so this is orphaned the moment work happens from any other directory.
C:\Users\ameen\OneDrive\...\src\app\(payload)\adminPath exists inside the repo — already covered by project scope. Redundant.
C:\Users\ameen\OneDrive\...\src\app\api\authPath does not exist in the repo at all. Dead entry.

None of the three need repathing. All three can simply be removed.

.claude/rules/git-workflow.md

Step 1 of "Starting a Session" is cd ~/OneDrive/sprecher-east-neighborhood-website, which actively directs future sessions back into the OneDrive copy.

docs/memory/MEMORY.md

References the private strategy repo as ~/OneDrive/sprecher-east-strategy/.

.claude/agents/media-mgr.md

Mentions OneDrive as a possible photo source. Descriptive prose rather than a path, but included for consistency.

Fix

  • Drop additionalDirectories from .claude/settings.json entirely — every entry is redundant or dead.
  • Replace the absolute cd in git-workflow.md with a location-neutral instruction.
  • Refer to the strategy repo by name rather than by local path in MEMORY.md.
  • Neutralise the OneDrive mention in media-mgr.md.

Result

The repo stops assuming where it lives. A clone works the same from any directory on any machine.

See it on GitHub, opens in a new tab