[midPoint-git] [Evolveum/midpoint] e79228: Validate AI-suggested object-type filters and prov...
Michal Zelenčík
noreply at github.com
Thu Nov 6 20:56:24 CET 2025
Branch: refs/heads/midpilot
Home: https://github.com/Evolveum/midpoint
Commit: e79228aa334b929298e45b2b1cd3a4a1f45667dc
https://github.com/Evolveum/midpoint/commit/e79228aa334b929298e45b2b1cd3a4a1f45667dc
Author: Michal Zelencik <michal.zelencik at evolveum.com>
Date: 2025-11-05 (Wed, 05 Nov 2025)
Changed paths:
M infra/schema/src/main/resources/xml/ns/public/common/common-smart-integration-3.xsd
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/ObjectTypesSuggestionOperation.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/ObjectTypesSuggestionOperationFactory.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SmartIntegrationBeans.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SmartIntegrationServiceImpl.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/scoring/ObjectTypesQualityAssessor.java
M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestSmartIntegrationServiceImpl.java
Log Message:
-----------
Validate AI-suggested object-type filters and provide feedback loop
Ensure AI-generated object-type filters (and base context) are syntactically
and operationally valid before use, preventing broken delineation rules from
reaching runtime. Perform validation via provisioning service and
retry once on first failure to support iterative improvement. Aggregate clear,
actionable feedback (including original scripts and error context) to guide
subsequent suggestions. Extend schema to carry this feedback and wire the
service to enforce the validation path.
Signed-off-by: Michal Zelencik <michal.zelencik at evolveum.com>
Commit: 28a9fdf5f26daa82ddc69f3b24e18f47a28d378d
https://github.com/Evolveum/midpoint/commit/28a9fdf5f26daa82ddc69f3b24e18f47a28d378d
Author: Michal Zelencik <michal.zelencik at evolveum.com>
Date: 2025-11-06 (Thu, 06 Nov 2025)
Changed paths:
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/ObjectTypesSuggestionOperation.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/ObjectTypesSuggestionOperationFactory.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SmartIntegrationBeans.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SmartIntegrationServiceImpl.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/scoring/ObjectTypeFiltersValidator.java
R model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/scoring/ObjectTypesQualityAssessor.java
Log Message:
-----------
Objet type error loop review:
- Rename ObjectTypeQualityAssessor to ObjectTypeFiltersValidator,
because it only tests filter runnability.
- Switch parameter order: put parentResult as last parameter
- Fix exception handling
- Move provisioning service from SmartIntegrationBeans to FiltersValidator
- Small fixes
Commit: ad59ba419cb58e3203250549c2a347ade3e39f15
https://github.com/Evolveum/midpoint/commit/ad59ba419cb58e3203250549c2a347ade3e39f15
Author: Michal Zelencik <michal.zelencik at evolveum.com>
Date: 2025-11-06 (Thu, 06 Nov 2025)
Changed paths:
M infra/schema/src/main/resources/xml/ns/public/common/common-smart-integration-3.xsd
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/ObjectTypesSuggestionOperation.java
Log Message:
-----------
Use structured validation feedback for object type suggestion retries
- Replace concatenated logs with structured per-suggestion feedback
- Build feedback entries with human-readable validation messages tied to each suggestion
- On retry, include the feedback
- Redesign exception to carry structured feedback
- Minor cleanup of comments and imports
Commit: 24c0f7bb1f0ee401b3b4017c433641aae2ea42d5
https://github.com/Evolveum/midpoint/commit/24c0f7bb1f0ee401b3b4017c433641aae2ea42d5
Author: Michal Zelencik <michal.zelencik at evolveum.com>
Date: 2025-11-06 (Thu, 06 Nov 2025)
Changed paths:
M infra/schema/src/main/resources/xml/ns/public/common/common-smart-integration-3.xsd
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/ObjectTypesSuggestionOperation.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/ObjectTypesSuggestionOperationFactory.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SmartIntegrationServiceImpl.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/scoring/ObjectTypeFiltersValidator.java
M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestSmartIntegrationServiceImpl.java
Log Message:
-----------
Merge branch 'improvement/object-type-retry-loop' into midpilot
Compare: https://github.com/Evolveum/midpoint/compare/98b31693f03a...24c0f7bb1f0e
To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications
More information about the midPoint-svn
mailing list