#9
Improve agent readiness with trust routes and markdown recovery
Summary
- Strengthen agent guidance in
llms.txtwith concrete when-to-use jobs and how to call Markdown viaAccept: text/markdown - Add
/contactas 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,/privacyreturn 200 with substantial content - Confirm
/privacy-policyis gone (404) and footer links to/privacy
Made with Cursor
Activity
2This pull request is a draft
Merging is unavailable until it is marked ready for review.
The latest updates on your projects. Learn more about Vercel for GitHub.