Enhance context handling and clarify agent interactions#17
Merged
LienJack merged 1 commit intoApr 20, 2026
Conversation
- Updated the README.md to include support for an optional `contextEnvelope` in request bodies, improving the clarity of context management. - Refactored agent types to incorporate `ContextEnvelope`, `GraphEffectiveContextSummary`, and `GraphContextConflictHint`, enhancing type safety and modularity. - Improved the GraphBuilderService to build and include context evidence in SQL run traces, allowing for better context differentiation in responses. - Enhanced the ClarifyNode to utilize context information for more accurate clarification prompts, improving user interaction. - Introduced a new Slot Filling Context module to streamline the decision-making process for missing critical slots in user queries. - Updated various services and controllers to support the new context envelope structure, ensuring consistent handling across the application. This commit strengthens the agent's ability to manage context effectively, leading to improved user experience and more accurate query handling.
5cfc710
into
codex/governance-terminology-hard-cut-exec
3 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.
contextEnvelopein request bodies, improving the clarity of context management.ContextEnvelope,GraphEffectiveContextSummary, andGraphContextConflictHint, enhancing type safety and modularity.This commit strengthens the agent's ability to manage context effectively, leading to improved user experience and more accurate query handling.
Summary
Frontend Checklist
style={{...}})Validation
pnpm --filter @text2sql/frontend lintpnpm --filter @text2sql/frontend testpnpm --filter @text2sql/frontend buildPost-Deploy Monitoring & Validation