chore: replace private project names and paths in tests, docs and a script

Merged
BO
2mo ago
+49-47

This repository is public and AGENTS.md says to keep private project names, paths and notes folders out of it. A scan of tracked files found leftovers; this removes them without changing what any test or script checks.

  • Three test strings (a storage key, a draft-state key and a window message name) came from a private downstream project. They are now made-up names: demo_custom_players, demo_draft_state, DEMO_AJAX and DEMO_OTHER. A storage class name in two tests (AppStorage) and the example screen name in the doc-tier comments of src/mcp/tools.ts ("Status Board") were swapped the same way.
  • Two design notes named a Windows home directory for the validation checkout; both now say <windows-checkout>\codegraph-win.
  • A benchmark note named a private workload that ran on the host; it now says "another job".
  • scripts/precision/bisect-case.sh defaulted its step logs to a folder inside the maintainer's notes directory. It now uses bisect-<corpus> under $XDG_STATE_HOME/codegraph (or ~/.local/state/codegraph), a per-user folder that stays the same from step to step. BISECT_LOGS still overrides it, and the script header says so.

Checked: the six affected test files pass (47 tests), tsc --noEmit and npm run check:agent-docs pass, and bash -n accepts the script. A final search of tracked files for the maintainer's account name outside this fork's own URLs, home and Windows user paths, notes-folder names, the private project's names and its storage and message keys finds nothing further.

Summary by CodeRabbit

  • Documentation
    • Replaced machine-specific paths and outdated examples with generic paths and names.
    • Clarified the default location for bisect logs.
    • Updated benchmark notes to reflect that another host job was active during interrupted runs.
  • Tests
    • Updated test fixture names and sample values; test behavior and assertions are unchanged.