feat(observatory): CTEF conformance document generator + updated llms.txt [RUN-034]#29
Draft
vdineshk wants to merge 3 commits into
Draft
feat(observatory): CTEF conformance document generator + updated llms.txt [RUN-034]#29vdineshk wants to merge 3 commits into
vdineshk wants to merge 3 commits into
Conversation
…routes Adds 8 new routes to Observatory worker: - /.cursorrules (MCP trust gate cursor rule) - /docs/cursor-rule.md (markdown documentation) - /install (SDK and API install instructions) - /agent-onboarding/SKILL.md (agent onboarding with frontmatter) - /.well-known/agent-card.json (A2A agent card spec) - /.well-known/mcp/server-card.json (MCP server card) - /.well-known/ctef-conformance (CTEF v0.3.2 §4.5 self-attestation) - /api/ctef/validate (sync live endpoint to source) Also adds Apex AI user-agent content negotiation at root. Deployed: version d087dc9e-f457-48db-9552-cb468cb5dd60
… llms.txt Add /api/ctef/attest endpoint that generates a ready-to-deploy /.well-known/ctef-conformance document for any MCP server tracked by Observatory. Server operators call this to get their own CTEF v0.3.2 §4.5 conformance document, embedding Observatory as the attester. Also update llms.txt with CTEF §4.5 endpoint section and agent discovery surfaces so agent-readable docs match deployed routes. Deploy: d74798d5-c196-4507-ba0f-87bf73994b3c POST_DEPLOY_VERIFY: 12/12 PASS
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
/api/ctef/attest?server_id={id}— generates a ready-to-deploy/.well-known/ctef-conformancedocument for any MCP server tracked by Observatory. Server operators call this to get their CTEF v0.3.2 §4.5 conformance document with Observatory as attester.llms.txtto include CTEF §4.5 endpoint section, agent discovery surfaces, and new routes from RUN-033 (SKILL.md, agent-card, cursorrules, install)What /api/ctef/attest does
Any MCP server operator can call:
Returns a complete
/.well-known/ctef-conformanceJSON document they can copy to their own server, with Observatory as the named attester and a verification link back to/api/ctef/validate.This creates a viral loop: server gets conformance doc → embeds Observatory URL → CTEF implementers reading the spec find Observatory → call our endpoints.
Deploy
d74798d5-c196-4507-ba0f-87bf73994b3cTest plan
GET /api/ctef/attest?server_id=sg-cpf-calculator-mcp→ returnsassessed-compliantJSON with trust_score, deploy_instructionsGET /api/ctef/attest(no params) → HTTP 400GET /llms.txt→ includes## CTEF v0.3.2 §4.5 endpointssectionGenerated by Claude Code