feat(chatbi): §5-2 低置信 SQL 预览+token 测例与 E2E 标准样本#99
Merged
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
agent.plan.preview+plan_execution_token放行;G1–G4 pytest(无效 token、SSE parity、预览失败、只读闸);Harness 00→50 + KPI 100% pass。api/大改;钉住现网行为。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" -qpytest tests/test_chatbi_plan_token.py -qpython tools/tech_graph_contract_check.pypytest tests -m "not intent_eval and not intent_benchmark"sql.resultheros 10 条(见 diary 样本)Notes
sql_draft与执行 SQL 可能不一致(token 仅跳过澄清,执行轮重跑 Text2SQL)。tests/— 勿automerge。Made with Cursor
CI 状态(自动 · pr-post-ci)
Required 全绿:是
变更范围(自动统计)
文件数:18
docs/tests/⚠ automerge 路径闸:含
api/、tests/、.github/workflows/等 — 勿打automerge或须人审 merge。命中路径
tests/test_unified_chat_backend_v2_agent.py