# License Usage

RepoKey has two tiers:

- Free tier: no License required. Install the package and use the Vivado bridge
  and the low-token project context map directly.
- Vivado AI Pro: requires a signed License in `RK1.<payload>.<signature>` format.
  Pro licenses are issued manually by email (paid monthly subscription, or the
  one-month free trial), valid for 31 days.

To activate Pro:

1. Open `licenses\repokey-license.txt`.
2. Paste the complete License text from the email and save.
3. Double-click `RepoKey-Setup.cmd`.

If the License file is missing or empty, setup continues in free-tier mode.
Pro commands will show a trial sign-up hint until a valid License is installed.

Expiry behavior:

- Pro License expires at the `expiresAt` time signed into the License.
  Every Pro command re-verifies the signature and expiry before running.
- Do not roll back the system clock to keep an expired License alive.
  The client records the last-seen UTC time and rejects clock rollback.
- An already-running MCP session is checked when it starts; after expiry,
  restart the AI client / RepoKey session so the License re-validation applies.

Do not edit signed license text. Any payload or signature change will make
verification fail.

## Support and Diagnostics

The License is a local offline credential. Keep it in the package and do not
paste it into chat, tickets, screenshots, or ordinary logs. The default
`repokey-client.cmd diagnose` bundle excludes the License and redacts local
machine paths and sensitive fields. Review the bundle before sending it to
support.
