Skip to content

Codex/modeling relationship visual parity#21

Merged
LienJack merged 5 commits into
devfrom
codex/modeling-relationship-visual-parity
Apr 25, 2026
Merged

Codex/modeling relationship visual parity#21
LienJack merged 5 commits into
devfrom
codex/modeling-relationship-visual-parity

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(前端展示层改造,无后端运行时逻辑变化)

…pe support

- Added `type` and `cardinality` properties to the `ModelingRelationshipRecommendation` type, allowing for more precise relationship definitions.
- Updated the `WorkspaceModelingService` to handle relationship types and cardinalities in recommendations.
- Enhanced integration tests to verify the correct handling of relationship types and cardinalities in the modeling setup.
- Improved UI components to display relationship metadata, including cardinality and source labels, enhancing user experience during modeling setup.
- Updated the `generatedAt` timestamps in the gate summary JSON files for modeling parity, relationship platform, and semantic spine to reflect the latest generation time.
- Enabled `strictMode` in the modeling parity gate summary to enforce stricter validation rules.
…on tracking

- Added new hybrid balance gate functionality with observation and strict modes, including commands for data collection and rollback procedures.
- Updated environment configuration to support hybrid gate settings and thresholds.
- Enhanced decision-making processes in the agent's flow to include clarification decisions, tracking various attributes such as confidence levels and bypass reasons.
- Improved integration tests to validate the new clarification decision structure and its impact on agent behavior.
- Updated the `detectMetadataBypass` function to include additional properties in the `trace` object for better tracking of clarification decisions.
- Added checks for `decisionSource`, `bypassed`, and `bypassReasonCode` to improve the logic for determining metadata bypass conditions.
- Enhanced the overall decision-making process in the agent's flow related to clarification scenarios.
@LienJack LienJack merged commit 31a7284 into dev Apr 25, 2026
3 checks passed
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