repo: ignore a generated navmesh dump and add an editorconfig #1956

Closed
BubsMcgee wants to merge 2 commits from upstream-pr/1956 into main
BubsMcgee commented 2026-11-25 16:42:22 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by BubsMcgee on 2026-11-25T16:42:22Z.


Two isolated repo-hygiene items from #1928 (§7 and §4); no code, no game data.

  • navmeshes.navmesh-decode.json at the repository root is the default output of tools/navmesh_decode.py
    run from the root — docs/navmesh.md sends that output to a temp directory. It is removed from tracking and
    *.navmesh-decode.json is ignored.
  • .editorconfig mirrors the existing .gitattributes (LF everywhere; CRLF for .ps1, .cmd, .bat, .sln,
    and no trailing-space trimming in Markdown). It adds no formatter and changes no existing file.

Deliberately left out of this PR: splitting tools/rdna2spirv.py, runtime/shims/d3d12_vulkan_device.cpp or
runtime/CMakeLists.txt, adding -Werror, README rewrites, and CI parallelisation. Those touch files with open
PRs or set policy and deserve their own decisions.

Tests

No runtime or translator change. Checked that nothing references the removed root file outside its own default
output path (rg navmesh-decode), that docs/navmesh.md already writes to <temp>, and that the tests/test_docs_*
suites are unaffected (no docs changed).

AI-assisted (opencode). Follow-up to #1928.

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5495331308 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1956). Originally posted by [BubsMcgee](https://github.com/BubsMcgee) on 2026-11-25T16:42:22Z. --- Two isolated repo-hygiene items from #1928 (§7 and §4); no code, no game data. - `navmeshes.navmesh-decode.json` at the repository root is the default output of `tools/navmesh_decode.py` run from the root — `docs/navmesh.md` sends that output to a temp directory. It is removed from tracking and `*.navmesh-decode.json` is ignored. - `.editorconfig` mirrors the existing `.gitattributes` (LF everywhere; CRLF for `.ps1`, `.cmd`, `.bat`, `.sln`, and no trailing-space trimming in Markdown). It adds no formatter and changes no existing file. Deliberately left out of this PR: splitting `tools/rdna2spirv.py`, `runtime/shims/d3d12_vulkan_device.cpp` or `runtime/CMakeLists.txt`, adding `-Werror`, README rewrites, and CI parallelisation. Those touch files with open PRs or set policy and deserve their own decisions. ## Tests No runtime or translator change. Checked that nothing references the removed root file outside its own default output path (`rg navmesh-decode`), that `docs/navmesh.md` already writes to `<temp>`, and that the `tests/test_docs_*` suites are unaffected (no docs changed). AI-assisted (opencode). Follow-up to #1928.
MSedgeMC commented 2026-11-25 17:13:02 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MSedgeMC on 2026-11-25T17:13:02Z.

Review: APPROVED


Verified: the .editorconfig line-ending rules mirror .gitattributes exactly (LF default, CRLF for .ps1/.cmd/.bat/.sln); Markdown keeps trailing spaces for hard breaks. The ignored *.navmesh-decode.json matches tools/navmesh_decode.py's documented default output name (docs/navmesh.md, tool --out help). Removing the committed generated navmeshes.navmesh-decode.json is consistent. Repo hygiene only, no game data.

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6061849246 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1956#pullrequestreview-6061849246). Originally posted by [MSedgeMC](https://github.com/MSedgeMC) on 2026-11-25T17:13:02Z. **Review:** APPROVED --- Verified: the .editorconfig line-ending rules mirror .gitattributes exactly (LF default, CRLF for .ps1/.cmd/.bat/.sln); Markdown keeps trailing spaces for hard breaks. The ignored *.navmesh-decode.json matches tools/navmesh_decode.py's documented default output name (docs/navmesh.md, tool --out help). Removing the committed generated navmeshes.navmesh-decode.json is consistent. Repo hygiene only, no game data.
j-weiner commented 2026-11-25 17:30:10 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by j-weiner on 2026-11-25T17:30:10Z.


To avoid the duplicate .editorconfig additions, I rebased #1955 onto current main and expanded its .editorconfig to include the line-ending/Markdown defaults here plus the two verified BOM exceptions. Could you drop the .editorconfig hunk from #1956 and keep the generated-output ignore separate, or coordinate with the maintainer on which one lands? I have left #1956 unchanged.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7169595010 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1956#issuecomment-7169595010). Originally posted by [j-weiner](https://github.com/j-weiner) on 2026-11-25T17:30:10Z. --- To avoid the duplicate `.editorconfig` additions, I rebased #1955 onto current `main` and expanded its `.editorconfig` to include the line-ending/Markdown defaults here plus the two verified BOM exceptions. Could you drop the `.editorconfig` hunk from #1956 and keep the generated-output ignore separate, or coordinate with the maintainer on which one lands? I have left #1956 unchanged.
j-weiner commented 2026-11-25 17:43:50 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by j-weiner on 2026-11-25T17:43:50Z.


To carry over the two unique BOM exceptions from #1955, please add the following after the general rules in .editorconfig (both files are BOM-encoded):

[runtime/test/d3d12_depth_resolve_test.cpp]
charset = utf-8-bom

[runtime/test/d3d12_sparse_queue_family_test.cpp]
charset = utf-8-bom

I have rebased #1955 and expanded its .editorconfig to include the full line-ending/Markdown defaults here plus these exceptions. I will close #1955 as the duplicate so only one PR adds the file.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7169917722 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1956#issuecomment-7169917722). Originally posted by [j-weiner](https://github.com/j-weiner) on 2026-11-25T17:43:50Z. --- To carry over the two unique BOM exceptions from #1955, please add the following after the general rules in `.editorconfig` (both files are BOM-encoded): ```ini [runtime/test/d3d12_depth_resolve_test.cpp] charset = utf-8-bom [runtime/test/d3d12_sparse_queue_family_test.cpp] charset = utf-8-bom ``` I have rebased #1955 and expanded its `.editorconfig` to include the full line-ending/Markdown defaults here plus these exceptions. I will close #1955 as the duplicate so only one PR adds the file.
BubsMcgee commented 2026-11-25 18:55:46 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by BubsMcgee on 2026-11-25T18:55:46Z.


Done: the .editorconfig hunk is dropped from this PR so it lands once, in #1955. What remains here is the generated-output part only:
avmeshes.navmesh-decode.json untracked and *.navmesh-decode.json ignored (the default output of ools/navmesh_decode.py run from the root; docs/navmesh.md already writes to a temp path). If #1955 would rather take that too, say so and I will close this in its favour.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7171593546 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1956#issuecomment-7171593546). Originally posted by [BubsMcgee](https://github.com/BubsMcgee) on 2026-11-25T18:55:46Z. --- Done: the .editorconfig hunk is dropped from this PR so it lands once, in #1955. What remains here is the generated-output part only: avmeshes.navmesh-decode.json untracked and *.navmesh-decode.json ignored (the default output of ools/navmesh_decode.py run from the root; docs/navmesh.md already writes to a temp path). If #1955 would rather take that too, say so and I will close this in its favour.
MoonEyes commented 2026-11-27 22:43:18 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-27T22:43:18Z.


Hi @BubsMcgee, thanks for this pull request.

CONTRIBUTING.md asks contributors to claim their work in the coordination issue ("Coordinating who works on what", currently #1608) before opening a pull request: post claiming: <ID> there, or a one-line description if the item is not listed yet, and put the ID in the pull request. I could not find a claim from you for this one (the ID DOC-EDITORCONFIG-BASELINE appears in the pull request, but there is no claiming: line for it).

The claim matters because "it is claimed in the coordination issue by the pull request's author" is the first item on the maintainers' checklist for a mergeable pull request, and because it lets others see that the work is taken before they write it a second time.

Could you post the claim in #1608 and add the ID to the pull request description? If you already claimed it in another form, a link to your comment is enough.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7229562328 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1956#issuecomment-7229562328). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-27T22:43:18Z. --- Hi @BubsMcgee, thanks for this pull request. CONTRIBUTING.md asks contributors to claim their work in the coordination issue ("Coordinating who works on what", currently #1608) before opening a pull request: post `claiming: <ID>` there, or a one-line description if the item is not listed yet, and put the ID in the pull request. I could not find a claim from you for this one (the ID `DOC-EDITORCONFIG-BASELINE` appears in the pull request, but there is no `claiming:` line for it). The claim matters because "it is claimed in the coordination issue by the pull request's author" is the first item on the maintainers' checklist for a mergeable pull request, and because it lets others see that the work is taken before they write it a second time. Could you post the claim in #1608 and add the ID to the pull request description? If you already claimed it in another form, a link to your comment is enough. AI-assisted (Claude Code, Claude Opus 5.5).
zmasi commented 2026-11-29 00:08:14 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-29T00:08:14Z.


#1956 | head da8a5dc974 (merged cleanly onto origin/main 829530dbd0) | Windows 11 (10.0.26200.9974), Python 3.12.10 | AI-assisted: yes

Independent Verification (Windows 11)

  • Diff & safety audit: Inspected 100% of the diff adding *.navmesh-decode.json to .gitignore and removing the tracked navmeshes.navmesh-decode.json (518 lines of generated tools/navmesh_decode.py output). python -I scripts/check_no_game_data.py .gitignore passed (rc=0).
  • Red -> Green on Windows 11 (origin/main 829530dbd0 vs #1956 + origin/main):
    • Red (origin/main): navmeshes.navmesh-decode.json is tracked at repository root and git check-ignore sample.navmesh-decode.json exits 1.
    • Green (#1956 + origin/main): navmeshes.navmesh-decode.json is deleted cleanly, and git check-ignore -v sample.navmesh-decode.json sub/test.navmesh-decode.json exits 0 matching .gitignore:50:*.navmesh-decode.json for both root and subdirectory outputs.
  • Test suites run on Windows 11:
    • python -I tests/test_navmesh_decode.py -> 17/17 passed (OK)
    • python -I tests/test_docs_repo_paths.py -> 5/5 passed (OK, confirming no documentation links or path references depend on the deleted root .navmesh-decode.json file)
    • python -I tests/test_no_game_data_workflow.py (3/3) and tests/test_ci_registration.py (18/18) -> all passed (OK).
<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7247900736 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1956#issuecomment-7247900736). Originally posted by [zmasi](https://github.com/zmasi) on 2026-11-29T00:08:14Z. --- #1956 | head da8a5dc974564f73593cdeec27ff7ce3652814ea (merged cleanly onto origin/main 829530dbd0) | Windows 11 (10.0.26200.9974), Python 3.12.10 | AI-assisted: yes ### Independent Verification (Windows 11) - **Diff & safety audit**: Inspected 100% of the diff adding `*.navmesh-decode.json` to `.gitignore` and removing the tracked `navmeshes.navmesh-decode.json` (`518` lines of generated `tools/navmesh_decode.py` output). `python -I scripts/check_no_game_data.py .gitignore` passed (`rc=0`). - **Red -> Green on Windows 11 (`origin/main` `829530dbd0` vs `#1956 + origin/main`)**: - **Red (`origin/main`)**: `navmeshes.navmesh-decode.json` is tracked at repository root and `git check-ignore sample.navmesh-decode.json` exits `1`. - **Green (`#1956 + origin/main`)**: `navmeshes.navmesh-decode.json` is deleted cleanly, and `git check-ignore -v sample.navmesh-decode.json sub/test.navmesh-decode.json` exits `0` matching `.gitignore:50:*.navmesh-decode.json` for both root and subdirectory outputs. - **Test suites run on Windows 11**: - `python -I tests/test_navmesh_decode.py` -> `17/17` passed (`OK`) - `python -I tests/test_docs_repo_paths.py` -> `5/5` passed (`OK`, confirming no documentation links or path references depend on the deleted root `.navmesh-decode.json` file) - `python -I tests/test_no_game_data_workflow.py` (`3/3`) and `tests/test_ci_registration.py` (`18/18`) -> all passed (`OK`).
TheGeogeo commented 2026-11-29 17:12:45 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by TheGeogeo on 2026-11-29T17:12:45Z.


Tested da8a5dc97 merged (no commit) with main 0bc6e21a1: Python 3.12.4, Windows 11 10.0.26300, CPU only.

  • The change is repository files only (.gitignore, and the removal of the generated navmeshes.navmesh-decode.json from the root), so no test can show a red.
  • No regression: the 13 tests/test_docs_*.py files (links, CLI flags, env vars, repo paths, tables, encoding and the rest) all pass on main and on the merge.
  • No game data check passes.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7259511973 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1956#issuecomment-7259511973). Originally posted by [TheGeogeo](https://github.com/TheGeogeo) on 2026-11-29T17:12:45Z. --- Tested da8a5dc97 merged (no commit) with main 0bc6e21a1: Python 3.12.4, Windows 11 10.0.26300, CPU only. - The change is repository files only (`.gitignore`, and the removal of the generated `navmeshes.navmesh-decode.json` from the root), so no test can show a red. - No regression: the 13 `tests/test_docs_*.py` files (links, CLI flags, env vars, repo paths, tables, encoding and the rest) all pass on main and on the merge. - No game data check passes. AI-assisted (Claude Code).
aslan2142 commented 2026-12-01 10:30:16 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T10:30:16Z.


Closing as superseded by #2668 (18936010d).

Since .editorconfig was already removed from this PR (tracked separately in #1955), both remaining changes (*.navmesh-decode.json in .gitignore:27 and deleting navmeshes.navmesh-decode.json) have already landed on main in #2668.

(AI-assisted review.)

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7308287523 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1956#issuecomment-7308287523). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-12-01T10:30:16Z. --- Closing as superseded by #2668 (`18936010d`). Since `.editorconfig` was already removed from this PR (tracked separately in #1955), both remaining changes (`*.navmesh-decode.json` in `.gitignore:27` and deleting `navmeshes.navmesh-decode.json`) have already landed on `main` in #2668. *(AI-assisted review.)*

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!1956
No description provided.