Title: improvement(content): surface last-verified and updated dates, codify citation rules by waleedlatif1 · Pull Request #5904 · simstudioai/sim · GitHub
Open Graph Title: improvement(content): surface last-verified and updated dates, codify citation rules by waleedlatif1 · Pull Request #5904 · simstudioai/sim
X Title: improvement(content): surface last-verified and updated dates, codify citation rules by waleedlatif1 · Pull Request #5904 · simstudioai/sim
Description: Summary /comparisons/[provider] now renders a visible "Last verified ". The date already existed — getLatestVerifiedDate() computes it from every fact source's asOf and it feeds JSON-LD dateModified and the sitemap — it just was never shown. Visible date and JSON-LD read the same value, so they can't drift. /library and /blog posts render "Updated " next to the publish date, but only when the modified day actually differs. When it doesn't, the existing invisible stays. It's either/or, so microdata emits dateModified exactly once. Collapsed three duplicated toLocaleDateString blocks in content-post-page.tsx into one module-scope formatDate. Same UTC pinning, byte-identical output. .claude/rules/landing-seo-geo.md: added Citations and linking and Freshness sections, and extended the rule's paths to apps/sim/content/**/*.mdx — it was scoped to (landing)/**/*.tsx only, so a rule about MDX post authoring would never have attached. Why Our library has zero third-party outbound citations across 16 posts (~51k words) and averages 1.2 internal links per post, with 6 posts at zero. The Princeton GEO study (arXiv:2311.09735, KDD 2024) found citations, quotations, and statistics were the three strongest of nine tested tactics for AI-answer visibility. This PR ships the freshness half (the code) and codifies the citation half (the rule) — actually backfilling citations into the 16 posts is follow-up work, as is the content-generation prompt change. Type of Change Improvement Testing Verified against a dev server on the final tree: Route Visible microdata dateModified /comparisons/n8n Last verified Jul 13, 2026 0 (JSON-LD only, correct) /comparisons/zapier Last verified … 0 /library/best-zapier-alternatives — (dates equal) 1 (meta fallback) /blog/series-a published only 1 Both branches exercised by temporarily bumping updated on two different posts (reverted): Jul 13, 2026 · Updated Jul 21, 2026 microdata dateModified = 1 JSON-LD "dateModified":"2026-07-21T00:00:00.000Z" Visible date, microdata, and JSON-LD all agree. Gates: tsc --noEmit 0 errors repo-wide; biome check clean; all 10 check:* gates pass (boundaries, api-validation:strict, realtime-prune, zustand-v5, react-query, client-boundary, utils, bare-icons, icon-paths, migrations). Not visually screenshotted — the browser tooling wasn't available in this session. Markup and tokens are verified from rendered HTML and reuse the exact classes already in those rows, but the pixels haven't been eyeballed. Worth a glance. Note: the library "Updated" label renders on zero pages today — all 24 posts currently have updated == date. It activates on the first substantive content refresh. Only /comparisons/* shows a date right now. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA) Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.
Open Graph Description: Summary /comparisons/[provider] now renders a visible "Last verified ". The date already existed — getLatestVerifiedDate() computes it from every fact source's asOf and it feeds JSON...
X Description: Summary /comparisons/[provider] now renders a visible "Last verified ". The date already existed — getLatestVerifiedDate() computes it from every fact source's asOf and i...
Opengraph URL: https://github.com/simstudioai/sim/pull/5904
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a652f0be-ba1c-96fd-564e-c82cff167ebb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9048:73CE1:740AEA:A00B26:6AFB434B |
| html-safe-nonce | 391b433107d4338c18a181dfa9e27164f905843cbebb321e3588b4ab81e73827 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDQ4OjczQ0UxOjc0MEFFQTpBMDBCMjY6NkFGQjQzNEIiLCJ2aXNpdG9yX2lkIjoiNTUwODE5NjI5MzYzMDcwNjUwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c1146dbc3d315075e3082fe4b7a11d07f10fe8beadfa9f545d1e36a030425eaa |
| hovercard-subject-tag | pull_request:4120664170 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/5904/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary /comparisons/[provider] now renders a visible "Last verified ". The date already existed — getLatestVerifiedDate() computes it from every fact source's asOf and it feeds JSON... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a6c2f87cbcb6414452377b4967858ed6a66f1109 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width