Skip to content

Keep workflow learning aligned with table-permissions reality#15

Merged
LienJack merged 1 commit into
devfrom
codex/nginx-unified-3000-entry
Apr 16, 2026
Merged

Keep workflow learning aligned with table-permissions reality#15
LienJack merged 1 commit into
devfrom
codex/nginx-unified-3000-entry

Conversation

@LienJack
Copy link
Copy Markdown
Owner

The prior workflow-issues learning assumed inline ACL payloads and legacy acl_apply staging, which now contradicts the current datasource workflow and frontend contract. This refresh replaces the stale learning with a successor doc reflecting workspace/datasource binding orchestration plus table-permissions governance, and adds AGENTS discoverability guidance for docs/solutions.

Constraint: docs/solutions is ignored by default in this repo and required force-add for replacement doc
Rejected: In-place update of the old learning | stale filename and ACL-framed narrative would keep drift risk high
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Treat /api/v1/datasources/workflow as context-binding orchestration; keep governance writes in table-permissions APIs
Tested: Manual evidence verification against current DTO/service/tests and README contracts
Not-tested: No lint/test suite run (docs and AGENTS changes only)

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

The prior workflow-issues learning assumed inline ACL payloads and legacy
acl_apply staging, which now contradicts the current datasource workflow and
frontend contract. This refresh replaces the stale learning with a successor
doc reflecting workspace/datasource binding orchestration plus table-permissions
governance, and adds AGENTS discoverability guidance for docs/solutions.

Constraint: docs/solutions is ignored by default in this repo and required force-add for replacement doc
Rejected: In-place update of the old learning | stale filename and ACL-framed narrative would keep drift risk high
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Treat /api/v1/datasources/workflow as context-binding orchestration; keep governance writes in table-permissions APIs
Tested: Manual evidence verification against current DTO/service/tests and README contracts
Not-tested: No lint/test suite run (docs and AGENTS changes only)
@LienJack LienJack merged commit adb0f9b into dev Apr 16, 2026
@LienJack LienJack deleted the codex/nginx-unified-3000-entry branch April 24, 2026 13:47
@LienJack LienJack restored the codex/nginx-unified-3000-entry 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