Skip to content

feat(harness): FAQ Batch A IMP-B-01/02 — CI stderr 与 task_validate#96

Merged
Cyning12 merged 3 commits into
mainfrom
task/backend-improve-batch-a-p0
May 31, 2026
Merged

feat(harness): FAQ Batch A IMP-B-01/02 — CI stderr 与 task_validate#96
Cyning12 merged 3 commits into
mainfrom
task/backend-improve-batch-a-p0

Conversation

@Cyning12
Copy link
Copy Markdown
Owner

@Cyning12 Cyning12 commented May 31, 2026

Summary

  • IMP-B-01tech_graph_manifest_check / tech_graph_contract_check 失败时输出 F20 对齐的三段式 stderr(位置 · 文档声明 · 当前代码 · 下一步),并新增 Runbook docs/harness/guides/RUNBOOK_graph_contract_ci_red_v1.md
  • IMP-B-02tech-graph.yml 新增 task_validate job;PR/push 变更 docs/tasks/active/*.md 时运行 harness_task_validate.py,无 task 变更则 skip。
  • 更新 task 单与 Harness README(Runbook 链)。首包 IMP-B-10/11/20 已在 #? 前序 commit,本 PR 仅补 P0 待做项。

Test plan

  • 本地 pytest tests -m "not intent_eval and not intent_benchmark" 绿(269 passed)
  • 本地故意 manifest drift(移除 API_KEY)→ stderr 含三段式 + Runbook 路径
  • python tools/harness_task_validate.py docs/tasks/active/task_backend_improve_batch_a_p0_v1.md 通过(仅 Delta warn)
  • CI:tech-graph job task_validate 对本 PR(含 task 变更)执行 validate
  • CI:manifest_check / tech-graph-contract 绿

Made with Cursor

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

更新:2026-05-31 10:08 UTC · tools/pr_post_ci_update_body.py

Required 全绿:是

Check Status
contract_check success
manifest_check success
pytest success

变更范围(自动统计)

文件数:11

顶层前缀 计数
docs/ 6
tools/ 3
.github/ 2

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

命中路径
  • .github/workflows/tech-graph.yml

CyningMM and others added 2 commits May 31, 2026 17:58
落实读者 FAQ 工程项 IMP-B-10/11/20 与 Agent PROMPT;task_backend_improve_batch_a_p0 为 draft。

Co-authored-by: Cursor <cursoragent@cursor.com>
manifest/contract 检查失败时输出位置·文档声明·当前代码·Runbook 链;tech-graph workflow 在 docs/tasks/active 变更时跑 harness_task_validate。

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 10:07am

IMP-B-01 重构误将「代码多于 contract 最小集」当作 drift;与原逻辑一致,只检查 contract ⊆ code truth。

Co-authored-by: Cursor <cursoragent@cursor.com>
@Cyning12 Cyning12 merged commit 9a57a7d into main May 31, 2026
9 checks passed
@Cyning12 Cyning12 deleted the task/backend-improve-batch-a-p0 branch May 31, 2026 10:43
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