Skip to content

AI Tools: annotation-based entity exclusion for Data Load tools (5637) - #5672

Open
Flaurite wants to merge 2 commits into
masterfrom
feature/aitools/5673-AI-Tools-annotation-based-entity-exclusion-for-Data-Load-tools
Open

AI Tools: annotation-based entity exclusion for Data Load tools (5637)#5672
Flaurite wants to merge 2 commits into
masterfrom
feature/aitools/5673-AI-Tools-annotation-based-entity-exclusion-for-Data-Load-tools

Conversation

@Flaurite

@Flaurite Flaurite commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Changes

Added new annotation to AI Tools - @ExcludeFromAi.

This annotation marks an entity or attribute as off-limits to the AI: it's dropped from the domain-model index, so it never appears in discovery and any generated query referencing it is rejected.

This check has absolute priority in the introspector, and cannot be overriden by application properties.

@ExcludeFromAi can be inherited by subclasses. So a subclass of an excluded entity can't silently re-expose the data.

@Flaurite
Flaurite requested a review from knstvk September 8, 2026 13:19
@Flaurite Flaurite self-assigned this Sep 8, 2026
@Flaurite Flaurite linked an issue Sep 8, 2026 that may be closed by this pull request
@Flaurite Flaurite changed the title Feature/aitools/5673 ai tools annotation based entity exclusion for data load tools AI Tools: annotation-based entity exclusion for Data Load tools (5637) Sep 8, 2026
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.

AI Tools: annotation-based entity exclusion for Data Load tools

2 participants