feat(harness): 理论对齐 P1 — Fresh Context · 错误 shape Linter#92
Merged
Conversation
增补 22/40/50 与 invoke 模板 Fresh Context 纪律;README semi_auto 决策表; 首条领域 Linter(候选 C)校验 rate_limit/circuit_breaker 结构化错误必填键,pytest 覆盖。 Co-authored-by: Cursor <cursoragent@cursor.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
3 tasks
Cyning12
added a commit
that referenced
this pull request
May 29, 2026
PR #92 合并后独立复检;git mv P1 task 至 done/;RECENT 与 SPEC P1 §6 全勾;理论对齐 P0+P1 收口。 Co-authored-by: cyning <cyning12@gmail.com> 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
22/40/50帽与 4 份TEMPLATE-*-invoke增补「禁止附带 30 invoke 长文」;输入限于 task、reviews、40 自检、diff 摘要。docs/tasks/README.md新增semi_auto决策表 +test_strategy季度抽检说明。tools/harness_structured_error_shape_check.py校验 ChatBI 韧性路径结构化错误响应必填键(ok/error_code/message);registry 覆盖 rate_limit 与 circuit_breaker;pytest门禁tests/test_harness_structured_error_shape_check.py。docs/harness/README.md§3.1 链入 Linter 命令;task_harness_theory_align_p1_v1更新为in_progress。Test plan
python tools/harness_structured_error_shape_check.py— OKpytest tests -m "not intent_eval and not intent_benchmark"— 261 passedpytestworkflow 全绿done/Made with Cursor
CI 状态(自动 · pr-post-ci)
Required 全绿:是
变更范围(自动统计)
文件数:13
docs/tests/tools/⚠ automerge 路径闸:含
api/、tests/、.github/workflows/等 — 勿打automerge或须人审 merge。命中路径
tests/test_harness_structured_error_shape_check.py