feat(blog): add local-first architecture post#132
Conversation
Adds new blog post explaining why Refactron runs entirely on-device, covering the privacy, security, and compliance rationale behind the local-first architecture decision. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. Scanned FilesNone |
📝 WalkthroughWalkthroughA new blog post titled "why-refactron-runs-locally" is added to the blog system with comprehensive metadata and markdown content. The sitemap is updated to include the new post URL with appropriate crawl frequency and priority settings. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
👋 Thanks for opening this pull request! A maintainer will review it soon. Please make sure all CI checks pass. |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
public/sitemap.xml (1)
1-1: Consider enforcing sitemap↔posts consistency automatically.To prevent future drift, add a small CI check that validates every blog slug in
src/data/posts.tsis present inpublic/sitemap.xml(and optionally vice versa).🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@public/sitemap.xml` at line 1, Add a CI check that ensures every blog slug in posts.ts appears in sitemap.xml: implement a small Node script (e.g., check-sitemap) that reads the exported posts array from posts.ts to extract slugs, parses public sitemap.xml loc entries, compares the two sets, and prints any missing slugs and exits non-zero when mismatches exist; add an npm script "check-sitemap" to run the script and wire that script into CI as a pre-merge job so PRs fail when sitemap↔posts drift occurs.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@public/sitemap.xml`:
- Line 1: Add a CI check that ensures every blog slug in posts.ts appears in
sitemap.xml: implement a small Node script (e.g., check-sitemap) that reads the
exported posts array from posts.ts to extract slugs, parses public sitemap.xml
loc entries, compares the two sets, and prints any missing slugs and exits
non-zero when mismatches exist; add an npm script "check-sitemap" to run the
script and wire that script into CI as a pre-merge job so PRs fail when
sitemap↔posts drift occurs.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 7bcc298c-6b3a-4305-afc1-e5d7838ee23d
📒 Files selected for processing (2)
public/sitemap.xmlsrc/data/posts.ts
There was a problem hiding this comment.
Pull request overview
Adds a new blog post describing Refactron’s local-first/on-device architecture and updates SEO sitemap content so the post is discoverable.
Changes:
- Added new blog post entry (
why-refactron-runs-locally) including metadata + full body content. - Updated
public/sitemap.xmlto include the new blog post URL.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/data/posts.ts | Adds the new post’s metadata and markdown body to the in-app blog data source. |
| public/sitemap.xml | Adds the new blog post URL to the main domain sitemap. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| { | ||
| slug: 'why-refactron-runs-locally', | ||
| title: | ||
| 'Why We Built Refactron to Run Locally — Your Code Stays on Your Machine', | ||
| industry: 'Product', | ||
| accentColor: '#2D6A8F', | ||
| publishedAt: 'April 2, 2026', |
There was a problem hiding this comment.
BlogPage renders non-featured posts (featured === false) in the array order without sorting. Since this new post is appended at the end of blogPosts, it will show up as the last regular post even though its publishedAt is the newest date. Consider inserting it earlier in the array (or sorting rest by publishedAt) so the newest post isn’t buried at the bottom of the blog listing.
Adds new blog post explaining why Refactron runs entirely on-device, covering the privacy, security, and compliance rationale behind the local-first architecture decision.
Summary by CodeRabbit