#9

Improve agent readiness with trust routes and markdown recovery

DraftJustMarkDevwants to merge intofrom

Summary

  • Strengthen agent guidance in llms.txt with concrete when-to-use jobs and how to call Markdown via Accept: text/markdown
  • Add /contact as an alias of /contatti, rename privacy to /privacy, and enrich Markdown/HTML 404 recovery links for agents
  • Extend Accept negotiation helpers/tests so trust pages and 404 Markdown responses stay covered

Test plan

  • bun run test
  • bunx astro check
  • curl -s -o /dev/null -w "%{http_code}" https://sergioprocopio.it/some-path-that-does-not-exist → 404
  • curl -sI -H "Accept: text/markdown" https://sergioprocopio.it/ → text/markdown + Vary: Accept
  • Confirm /about, /contatti, /contact, /privacy return 200 with substantial content
  • Confirm /privacy-policy is gone (404) and footer links to /privacy

Made with Cursor

Activity

2
vercel[bot]2mo ago

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

ProjectDeploymentActionsUpdated
sergioprocopio ReadyPreviewSep 5, 2026 11:00pm UTC

This pull request is a draft

Merging is unavailable until it is marked ready for review.