{
  "contract": "sourcey.site-record/v1alpha1",
  "release_id": "sha256:bd09d0d69be85f283c66dbcfff753da9885bba20fcdb18b484b1a2186d20323b",
  "snapshot_id": "sha256:176efc089bc49b57be7166b579da751cb731fe11435c512fef5badc4726ee154",
  "artifact_sha256": "sha256:b94f3a0b90c28222ace9c45bbd97a134b5ef242fa06be9c792200534811e964f",
  "data": {
    "entity_id": "ent_01kyh8fpe4h2ykh2786fd0krzp",
    "entity_slug": "posthog",
    "profile": {
      "projection_contract": "sourcey.agent-readiness-projection/v1alpha1",
      "agent_readiness_profile_id": "arp_01m4pm6wbhh4tccc7b2bt5ehm0",
      "entity_id": "ent_01kyh8fpe4h2ykh2786fd0krzp",
      "scope": {
        "product": {
          "key": "posthog-feature-flags",
          "name": "PostHog Feature Flags"
        },
        "job": {
          "key": "feature-flag-create",
          "name": "Create a feature flag"
        }
      },
      "catalog_binding": {
        "base_release_id": "sha256:525cff08b2316c8b3fb1f0365d66e75753f560bc6203ee5733a74d5a550fc9a0",
        "entity_revision_digest": "sha256:8c05d4919972e14a57b65bc19b703613ae9b919a0cd12e9f629682a7c90b36bb"
      },
      "declaration_revision_digest": "sha256:0a52b02fdcae46cb1e9af190d0e62d659bbe8bc721b04954ac5d1950f0a17e67",
      "declaration": {
        "declaration_id": "declaration_posthog_posthog_feature_flags_feature_flag_create",
        "provenance": {
          "repository": "sourcey/agent-ready-services",
          "commit": "d0349b59eac1f864862be6cae9c25d97bec9e731",
          "path": "entities/po/posthog.yaml",
          "git_blob_oid": "0ba741d012aa57e3640ac0c7b0224cdf6abaf18f",
          "blob_digest": "sha256:44f8194720ed2e931002270fec1685ba689fe74e46093c124cc7a487379b6dd3"
        },
        "status": "community_declared"
      },
      "surface_catalog": {
        "participants": [
          {
            "participant_id": "subject",
            "roles": [
              "access_operator",
              "identity_provider",
              "operations_provider",
              "provisioning_provider",
              "subject"
            ],
            "identity": {
              "entity_id": "ent_01kyh8fpe4h2ykh2786fd0krzp"
            }
          }
        ],
        "resources": [
          {
            "resource_id": "account-signup",
            "uri": "https://us.posthog.com/signup",
            "roles": [
              "access"
            ],
            "operated_by_participant_id": "subject",
            "standard_bindings": []
          },
          {
            "resource_id": "agent-index",
            "uri": "https://posthog.com/llms.txt",
            "roles": [
              "descriptor",
              "discovery"
            ],
            "operated_by_participant_id": "subject",
            "standard_bindings": []
          },
          {
            "resource_id": "api-overview",
            "uri": "https://posthog.com/docs/api",
            "roles": [
              "authentication",
              "discovery",
              "documentation"
            ],
            "operated_by_participant_id": "subject",
            "standard_bindings": []
          },
          {
            "resource_id": "crawler-policy",
            "uri": "https://posthog.com/robots.txt",
            "roles": [
              "policy"
            ],
            "operated_by_participant_id": "subject",
            "standard_bindings": []
          },
          {
            "resource_id": "feature-flags-api",
            "uri": "https://posthog.com/docs/api/feature-flags",
            "roles": [
              "documentation",
              "operations"
            ],
            "operated_by_participant_id": "subject",
            "standard_bindings": []
          },
          {
            "resource_id": "free-pricing",
            "uri": "https://posthog.com/pricing",
            "roles": [
              "eligibility",
              "pricing"
            ],
            "operated_by_participant_id": "subject",
            "standard_bindings": []
          },
          {
            "resource_id": "mcp-faq",
            "uri": "https://posthog.com/docs/model-context-protocol/faq",
            "roles": [
              "authentication",
              "documentation",
              "recovery"
            ],
            "operated_by_participant_id": "subject",
            "standard_bindings": []
          },
          {
            "resource_id": "mcp-guide",
            "uri": "https://posthog.com/docs/model-context-protocol",
            "roles": [
              "discovery",
              "documentation"
            ],
            "operated_by_participant_id": "subject",
            "standard_bindings": []
          },
          {
            "resource_id": "mcp-setup",
            "uri": "https://posthog.com/docs/model-context-protocol/codex",
            "roles": [
              "access",
              "authentication",
              "documentation"
            ],
            "operated_by_participant_id": "subject",
            "standard_bindings": []
          },
          {
            "resource_id": "mcp-tools",
            "uri": "https://posthog.com/docs/model-context-protocol/tools",
            "roles": [
              "documentation",
              "operations",
              "provisioning",
              "status"
            ],
            "operated_by_participant_id": "subject",
            "standard_bindings": []
          },
          {
            "resource_id": "service-terms",
            "uri": "https://posthog.com/terms",
            "roles": [
              "eligibility",
              "terms"
            ],
            "operated_by_participant_id": "subject",
            "standard_bindings": []
          },
          {
            "resource_id": "status",
            "uri": "https://www.posthogstatus.com/",
            "roles": [
              "recovery",
              "status"
            ],
            "operated_by_participant_id": "subject",
            "standard_bindings": []
          },
          {
            "resource_id": "support",
            "uri": "https://posthog.com/docs/support",
            "roles": [
              "documentation",
              "recovery"
            ],
            "operated_by_participant_id": "subject",
            "standard_bindings": []
          }
        ],
        "endpoints": [
          {
            "endpoint_id": "mcp-server",
            "uri": "https://mcp.posthog.com/mcp",
            "transport": "http",
            "roles": [
              "protected_resource",
              "service"
            ],
            "operated_by_participant_id": "subject",
            "standard_bindings": []
          },
          {
            "endpoint_id": "posthog-api",
            "uri": "https://us.posthog.com",
            "transport": "http",
            "roles": [
              "service"
            ],
            "operated_by_participant_id": "subject",
            "standard_bindings": []
          },
          {
            "endpoint_id": "registration",
            "uri": "https://us.posthog.com/signup",
            "transport": "http",
            "roles": [
              "registration"
            ],
            "operated_by_participant_id": "subject",
            "standard_bindings": []
          }
        ],
        "interfaces": [
          {
            "interface_id": "account-authentication",
            "modality": "web_application",
            "functions": [
              "authentication"
            ],
            "endpoint_ids": [
              "registration"
            ],
            "resource_ids": [
              "account-signup",
              "mcp-setup"
            ],
            "operated_by_participant_id": "subject",
            "standard_bindings": []
          },
          {
            "interface_id": "feature-flags-api",
            "modality": "network_api",
            "functions": [
              "service_operation"
            ],
            "endpoint_ids": [
              "posthog-api"
            ],
            "resource_ids": [
              "api-overview",
              "feature-flags-api"
            ],
            "operated_by_participant_id": "subject",
            "standard_bindings": []
          },
          {
            "interface_id": "posthog-mcp",
            "modality": "tool_server",
            "functions": [
              "service_operation"
            ],
            "endpoint_ids": [
              "mcp-server"
            ],
            "resource_ids": [
              "mcp-faq",
              "mcp-guide",
              "mcp-setup",
              "mcp-tools"
            ],
            "operated_by_participant_id": "subject",
            "standard_bindings": []
          }
        ],
        "relations": [
          {
            "relation_id": "account-authenticates-mcp",
            "kind": "authenticates",
            "from": {
              "node_kind": "interface",
              "node_id": "account-authentication"
            },
            "to": {
              "node_kind": "interface",
              "node_id": "posthog-mcp"
            }
          },
          {
            "relation_id": "faq-describes-mcp",
            "kind": "describes",
            "from": {
              "node_kind": "resource",
              "node_id": "mcp-faq"
            },
            "to": {
              "node_kind": "interface",
              "node_id": "posthog-mcp"
            }
          },
          {
            "relation_id": "feature-flags-docs-describe-api",
            "kind": "describes",
            "from": {
              "node_kind": "resource",
              "node_id": "feature-flags-api"
            },
            "to": {
              "node_kind": "interface",
              "node_id": "feature-flags-api"
            }
          },
          {
            "relation_id": "guide-describes-mcp",
            "kind": "describes",
            "from": {
              "node_kind": "resource",
              "node_id": "mcp-guide"
            },
            "to": {
              "node_kind": "interface",
              "node_id": "posthog-mcp"
            }
          },
          {
            "relation_id": "tools-describe-mcp",
            "kind": "describes",
            "from": {
              "node_kind": "resource",
              "node_id": "mcp-tools"
            },
            "to": {
              "node_kind": "interface",
              "node_id": "posthog-mcp"
            }
          }
        ],
        "surface_exclusions": [
          {
            "exclusion_id": "free-plan-no-checkout",
            "role": "checkout",
            "rationale": "The scoped free-plan MCP feature-flag path has no checkout; paid usage is a separate upgrade."
          }
        ]
      },
      "lifecycle": "active",
      "effective_from": "2026-10-12T00:13:52.484Z",
      "revision_digest": "sha256:72f207d78c89e72c6cdd98c0a285e2244f7d401a866a94f02d783390b1138721",
      "policy_digest": "sha256:0a4e4996176ce674b4f3ce910c5fca4f37c9b53bcdf51656d53a1a92fcf2c879",
      "policy_version": "kind-2026-10-12",
      "policy_as_of": "2026-10-05T00:00:00Z",
      "job": {
        "job_id": "feature-flag-create",
        "job_digest": "sha256:a8e252d1f6ebff3a85c4bc1bf29483c95ce006ebf97a38923e4d3717afafb9fc",
        "category": "feature-flags",
        "name": "Create a feature flag",
        "statement": "Create a feature flag keyed by the run's nonce, then read it back."
      },
      "interface_id": "posthog-mcp",
      "label": "probed",
      "label_run_at": null,
      "grade": {
        "letter": "A",
        "statement": "One light, one-time human step: OAuth consent with the agent's own client, or claiming the account later.",
        "steps": [
          {
            "step": "discover",
            "outcome": "machine",
            "timing": null
          },
          {
            "step": "authority",
            "outcome": "machine",
            "timing": null
          },
          {
            "step": "onboard",
            "outcome": "approval",
            "timing": "setup"
          },
          {
            "step": "pay",
            "outcome": "not_applicable",
            "timing": null
          },
          {
            "step": "confirm",
            "outcome": "machine",
            "timing": null
          },
          {
            "step": "sustain",
            "outcome": "machine",
            "timing": null
          }
        ],
        "job": "reachable",
        "approvals": [
          "onboard"
        ],
        "workarounds": []
      },
      "discovery": [
        {
          "fact": "agent_documentation",
          "value": "https://posthog.com/llms.txt",
          "descriptor_url": "https://posthog.com/llms.txt",
          "attempt_digest": "sha256:b7f0c5f686eb1d504dc9f0a18a5df5b51d59a70bfa3ce11ba9ef13b4fbea4db3",
          "adapter": {
            "namespace": "llms.txt",
            "version": "1"
          }
        },
        {
          "fact": "openapi_server",
          "value": "https://us.posthog.com/",
          "descriptor_url": "https://posthog.com/openapi.json",
          "attempt_digest": "sha256:72d2ded0f6eca9fcde2d8cf7a34e4e3195e071d388819588eae35802a43cc356",
          "adapter": {
            "namespace": "openapi",
            "version": "3.1.0"
          }
        },
        {
          "fact": "openapi_server",
          "value": "https://eu.posthog.com/",
          "descriptor_url": "https://posthog.com/openapi.json",
          "attempt_digest": "sha256:72d2ded0f6eca9fcde2d8cf7a34e4e3195e071d388819588eae35802a43cc356",
          "adapter": {
            "namespace": "openapi",
            "version": "3.1.0"
          }
        },
        {
          "fact": "oauth_protected_resource",
          "value": "https://mcp.posthog.com/mcp",
          "descriptor_url": "https://mcp.posthog.com/.well-known/oauth-protected-resource/mcp",
          "attempt_digest": "sha256:224637f02416fb2afb94e6327da5c588f61cc3b35ba10ff6a79ce40ef963812b",
          "adapter": {
            "namespace": "rfc9728",
            "version": "1"
          }
        },
        {
          "fact": "oauth_authorization_server",
          "value": "https://oauth.posthog.com/",
          "descriptor_url": "https://mcp.posthog.com/.well-known/oauth-protected-resource/mcp",
          "attempt_digest": "sha256:224637f02416fb2afb94e6327da5c588f61cc3b35ba10ff6a79ce40ef963812b",
          "adapter": {
            "namespace": "rfc9728",
            "version": "1"
          }
        },
        {
          "fact": "oauth_authorization_server",
          "value": "https://oauth.posthog.com/",
          "descriptor_url": "https://oauth.posthog.com/.well-known/oauth-authorization-server",
          "attempt_digest": "sha256:a0fd0d0a2694d004e8ec820b6d45d183aac972e6eaae75133841a0e27eb0b4ee",
          "adapter": {
            "namespace": "rfc8414",
            "version": "1"
          }
        },
        {
          "fact": "oauth_protected_resource",
          "value": "https://mcp.posthog.com/",
          "descriptor_url": "https://mcp.posthog.com/.well-known/oauth-protected-resource",
          "attempt_digest": "sha256:60ae32af4d803287227a5fbab542f5c758ea406e92c02e33b0710b5ad6f7ec2e",
          "adapter": {
            "namespace": "rfc9728",
            "version": "1"
          }
        },
        {
          "fact": "oauth_authorization_server",
          "value": "https://oauth.posthog.com/",
          "descriptor_url": "https://mcp.posthog.com/.well-known/oauth-protected-resource",
          "attempt_digest": "sha256:60ae32af4d803287227a5fbab542f5c758ea406e92c02e33b0710b5ad6f7ec2e",
          "adapter": {
            "namespace": "rfc9728",
            "version": "1"
          }
        },
        {
          "fact": "oauth_authorization_server",
          "value": "https://us.posthog.com/",
          "descriptor_url": "https://us.posthog.com/.well-known/oauth-authorization-server",
          "attempt_digest": "sha256:b074a71c8e91859fa7c4365aeacb3ac7688986de0d96286d0ff0d90fd9fce8e6",
          "adapter": {
            "namespace": "rfc8414",
            "version": "1"
          }
        },
        {
          "fact": "oauth_protected_resource",
          "value": "https://us.posthog.com/",
          "descriptor_url": "https://us.posthog.com/.well-known/oauth-protected-resource",
          "attempt_digest": "sha256:c252270010f02fe186564df4c0bdd28fd6c822e96383054fc2130bfcdd3a1ada",
          "adapter": {
            "namespace": "rfc9728",
            "version": "1"
          }
        },
        {
          "fact": "oauth_authorization_server",
          "value": "https://us.posthog.com/",
          "descriptor_url": "https://us.posthog.com/.well-known/oauth-protected-resource",
          "attempt_digest": "sha256:c252270010f02fe186564df4c0bdd28fd6c822e96383054fc2130bfcdd3a1ada",
          "adapter": {
            "namespace": "rfc9728",
            "version": "1"
          }
        },
        {
          "fact": "agent_documentation",
          "value": "https://us.posthog.com/auth.md",
          "descriptor_url": "https://us.posthog.com/auth.md",
          "attempt_digest": "sha256:9173d8d757f0c262ff3ecf27e5091e0b53a00de7282744f263b86dd3961e6117",
          "adapter": {
            "namespace": "auth.md",
            "version": "1"
          }
        },
        {
          "fact": "documentation_route",
          "value": "https://mcp.posthog.com/",
          "descriptor_url": "https://posthog.com/docs/model-context-protocol",
          "attempt_digest": "sha256:8682272a4ee4d0676bbd315a66589690d021ece559dcddd36acf9ad60693f825",
          "adapter": {
            "namespace": "llms.txt",
            "version": "route"
          }
        },
        {
          "fact": "documentation_route",
          "value": "https://us.posthog.com/",
          "descriptor_url": "https://posthog.com/docs/api/queries.md",
          "attempt_digest": "sha256:b0790f6d201d4044c9d93ef8d625fe84e64978587010520f48c53ddc6226aa35",
          "adapter": {
            "namespace": "llms.txt",
            "version": "route"
          }
        }
      ],
      "discovery_run_at": null,
      "run": {
        "started_at": "2026-10-12T00:11:42.537Z",
        "finished_at": "2026-10-12T00:13:52.484Z",
        "discovery_reads": 46,
        "exchanges": [
          {
            "purpose": "probe_operation",
            "role": "session_opening",
            "method": "POST",
            "url": "https://mcp.posthog.com/mcp",
            "started_at": "2026-10-12T00:12:48.883Z",
            "finished_at": "2026-10-12T00:12:48.910Z",
            "response": {
              "status": 401,
              "media_type": "text/plain",
              "content_bytes": 145,
              "content_digest": "sha256:23ce3ed46650e7dd22018ce4ed64e76a25f1b874697df732bacd49c76f2420f9"
            },
            "transport_error": null,
            "exchange_digest": "sha256:4ac458719d1c1b71a10712de4759244972e7b3ee5a762142c13946fc4131e7f4"
          },
          {
            "purpose": "probe_resource_metadata",
            "role": "request",
            "method": "GET",
            "url": "https://mcp.posthog.com/.well-known/oauth-protected-resource/mcp",
            "started_at": "2026-10-12T00:12:52.078Z",
            "finished_at": "2026-10-12T00:12:52.244Z",
            "response": {
              "status": 200,
              "media_type": "application/json",
              "content_bytes": 3295,
              "content_digest": "sha256:6d237343b88f2a2eded8724dba11b80a96f85aa13afdefa28fc29adf58f55d24"
            },
            "transport_error": null,
            "exchange_digest": "sha256:9ed32b7fd620a2f891f4e534fce63ba7ce78e1f19472475f312ccf1582859b95"
          },
          {
            "purpose": "probe_authorization_server",
            "role": "request",
            "method": "GET",
            "url": "https://oauth.posthog.com/.well-known/oauth-authorization-server",
            "started_at": "2026-10-12T00:12:55.367Z",
            "finished_at": "2026-10-12T00:12:55.397Z",
            "response": {
              "status": 200,
              "media_type": "application/json",
              "content_bytes": 6028,
              "content_digest": "sha256:b9163d7e764f584a597855487b1182ebd7baf94eb2b392e78f142dc41ab8e60f"
            },
            "transport_error": null,
            "exchange_digest": "sha256:c4844c5f641d73fdc94e7203782728ebe5d8dcd3f536bdbf68210eae26530573"
          },
          {
            "purpose": "probe_operation",
            "role": "request",
            "method": "POST",
            "url": "https://us.posthog.com/api/projects/0/feature_flags/",
            "started_at": "2026-10-12T00:13:34.253Z",
            "finished_at": "2026-10-12T00:13:34.306Z",
            "response": {
              "status": 401,
              "media_type": "application/json",
              "content_bytes": 127,
              "content_digest": "sha256:94809269b718e83ed7965ba7f744fc698c6905bd7296e58c3174751547754f4a"
            },
            "transport_error": null,
            "exchange_digest": "sha256:f8528504ffd27f26f3df827d33aee3c3df9115eae3f959d86a01870eb00b01d7"
          },
          {
            "purpose": "probe_resource_metadata",
            "role": "request",
            "method": "GET",
            "url": "https://us.posthog.com/.well-known/oauth-protected-resource",
            "started_at": "2026-10-12T00:13:39.044Z",
            "finished_at": "2026-10-12T00:13:39.083Z",
            "response": {
              "status": 200,
              "media_type": "application/json",
              "content_bytes": 5117,
              "content_digest": "sha256:9c4a6589f8ee9b2006498f835265c9f96cd01cdab73f22da3bb1c523df86f410"
            },
            "transport_error": null,
            "exchange_digest": "sha256:eab2c57c8f13e9817687cf20fce4a4da04a8898bda9b7177978710af2c6c0dac"
          },
          {
            "purpose": "probe_authorization_server",
            "role": "request",
            "method": "GET",
            "url": "https://us.posthog.com/.well-known/oauth-authorization-server",
            "started_at": "2026-10-12T00:13:42.862Z",
            "finished_at": "2026-10-12T00:13:42.901Z",
            "response": {
              "status": 200,
              "media_type": "application/json",
              "content_bytes": 6274,
              "content_digest": "sha256:472a7fea43cd27a4d47918a8b8f81ac5591bc3d97f0d2b5b3434366a49659076"
            },
            "transport_error": null,
            "exchange_digest": "sha256:aa202dcf2302924cd41dea76f30f7a9a279b288a0f2955ab10c56634d7e0dac9"
          },
          {
            "purpose": "probe_page",
            "role": "request",
            "method": "GET",
            "url": "https://us.posthog.com/signup",
            "started_at": "2026-10-12T00:13:46.639Z",
            "finished_at": "2026-10-12T00:13:46.695Z",
            "response": {
              "status": 200,
              "media_type": "text/html",
              "content_bytes": 246746,
              "content_digest": "sha256:debc54939590be9f2f48161601630c6461dbfba7414d08480e06867772e05a82"
            },
            "transport_error": null,
            "exchange_digest": "sha256:96b173e3e31533d8efa383484c525412a0d86ffc6115c1aea952ede545f8b72d"
          }
        ],
        "assertions": []
      },
      "last_run_at": "2026-10-12T00:13:52.484Z",
      "publication": {
        "visibility": "discoverable",
        "reasons": []
      },
      "provenance": {
        "dispute": "none",
        "vendor_attestation": {
          "status": "none"
        },
        "basis_event_ids": []
      },
      "canonical_url": "https://sourcey.com/c/posthog/agent-readiness/posthog-feature-flags/feature-flag-create",
      "projection_digest": "sha256:a2ae3f2b53ff9848649cf73a50e745034a9d902ab8cbcba218fb021147e0038c"
    }
  }
}
