Skip to content

chore: remove remaining local absolute paths from the tree - #1020

Merged
admarble merged 1 commit into
mainfrom
docs/redact-remaining-local-paths
Sep 9, 2026
Merged

admarble merged 1 commit into
mainfrom
docs/redact-remaining-local-paths

Conversation

@admarble

@admarble admarble commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Finishes what #1019 started. That PR was scoped to the graph and investigation docs, but the owner's absolute home path was still present in ten other files on main, which made any history rewrite pointless while HEAD kept carrying it.

  • evals/results/*.json (5 files) — suite.root and suite.plugins[0].path abbreviated to ~/…. The fixture_commit gate does not read these fields; __tests__/evals-fixture-commit.test.ts still passes 12/12 and every file remains valid JSON.
  • docs/incidents/647/captures/* (3 files) — recorded terminal output, a replay script's doc comment, and a report line. Abbreviated, not otherwise altered.
  • docs/incidents/856/tools/ac3-mcp-experiment.mjs — had two hardcoded runtime paths. Now const REPO = process.env.SEQUANT_REPO ?? process.cwd(), matching the file's existing use of process.env.HOME, so the tool stays runnable and is no longer machine-specific.
  • src/lib/version-check.test.ts — the linked-checkout case used a real home path as its input string; it now uses the /home/user convention the rest of that file already follows. resolveCliInvocation pattern-matches, so the assertion is unchanged: 74/74 pass.

Verify: grep -rl '/Users/tony' --exclude-dir=node_modules --exclude-dir=.git --exclude-dir=dist --exclude-dir=.sequant . → no matches. Lint clean, typecheck clean.

This is also the prerequisite for any history rewrite, which is not part of this PR and needs a separate decision: it would change every SHA from the earliest affected commit onward, invalidating the fixture_commit anchors and the commits behind the release tags, and it would not remove the text from the merged PR diffs that introduced it.

🤖 Generated with Claude Code

Completes the redaction started in #1019, which covered only the graph docs. Eval result snapshots and incident captures now abbreviate the home path to ~; version-check.test.ts uses the /home/user convention the rest of the file already follows; the #856 experiment tool takes its repo root from SEQUANT_REPO or cwd instead of a hardcoded path, so it stays runnable anywhere. No behaviour or conclusion changes.

Claude-Session: https://claude.ai/code/session_012sf9ybMc6ahtTPZbb6TLyX
Entire-Checkpoint: 736a72ebcca2
@admarble
admarble merged commit f7f244e into main Sep 9, 2026
6 checks passed
@admarble
admarble deleted the docs/redact-remaining-local-paths branch September 9, 2026 06:05
admarble added a commit that referenced this pull request Sep 9, 2026
Completes the redaction started in #1019, which covered only the graph docs. Eval result snapshots and incident captures now abbreviate the home path to ~; version-check.test.ts uses the /home/user convention the rest of the file already follows; the #856 experiment tool takes its repo root from SEQUANT_REPO or cwd instead of a hardcoded path, so it stays runnable anywhere. No behaviour or conclusion changes.

Claude-Session: https://claude.ai/code/session_012sf9ybMc6ahtTPZbb6TLyX
Entire-Checkpoint: 736a72ebcca2
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