Skip to content

feat(harness): P0 OpenSpec×TDD Loop — validate · 22/40 补丁 · status JSON#94

Merged
Cyning12 merged 20 commits into
mainfrom
task/harness-p0-openspec-tdd
May 30, 2026
Merged

feat(harness): P0 OpenSpec×TDD Loop — validate · 22/40 补丁 · status JSON#94
Cyning12 merged 20 commits into
mainfrom
task/harness-p0-openspec-tdd

Conversation

@Cyning12
Copy link
Copy Markdown
Owner

@Cyning12 Cyning12 commented May 30, 2026

Summary

Harness Loop Batch p0-openspec-tdd(R1→R2→R3→META)单 PR 交付 OpenSpec 写法 × TDD 纪律 P0:

  • R1 · tools/harness_task_validate.py + tests/test_harness_task_validate.py(SPEC §4.1 十条规则;--json / --all-active
  • R2 · 22-task-audit.md / 40-self-check.md OpenSpec×TDD 勾选项与三维自检;reviews/README 链 validate CLI
  • R3 · tools/harness_change_status.py + tests/test_harness_change_status.py.cursor/commands/harness-validate.md / harness-status.md
  • META · 母单 + 三子 task 均 done/REPORT_completion_20260530_v1.md

Spec 真值docs/spec/governance/SPEC-Governance-Harness-OpenSpec-TDD-P0-v1.md

非范围:未改 api/ 业务逻辑。

Test plan

  • pytest tests/test_harness_task_validate.py
  • pytest tests/test_harness_change_status.py
  • pytest tests -m "not intent_eval and not intent_benchmark"(269 passed)
  • python tools/harness_task_validate.py docs/tasks/done/task_harness_p0_task_validate_v1.md
  • python tools/harness_change_status.py --task docs/tasks/done/task_harness_p0_openspec_tdd_loop_v1.md --json
  • CI Required checks 全绿后 merge

Made with Cursor

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

更新:2026-05-30 13:05 UTC · tools/pr_post_ci_update_body.py

Required 全绿:是

Check Status
contract_check success
manifest_check success
pytest success

变更范围(自动统计)

文件数:46

顶层前缀 计数
docs/ 40
.cursor/ 2
tests/ 2
tools/ 2

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

命中路径
  • tests/test_harness_change_status.py
  • tests/test_harness_task_validate.py

CyningMM and others added 19 commits May 30, 2026 20:16
冻结 O1–O3 模板(Delta/Scenario/规划 artifact)、TDD 口径与 Sprint A Loop
母单 R1–R3;invoke LOOP_MANIFEST 与 START Prompt;RECENT §0.6。

Co-authored-by: Cursor <cursoragent@cursor.com>
人批 P0 OpenSpec×TDD Loop Batch;解阻 R1 全链 semi_auto 执行。

Co-authored-by: Cursor <cursoragent@cursor.com>
自 diary/tmp 冻结为 SPEC-Governance-Harness-OpenSpec-TDD-P0-v1;
更新母单/R1/README/RECENT §0.6 指针;对齐 Loop R1–R3 映射。

Co-authored-by: Cursor <cursoragent@cursor.com>
…05-30

cross_round_semi_auto 启动 p0-openspec-tdd Loop R1 全链。

Co-authored-by: Cursor <cursoragent@cursor.com>
零阻塞审查落盘 + 下一棒 30 invoke。

Co-authored-by: Cursor <cursoragent@cursor.com>
SPEC §4.1 规则 · --json/--all-active · HARNESS-P0-TASK-VALIDATE@2026-05-30

Co-authored-by: Cursor <cursoragent@cursor.com>
验收表 + §自检结论 · Required pytest 267 passed。

Co-authored-by: Cursor <cursoragent@cursor.com>
reinspect 建议关账 · test_strategy required 全 pass。

Co-authored-by: Cursor <cursoragent@cursor.com>
_views/done.md 索引 · CLOSE invoke · 续 R2 p0-audit-selfcheck。

Co-authored-by: Cursor <cursoragent@cursor.com>
R2 review + R3 预审查零阻塞。

Co-authored-by: Cursor <cursoragent@cursor.com>
SPEC §4.2–4.3 · HARNESS-P0-AUDIT-SELFCHECK@2026-05-30

Co-authored-by: Cursor <cursoragent@cursor.com>
续 R3 p0-status-cursor。

Co-authored-by: Cursor <cursoragent@cursor.com>
O5+O6 范围零阻塞审查。

Co-authored-by: Cursor <cursoragent@cursor.com>
O5 harness_change_status · O6 .cursor/commands · HARNESS-P0-STATUS-CURSOR@2026-05-30

Co-authored-by: Cursor <cursoragent@cursor.com>
fix test path R1 task → done/

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
R1–R3 全 done · 母单 git mv · _views 更新

Co-authored-by: Cursor <cursoragent@cursor.com>
…TDD-LOOP@2026-05-30

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

vercel Bot commented May 30, 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 30, 2026 1:04pm

CI test_status_json_mother_task 在母单 git mv 后仍指向 active/ 导致失败。

Co-authored-by: Cursor <cursoragent@cursor.com>
@Cyning12 Cyning12 merged commit d55f15d into main May 30, 2026
8 checks passed
@Cyning12 Cyning12 deleted the task/harness-p0-openspec-tdd branch May 30, 2026 13:07
Cyning12 added a commit that referenced this pull request May 31, 2026
* docs(harness): P0 OpenSpec×TDD Loop 关账 hygiene

RECENT §0.6/§1 标 done;SPEC 与 governance 索引同步 #94 完成态。

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs(tasks): active task validate 回填 · P0 Loop 关账 hygiene

低置信 task 增 §验收标准 + Scenario ID;chain events 增 Delta 与 Scenario ID;
RECENT/SPEC 同步 #94 done 态(同分支首 commit)。

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: cyning <cyning12@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
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