Privacy Policy for Minovative Mind CLI

Effective Date: November 13, 2026

Minovative Mind ("we", "us", or "our") respects your privacy and is committed to protecting the personal and project information you share with us while using the Minovative Mind CLI (the "Service"). This Privacy Policy explains what information we collect, how we use it, how it is shared, your choices regarding that information, and the robust security measures we employ to protect your local development environment.

1. Information We Collect

When you use the Minovative Mind CLI, we may collect and process the following categories of information:

A. Optional Account, Authentication & Credential Information

The Minovative Mind CLI operates in a Bring Your Own Key (BYOK) mode with an ultra-low $3.99/month account maintenance subscription (https://www.minovativemind.dev/pricing) and zero token markups. Core capabilities run directly from your local terminal. When you authenticate via minovative-mind-cli login using GitHub OAuth for account authentication and BYOK subscription verification, we collect basic profile information provided by the GitHub OAuth API, which may include:

  • Your GitHub username and unique GitHub user ID
  • Your primary email address associated with your GitHub account
  • An OAuth access token to authenticate your requests to our backend services

OS-Native Secure Credential Storage & AES-256-GCM Fallback: Your authentication credentials, Firebase User IDs (UIDs), and session tokens are stored locally on your machine using operating system-native secure credential vaults:

  • macOS: macOS Keychain (/usr/bin/security)
  • Linux: Linux Secret Service / Keyring (secret-tool via libsecret)
  • Windows: Windows Data Protection API (DPAPI via System.Security.Cryptography.ProtectedData) / Credential Manager

In headless server environments, remote SSH sessions, or CI/CD pipelines where an OS keyring or graphical display server is unavailable, credentials and sensitive configurations are persisted in an AES-256-GCM encrypted fallback file (~/.minovative-mind-cli.enc) with a cryptographically randomized 32-byte per-machine salt (~/.minovative-mind-cli-salt) and strict owner-only (0600) POSIX file permissions.

Local BYOK & Third-Party Credential Isolation: Personal API keys used for Bring Your Own Key (BYOK) mode (such as your Google AI Studio API key configured via GEMINI_API_KEY or the /config-key interactive command) and third-party Model Context Protocol (MCP) credentials (such as GitHub Personal Access Tokens, Figma API tokens, Context7 API keys, or database connection strings) are stored strictly on your local machine within the secure credential subsystem. Personal API keys and external secrets are never transmitted to, logged by, or retained on Minovative Mind database or proxy servers.

B. Workspace Metadata & Code Context Data

The Minovative Mind CLI is an intelligent autonomous coding agent that reads files and context from your local workspace to assist with software engineering tasks.

  • 100% Local Workspace Metadata: Your workspace directory paths, workspace names, and multi-workspace aliases (~/.minovative-mind-cli/workspaces.json) remain strictly on your local machine and are not transmitted to or stored in Cloud Firestore.
  • Direct BYOK Inference: The CLI operates permanently in Bring Your Own Key (BYOK) mode using your Google AI Studio API key without requiring any per-token credit balance or token markups (paired with your $3.99/month BYOK maintenance subscription verified via your GitHub-linked account). When you interact with the agent (e.g., via minovative-mind-cli chat or autonomous sub-agent orchestration), the CLI's client-side AI subsystem (src/services/ai/, src/services/proxyClient.ts) sends your prompts, relevant file contents, error messages, diffs, and terminal outputs directly over encrypted TLS/HTTPS connections to Google AI Studio's Generative Language API under your own Google Developer credentials using the active Google Gemini foundation model family—including gemini-4-carbon, gemini-4-argon, gemini-4-hydrogen, and gemini-3.5-flash-lite.
  • Local Client-Side Storage Architecture:
    • Append-Only JSONL Chat Persistence (.minovativemind/chat_sessions.jsonl): Conversational session turns, messages, and tool invocations are persisted client-side on your local filesystem within your workspace's .minovativemind/chat_sessions.jsonl file. This engine uses an append-only JSON Lines format with local in-memory byte offset indexing for fast random access, serialized FIFO write queuing, tombstone deletion, and automated background compaction (>40% dead records).
    • Scratchpad Subsystem (.minovativemind/scratchpad/): Oversized tool responses, comprehensive search and compiler diagnostic dumps, and structural AST outlines are stored locally in .minovativemind/scratchpad/ to protect active LLM context windows while preserving inspectability.
    • Persistent Markdown Roadmaps (.minovativemind/scratchpad/plans/): Multi-phase architectural blueprints and scope-bound task checklists generated by planning tools (create_plan, update_plan_progress, read_plan) are persisted strictly on your local disk as markdown documents under .minovativemind/scratchpad/plans/. These files track lifecycle states (draft, in_progress, completed, blocked, cancelled, failed) per execution scope and serve as the single source of truth for the terminal UI's live interactive progress checklist.
    • Screenshot & Media Storage (.minovativemind/scratchpad/screenshots/): Image artifacts and browser snapshots (such as those captured by Playwright MCP automation) are saved locally as image files within .minovativemind/scratchpad/screenshots/.
    • Staging & Virtual Patches (.minovativemind/scratchpad/staging/): Proposed code modifications and virtual patch artifacts are staged locally for syntax and contract verification prior to disk application.
    • MCP Server Configurations (~/.minovativemind/mcp_servers.json & .minovativemind/mcp_servers.json): Model Context Protocol configurations are maintained at both global (user home) and project-scoped levels.
    • Automated Version Control Exclusion: The .minovativemind/ and .playwright-mcp/ directories are automatically added to your project's .gitignore to prevent conversational transcripts, scratchpad entries, plans, and local secrets from ever entering version control.
  • Zero Cloud Retention of Workspace Metadata, Code Context & Transcripts: We do not store your local workspace directory paths, workspace names, source code, proprietary repository files, prompts, chat transcripts, scratchpad dumps, plans, or screenshots on Minovative Mind cloud database servers. Code context data is processed ephemerally by third-party AI models during the active request lifecycle and is not retained by Minovative Mind once inference completes.

C. Usage Data and Session Diagnostics

Minovative Mind CLI does not collect or transmit remote usage telemetry, behavioral analytics, or automated crash reports.

  • Local In-Memory Session Metrics: Command usage, token counts (prompt, cached, candidate totals), and selected model family breakdowns (viewed via /stats or /debug) are tracked strictly in local volatile process memory for the duration of your terminal session and are never transmitted to Minovative Mind servers.
  • CLI Version Update Checks: When launching the interactive CLI (minovative-mind-cli), the update-notifier package performs an automated npm registry version check to notify you when a newer release is available. This request checks only package version metadata against npm and does not transmit source code, prompts, workspace paths, or user identities.

D. Adaptive User Profile & Three-Tier Local Persona Memory

To deliver a deeply personalized developer experience, the CLI features an adaptive memory engine that observes your interaction patterns, communication style, cognitive problem-solving habits, and technical conventions:

  • Data Categories Observed:
    • Communication Traits: Tone, verbosity, and thought formulation/prompting style.
    • Cognitive & Decision-Making Spectrums: Architectural orientation (top-down vs. bottom-up), decision autonomy (direct recommendations vs. option exploration), risk and velocity preferences (pragmatic speed vs. defensive rigor), delegation depth, debugging style, and explanation formats.
    • Conversational Persona & Teammate Dynamics: Pairing relationship models (collaborative peer vs. direct operator), banter and humor affinity, speech formality, apology and error reaction, stress and urgency cadence, and conversational quirks/catchphrases.
    • Technical Conventions: Language proficiencies, architectural patterns, framework paradigms, and coding conventions.
    • AI Observations & Side-Notes: Incremental observations and contextual notes recorded by the agent to tailor future responses.
  • Local Storage Only (Three-Tier Memory Architecture):
    • Tier 1 (Global Developer Profile): All adaptive persona traits, cognitive spectrums, and universal developer side-notes are stored strictly on your local machine at ~/.minovativemind/user_profile.json with owner-only (0600) POSIX permissions.
    • Tier 2 (Repository Project Memory): Workspace-specific coding conventions, architectural design patterns, and project notes are stored locally within the active project directory at <workspaceRoot>/.minovativemind/project_memory.json (automatically excluded via .gitignore).
    • Tier 3 (Episodic Context): Transient turn details and temporary bug fix steps are held in in-session chat context and are never promoted to persistent memory.
  • No Cloud Database Retention or Sync: User profile side-notes, persona traits, project conventions, and cognitive preferences are never transmitted to, synced with, or retained on Minovative Mind backend database servers.
  • Full Transparency and User Control: You maintain complete ownership and control over your profile and project memory. You can inspect the exact observations recorded by the agent, delete individual global or project notes/conventions/patterns, or reset either or both tiers at any time using the /profile slash command.

E. Model Context Protocol (MCP) & External Tool Data Flows

The Minovative Mind CLI incorporates an extensible Model Context Protocol (MCP) subsystem enabling integration with external tool servers, development platforms, browser automation suites, and databases.

  • Direct Local Transports (stdio, sse, http): MCP servers execute locally on your machine via standard input/output (stdio) child processes or connect over local/remote HTTP and Server-Sent Events (sse). All tool calls, parameter arguments, and responses flow directly between the Minovative Mind CLI client and the designated MCP server. Minovative Mind backend servers never proxy, intercept, inspect, or retain your MCP traffic or tool payloads.
  • Scratchpad Text Offloading (MAX_INLINE_MCP_TEXT_CHARS = 12,000): When an MCP tool returns text exceeding 12,000 characters (e.g., massive database query results, extensive documentation dumps, or detailed DOM trees), the CLI automatically offloads the full uncompressed payload to local scratchpad storage (.minovativemind/scratchpad/mcp_<server>_<tool>_<timestamp>_<hash>) and presents the model with a compact 4,000-character head and 2,000-character tail preview. The agent paginates slices on demand via read_scratchpad_slice. This architecture protects the LLM token budget while keeping massive data payloads strictly on your local disk.
  • Screenshot Image Persistence: When MCP tools return base64-encoded image blocks (such as browser screenshots captured during Playwright web automation), the CLI automatically saves the raw image artifact to .minovativemind/scratchpad/screenshots/ and provides both multimodal inlineData for immediate vision reasoning and the local file path.
  • Secret Isolation & Environment Variable Interpolation: MCP server configurations (stored in ~/.minovativemind/mcp_servers.json or <workspaceRoot>/.minovativemind/mcp_servers.json) support dynamic ${ENV_VAR} secret expansion. Sensitive tokens—including GitHub Personal Access Tokens, Figma API tokens, Context7 keys, and database passwords—are resolved in memory from local environment variables or secure credential stores rather than hardcoded in plain-text configuration files.
  • Interactive Execution Approvals: When interactive approval mode is enabled, tool executions involving external side-effects (e.g., executing shell commands, mutating files, querying databases, browser clicks, or creating pull requests) require explicit user confirmation in the terminal.

2. How We Use Your Information

We use the information we collect for the following operational and technical purposes:

  • To Provide and Deliver the Service: To authenticate your account and verify your BYOK maintenance subscription, configure BYOK API keys, coordinate autonomous agent workflows, and deliver AI-generated code, plans, and terminal commands to your local development environment.
  • To Maintain and Improve the Service: To debug software defects, evaluate aggregate usage trends, optimize inference speed and token efficiency, refine context ranking algorithms, and develop new CLI features.
  • To Communicate with You: To deliver critical security notices, architectural advisories, or updates regarding our Terms of Service and Privacy Policy.

3. Data Sharing and Third-Party Subprocessors

We do not sell, rent, or trade your personal information, source code, or project data. We share data only with trusted third-party service providers and infrastructure platforms necessary to operate the Service:

  • Google AI Studio (Google LLC): Under permanent Bring Your Own Key (BYOK) mode, inference requests are transmitted directly over encrypted TLS 1.3/HTTPS from your local machine to Google's Generative Language API (generativelanguage.googleapis.com) using your Google AI Studio API key across supported Gemini models (gemini-4-carbon, gemini-4-argon, gemini-4-hydrogen, gemini-3.5-flash-lite). Handling of prompts and code context sent to this API is governed by your Google AI Studio account terms and Google's Developer API policies, without intermediate proxying, logging, or cloud storage by Minovative Mind.
  • Google Cloud Run (Google LLC): Hosts our lightweight authentication and subscription verification endpoints (GitHub OAuth token exchange via exchangegithubtoken and subscription verification via /api/subscription-status), without proxying or storing your code prompts or AI responses.
  • Google Firebase Authentication (Google LLC): Used exclusively for developer sign-in token exchange and session verification (identitytoolkit.googleapis.com / securetoken.googleapis.com). Local workspace paths and names are not uploaded to or stored in Cloud Firestore.
  • GitHub (GitHub, Inc. / Microsoft Corp.): Used exclusively for optional developer identity verification and OAuth authentication.
  • Third-Party Model Context Protocol (MCP) Providers: When you configure and enable external MCP servers, data is exchanged directly between your local machine and the respective third-party service under your own credentials and terms:
    • GitHub MCP (GitHub, Inc. / Microsoft Corp.): Facilitates repository searches, file reading/writing, commit listing, issue tracking, and pull request workflows.
    • Context7 MCP (Upstash, Inc.): Retrieves up-to-date documentation, API references, and code examples for software libraries.
    • Figma MCP (Figma, Inc.): Retrieves component specifications, vector assets, and design canvas data.
    • PostgreSQL & SQLite Community Toolchains: Facilitates local or network database schema inspection and SQL query execution.
    • Microsoft Playwright: Drives local headless or visible web browser automation, accessibility tree capture, and page rendering.

4. Data Security & Host Protection

We implement industry-grade technical, cryptographic, and operational safeguards to protect your credentials, workspace files, and local computing environment:

  • Encryption in Transit: All communications between the CLI, Minovative Mind backend authentication/subscription endpoints, Firebase Authentication, Google AI Studio, and third-party APIs are encrypted in transit using industry-standard TLS 1.3 / HTTPS protocols.
  • OS-Native Secure Credential Storage: Authentication credentials, session tokens, and Firebase UIDs are stored in operating system-level secure credential vaults wherever supported—including macOS Keychain, Linux Secret Service (libsecret), and Windows Data Protection API (DPAPI) / Credential Manager.
  • AES-256-GCM Encrypted Fallback Storage: In headless server environments, CI/CD pipelines, or systems without a graphical display manager, credentials and sensitive configurations are encrypted at rest using AES-256-GCM authenticated encryption and stored in ~/.minovative-mind-cli.enc with a unique 32-byte salt (~/.minovative-mind-cli-salt) and strict owner-only (0600) file permissions.
  • Local BYOK Key & Secret Isolation: Personal API keys supplied for Bring Your Own Key (BYOK) mode reside exclusively on your local machine within the secure credential store. Personal keys and MCP tokens are never transmitted to, logged by, or stored within Minovative Mind backend databases.
  • Local Adaptive Profile & Project Memory Protection: Adaptive user profile data (~/.minovativemind/user_profile.json) is restricted with owner-only (0600) POSIX permissions, and repository project memory (<workspaceRoot>/.minovativemind/project_memory.json) is isolated within the project and excluded from git via .gitignore. Neither tier is ever uploaded to cloud servers.
  • Local Project Storage & Chat Session Isolation: Chat history transcripts (.minovativemind/chat_sessions.jsonl), scratchpad entries (.minovativemind/scratchpad/), roadmap plans (.minovativemind/scratchpad/plans/), screenshots (.minovativemind/scratchpad/screenshots/), and virtual staging patches (.minovativemind/scratchpad/staging/) reside exclusively on your local disk with automated .gitignore rules preventing inadvertent check-ins.
  • Process & Resource Supervisor (PRS) & Terminal Freeze Safeguards: To safeguard your operating system and terminal canvas from runaway processes, fork bombs, memory exhaustion, or interface freezes during autonomous tool execution, the CLI enforces comprehensive host-level and runtime protections:
    • Process Group Detachment & Clean Termination: Background processes and tool scripts are spawned in independent process groups (setsid on Unix / detached: true), guaranteeing clean, tree-wide process group termination (treeKiller via PGID signal escalation from SIGTERM to SIGKILL) across all descendant child compilers and workers.
    • RSS Memory Watchdogs: Memory consumption of spawned tools and compilers is actively polled against dynamic Resident Set Size (RSS) thresholds (e.g., 2 GB ceilings), automatically terminating processes that exceed memory bounds before host swap thrashing occurs.
    • CPU Demotion & Priority Throttling: CPU-intensive background tasks are executed with reduced scheduling priority (nice 10 on Unix / low process priority class on Windows) to preserve desktop UI thread responsiveness and prevent terminal canvas stutter.
    • Bounded Network Timeouts: Non-streaming HTTP fetch calls are bounded by a strict 120-second timeout, while streaming Server-Sent Events (SSE) connections enforce an active 90-second idle read timeout with automatic abort cancellation and socket teardown to eliminate hanging network requests.
    • 300-Second Sub-Agent Stall Monitors: Parallel multi-agent tasks execute under active 300-second heartbeat stall monitors (STALL_TIMEOUT_MS = 300_000) with per-agent AbortController cancellation, preventing deadlocked worker agents from blocking execution pipelines.
    • Terminal Spinner & Input Mutex Locks: Dynamic terminal rendering employs mutual exclusion locks between interactive prompt readers (AsyncInputHandler) and animated UI spinners (Clack spinners), eliminating input buffer races and preventing terminal canvas freeze states.
    • ANSI Escape Sequence Filtering: Streamed terminal outputs undergo chunked and split ANSI escape sequence filtering, stripping malformed or partial escape sequences before canvas rendering to prevent terminal emulator deadlocks.
  • Isolated Execution Sandboxes: Diagnostic probe execution, dynamic test-driven generation, memory audits, and formal mathematical verifications (run_debug_script, run_fuzz_probe, check_heap_delta, check_behavioral_drift, and verify_formal_proof) execute in isolated child processes within sandboxed operating system temporary directories (os.tmpdir()). These sandboxes are bounded by strict execution timeouts (typically 2 to 5 minutes) to prevent infinite loops, resource exhaustion, and unauthorized file mutations.
  • Formal Verification Anti-Cheating Guardrails: Lean 4 formal proof verification tools enforce strict anti-cheating mechanisms that reject proof-bypassing escape hatches (such as sorry, admit, unsafe, #check_failure, or unproven axiom declarations) and block unauthorized modifications to Lean toolchain manifests (lakefile.lean, lakefile.toml, lean-toolchain).
  • Developer Responsibility: While the CLI incorporates defense-in-depth protections, you remain responsible for maintaining the physical and logical security of your developer workstation, user accounts, and environment variable configurations.

5. Your Responsibilities Regarding Sensitive Data

Because the CLI inspects local workspace context and transmits relevant code snippets to LLM providers for processing, you are strictly responsible for safeguarding confidential information:

  • Ensure that hardcoded API keys, passwords, private SSH keys, and production database connection strings are never committed to workspace files inspected by the agent.
  • Ensure that Personally Identifiable Information (PII) or Protected Health Information (PHI) is excluded from files shared with the CLI.
  • Maintain appropriate .gitignore and CLI-specific ignore configurations (such as .minovativemindignore) to exclude .env files, build caches, and private directories from the agent's reading tools.
  • Utilize ${ENV_VAR} references in MCP server configuration files rather than hardcoding plaintext credentials.

6. Data Retention

  • Account and Authentication Metadata: We retain your account and subscription verification metadata only for as long as your account remains active or as needed to provide the Service. Local workspace directory paths and names are not uploaded to or retained in Cloud Firestore.
  • Ephemeral Code Context: Prompts, code snippets, diffs, terminal outputs, and tool arguments are processed ephemerally by third-party AI models during the active request lifecycle and are immediately discarded upon completion. Minovative Mind operates no intermediate data stores for code retention.
  • Local Client-Side Storage: Chat transcripts (.minovativemind/chat_sessions.jsonl), scratchpad entries (.minovativemind/scratchpad/), persistent roadmap plans (.minovativemind/scratchpad/plans/), screenshots, and staging patches remain on your local storage device until you explicitly delete or compact them.
  • No Remote Telemetry Retention: Minovative Mind CLI does not collect, transmit, or retain remote usage telemetry, behavioral analytics, or automated crash trace logs. Command usage and token metrics (/stats, /debug) are kept strictly in local volatile process memory for the duration of your terminal session.

7. Your Choices and Rights

Depending on your jurisdiction, you may have rights under applicable privacy laws (such as GDPR, CCPA, or UK GDPR) regarding your personal information, including the rights of access, correction, and erasure. You have full autonomous control over your data within the CLI:

  • Account Deletion / Logout: You can terminate your session at any time by executing minovative-mind-cli logout and revoking the OAuth application authorization in your GitHub account settings.
  • Purging Local Storage, Chat Sessions & Plans: You have the absolute right to purge all local chat history, scratchpad entries, and execution plans at any time by deleting the .minovativemind/chat_sessions.jsonl file or completely removing the .minovativemind/ directory from your workspace root (rm -rf .minovativemind/). This immediately erases all stored conversation turns, index maps, cached symbols, and plans.
  • Managing Adaptive Persona Memory: You can inspect, selectively delete individual notes, or reset either or both tiers of your adaptive persona memory at any time by executing the /profile interactive slash command.
  • Managing & Removing MCP Server Configurations: You can inspect, disable, or remove configured MCP servers at any time by running /mcp remove <serverName> or editing ~/.minovativemind/mcp_servers.json and .minovativemind/mcp_servers.json.
  • Managing API Keys: You can update or remove your stored Google AI Studio key at any time using /config-key or by managing the GEMINI_API_KEY environment variable.
  • Local-Only Session Diagnostics: Because Minovative Mind CLI collects no remote usage telemetry or automated crash reports, no telemetry opt-out variable is required; /stats and /debug metrics remain exclusively in local session memory.

8. Cross-Border Data Transfers

Minovative Mind operates globally, and our backend infrastructure (including Google Cloud Run) is hosted primarily in the United States. By using the Service, you acknowledge and agree that your authentication requests, subscription checks, and ephemerally processed code context may be transferred to, stored, and processed in the United States or other jurisdictions where Google LLC or our authorized subprocessors operate. We take appropriate contractual and technical safeguards to ensure that your data remains protected in accordance with this Privacy Policy regardless of where processing occurs.

9. Changes to this Privacy Policy

We may update this Privacy Policy periodically to reflect changes in our technology stack, architectural enhancements, or applicable legal standards. We will notify you of any material changes by updating the "Effective Date" at the top of this document and, where feasible, providing a notification within the CLI or repository changelog. Your continued use of the Service following the effective date constitutes your acceptance of the revised Privacy Policy.

10. Contact Us

If you have questions, feedback, or security reports regarding this Privacy Policy or our privacy practices, please contact us:

Security Reporting Form: https://forms.gle/QexZY2resdXpahUK6