Notes for AI coding agents working in this repository. Human contributor rules (formatting, export macros, generated bindings, tests) are in CONTRIBUTING.md; follow them too.
Topical notes live in .claude/*.md. Read each when its area is in scope; they are plain links, so they don't load into context up front.
- Public repository. Don't put links to private repositories, internal issue numbers or customer data in code, comments, commits, PR text or docs.
- Local Windows builds don't see everything. The
.vcxprojfiles are hand-maintained, and several failures only show up in the CMake, clang or GCC CI jobs; see CI-only failures. - Default behavior doesn't change silently. New options are opt-in. Turning a silent no-op into an error is a breaking change: first grep the callers, including tests, examples and the Python and C bindings.
- No emojis in commits, comments or PR text unless asked.
- One logical step per PR. PRs are squash-merged.
- Force pushes are blocked on every branch. Update a PR branch by merging
origin/masterinto it, and push review fixes as new commits. - CI runs on
pull_requestonly for PRs intomaster, so a PR stacked on another PR's branch gets no CI. After the parent merges, mergemasterinto the child, check thatgit diff <tested commit> HEADis empty, and retarget it. - A new push cancels the running build of the previous head. Before saying CI passed, check the run for the current head (
gh run list --branch <branch> --json headSha,conclusion). - PR labels set the CI scope (
.github/workflows/config.yml). Adddisable-build-<platform>for every platform a change can't affect. Usefull-cionly for build-system, third-party, threading or ABI changes.update-docandupdate-doc-onlypublish the dev documentation from the PR branch (update-docs.yml), andupdate-doc-onlyalso skips all builds; use them only when a Doxygen change should go live. - Not your change:
prepare-imagefailing with Docker Hub429 Too Many Requests(an org-wide rate limit). Re-run the failed jobs later (gh run rerun <id> --failed). - Use
Closes #Nonly in the PR that completes an issue of this repository.
| When working on | Read |
|---|---|
| MeshLib conventions — build files, CI-only failures, API shape, UI, scene graph, parallelism, tests | .claude/meshlib-conventions.md |
| C++ style — minimalism, naming, design-time choices | .claude/cpp-style.md |
Translations & i18n — _t / _tr / s_tr, history scoping, catalogs, where the code lives |
.claude/i18n.md |
| UI widgets and text display | the headers: source/MRViewer/MRUIStyle.h, source/MRViewer/ImGuiHelpers.h |
| MCP tooling — handler pattern, server, LLM-facing output | .claude/mcp-tooling.md |
| Output style — commits, comments, PR descriptions | .claude/output-style.md |