Skip to content

Use neutral fixtures instead of a real development setup - #33

Merged
MainSequenceDev merged 1 commit into
mainfrom
claude/neutral-fixtures
Nov 28, 2026
Merged

MainSequenceDev merged 1 commit into
mainfrom
claude/neutral-fixtures

Conversation

@MainSequenceDev

Copy link
Copy Markdown
Contributor

Summary

Some docs, scripts, a probe result and a test helper carried values from one developer workstation: a LAN hostname, home-directory paths, a saved CRM resource release UID and a personal first name. This PR replaces them with reserved or generic values. Published releases and git history stay as they are.

File Before After
docs/local-development-backend.md workstation hostname, home path, a dev-stack script http://dev-backend.test:8000, ~/mainsequence-dev, generic hostname-mapping steps
docs/conversational-mcp.md "server-side authorization still applies" "the backend still authorizes every call"
experiments/codex-host-probe/results/desktop-v3-recovery.json absolute home-directory path <repo>/experiments/codex-host-probe/.local-marketplace
scripts/preview-panel.mjs home-directory baseDir /home/fixture/mainsequence
scripts/verify-update-lifecycle-live.mjs hardcoded CRM release UID the saved connection named crm (same rule as verify-crm-read-live.mjs), or MAINSEQUENCE_CRM_RELEASE_UID
tests/helpers.cjs personal first name as fixture username Zoë (keeps a non-ASCII username in the fixtures)

~/mainsequence-dev is a valid value: the settings save expands a leading ~/ to the home directory.

Test plan

  • npm test: 85 passed, 0 failed
  • npm run check:docs
  • npm run typecheck
  • node --check on both changed scripts; the probe result is still valid JSON
  • scripts/verify-update-lifecycle-live.mjs not run live (it needs a signed-in account with a saved CRM connection)

🤖 Generated with Claude Code

The docs, scripts, a probe result and a test helper carried values from
one workstation: a LAN hostname, home-directory paths, a saved CRM
resource release UID and a personal first name. Replace them with
reserved or generic values:

- docs/local-development-backend.md: `http://dev-backend.test:8000`,
  `~/mainsequence-dev`, and generic hostname-mapping steps.
- docs/conversational-mcp.md: say "the backend still authorizes every
  call" in plain words.
- experiments/.../desktop-v3-recovery.json: a `<repo>/...` path.
- scripts/preview-panel.mjs: a `/home/fixture/mainsequence` folder.
- scripts/verify-update-lifecycle-live.mjs: pick the saved connection
  named `crm`, or the release in MAINSEQUENCE_CRM_RELEASE_UID, instead
  of a hardcoded UID.
- tests/helpers.cjs: the fixture username is `Zoë`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MainSequenceDev
MainSequenceDev merged commit 6ceb608 into main Nov 28, 2026
4 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