Repository navigation
feat: agent-readiness discovery and edge surfaces - #81
Merged
Merged
Conversation
Add the machine-readable surfaces agent-readiness tooling looks for, all derived from the site's own sources of truth (ADR 0007): - Markdown for Agents (ADR 0016): per-page Markdown siblings emitted at build time and a dependency-free Cloudflare Worker that negotiates `Accept: text/markdown`. - RFC 9727 API catalog at /.well-known/api-catalog (ADR 0017). - Homepage discovery `Link` headers (RFC 8288 / RFC 9727 s3, ADR 0018). - A self-contained /auth.md for a static, no-login site (ADR 0019). Extend the discovery validator, generated-output check, dist tests and the Worker test suite to cover the new artifacts.
Bump the site version to ship the agent-readiness surfaces.
kieronlanning
enabled auto-merge (squash)
December 4, 2026 17:12
kieronlanning
disabled auto-merge
December 4, 2026 17:13
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.
Summary
Adds the machine-readable surfaces agent-readiness tooling looks for, all derived from the site existing sources of truth. Ships v0.12.0 (root
package.jsonminor bump; the release workflow is scoped topackage.json).Accept: text/markdown(falling back to/llms-full.txt)./.well-known/api-catalog, served with itsapplication/linkset+jsontype by the Worker.Linkheaders (RFC 8288 / RFC 9727 section 3, ADR 0018) -api-catalog,service-desc,service-doc,describedbyandsitemaponGET/HEADof/./auth.md(ADR 0019) - a self-contained agent-registration document for this static, no-login site: it names the agent audience and states there is no registration, no authorization server and no credentials.Validation
bun test worker/tests- 28 passdiscovery-*) - passoxfmt/oxlint- clean (the pre-commit hook ran on commit)astro check- 0 errors / 0 warningspr.yml->purview-build) runs the fulljust validategateNotes
/auth.mdand the RFC 9727 media type are enforced by the Cloudflare Worker, which deploys only whenCLOUDFLARE_API_TOKEN/CLOUDFLARE_ACCOUNT_IDare configured; the static site works without it.just validatehook was skipped locally (LEFTHOOK=0) because it needs a network data-sync and a full build; CI runs it.