[PR #1431] meshlet_page: ask report_paths for the report-path guard (MESHLET-PAGE-SHARED-REPORT-PATH) #1462

Open
opened 2026-11-26 20:21:20 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1431
Author: @Dashhhhhhhh
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: fix/meshlet-page-report-path


📝 Commits (2)

  • 9cc9fde meshlet_page: treat case-only report paths as one file.
  • ba4e7ef meshlet_page: refuse a page report under another case of the carve folder.

📊 Changes

2 files changed (+52 additions, -12 deletions)

View changed files

📝 tests/test_meshlet_page.py (+43 -0)
📝 tools/meshlet_page.py (+9 -12)

📄 Description

Claimed in the coordination issue as: MESHLET-PAGE-SHARED-REPORT-PATH

What and why

tools/meshlet_page.py compared report paths with os.path.normcase, which does not fold case on macOS, and os.path.samefile, which cannot see a file that has not been created. --json CARVE/index.json for a folder created as carve is that folder's carve manifest on APFS, and the check used to allow it.

The tool now uses tools/report_paths.py.

Tested

python -I tests/test_meshlet_page.py CliTests (14 tests) on macOS APFS. The new test refuses CARVE/index.json for a folder created as carve. No game files.

GPUs tested: n/a

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly.
  • One topic.
  • No game data, keys or decryption.
  • A new translator rule is in the contract table of docs/design.md (not a translator change).

Made with Cursor


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1431 **Author:** [@Dashhhhhhhh](https://github.com/Dashhhhhhhh) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/meshlet-page-report-path` --- ### 📝 Commits (2) - [`9cc9fde`](https://github.com/ubiquitarianism/leonida/commit/9cc9fded79805ea7aad6443136e266692709e231) meshlet_page: treat case-only report paths as one file. - [`ba4e7ef`](https://github.com/ubiquitarianism/leonida/commit/ba4e7ef6572527ff08dfd9a03fc9724279f25fa2) meshlet_page: refuse a page report under another case of the carve folder. ### 📊 Changes **2 files changed** (+52 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `tests/test_meshlet_page.py` (+43 -0) 📝 `tools/meshlet_page.py` (+9 -12) </details> ### 📄 Description Claimed in the coordination issue as: MESHLET-PAGE-SHARED-REPORT-PATH ### What and why `tools/meshlet_page.py` compared report paths with `os.path.normcase`, which does not fold case on macOS, and `os.path.samefile`, which cannot see a file that has not been created. `--json CARVE/index.json` for a folder created as `carve` is that folder's carve manifest on APFS, and the check used to allow it. The tool now uses `tools/report_paths.py`. ### Tested `python -I tests/test_meshlet_page.py CliTests` (14 tests) on macOS APFS. The new test refuses `CARVE/index.json` for a folder created as `carve`. No game files. GPUs tested: n/a AI-assisted: yes ### Checklist - [x] Based on current `main` and merges cleanly. - [x] One topic. - [x] No game data, keys or decryption. - [ ] A new translator rule is in the contract table of `docs/design.md` (not a translator change). Made with [Cursor](https://cursor.com) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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.

Dependencies

No dependencies set

Reference
starred/leonida#1462
No description provided.