Skip to content

feat(harness): 理论对齐 P1 — Fresh Context · 错误 shape Linter#92

Merged
Cyning12 merged 1 commit into
mainfrom
task/harness-theory-align-p1
May 29, 2026
Merged

feat(harness): 理论对齐 P1 — Fresh Context · 错误 shape Linter#92
Cyning12 merged 1 commit into
mainfrom
task/harness-theory-align-p1

Conversation

@Cyning12
Copy link
Copy Markdown
Owner

@Cyning12 Cyning12 commented May 29, 2026

Summary

  • P1-1 Fresh Context22/40/50 帽与 4 份 TEMPLATE-*-invoke 增补「禁止附带 30 invoke 长文」;输入限于 task、reviews、40 自检、diff 摘要。
  • P1-2 半自动docs/tasks/README.md 新增 semi_auto 决策表 + test_strategy 季度抽检说明。
  • P1-3 领域 Linter(候选 C)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 — OK
  • pytest tests -m "not intent_eval and not intent_benchmark" — 261 passed
  • CI pytest workflow 全绿
  • 合并后:50 复检 + P1 task 关账 → done/

Made with Cursor

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

更新:2026-05-29 10:40 UTC · tools/pr_post_ci_update_body.py

Required 全绿:是

Check Status
contract_check success
manifest_check success
pytest success

变更范围(自动统计)

文件数:13

顶层前缀 计数
docs/ 11
tests/ 1
tools/ 1

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

命中路径
  • tests/test_harness_structured_error_shape_check.py

增补 22/40/50 与 invoke 模板 Fresh Context 纪律;README semi_auto 决策表;
首条领域 Linter(候选 C)校验 rate_limit/circuit_breaker 结构化错误必填键,pytest 覆盖。

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

vercel Bot commented May 29, 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 29, 2026 10:38am

@Cyning12 Cyning12 merged commit 5c33dec into main May 29, 2026
8 checks passed
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>
@Cyning12 Cyning12 deleted the task/harness-theory-align-p1 branch May 31, 2026 08:51
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