Remove hardcoded OneDrive paths from tracked config and docs
Back to our planProblem
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:
| Entry | Why it goes |
|---|---|
c:\Users\ameen\.claude\projects\c--Users-ameen-OneDrive-...\memory | Keyed 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)\admin | Path exists inside the repo — already covered by project scope. Redundant. |
C:\Users\ameen\OneDrive\...\src\app\api\auth | Path 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
additionalDirectoriesfrom.claude/settings.jsonentirely — every entry is redundant or dead. - Replace the absolute
cdingit-workflow.mdwith 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.