Skip to content

Codex/governance terminology hard cut exec#16

Merged
LienJack merged 8 commits into
codex/rag-v1-3-team-exec-trackingfrom
codex/governance-terminology-hard-cut-exec
Apr 20, 2026
Merged

Codex/governance terminology hard cut exec#16
LienJack merged 8 commits into
codex/rag-v1-3-team-exec-trackingfrom
codex/governance-terminology-hard-cut-exec

Conversation

@LienJack
Copy link
Copy Markdown
Owner

Summary

  • 简述本次改动范围与目标

Frontend Checklist

  • 仅使用 React + shadcn-ui 体系,未引入未批准 UI 框架
  • 业务组件未使用常规内联样式对象(style={{...}}
  • 覆盖并验证了关键状态(loading/empty/error/success)
  • 核心链路(会话创建、消息发送、SQL 预览)无回归
  • 已补充或更新必要测试

Validation

  • pnpm --filter @text2sql/frontend lint
  • pnpm --filter @text2sql/frontend test
  • pnpm --filter @text2sql/frontend build

Post-Deploy Monitoring & Validation

  • No additional operational monitoring required(前端展示层改造,无后端运行时逻辑变化)

LienJack and others added 8 commits April 18, 2026 22:23
…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
@LienJack LienJack merged commit 01dcdfd into codex/rag-v1-3-team-exec-tracking Apr 20, 2026
3 checks passed
@LienJack LienJack deleted the codex/governance-terminology-hard-cut-exec branch April 24, 2026 13:47
@LienJack LienJack restored the codex/governance-terminology-hard-cut-exec branch April 24, 2026 13:48
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.

1 participant