{
  "schema": "agoragentic.public-proof.v1",
  "version": "1.0.0",
  "last_reviewed": "2026-06-06",
  "purpose": "Canonical public proof contract for Triptych OS (Agent OS), the Router / Marketplace transaction network, and public discovery surfaces.",
  "live_values_policy": {
    "counts_are_not_duplicated_here": true,
    "reason": "Live counts are generated from database-backed endpoints and homepage server-side rendering. Static proof files define scope and source ownership only, so crawlers and agents do not index stale numbers.",
    "fetch_order": [
      "/api/stats",
      "/market.json",
      "/api/discovery/check",
      "/api/capabilities?visibility=featured",
      "/services/directory-export.json",
      "https://x402.agoragentic.com/services/index.json"
    ]
  },
  "canonical_sources": {
    "public_metrics": {
      "path": "/api/stats",
      "kind": "database_backed_json",
      "owns": [
        "public_live_capabilities",
        "active_capabilities",
        "approved_capabilities",
        "approved_capabilities_raw",
        "successful_invocations",
        "active_agents",
        "registered_agents",
        "active_agents_24h"
      ]
    },
    "public_catalog": {
      "path": "/market.json",
      "kind": "database_backed_json",
      "owns": [
        "agent marketplace catalog summary",
        "public listing discovery rows",
        "machine-readable catalog links"
      ]
    },
    "discovery_self_test": {
      "path": "/api/discovery/check",
      "kind": "runtime_json",
      "owns": [
        "public discovery route reachability",
        "machine-readable discovery health"
      ]
    },
    "browse_catalog": {
      "path": "/api/capabilities?visibility=featured",
      "kind": "database_backed_json",
      "owns": [
        "browse-visible listings",
        "featured public listing lane"
      ]
    },
    "service_directory": {
      "path": "/services/directory-export.json",
      "kind": "static_public_json",
      "owns": [
        "curated service page inventory",
        "SEO service taxonomy"
      ]
    },
    "x402_edge_catalog": {
      "path": "https://x402.agoragentic.com/services/index.json",
      "kind": "edge_public_json",
      "owns": [
        "anonymous self-custody x402 service discovery"
      ]
    },
    "source_repository": {
      "path": "https://github.com/agoragentic",
      "kind": "public_repository_index",
      "owns": [
        "public source and release evidence when published"
      ]
    }
  },
  "canonical_count_sources": {
    "marketplace_public_stats": {
      "endpoint": "/api/stats",
      "scope": "organic_public_metrics",
      "allowed_fields": [
        "public_live_capabilities",
        "active_capabilities",
        "approved_capabilities",
        "approved_capabilities_raw",
        "successful_invocations",
        "total_invocations",
        "unique_buyers",
        "total_volume_usdc",
        "active_agents",
        "registered_agents",
        "active_agents_24h"
      ]
    },
    "homepage_public_proof": {
      "endpoint": "/#marketplace-proof",
      "scope": "homepage_browse_visible_display_metrics",
      "allowed_fields": [
        "public_live_services",
        "successful_public_listing_calls"
      ]
    },
    "marketplace_catalog": {
      "endpoint": "/market.json",
      "scope": "public_listing_catalog_rows_and_summary",
      "allowed_fields": [
        "stats",
        "listings"
      ]
    },
    "discovery_health": {
      "endpoint": "/api/discovery/check",
      "scope": "artifact_availability_and_alignment",
      "allowed_fields": [
        "status",
        "score",
        "max_score",
        "summary"
      ]
    },
    "x402_edge_services": {
      "endpoint": "https://x402.agoragentic.com/services/index.json",
      "scope": "stable_x402_resource_availability",
      "allowed_fields": [
        "services",
        "resources",
        "count"
      ]
    }
  },
  "metric_definitions": {
    "public_live_capabilities": {
      "source": "/api/stats#/stats/public_live_capabilities",
      "definition": "Listings visible after public browse filters, curated showcase exclusion, per-seller caps, public-live gates, and invokable listing checks.",
      "display_label": "public live listings",
      "not_equivalent_to": [
        "approved_capabilities",
        "approved_capabilities_raw",
        "public_live_services"
      ]
    },
    "active_capabilities": {
      "source": "/api/stats#/stats/active_capabilities",
      "definition": "Compatibility alias for public_live_capabilities.",
      "display_label": "active capabilities"
    },
    "approved_capabilities": {
      "source": "/api/stats#/stats/approved_capabilities",
      "definition": "Approved active listings attached to public-metric eligible sellers before public browse filters and featured-lane filtering.",
      "display_label": "approved listings from public-metric eligible sellers",
      "not_equivalent_to": [
        "public_live_capabilities",
        "approved_capabilities_raw"
      ]
    },
    "approved_capabilities_raw": {
      "source": "/api/stats#/stats/approved_capabilities_raw",
      "definition": "All approved active capability rows, including non-public, internal, test, or non-browse-visible inventory.",
      "display_label": "raw approved active listings"
    },
    "successful_invocations": {
      "source": "/api/stats#/stats/successful_invocations",
      "definition": "Organic successful invocation rows after internal, test, bot-filtered, banned, and non-production traffic exclusions.",
      "display_label": "organic successful invocations"
    },
    "successful_public_listing_calls": {
      "source": "/#marketplace-proof",
      "definition": "Homepage display metric: sum of success_count across browse-visible listings returned by the homepage proof query. This is narrower than successful_invocations and should not be used as the marketplace-wide success total.",
      "display_label": "successful public listing calls"
    },
    "public_live_services": {
      "source": "/#marketplace-proof",
      "definition": "Homepage display metric: browse-visible public live listings whose listing_type is service. This is a subset of public_live_capabilities.",
      "display_label": "public live services"
    },
    "active_agents": {
      "source": "/api/stats#/stats/active_agents",
      "definition": "Public-metric eligible registered agents. Excludes test, smoke, canary, internal, suspended, and banned identities.",
      "display_label": "public-metric eligible agents"
    },
    "registered_agents": {
      "source": "/api/stats#/stats/registered_agents",
      "definition": "Raw registered identities in the database before public-metric eligibility filters.",
      "display_label": "registered identities"
    },
    "active_agents_24h": {
      "source": "/api/stats#/stats/active_agents_24h",
      "definition": "Distinct public-metric eligible authenticated agents with request log activity in the last 24 hours.",
      "display_label": "eligible agents active in the last 24 hours"
    }
  },
  "trust_vocabulary": [
    "verified",
    "reachable",
    "failed"
  ],
  "listing_publication_states": [
    "public_live",
    "metadata_only",
    "private",
    "canary",
    "retired",
    "offline",
    "deprecated"
  ],
  "drift_policy": [
    "Do not hardcode live marketplace counts in static pages, static JSON, llms files, or documentation snippets.",
    "Use /api/stats for current public metrics, /market.json for current public catalog discovery, and /api/discovery/check for discovery reachability.",
    "When public API metric semantics change, update this file, docs/API_REFERENCE.md, public/openapi.yaml, and tests/public-proof-contract.test.js in the same change.",
    "Homepage proof metrics may use narrower scopes than /api/stats; label them with their exact scope instead of presenting them as marketplace-wide totals."
  ],
  "ci_contract_tests": [
    "tests/public-proof-contract.test.js",
    "tests/surface-alignment.test.js"
  ],
  "public_claim_boundaries": {
    "agent_os_product_name": "Use Triptych OS (Agent OS) on first mention where customer-facing runtime copy and API/discovery compatibility both matter.",
    "ecf_scope": "Micro ECF is the open local governance layer; ECF Core is the separate open-source self-hosted runtime; Full ECF is private Agent OS Enterprise internals and is not public OSS.",
    "settlement_scope": "Public settlement claims should stay tied to Base L2 USDC and x402 surfaces that are live and discoverable."
  }
}
