Phantom — Open-Core License
================================================================================

Phantom ships as two distinct licensing surfaces. This file is the
authoritative boundary between them. ADR-0001 (`docs/adr/0001-open-core-licensing.md`)
explains the rationale.

--------------------------------------------------------------------------------
PART A — Open-source core (MIT)
--------------------------------------------------------------------------------

Everything in this repository **except** the directories enumerated in Part B
is licensed under the MIT License, reproduced below.

  Copyright (c) 2026 Aravind Labs

  Permission is hereby granted, free of charge, to any person obtaining a
  copy of this software and associated documentation files (the "Software"),
  to deal in the Software without restriction, including without limitation
  the rights to use, copy, modify, merge, publish, distribute, sublicense,
  and/or sell copies of the Software, and to permit persons to whom the
  Software is furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in
  all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  DEALINGS IN THE SOFTWARE.

--------------------------------------------------------------------------------
PART B — Commercial Pro tier (closed)
--------------------------------------------------------------------------------

The following directories and their contents are **not** covered by Part A.
They are licensed under the Aravind Labs Phantom Pro Commercial License,
purchase required:

  * phantom/pro/                    — Pro-tier runtime features
  * infra/license-server/           — Razorpay-backed license activation API
  * infra/plugin-signer/            — Hosted plugin index signer
  * web/dashboard-pro/              — Multi-tenant dashboard front-end

A valid commercial license key (issued at https://phantom.aravindlabs.tech)
is required to run, modify, redistribute, or commercially exploit code in
those directories.

For commercial license terms, pricing, and procurement, see:
  https://phantom.aravindlabs.tech/license

For evaluation copies, contact: aravind.engineer001@gmail.com.

--------------------------------------------------------------------------------
PART C — Trademark
--------------------------------------------------------------------------------

"Phantom", "PhantomCLI", and the Phantom logo are trademarks of Aravind Labs.
The MIT license in Part A grants no rights to use these trademarks for
distribution, marketing, or product naming. You may say "this product uses
Phantom"; you may not call your product "Phantom Foo" without permission.

--------------------------------------------------------------------------------
End of LICENSE.
