feat(harness): FAQ Batch A IMP-B-01/02 — CI stderr 与 task_validate#96
Merged
Conversation
落实读者 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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
IMP-B-01 重构误将「代码多于 contract 最小集」当作 drift;与原逻辑一致,只检查 contract ⊆ code truth。 Co-authored-by: Cursor <cursoragent@cursor.com>
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
tech_graph_manifest_check/tech_graph_contract_check失败时输出 F20 对齐的三段式 stderr(位置 · 文档声明 · 当前代码 · 下一步),并新增 Runbookdocs/harness/guides/RUNBOOK_graph_contract_ci_red_v1.md。tech-graph.yml新增task_validatejob;PR/push 变更docs/tasks/active/*.md时运行harness_task_validate.py,无 task 变更则 skip。Test plan
pytest tests -m "not intent_eval and not intent_benchmark"绿(269 passed)API_KEY)→ stderr 含三段式 + Runbook 路径python tools/harness_task_validate.py docs/tasks/active/task_backend_improve_batch_a_p0_v1.md通过(仅 Delta warn)tech-graphjobtask_validate对本 PR(含 task 变更)执行 validatemanifest_check/tech-graph-contract绿Made with Cursor
CI 状态(自动 · pr-post-ci)
Required 全绿:是
变更范围(自动统计)
文件数:11
docs/tools/.github/⚠ automerge 路径闸:含
api/、tests/、.github/workflows/等 — 勿打automerge或须人审 merge。命中路径
.github/workflows/tech-graph.yml