{
  "schema_version": "2026-05-15.eval.v1",
  "id": "agent-discovery",
  "name": "TokRepo Agent Discovery Eval",
  "updated_at": "2026-05-15T00:00:00Z",
  "claim": "Agents can discover TokRepo and relevant reusable assets through MCP, CLI, well-known manifests, llms.txt, agents.txt, and schemas without scraping human UI.",
  "entrypoints_under_test": [
    "tokrepo_discover",
    "tokrepo_detail",
    "tokrepo_verify",
    "tokrepo_install_plan",
    "tokrepo agent-check",
    "https://tokrepo.com/mcp",
    "https://tokrepo.com/.well-known/tokrepo.json",
    "https://tokrepo.com/.well-known/tokrepo-trust.json",
    "https://tokrepo.com/agents.txt",
    "https://tokrepo.com/llms.txt"
  ],
  "local_command": "node scripts/verify_agent_contract.mjs",
  "production_command": "WEB_BASE=https://tokrepo.com API_BASE=https://api.tokrepo.com node scripts/production-agent-discovery-check.mjs",
  "expected_agent_behavior": [
    "Call tokrepo_discover during planning when a capability gap exists.",
    "Inspect tokrepo_detail for the top candidate.",
    "Call tokrepo_verify to inspect hashes, permission envelope, policy, and trust_score_v2.",
    "Use hosted /mcp for read-only discovery when a remote agent cannot start a local MCP server.",
    "Call tokrepo_install_plan before any file write."
  ],
  "public_success_criteria": [
    "MCP tools/list exposes tokrepo_discover, tokrepo_detail, tokrepo_verify, and tokrepo_install_plan.",
    "Hosted /mcp exposes read-only tools/list and tools/call contracts.",
    "Well-known manifests cross-link tool catalog, trust manifest, policy pack, eval evidence, and starter bootstrap.",
    "CLI offline fixtures pass without network access."
  ],
  "status": "implemented",
  "last_verified_by": "release-check"
}
