scan_project
Scan a local project to detect data processing activities for legal compliance, returning signals, compliance flags, structured facts, supported locales, and platforms. Guides policy generation and app claims.
Instructions
Read-only scan of a local project (dependencies + source code + mobile manifests). Detects data processing relevant to legal compliance — analytics, payments, generative AI (distinguishing user-facing AI from server-side-only AI), email collection, third-party sharing — and returns {signals, suggestedAnswers, facts, locales, platforms}: per-vendor signals, compliance flags in suggestedAnswers, structured facts (auth methods, payments channel, AI flags, tracking/IDFA, device permissions), the locales the app supports and the product platforms (web / iOS / Android). Run it first: pass suggestedAnswers to generate_policies, and facts, locales and signals to claim_app so the generated documents are anchored in evidence. Never modifies files; errors if dir does not exist or is not a project root. For a deployed site whose code you don't have, use check_website instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | Path of the project root to analyze (absolute paths are safest). |