Skip to content

feat: add HYV guarded blog starter — build fails if posts sound like ChatGPT#1527

Open
shashank-sn wants to merge 3 commits into
vercel:mainfrom
shashank-sn:feat/hyv-guarded-blog
Open

feat: add HYV guarded blog starter — build fails if posts sound like ChatGPT#1527
shashank-sn wants to merge 3 commits into
vercel:mainfrom
shashank-sn:feat/hyv-guarded-blog

Conversation

@shashank-sn

Copy link
Copy Markdown

Adds a Next.js blog starter where next build fails if any post trips hyv scan --fail-on-hit.

What ships:

  • Clean example post that passes scan (score 80/100)
  • AI-generated example post that fails (34 issues, score 0/100)
  • Prebuild gate: hyv scan runs on every post, exits 2 on any AI pattern hit
  • Runs 100% locally via npx @holdyourvoice/hyv, zero API keys, zero env vars

Template frontmatter uses fields from internal/fields.json — name, slug, description, framework, useCase, css, deployUrl, demoUrl, relatedTemplates.

Co-authored-by: CommandCodeBot noreply@commandcode.ai

…ChatGPT

A Next.js blog starter where `next build` fails if any post trips
`hyv scan --fail-on-hit`. Ships with a clean post and an AI-generated
example that already fails the gate. Runs 100% locally, zero API calls.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
@vercel

vercel Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

@shashank-sn is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Deployment failed with the following error:

The `vercel.ts` schema validation failed with the following message: `rewrites[0]` missing required property `destination`

Learn More: https://vercel.com/docs/concepts/projects/project-configuration

Comment thread starter/hyv-guarded-blog/_posts/clean-example.md Outdated
@socket-security

socket-security Bot commented Jul 4, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​remark-html@​16.0.19910010083100
Addednpm/​remark@​15.0.11001009883100
Addednpm/​date-fns@​3.6.0831009290100

View full report

shashank-sn and others added 2 commits July 4, 2026 09:51
Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
@vercel

vercel Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mintlify-docs-rewrite Error Error Jul 4, 2026 4:22am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant