Skip to content

Replace personal home-directory paths with placeholders and add a test that catches them. - #132

Merged
howethomas merged 3 commits into
mainfrom
fix/desktop-config-placeholder-path
Nov 25, 2026
Merged

howethomas merged 3 commits into
mainfrom
fix/desktop-config-placeholder-path

Conversation

@howethomas

@howethomas howethomas commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

A local home-directory path appears in the sample claude-desktop-config.json (since #46), in docs/development/testing.md (published on the docs site) and in several files under archive/. This replaces each with a placeholder.

  • claude-desktop-config.json, the guides and the archived docs use /path/to/vcon-mcp.
  • archive/scripts/com.vcon.hourly-sync.plist uses the same literal placeholder and /Users/YOUR_USERNAME for HOME, because launchd does not expand ~ or variables.
  • archive/scripts/install-hourly-sync.sh and sync-vcons-hourly.sh derive PROJECT_DIR from the script's own location.
  • tests/no-local-paths.test.ts fails if a personal home-directory path appears in any tracked file: /Users/<name>, /home/<name> (any case), C:\Users\<name>\ and ~<name>/. The names you, yourname, YOUR_USERNAME, username, user, runner and kong are allowed. It has a case for each form, and the old pattern missed every new form. It reported 17 hits before the path fixes and none after.

Git history is not rewritten.

🤖 Generated with Claude Code

howethomas and others added 2 commits November 24, 2026 11:52
…holder.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… a test that fails if one returns.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@howethomas howethomas changed the title Replace a local path in the sample Claude Desktop config with a placeholder. Replace personal home-directory paths with placeholders and add a test that catches them. Nov 24, 2026
…ensitively, with a case for each.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@howethomas
howethomas merged commit d09a7a1 into main Nov 25, 2026
12 checks passed
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