This folder contains the Mintlify docs site for Cloak platform, SDK, programs, services, circuits, and bots.
- Install Mintlify CLI:
npm i -g mint- Start docs preview from this folder:
mint dev- Open the preview URL printed by
mint dev.
guide/user-facing guide (what-is-cloak, flows, custody, fees, security, compliance, FAQ)learn/plain-language explainers (privacy, zero-knowledge, proof of funds)sdk/SDK guides and API referencesplatform/architecture components and transaction flowsprotocol/on-chain architecture and Shield Pool docsarchitecture/viewing-key and compliance model docsservices/relay API docspackages/circuit pipeline docsai-tools/IDE/assistant setup pagesllms.txttop-level AI index and route mapllms-full.txtsingle-file AI context pack.well-known/llms.txtcompatibility alias for AI tooling
When updating docs, prioritize these sources:
- SDK exports:
sdk/src/index.ts - SDK runtime behavior:
sdk/src/core/*,sdk/src/utils/* - Program behavior:
programs/shield-pool/src/* - Relay routes/payloads:
services/relay/src/main.rs,services/relay/src/api/* - Relay sync behavior:
services/relay/src/commitment_sync.rs - Circuits/build flow:
packages/circuits/*,packages/justfile,packages/scripts/*
- Keep program IDs and fee constants aligned across SDK/program/relay docs.
- Prefer documenting implemented behavior over planned behavior.