{
  "$schema": "https://bringyour.ai/schemas/license-verification.v1.json",
  "id": "bringyour-license-verification",
  "title": "Bring Your AI license verification proof",
  "url": "https://bringyour.ai/license-verification",
  "html_url": "https://bringyour.ai/license-verification",
  "json_url": "https://bringyour.ai/license-verification.json",
  "product": "Bring Your AI",
  "updated_at": "2026-06-28",
  "purpose": "Give agents and buyers a deterministic proof of the paid license, local verification, and no-data remote boundary.",
  "remote_invariant": {
    "harness_data_remote": false,
    "accepts_user_rules": false,
    "accepts_file_contents": false,
    "accepts_api_keys": false,
    "accepts_repo_paths": false,
    "notes": "Remote checkout and license fulfillment accept payment tokens and buyer email only. Bring Your AI remote routes do not accept harness files, generated memories, user rules, API keys, GitHub handles, repo paths, MCP config files, or file contents."
  },
  "license_contract": {
    "entitlement": "signed_ed25519_license",
    "fulfillment": "https://bringyour.ai/api/v1/license",
    "storage": {
      "license_file": "~/.bringyour/license",
      "env_var": "BRINGYOUR_LICENSE"
    },
    "local_verification": {
      "phone_home": false,
      "network_required_after_fulfillment": false,
      "signature_algorithm": "ed25519",
      "public_key_source": "embedded_cli_public_key"
    }
  },
  "updates": {
    "latest_cli_channel": "https://bringyour.ai/install.sh",
    "existing_install_upgrade_command": "curl -fsSL https://bringyour.ai/install.sh | sh -s -- --force",
    "post_upgrade_cli_command": "bringyour upgrade",
    "updates_endpoint": "https://bringyour.ai/api/v1/updates",
    "included_for_lifetime_buyers": true,
    "latest_features": [
      {
        "id": "distill",
        "status": "available",
        "summary": "Create a sanitized local harness snapshot from Claude, Codex, or Cursor with a redaction report.",
        "gate": "Requires the normal paid local license.",
        "commands": [
          "bringyour distill inspect --source cursor",
          "bringyour distill plan --source cursor --out ./personal-harness --org '<work org>'",
          "bringyour distill apply --source cursor --out ./personal-harness --org '<work org>'",
          "bringyour distill verify --bundle ./personal-harness"
        ]
      },
      {
        "id": "sync",
        "status": "available",
        "summary": "Keep a central local harness hub for Claude Code, Codex, and Cursor with manual pull/plan-push/push, optional local auto-sync controls, and target-local platform config.",
        "gate": "Requires the normal paid local license. Auto sync is disabled by default.",
        "cross_tool_platform_config_autowrite": false,
        "commands": [
          "bringyour sync hub",
          "bringyour sync pull --from claude-code",
          "bringyour sync plan-push --to codex",
          "bringyour sync push --to codex --policy merge",
          "bringyour sync auto enable --from claude-code --to codex --policy merge",
          "bringyour sync auto run",
          "bringyour sync auto disable"
        ]
      }
    ]
  },
  "smoke_commands": [
    {
      "name": "license_endpoint_contract",
      "command": "curl -fsS https://bringyour.ai/api/v1/license",
      "expected": "JSON states entitlement=signed_ed25519_license and local_verification.phone_home=false."
    },
    {
      "name": "local_license_file",
      "command": "bringyour license verify --license ~/.bringyour/license",
      "expected": "CLI verifies the signed license envelope locally."
    },
    {
      "name": "env_license_preview",
      "command": "BRINGYOUR_LICENSE=<signed-license> bringyour preview --from claude-code --to codex",
      "expected": "Paid preview path runs with local license material and keeps source harness files local."
    },
    {
      "name": "upgrade_existing_install",
      "command": "curl -fsSL https://bringyour.ai/install.sh | sh -s -- --force",
      "expected": "Existing local CLI is intentionally replaced with the latest included Bring Your AI binary."
    },
    {
      "name": "future_cli_upgrade",
      "command": "bringyour upgrade --print",
      "expected": "The installed CLI prints the same latest-channel installer command for future updates."
    },
    {
      "name": "distill_inspect",
      "command": "bringyour distill inspect --source cursor",
      "expected": "Licensed local CLI inspects portable Cursor harness files without sending harness data to Bring Your AI."
    },
    {
      "name": "central_sync_status",
      "command": "bringyour sync hub",
      "expected": "Licensed local CLI reports the central local hub path, auto-sync state, and Git status without running Git remote actions."
    }
  ],
  "agent_readable_surfaces": {
    "license": "https://bringyour.ai/api/v1/license",
    "commerce_manifest": "https://bringyour.ai/.well-known/commerce.json",
    "agent_manifest": "https://bringyour.ai/.well-known/agent.json",
    "catalog": "https://bringyour.ai/api/v1/catalog",
    "quote": "https://bringyour.ai/api/v1/quote",
    "checkout": "https://bringyour.ai/api/v1/checkout"
  },
  "related_guides": {
    "codex_import_smoke": "https://bringyour.ai/codex-import-smoke.json",
    "codex_import_checklist": "https://bringyour.ai/codex-import-checklist.json",
    "claude_code_to_codex": "https://bringyour.ai/claude-code-to-codex.json"
  }
}
