Skip to content

feat(rules): support Claude Code paths frontmatter - #98

Merged
frap129 merged 1 commit into
devfrom
feat/87-paths-frontmatter
Nov 12, 2026
Merged

frap129 merged 1 commit into
devfrom
feat/87-paths-frontmatter

Conversation

@frap129

@frap129 frap129 commented Nov 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • Accept paths frontmatter as a Claude Code-compatible alias for globs; scalar, YAML array, and comma-separated string forms are supported, with top-level comma splitting that preserves brace expansions and character classes.
  • Merge paths with globs when both are present, and keep malformed or empty declarations fail-closed.
  • Document the alias and show .claude/rules as an opt-in additionalRuleDirectories entry. .claude/rules is still not auto-discovered.

Tests

  • aube run lint
  • aubx tsc --noEmit
  • aube run test:run (633 passed, 1 skipped)

Closes #87

Accept `paths` as an alias for `globs`, including Claude Code's
comma-separated string form, and normalize it at parse time. Combine
both fields when present and keep malformed or empty declarations
fail-closed.

Document the alias and explicit `.claude/rules` configuration.

Refs #87
@frap129
frap129 merged commit 0d322f8 into dev Nov 12, 2026
1 check 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