Skip to content

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

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

3lvis merged 1 commit into
masterfrom
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 is a breaking change for any pattern anchored with a leading /. This repository had two:

-  excluded: "/docs/"
+  excluded: "^docs/"

On 0.17.1 the old pattern matches nothing, so docs/ fell into scope and the prose rules started firing on working notes — docs/project/reactive-reads.md alone produced a page of them. The anchored form restores what the comment above it always claimed.

Verified from both sides rather than from a clean run, since a scope that matches nothing also reports clean: a planted violation in AGENTS.md and in LEARNINGS.md is caught, the same violation in docs/project/faq.md is not.

This is the fix #50 asked for, arriving as the semantics rather than as a warning: a pattern can no longer be written against a checkout directory name, which is what made the old one fragile.

Lint clean, swift build clean, no source touched.

@3lvis
3lvis marked this pull request as ready for review September 17, 2026 19:00
@3lvis
3lvis merged commit 6e9646e into master Sep 17, 2026
11 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.

A rule whose included/excluded scope matches no files reports clean, and says nothing

1 participant