Repository navigation
chore(urls): record the Link relativize decision in comment and docs - #210
Merged
Merged
Conversation
Two comments described the same open question — whether `Link` should relativize a same-origin absolute href. #160 question 1 answered it: it should not, and #194 repoints the content links naming `wemeditate.com` instead. Both pointers now state the answer, so a future reader is not sent to a closed question. `atlasHref`'s JSDoc keeps the why the retired paragraph carried — it resolves the canonical itself because `Link` declines to — and keeps an in-org breadcrumb, which `comment-protect.json` K2 and K3 require. No executable line changes: comment-fingerprint reports an identical codeHash, an unchanged protected census and no displaced comment. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjY5UgBAPSeTP9a8of5
Contributor
Author
|
🤖 no session running Written by the sydevs dispatcher. Sessions never edit this comment. |
sydevs-bot
marked this pull request as ready for review
October 28, 2026 16:29
sydevs-bot
enabled auto-merge
October 28, 2026 16:29
Contributor
Author
|
Adversarial review skipped: 2 file(s), 9 changed line(s), under 🤖 sydevs dispatcher |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
wemeditate-web | 77e9288 | Commit Preview URL Branch Preview URL |
Oct 28 2026, 04:28 PM |
Ardnived
approved these changes
Oct 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Linkrelativize a same-origin absolute href?" as open now state the answer: no, by design.AGENTS.md:131joined the ticket — the same stale pointer from the same decision.Preview
No preview can show this change: the diff alters no executable line, so every route renders byte-identically. Branch alias not published yet — preview pending.
Test results
.claude/skills/pr-prep/check.sh— eslint 0 errors,tsc --noEmitclean,vitest run88 files / 907 tests passedManual verification
atlasHref's JSDoc (pages/map/_components/AtlasContent.tsx:32-52) and confirm it reads as settled rather than pending, and still explains whyatlasHrefresolves the canonical itself.AGENTS.md:131) and confirm the same.Notes for reviewer
grep -rn '#124'to return two rewritten lines, but its own Approach §1 directs the JSDoc to cite Switch wemeditate.com over to the new site #160 question 1 — the deciding issue. So the JSDoc carries#160,AGENTS.mdcarries#124, and the grep returns one line. Every acceptance criterion still holds, including "no#124reference reads as pending work".sitePathFromUrlhas exactly one production caller (AtlasContent.tsx:55), andLink→localeHrefreturns an absolute URL untouched becauseisSitePathrequires a leading single/.<Link>s fed byatlasHrefomitexternal, so an off-origin atlas canonical renders as an internal link. It is not folded in here because this ticket's criteria require a comments-and-Markdown-only diff, which a behaviour change would make false./code-review highreported no findings./simplifywas not run: with an identicalcodeHashthere is no executable surface for it to act on.Detail
comment-fingerprint.mjs --base origin/main, all three outputs read, as the ticket's checklist requires:comment-lint.mjs --base origin/main:1 changed file(s). No banned comment added.git diff --stat origin/main: exactlyAGENTS.mdandpages/map/_components/AtlasContent.tsx.The retired paragraph's four sentences were dropped as the ticket directs — the
TODOverb, "Moving it rewrites every editor-pasted href", theexternalcollision, and "Do not copy this shape" — while the one why the paragraphs above it do not carry survives:atlasHrefresolves the canonical itself becauseLinkdeclines to.comment-protect.jsonK2/K3 are KEEP, not FROZEN, so rewording is the sanctioned way to preserve the breadcrumb; the protected census is unchanged.Security review skipped: no changed path matches
securityReview.triggerPattern(AGENTS.md,pages/map/…— the pattern wants^pages/preview/,^server/, and friends).Docs sync: the only other surface describing this behaviour is
AGENTS.md:128, the line directly above, which documentssitePathFromUrl's unchanged contract and is still accurate.Closes #124