Skip to content

feat(chatbi): §5-2 低置信 SQL 预览+token 测例与 E2E 标准样本#99

Merged
Cyning12 merged 7 commits into
mainfrom
task/chatbi-v3-lowconf-sql-preview
May 31, 2026
Merged

feat(chatbi): §5-2 低置信 SQL 预览+token 测例与 E2E 标准样本#99
Cyning12 merged 7 commits into
mainfrom
task/chatbi-v3-lowconf-sql-preview

Conversation

@Cyning12
Copy link
Copy Markdown
Owner

@Cyning12 Cyning12 commented May 31, 2026

Summary

  • §5-2 子 task 关账:低置信 Text2SQL agent.plan.preview + plan_execution_token 放行;G1–G4 pytest(无效 token、SSE parity、预览失败、只读闸);Harness 00→50 + KPI 100% pass。
  • re-baseline:无 api/ 大改;钉住现网行为。
  • 文档:母单 §5.1 5-2 → 已验收;SPEC §6 Text2SQL 项勾选。
  • E2E 标准样本docs/diary/samples/chatbi-v3-lowconf-sql-preview/(两轮 Timeline JSON + Ink 截图);母单 FE-1 烟测通过(2026-05-31)。

Test plan

  • pytest tests/test_unified_chat_backend_v2_agent.py -k "plan_preview or plan_execution" -q
  • pytest tests/test_chatbi_plan_token.py -q
  • python tools/tech_graph_contract_check.py
  • pytest tests -m "not intent_eval and not intent_benchmark"
  • Ink 联调:首轮 preview+clarify →「按预览执行」→ sql.result heros 10 条(见 diary 样本)

Notes

  • 预览 sql_draft 与执行 SQL 可能不一致(token 仅跳过澄清,执行轮重跑 Text2SQL)。
  • tests/ automerge

Made with Cursor

CI 状态(自动 · pr-post-ci)

更新:2026-05-31 13:53 UTC · tools/pr_post_ci_update_body.py

Required 全绿:是

Check Status
contract_check success
manifest_check success
pytest success

变更范围(自动统计)

文件数:18

顶层前缀 计数
docs/ 17
tests/ 1

⚠ automerge 路径闸:含 api/tests/.github/workflows/ 等 — 勿打 automerge 或须人审 merge。

命中路径
  • tests/test_unified_chat_backend_v2_agent.py

CyningMM and others added 7 commits May 31, 2026 21:03
re-baseline main 已有 plan.preview/token;KPI v1.2 · kpi_aggregator=00;待人签 HG-*。

Co-authored-by: Cursor <cursoragent@cursor.com>
HG-TASK-DRAFT / HG-AUDIT-R1 / HG-REINSPECT → approved;task pending。

Co-authored-by: Cursor <cursoragent@cursor.com>
落盘 invoke_20260531_00;task → in_progress。

Co-authored-by: Cursor <cursoragent@cursor.com>
补齐无效 token 拒放、预览失败、SSE parity 的 pytest;re-baseline 确认无需 api 大改。
同步 task 阶段表、自检与 KPI 草稿;50 invoke 待 Fresh Context 新会话。

Co-authored-by: Cursor <cursoragent@cursor.com>
G1–G4 独立 VERIFY 通过;建议条件合并;G5/KPI 交 00/CLOSE。

Co-authored-by: Cursor <cursoragent@cursor.com>
50 复检通过后关账:G5/SPEC §6 同步、### KPI(00)终算、经验摘要、task→done/。

Co-authored-by: Cursor <cursoragent@cursor.com>
落盘两轮 Unified Chat Timeline JSON 与 Ink 联调截图;子 task §12 与母单 FE-1 链索引。

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ai-ink-brain-api-python Ready Ready Preview, Comment May 31, 2026 1:51pm

@Cyning12 Cyning12 merged commit 80937b6 into main May 31, 2026
9 checks passed
@Cyning12 Cyning12 deleted the task/chatbi-v3-lowconf-sql-preview branch May 31, 2026 13:55
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.

2 participants