# AGENT.md This file provides additional guidance for AI agents working on this repository. ## Project Overview **ifc-commit** is a CLI tool for slicing, inspecting, and composing IFC (Industry Foundation Classes) files used in Building Information Modeling (BIM). ## Key Files | File | Purpose | |------|---------| | `ifccommit.py` | Main CLI entry point (~1100 lines) | | `webapp/main.py` | FastAPI web server | | `webapp/pipeline.py` | Modification pipeline logic | | `pyproject.toml` | Project dependencies and scripts | ## Commands ```bash uv run ifccommit.py list # list IFC types and counts uv run ifccommit.py info # dump element attributes uv run ifccommit.py extract [...] # extract to new file uv run ifccommit.py space # extract space contents uv run ifccommit.py split [type] # split by storey uv run ifccommit.py move --x [--y] [--z] # translate element uv run ifccommit.py insert # merge files uv run ifccommit.py replace # replace space ``` ## Testing ```bash make test # run pytest make test-pipeline # run full pipeline then pytest ``` ## Important Notes - Use `uv` for package management