# Copyright (c) 2026 Wenbing Jing. MIT License.
# SPDX-License-Identifier: MIT

# Python
__pycache__/
*.pyc
*.egg-info/
.venv/
venv/
.pytest_cache/
.mypy_cache/
.coverage

# Node / Frontend
node_modules/
dist/
!src-ui/dist/.gitkeep

# Rust / Tauri
target/

# IDE
.vscode/
.idea/
*.swp
*.swo

# OS
.DS_Store
Thumbs.db

# Generated graph data (local paths — DO NOT commit)
hologram_graph.hologram
hologram_graph_files.json
*.hologram

# Binaries
*.dll
*.exe
!release-bin/*.exe
!engine-bin/*.exe
*.pdb
*.so
*.dylib

# Test projects
test_projects/

# Project-local runtime data (generated per project)
.hologram/
*.db
.last_project
hologram_graph.json
hologram_before.json
hologram_full.json
chat_sessions.json

# Environment / secrets
.env
.env.*
!.env.example

# Claude Code IDE
.claude/

# Root-level artifacts (real package.json is in src-ui/)
/package.json
/package-lock.json

# One-off debug scripts
test_debug.py
prototype.html
preflight/

# ── v4.1+: 核心源码不公开，只发布二进制 ──
# 引擎源码（分析/解析/存储/MCP）
engine/src/
engine/Cargo.toml
engine/Cargo.lock
# 力导向布局（参数调教是核心竞争力）
src-ui/src/ui/graph.ts
src-ui/src/ui/layout.worker.ts
src-ui/src/ui/gpu-layout.ts
src-ui/src/ui/graph-interaction.ts

# Internal project docs (not for public repo)
PROJECT.md
ARCHITECTURE_PLAN.md
CLAUDE.md
COMPARISON_REPORT.md
CSS_MIGRATION.md
STARGRAPH_SPEC.md
TEST_SPEC.md
CODE_AUDIT_CHECKLIST.md
FRONTEND_AUDIT_CHECKLIST.md
V4_CONSTRUCTION_PLAN.md
GRAPH_ALGORITHMS.md
GSAP_GUIDE.md
LOG_SYSTEM_PLAN.md
docs_archive/
specs/

# One-off internal scripts (not for public repo)
src-ui/test-once.ts
src-ui/test-agent.ts
test_mcp_protocol.sh

# Generated docs — not for source control
AGENT_MEMORY_SYSTEM.txt
src-tauri/python/*
!src-tauri/python/.gitkeep
scripts/python-3.14.4-embed-amd64.zip
_check_debug.log
test-results/
