Skip to content

Fix broken internal links: strip absolute local paths from all Markdown files#95

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/fix-broken-readme-links
Draft

Fix broken internal links: strip absolute local paths from all Markdown files#95
Copilot wants to merge 2 commits intomasterfrom
copilot/fix-broken-readme-links

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 1, 2026

Summary

  • All internal Markdown links across the repo used absolute local filesystem paths (/Users/christopher/Projects/trustsignal/...), making every internal link broken on GitHub. Stripped the prefix from all affected files so links resolve as proper relative paths.

Files changed: README.md, bench/README.md, wiki/Home.md, wiki/What-is-TrustSignal.md, wiki/Quick-Verification-Example.md, wiki/API-Overview.md

Pattern fixed (42 occurrences):

-[Verification Lifecycle](/Users/christopher/Projects/trustsignal/docs/verification-lifecycle.md)
+[Verification Lifecycle](docs/verification-lifecycle.md)

AI Disclosure (optional)

  • AI-assisted changes are included in this PR

Review Checklist

  • Human review requested
  • Tests added or updated where appropriate
  • No secrets, tokens, cookies, or raw PII were added to code, logs, fixtures, or docs
  • Security impact and remaining risks are described
Original prompt

Fix broken README links: replace absolute local paths with relative paths

All internal links in the repository's Markdown files use absolute local filesystem paths (/Users/christopher/Projects/trustsignal/...) instead of relative repository paths. This causes every internal link to be broken when viewed on GitHub.

What needs to change

Across all Markdown files in the repository, find and replace every occurrence of the absolute path prefix /Users/christopher/Projects/trustsignal/ with an empty string so the links become proper relative paths.

Known affected files

README.md — at least these lines have broken links:

  • Line 21: (/Users/christopher/Projects/trustsignal/docs/verification-lifecycle.md)(docs/verification-lifecycle.md)
  • Line 50: (/Users/christopher/Projects/trustsignal/demo/README.md)(demo/README.md)
  • Lines 56–60: Partner eval / OpenAPI / Postman links
  • Lines 194–199: Public API contract and example links
  • Line 214: Security docs links
  • Lines 264–270: Documentation map links

bench/README.md — lines 34–35, 43:

  • (/Users/christopher/Projects/trustsignal/bench/results/latest.json)(bench/results/latest.json)
  • (/Users/christopher/Projects/trustsignal/bench/results/latest.md)(bench/results/latest.md)
  • (/Users/christopher/Projects/trustsignal/bench/fixtures)(bench/fixtures)

Other Markdown files — search the entire repository for any other .md files containing /Users/christopher/Projects/trustsignal/ and fix those as well.

How to fix

In every affected file, replace the prefix /Users/christopher/Projects/trustsignal/ with nothing, so that:

[docs/verification-lifecycle.md](/Users/christopher/Projects/trustsignal/docs/verification-lifecycle.md)

becomes:

[docs/verification-lifecycle.md](docs/verification-lifecycle.md)

Make sure no other content is changed — only the link targets should be updated.

The following is the prior conversation context from the user's chat exploration (may be truncated):

User: why does the readme page look messed up'

Assistant:

Let me take a look at the README file in the repository to understand what might be causing display issues.

Assistant: I found the problem! Your README (and bench/README.md) is full of absolute local file paths instead of relative repository paths. All the links point to /Users/christopher/Projects/trustsignal/... — which is a path on your local machine. On GitHub, these links are completely broken (they resolve to nothing), making the page look "messed up" with dozens of dead links.

Here's what's happening — nearly every internal link uses this pattern:

(/Users/christopher/Projects/trustsignal/docs/verification-lifecycle.md)

When it should be a relative path like:

(docs/verification-lifecycle.md)

Affected links in README.md (lines with the issue):

Line Broken link target Should be
21 /Users/christopher/Projects/trustsignal/docs/verification-lifecycle.md docs/verification-lifecycle.md
50 /Users/christopher/Projects/trustsignal/demo/README.md demo/README.md
56 /Users/christopher/Projects/trustsignal/docs/partner-eval/quickstart.md docs/partner-eval/quickstart.md
57 /Users/christopher/Projects/trustsignal/docs/partner-eval/api-playground.md docs/partner-eval/api-playground.md
58 /Users/christopher/Projects/trustsignal/openapi.yaml openapi.yaml
59 /Users/christopher/Projects/trustsignal/postman/TrustSignal.postman_collection.json postman/TrustSignal.postman_collection.json
60 /Users/christopher/Projects/trustsignal/postman/TrustSignal.local.postman_environment.json postman/TrustSignal.local.postman_environment.json
194–199 All example/doc links Same pattern
214 Security docs links Same pattern
262–270 Documentation map links Same pattern

The same issue also exists in bench/README.md (lines 34–35, 43).

How to fix it

Would you like me to open a PR that replaces all the absolute local paths (/Users/christopher/Projects/trustsignal/...) with proper relative paths across the affected README files? This is a straightforward find-and-replace — strip the /Users/christopher/Projects/trustsignal/ prefix from every link so they work correctly on GitHub.

User: yes

Assistant: I've kicked off a Copilot coding agent to create a PR that replaces all the broken absolute local paths (/Users/christopher/Projects/trustsignal/...) with proper relative paths across the affected Markdown files.

You'll receive a notification on GitHub once the pull request is ready for review. The fix is straightforward — it just strips the /Users/christopher/Projects/trustsignal/ prefix from every link target so they resolve correctly on GitHub.

This pull request was created from Copilot chat.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
api Ready Ready Preview, Comment Apr 1, 2026 7:24pm
trustsignal Ready Ready Preview, Comment Apr 1, 2026 7:24pm

Copilot AI changed the title [WIP] Fix broken README links by replacing absolute paths Fix broken internal links: strip absolute local paths from all Markdown files Apr 1, 2026
Copilot AI requested a review from chrismaz11 April 1, 2026 19:21
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.

2 participants