---
name: agent-discovery
description: "Auditing, maintaining, and verifying web-native machine readability, agent manifests, and syndication feeds."
---

# Agent Discovery & Machine Readability Engineering

## 1. Discovery Architecture
Maintains site-wide machine readability across bitsmasher.net:
- Universal Manifest: `/.well-known/agent.json` (OAN/NIP/FastMCP agent profiles)
- LLM Index: `/llms.txt` (llmstxt.org specification: H1 title, summary blockquote, link sections for LLM discovery)
- Syndication Feeds: JSON Feed v1.1 manifests (`/research/index.json`, `/training/index.json`, `/manual/index.json`)
- Plaintext Aggregates: Markdown/plain mirrors (`/manual/manual.md`, `/research/palo/notes.txt`)

## 2. DOM & Schema Standards
- Head tags: `<link rel="alternate" type="application/feed+json" ...>`
- Structured data: Schema.org `TechArticle` / `CollectionPage` JSON-LD
- Semantic landmarks: `<main class="research-content" role="main">`, `<time datetime="YYYY-MM-DD">`
- Zero inline styles (`style=""`) and absolute stylesheet URLs

## 3. Edge Serving Contract
- Content-Type: `application/feed+json` for JSON manifests, `text/markdown` for `.md`
- Headers: `Access-Control-Allow-Origin: *` across all discovery surfaces
- Caching: `Cache-Control: public, must-revalidate, max-age=3600` for manifests

## 4. Verification Protocol
Pre- and post-deploy audit:
```bash
for ep in "/.well-known/agent.json" "/llms.txt" "/research/index.json" "/training/index.json" "/manual/index.json" "/manual/manual.md"; do
  echo -n "https://www.bitsmasher.net${ep} -> "
  curl -sI "https://www.bitsmasher.net${ep}" | grep -Ei "HTTP/|content-type:|access-control-allow-origin:" | tr '\r\n' ' '
  echo
done

```
