Skip to content

feat(observatory): CTEF v0.3.2 §4.5 compliance validator endpoint#27

Draft
vdineshk wants to merge 2 commits into
mainfrom
claude/focused-cannon-LSwgC
Draft

feat(observatory): CTEF v0.3.2 §4.5 compliance validator endpoint#27
vdineshk wants to merge 2 commits into
mainfrom
claude/focused-cannon-LSwgC

Conversation

@vdineshk
Copy link
Copy Markdown
Owner

@vdineshk vdineshk commented May 8, 2026

Summary

  • Adds POST /api/ctef/validate and GET /api/ctef/validate to Dominion Observatory
  • Implements CTEF v0.3.2 §4.5 compliance evaluation: trust_score ≥ 50, no behavioral drift, ≥ 10 tracked interactions
  • Returns structured assessment: COMPLIANT | NON_COMPLIANT | INSUFFICIENT_DATA with evidence_uri, behavioral_drift_flag, and claim_uri
  • Documents endpoint in llms.txt, /api/info endpoints registry, and /.well-known/mcp-observatory

Test plan

  • Wrangler dry-run passed before deploy
  • GET /api/ctef/validate?server_id=sg-cpf-calculator-mcp{"assessment":"COMPLIANT","trust_score":92.5,"section":"4.5",...}
  • POST /api/ctef/validate with same payload → identical shape
  • Unknown server → {"assessment":"INSUFFICIENT_DATA","compliant":false}
  • Missing params → HTTP 400 with usage example
  • All 6 existing spec-cited endpoints remain healthy post-deploy
  • Version 191ab573 confirmed live on dominion-observatory.sgdata.workers.dev

Generated by Claude Code

claude added 2 commits May 8, 2026 00:12
Adds POST/GET /api/ctef/validate to Dominion Observatory. Evaluates
MCP server compliance against CTEF v0.3.2 §4.5 criteria: trust_score >= 50,
no behavioral drift, and >= 10 tracked interactions. Returns structured
assessment (COMPLIANT / NON_COMPLIANT / INSUFFICIENT_DATA) with evidence_uri
linking to behavioral evidence record. Documented in llms.txt, /api/info,
and /.well-known/mcp-observatory endpoints registry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants