Found during full-codebase review (see docs/review/02-audit-policy-resolve.md). Blocker for #29 (the init wizard teaches glob authoring and must validate against the real matcher).
[HIGH]internal/enumerate/enumerate.go (~268-282): includes use filepath.Match, which has no ** support, while excludes use go-gitignore (which does). So include: ["src/**"] matches src/x.go but not src/sub/x.go, and **/generated/** matches nothing — yet the config layer documents and round-trips these exact patterns. TestMatchesIncludes asserts the broken single-segment behavior, locking in the bug.
Fix: make includes use the same gitignore-style matcher as excludes; remove the test that enshrines the broken behavior.
Found during full-codebase review (see docs/review/02-audit-policy-resolve.md). **Blocker for #29** (the init wizard teaches glob authoring and must validate against the real matcher).
**[HIGH]** `internal/enumerate/enumerate.go` (~268-282): includes use `filepath.Match`, which has no `**` support, while excludes use go-gitignore (which does). So `include: ["src/**"]` matches `src/x.go` but not `src/sub/x.go`, and `**/generated/**` matches nothing — yet the config layer documents and round-trips these exact patterns. `TestMatchesIncludes` asserts the broken single-segment behavior, locking in the bug.
Fix: make includes use the same gitignore-style matcher as excludes; remove the test that enshrines the broken behavior.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Found during full-codebase review (see docs/review/02-audit-policy-resolve.md). Blocker for #29 (the init wizard teaches glob authoring and must validate against the real matcher).
[HIGH]
internal/enumerate/enumerate.go(~268-282): includes usefilepath.Match, which has no**support, while excludes use go-gitignore (which does). Soinclude: ["src/**"]matchessrc/x.gobut notsrc/sub/x.go, and**/generated/**matches nothing — yet the config layer documents and round-trips these exact patterns.TestMatchesIncludesasserts the broken single-segment behavior, locking in the bug.Fix: make includes use the same gitignore-style matcher as excludes; remove the test that enshrines the broken behavior.