| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271 |
- # ==============================
- # Python bytecode
- # ==============================
- __pycache__/
- *.py[cod]
- *$py.class
- # ==============================
- # C extensions
- # ==============================
- *.so
- # ==============================
- # Distribution / packaging
- # ==============================
- .Python
- build/
- develop-eggs/
- dist/
- downloads/
- eggs/
- .eggs/
- /lib/
- /lib64/
- # Do NOT ignore webui/src/lib/ — that's frontend source code
- !webui/src/lib/
- parts/
- sdist/
- var/
- *.egg-info/
- *.egg
- MANIFEST
- # ==============================
- # Virtual environments
- # ==============================
- venv/
- .env/
- .venv/
- ENV/
- env/
- env.bak/
- venv.bak/
- # ==============================
- # Installer logs
- # ==============================
- pip-log.txt
- pip-delete-this-directory.txt
- # ==============================
- # Unit test / coverage
- # ==============================
- htmlcov/
- .tox/
- .nox/
- .coverage
- .coverage.*
- .cache
- pytest_cache/
- nosetests.xml
- coverage.xml
- *.cover
- *.py,cover
- # ==============================
- # Jupyter Notebook
- # ==============================
- .ipynb_checkpoints
- # ==============================
- # PyInstaller
- # ==============================
- *.manifest
- *.spec
- # ==============================
- # Logs
- # ==============================
- *.log
- # ==============================
- # OS files
- # ==============================
- .DS_Store
- Thumbs.db
- # ==============================
- # Database files
- # ==============================
- *.db
- *.sqlite
- *.sqlite3
- # ==============================
- # IDE
- # ==============================
- .vscode/
- .idea/
- *.swp
- *.swo
- .claude/
- # ==============================
- # mypy
- # ==============================
- .mypy_cache/
- .dmypy.json
- dmypy.json
- # ==============================
- # Pyre
- # ==============================
- .pyre/
- # ==============================
- # Ruff / lint
- # ==============================
- .ruff_cache/
- # ==============================
- # Pylint
- # ==============================
- .pylint.d/
- # ==============================
- # pytype
- # ==============================
- .pytype/
- # ==============================
- # dotenv
- # ==============================
- .env
- .env.*
- !.env.template
- # ==============================
- # Local data / experiment output
- # ==============================
- data/
- outputs/
- checkpoints/
- models/
- # ==============================
- # LaTeX build artifacts
- # ==============================
- paper/*.aux
- paper/*.bbl
- paper/*.blg
- paper/*.log
- paper/*.out
- paper/*.fls
- paper/*.fdb_latexmk
- paper/*.synctex.gz
- papers/**/*.aux
- papers/**/*.bbl
- papers/**/*.blg
- papers/**/*.log
- papers/**/*.out
- papers/**/*.fls
- papers/**/*.fdb_latexmk
- papers/**/*.synctex.gz
- papers/**/*.pdf
- papers/**/*.bak
- papers/**/*.bak2
- # ==============================
- # Large feature / experiment cache (keep local only)
- # ==============================
- results/p0_features/
- results/*.npz
- __pycache__/
- patents/patent-01-lint/node_modules/
- # ==============================
- # Web UI — build artifacts and dependencies
- # ==============================
- webui/node_modules/
- webui-dist/
- webui/.vite/
- # ==============================
- # Agent workspace — run data, not tracked
- # Each run creates workspace/run_YYYYMMDD_HHMMSS/ with intermediate
- # and final artifacts. These are local execution data, never committed.
- # ==============================
- **/workspace/
- !**/workspace/.gitkeep
- # ==============================
- # Agent instance data — accumulated knowledge, not tracked
- # Instance dirs contain wiki/knowledge data that grows at runtime.
- # Only instance.yml is tracked (config); data dirs are ignored.
- # ==============================
- **/instances/*/wiki/
- **/instances/*/knowledge/
- !**/instances/*/instance.yml
- # agentexample runtime wiki / workspace (generated, never committed)
- agentexample/**/wiki/
- agentexample/**/workspace/
- # ==============================
- # physics67 escape defense — agent-written dirs that leaked to repo root.
- # Historical bug (see docs/AUDIT_2026-06-05.md "项目外目录非法写入" 一节):
- # if `{workspace}` substitution failed inside sub-agent prompts,
- # `cd {workspace} && python3 03_analysis/x.py` became `cd && python3
- # 03_analysis/x.py`, writing 03_analysis/ to cwd (= repo root). Prompts
- # now require absolute paths; these rules are belt-and-suspenders so an
- # LLM regression won't silently pollute main.
- # ==============================
- # orchestrator.yml default fallback dir:
- /physics_runs/
- # `{base_workspace}/cycle_N` accidentally rooted at /:
- /cycle_[0-9]*/
- # artifact-gate dir:
- /_gates/
- # Per-stage agent output dirs (analyst writes 03_analysis/, writer writes
- # 04_paper/, etc. — only catch when they leak to root, not inside workspace):
- /0[0-9]_plan/
- /0[0-9]_lit/
- /0[0-9]_sim/
- /0[0-9]_analysis/
- /0[0-9]_paper/
- /0[0-9]_review/
- # ==============================
- # Knowledge base index files (generated, can be large)
- # BM25 index, vector embeddings (numpy), metadata pickles
- # ==============================
- **/rag_index.json
- **/rag_index.keywords.json
- **/rag_vectors_v2.npy
- **/rag_vectors_meta_v2.pkl
- # ==============================
- # Job logs (stored in data dir, not repo)
- # ==============================
- **/jobs/*.log
- # ==============================
- # User data directory (never in repo)
- # ==============================
- .agentpaas/
- # ==============================
- # Docker Compose env override (host-specific)
- # ==============================
- .env
- .gstack/
- # ==============================
- # 机密/个人产物 — 永不入库 (AUDIT_2026-06-11)
- # 审稿 agent 的论文评审输出(保密评审内容)+ 商业文档
- # ==============================
- review_report*.md
- review_report*.pdf
- review_comments*.md
- review_comments*.pdf
- review_result*.json
- *商业计划书*
- # 发行包组装产物(setup.sh --package 生成,含 wheel,勿入库)
- /release/
- /dist-secure/
- /build_nuitka/
- /.nuitka-venv/
- /dist-binary/
- /build_binary_out/
|