Revamp GitHub Pages with an interactive D3 graph#18
Conversation
Redesign the GitHub Pages landing page from a static corporate layout into a modern "engineering blueprint" page, while preserving every machine-readable element the GEO test and AI crawlers depend on. - Light glow-up theme: blueprint grid, Bricolage Grotesque display + JetBrains Mono accents, brand indigo->teal gradient, glass cards, scroll-reveal and hover motion (all gated by prefers-reduced-motion). - New interactive D3 force-graph centerpiece visualizing profile isolation: "you" fans out to per-profile CODEX_HOME directories. Draggable nodes, branch-highlight on hover, and a "swap auth.json" toggle that collapses every profile onto one shared ~/.codex to show why per-profile homes are cleaner. - D3 loaded from a pinned, SRI-checked CDN; the section degrades to a readable static fallback if JS or the CDN fails (no-JS safe). - Hero terminal mockup, feature cards with icons, and a desktop screenshot showcase. - Preserved verbatim: canonical link, robots meta, full JSON-LD @graph, softwareVersion (0.3.0), and all six FAQ <h3>/answer bindings. - Bumped sitemap lastmod to 2026-06-30. GEO test (node test/geo-site-test.mjs) and make test both pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: acf83c7781
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| var d3 = window.d3; | ||
| var PROFILES = [ | ||
| { id: "personal", label: "personal", home: "~/.codex" }, |
There was a problem hiding this comment.
Fix the personal profile home in the graph
When the D3 graph loads, the isolated mode now renders the personal profile as ~/.codex, but the CLI only maps default to ~/.codex; every other profile, including personal, maps to ~/.codex-<profile> (also reflected by README examples and tests expecting ~/.codex-personal). This makes the interactive explanation show the personal profile sharing the default home in the supposedly isolated model, which misdocuments the tool's core safety boundary for users who rely on the page.
Useful? React with 👍 / 👎.
Summary
Revamps the GitHub Pages landing page (
docs/index.html) from the clean-but-boring static layout into a modern, interactive "engineering blueprint" page — without breaking any of the machine-readable content the GEO test and AI crawlers rely on.What's new
prefers-reduced-motion).CODEX_HOMEdirectories. Nodes are draggable, hovering highlights a profile's branch, and aswap auth.jsontoggle collapses every profile onto one shared~/.codex(with a warning badge + converging dashed links) to show why per-profile homes are cleaner. This is the README's "swap auth.json vs per-profile CODEX_HOME" contrast, made tangible.Reliability & accessibility
d3@7.9.0). If JS or the CDN fails, the graph section degrades to a readable static fallback (the page is fully usable with no JS).GEO / SEO preserved (verbatim)
Canonical link, robots meta, the full JSON-LD
@graph(all 6 types),softwareVersion0.3.0, and all six FAQ<h3>+ answer bindings are unchanged. Bumpedsitemap.xmllastmodto 2026-06-30.Test plan
node test/geo-site-test.mjs— passes (the Pages deploy gate).make test— passes.🤖 Generated with Claude Code