Codex/governance terminology hard cut exec#16
Merged
LienJack merged 8 commits intoApr 20, 2026
Merged
Conversation
…tation - Introduced a new governance module to encapsulate governance-related functionalities, including datasource and settings management. - Updated AGENTS.md and README.md to include governance terminology hard cut specifications and relevant checks. - Added a governance terminology check script and CI workflow to enforce compliance with new governance standards. - Refactored existing code to replace legacy routing and fields with updated governance terminology, ensuring consistency across the application. - Created a new Governance Hard Cut Progress document to track the status and details of the governance transition. This commit strengthens the governance framework by formalizing terminology standards and enhancing documentation, ensuring better compliance and clarity across the system.
…ule restructuring - Introduced a new backend business capability topology specification in AGENTS.md, detailing the structure and dependencies for backend modules. - Updated README.md to include the new backend capability topology guidelines, ensuring clarity on module dependencies and restrictions. - Refactored the backend application module to integrate the new ConversationModule, consolidating related functionalities and improving modularity. - Adjusted various modules (Chat, Agent, etc.) to align with the new structure, ensuring proper imports and dependencies. - Enhanced CI workflows to include checks for backend capability boundaries, reinforcing compliance with the new specifications. This commit strengthens the backend architecture by formalizing capability boundaries and improving module organization, leading to better maintainability and clarity in the system.
- Updated .gitignore to include new output directories for graphify operations. - Enhanced AGENTS.md with additional restrictions on module imports to enforce governance boundaries. - Refactored agent and conversation modules to replace legacy data module imports with new persistence and query modules, improving modularity and compliance with updated architecture. - Introduced new use cases for chat session management, including execute-message and run-view functionalities, to streamline chat operations and enhance user experience. - Improved session lifecycle management with robust error handling and policy checks to ensure compliance with governance standards. This commit strengthens the backend architecture by refining module dependencies, enhancing governance compliance, and improving chat session management capabilities.
- Updated KnowledgeChatSupportFacade to implement KnowledgeFacadeContract, improving type safety and modularity. - Introduced new contracts for glossary, memory, and semantic registry services, enhancing the overall architecture. - Refactored KnowledgeModule to provide dependencies for the new contracts, ensuring better integration and maintainability. - Enhanced graph report with updated node and edge counts, reflecting recent changes in the system. This commit strengthens the knowledge module's architecture by formalizing contracts and improving service integration, leading to better maintainability and clarity in the system.
- Updated package.json to include a default value for BACKEND_CAPABILITY_BOUNDARY_CONVERSATION_KNOWLEDGE_BASELINE in the capability boundary check command. - Refactored conversation agent modules to replace legacy imports with new knowledge facade contracts, improving modularity and compliance with governance boundaries. - Introduced new compatibility bridges for glossary, memory, and semantic registry modules, formalizing their integration and enhancing maintainability. - Enhanced unit tests to validate the new compatibility checks and ensure proper handling of knowledge imports. This commit strengthens the backend architecture by formalizing knowledge integration, improving compliance with governance standards, and enhancing the overall modularity of the system.
- Updated import paths for the Prisma client in the glossary and semantic registry services to correct relative paths, ensuring proper module resolution. - Refactored the Dialog component in the frontend to utilize forward refs for better integration with React's ref system, enhancing component flexibility and usability. - Improved the Graph Report by updating word counts to reflect recent changes in the corpus, ensuring accurate reporting. This commit enhances module import accuracy and improves component structure in the frontend, contributing to better maintainability and functionality across the application.
- 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.
…-filling-exec Enhance context handling and clarify agent interactions
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
Frontend Checklist
style={{...}})Validation
pnpm --filter @text2sql/frontend lintpnpm --filter @text2sql/frontend testpnpm --filter @text2sql/frontend buildPost-Deploy Monitoring & Validation