You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Selectors.MatchesIncludes now returns (bool, string). Context logs
human-readable reasons for including or skipping items. Add table-driven
tests and FEATURE_EXPLANATORY_LOGGING.md doc.
The CLI now clearly explains WHY each rule, task, skill, and command was included or excluded when running a task. This makes it much easier to understand the context assembly process and debug selector issues.
6
+
7
+
## What Changed
8
+
9
+
### New Functionality
10
+
11
+
1.**Inclusion Explanations**: Every included item now logs the reason it was selected
12
+
2.**Exclusion Explanations**: Every excluded item now logs why it didn't match selectors
13
+
3.**Detailed Selector Matching**: Shows exactly which selector key-value pairs matched or didn't match
14
+
15
+
### Modified Files
16
+
17
+
-`pkg/codingcontext/selectors/selectors.go`: Refactored `MatchesIncludes()` to return `(bool, string)` with reason
18
+
-`pkg/codingcontext/context.go`: Enhanced logging throughout to explain inclusion/exclusion
0 commit comments