Repository navigation
0.4.0: safe on a user profile (Claude Desktop test gaps) - #12
Merged
Merged
Conversation
- Unreadable files and folders are skipped and reported as a warning instead of ending the lint with a PermissionError. - AppData, Application Data and Local Settings are skipped by default (--include-appdata opts in); Windows hidden+system folders (legacy profile junctions) are skipped like dot folders. - --fix-index and --to-markdown-links refuse on a user profile or a tree of more than 1,000 markdown files unless --yes, saying what they would touch (exit 3); the lint still runs. - --root-index [--group PATH ...] writes only <root>/INDEX.md and never overwrites one. - stdout and stderr are UTF-8 on every console. - SKILL.md: stop and ask on a home folder; steps for remote or cloud sessions (copy to a device scratch folder, check sha256, poll long runs). - Tests 13a-13e, LEARNINGS L-005 to L-010, CHANGELOG C-20261013-1.
…PermissionError in Path.resolve
Owner
Author
|
CI caught one more case on windows-latest with Python 3.9.13: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes what the Claude Desktop marketplace test of 2026-10-13 ran into. In that test the listed plugin ran from a cloud chat linked to this PC and was asked to index the whole user profile.
Merging deploys: the directory listing has auto-publish on and picks master up on its scheduled check, so merging ships 0.4.0.
Changes
PermissionErrorused to end the run; now the file is skipped and reported under a new warning,unreadable files N, in the text report and--json(--maxapplies). Folders the walk cannot list are reported the same way. On Windows, hidden+system folders are skipped like dot folders. Those are the legacy junctions such asMy DocumentsandCookies, which deny listing by design.Application DataandLocal Settings, at any depth.--include-appdataopts in.NTUSER.DAT, equalsUSERPROFILEorHOME, or has more than 1,000 markdown files,--fix-indexand--to-markdown-linkswrite nothing unless--yesis given. They print how many files they would touch and exit 3. The lint itself still runs.--root-index [--group PATH ...]writes only<root>/INDEX.mdand never overwrites one. It has frontmatter and links each top folder (or each child of a group) to its index by H1 title, with a purpose clause and a file count. A folder whose only content is one subfolder links to that subfolder's index. Folders without an index are listed unlinked, with counts.Verification
test_vault_lint.pygains cases 13a to 13e. They pass on Windows with Python 3.9 and 3.14, and against 0.3.0 they fail. The unreadable-file case really runs on Windows: it denies read access with icacls (chmod 0 on other systems).tests/test_repo.pypasses, and the repo passes its own lint.vault_lint.py D:\m4bwawith default settings and no fix flag finishes without a traceback: 6,454 files, 327 errors, 4 unreadable (locked scheduled-task files), 8 s warm.check_vault.py --task indexexits 0).