Skip to content

oida 0.17.1, and a scope that reads as written - #34

Merged
3lvis merged 1 commit into
mainfrom
oida/0.17.1
Sep 17, 2026
Merged

3lvis merged 1 commit into
mainfrom
oida/0.17.1

Conversation

@3lvis

@3lvis 3lvis commented Sep 17, 2026

Copy link
Copy Markdown
Owner

0.17 measures a scope from where the run starts rather than from the absolute path on disk, which breaks any pattern anchored with a leading /. This repository had one, covering both prose rules:

-  excluded: "/(docs|\\.claude|\\.github|figma-plugin|Demo|DemoCatalog|DemoTests|Pinwheel)/"
+  excluded: "^(docs|\\.claude|\\.github|figma-plugin|Demo|DemoCatalog|DemoTests|Pinwheel)/"

On 0.17.1 the old pattern matches nothing, so every directory it was meant to exempt fell into scope: 78 violations against a tree that is at zero. The anchored form restores exactly what the comment above it describes.

Verified from both sides, because a scope that matches nothing reports clean the same way a working one does — a planted violation in AGENTS.md and README.md is caught, the same violation in .claude/skills/xcode-mcp/SKILL.md is not.

This is #50 fixed at the root rather than papered with a warning: the pattern this repository used to carry named the checkout directory, and that spelling is simply no longer expressible.

Testing

Unit 213/213, hosted 16/16, local. No source touched — the change is the pinned version, its two checksums, and one anchor.

Tests: unit 213/213 + hosted 16/16 green (local xcodebuild)
@3lvis
3lvis marked this pull request as ready for review September 17, 2026 19:00
@3lvis
3lvis merged commit a1fc268 into main Sep 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant