Label AI-written blog posts, add authorship page, and add a blog style guide - #10
Merged
Merged
Conversation
Co-authored-by: Scott Chacon <schacon@gmail.com>
…match Co-authored-by: Scott Chacon <schacon@gmail.com>
schacon
marked this pull request as ready for review
August 2, 2026 11:02
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
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.
Changes
AI authorship labeling
automatedboolean to the blog frontmatter schema (site/src/content.config.ts), defaulting tofalse.site/src/pages/blog/[id].astro): automated posts get a prominent "This post was written by AI" banner with an AI badge; human posts get a subtle "Written by a human" banner. Both link to the new authorship page.site/src/pages/blog/index.astro)./authorship/(site/src/pages/authorship.astro), explaining that the book is written entirely by humans (perAGENTS.md), while some blog posts are automated to communicate project updates — and always labeled.automated: true(both were committed by Cursor Agent).Blog style guide
site/BLOG_STYLE.md, a writing style guide for blog posts derived from the book's own voice — every trait is illustrated with a real sentence quoted from the book (second-person address, "let's" walkthroughs, rhetorical questions answered immediately, em-dash asides, sparing dry humor, one sentence per source line, and so on).AGENTS.mdrequiring agents to loadsite/BLOG_STYLE.mdbefore writing or editing any post, and to always setautomated: true.site/README.mdat the guide.Context
The blog can carry agent-generated update posts, but readers should never have to guess who wrote what, and the posts should read like the book's authors wrote them. This makes AI authorship explicit at the top of each post, gives the label a destination that spells out the policy, and pins the blog's voice to the book's.
Verified locally with
npm run buildand browser walkthroughs of the preview site: