docs: unify canonical spec URL to code-first-agents.com#30
Conversation
Point all spec references at the dedicated brand domain instead of the three coexisting URLs: - src/tool-class.ts: beogip.github.io/.../deterministic-tools.html (was a 301 redirect) -> direct https://code-first-agents.com/patterns/deterministic-tools.html - README.md + CLAUDE.md: github.com/.../specs/code-first-agents.md -> https://code-first-agents.com/patterns/deterministic-tools.html - package.json: add homepage https://code-first-agents.com Repository links (clone URL, CI badge, 'spec repo' link) intentionally keep pointing at GitHub since they reference the repo, not the spec. Closes #25 Co-authored-by: Juan Ignacio Gipponi <beogip@users.noreply.github.com>
Greptile SummaryThis PR unifies three different spec URL variants in use across the repository onto a single canonical domain (
Confidence Score: 5/5Pure documentation URL update with no logic changes; the target domain is confirmed live. All four changed files contain only URL string updates in comments, markdown, and package metadata. The new domain resolves correctly, the redirect hop is eliminated, and repository/CI links are correctly left untouched. No code paths, types, or runtime behavior are affected. No files require special attention.
|
| Filename | Overview |
|---|---|
| src/tool-class.ts | JSDoc spec URL updated from beogip.github.io to code-first-agents.com; no logic changes. |
| README.md | Two spec hyperlinks updated to canonical domain; repository/CI links left on GitHub as intended. |
| CLAUDE.md | Single spec URL updated to canonical domain; no other changes. |
| package.json | Added homepage field pointing to brand root; placement and value are correct for npm convention. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[User / LLM reads spec link] --> B{Before this PR}
B --> C1[beogip.github.io/...\ndeterministic-tools.html]
B --> C2[github.com/beogip/\ncode-first-agents/blob/main/\nspecs/code-first-agents.md]
C1 -->|301 redirect| D[code-first-agents.com/\npatterns/deterministic-tools.html]
C2 -->|separate resource| E[GitHub markdown render]
A --> F{After this PR}
F --> D
F --> G[code-first-agents.com\nnpm homepage]
style D fill:#90EE90
style G fill:#90EE90
Reviews (1): Last reviewed commit: "docs: unify canonical spec URL to code-f..." | Re-trigger Greptile
|
🎉 This PR is included in version 0.1.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary
Unifies the three coexisting spec URLs onto the dedicated brand domain
code-first-agents.com, so anyone arriving from the announcement sees a consistent canonical reference.Canonical URL decision
https://code-first-agents.com/patterns/deterministic-tools.html— the direct 301 target of the oldbeogip.github.iolink, now linked directly (no redirect).package.jsonhomepage:https://code-first-agents.com— the brand root, conventional for the npmhomepagefield.Changes
src/tool-class.ts—beogip.github.io/.../deterministic-tools.html→code-first-agents.com/patterns/deterministic-tools.htmlREADME.md(2 spec links) —github.com/.../specs/code-first-agents.md→ canonical spec pageCLAUDE.md— same spec-link updatepackage.json— added"homepage": "https://code-first-agents.com"Repository links (clone URL, CI badge, the "spec repo" link in the README footer) intentionally still point at GitHub, since they reference the repository rather than the spec.
Validation
bun test— 113 pass / 0 failbunx tsc --noEmit— cleanbunx biome check .— no errors (only a pre-existing, unrelated info about the Biome config schema version)Closes #25
Generated with Claude Code