Skip to content

feat: add --exclude CLI flag to /understand for user-defined ignore p…#373

Open
yiziff wants to merge 1 commit into
Egonex-AI:mainfrom
yiziff:feat/add-exclude-flag
Open

feat: add --exclude CLI flag to /understand for user-defined ignore p…#373
yiziff wants to merge 1 commit into
Egonex-AI:mainfrom
yiziff:feat/add-exclude-flag

Conversation

@yiziff

@yiziff yiziff commented Jun 3, 2026

Copy link
Copy Markdown

…atterns

  • createIgnoreFilter() now accepts optional extraPatterns array (Layer 4, highest priority)
  • scan-project.mjs parses --exclude from CLI args and passes patterns through
  • project-scanner.md documents --exclude flag usage
  • SKILL.md wires --exclude into Phase 0/1 and updates argument-hint
  • 5 new test cases covering CLI priority, ! negation, and .understandignore interaction

Related: #76

Summary

Linked issue(s)

How I tested this

  • pnpm lint
  • pnpm --filter @understand-anything/core test
  • pnpm test
  • Manual smoke test (describe above)

Versioning

  • Version bumped in all five manifests, OR
  • N/A — internal/docs-only change

…atterns

- createIgnoreFilter() now accepts optional extraPatterns array (Layer 4, highest priority)
- scan-project.mjs parses --exclude from CLI args and passes patterns through
- project-scanner.md documents --exclude flag usage
- SKILL.md wires --exclude into Phase 0/1 and updates argument-hint
- 5 new test cases covering CLI priority, ! negation, and .understandignore interaction

Related: Egonex-AI#76
@yiziff

yiziff commented Jun 17, 2026

Copy link
Copy Markdown
Author

"Hi @Lum1104
Just checking in on this PR. I notice that other ongoing issues (like #466) have already mentioned this --exclude feature as part of the project's scalability roadmap.

Is there anything else I need to optimize, or any edge cases/tests I should add to get this merged? Thanks!"

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