refactor(query): add admission and normalizer - #2910
Merged
Ahoo-Wang merged 1 commit intoAug 9, 2026
Merged
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 487 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## agent/query-service-p1a-semantic-kernel #2910 +/- ##
=============================================================================
- Coverage 92.21% 91.68% -0.54%
- Complexity 6843 7092 +249
=============================================================================
Files 990 997 +7
Lines 26327 27428 +1101
Branches 2713 2890 +177
=============================================================================
+ Hits 24277 25146 +869
- Misses 1138 1290 +152
- Partials 912 992 +80
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Base automatically changed from
agent/query-service-p1a-semantic-kernel
to
agent/query-service-architecture-upgrade
August 9, 2026 07:29
Ahoo-Wang
merged commit Aug 9, 2026
ffc4c44
into
agent/query-service-architecture-upgrade
11 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
The query architecture upgrade needs a deterministic semantic boundary before policy, planning, routing, and backend compilation. Legacy DTOs can expose dynamic getters and mutable
Anygraphs, so validation alone is vulnerable to TOCTOU and resource amplification.This PR establishes the immutable admitted snapshot and normalizer without wiring them into production execution.
Compatibility / impact
me.ahoo.wow.query.internalRAWdriver objects are discarded and rejected on the planned pathinternalclasses remain JVM-visible implementation details; this is not claimed as a zero JAR ABI diffVerification
./gradlew :wow-query:check --rerun-tasks./gradlew :wow-query:test --tests 'me.ahoo.wow.query.PublicQueryContractCompatibilityTest' :wow-openapi:test --tests 'me.ahoo.wow.openapi.snapshot.OpenApiCompatibilitySnapshotTest'git diff --cached --check