easy-coding-harness 0.10.0-beta.9 → 1.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/CHANGELOG.md +56 -1
  2. package/README.md +32 -25
  3. package/dist/cli.js +272 -37
  4. package/dist/cli.js.map +1 -1
  5. package/package.json +1 -1
  6. package/templates/claude/agents/ec-implementer.md +7 -8
  7. package/templates/claude/agents/ec-reviewer.md +14 -2
  8. package/templates/claude/agents/ec-verifier.md +11 -2
  9. package/templates/codex/agents/ec-implementer.toml +7 -8
  10. package/templates/codex/agents/ec-reviewer.toml +14 -2
  11. package/templates/codex/agents/ec-verifier.toml +11 -2
  12. package/templates/common/bundled-skills/ec-init/SKILL.md +1 -1
  13. package/templates/common/bundled-skills/ec-meta/references/local-architecture/README.md +15 -11
  14. package/templates/common/skills/ec-analysis/SKILL.md +9 -8
  15. package/templates/common/skills/ec-config/SKILL.md +2 -2
  16. package/templates/common/skills/ec-implementing/SKILL.md +35 -30
  17. package/templates/common/skills/ec-lite/SKILL.md +74 -0
  18. package/templates/common/skills/ec-no-harness/SKILL.md +3 -0
  19. package/templates/common/skills/ec-quality/SKILL.md +153 -0
  20. package/templates/common/skills/ec-task-management/SKILL.md +9 -5
  21. package/templates/common/skills/ec-tdd-init/SKILL.md +5 -4
  22. package/templates/common/skills/ec-workflow/SKILL.md +22 -29
  23. package/templates/main-constraint/AGENTS.md.tpl +19 -13
  24. package/templates/main-constraint/CLAUDE.md.tpl +19 -13
  25. package/templates/qoder/agents/ec-implementer.md +7 -8
  26. package/templates/qoder/agents/ec-reviewer.md +14 -2
  27. package/templates/qoder/agents/ec-verifier.md +11 -2
  28. package/templates/runtime/templates/dev-spec-skeleton.md +2 -2
  29. package/templates/shared-hooks/easy_coding_state.py +2793 -318
  30. package/templates/claude/agents/ec-fixer.md +0 -37
  31. package/templates/codex/agents/ec-fixer.toml +0 -26
  32. package/templates/common/skills/ec-reviewing/SKILL.md +0 -109
  33. package/templates/common/skills/ec-verification/SKILL.md +0 -177
  34. package/templates/qoder/agents/ec-fixer.md +0 -37
@@ -22,13 +22,22 @@ pass.
22
22
 
23
23
  ## Hard constraints
24
24
 
25
- - Run only the requested check. Do not fix code, run other checks, or edit files.
25
+ - Run only the requested check. Do not fix code, run other checks, or edit files. Keep the exact
26
+ task-card candidate fingerprints; never combine another candidate's output.
27
+ - Distinguish environment/tooling failures from code or test failures in `failures`.
26
28
  - Do not call any Skill tool. Do not make stage decisions.
27
29
 
28
30
  ## Output (return exactly this)
29
31
 
30
- - `check_type`: lint | typecheck | test | build
32
+ - `check_type`: lint | typecheck | test | build | coverage
33
+ - `check`: copy unchanged from the task card
34
+ - `command`: the exact command that was run
31
35
  - `passed`: true | false (from the real exit status)
36
+ - `quality_attempt`: copy unchanged from the task card
37
+ - `failure_classes`: array of code-defect | test-defect | contract-ambiguity | environment;
38
+ empty when passed
39
+ - `timestamp`: current ISO timestamp with timezone
40
+ - `repo_id` and `source_task_id`: copy unchanged when present in the task card
32
41
  - `failures`: array of failure messages (empty if passed)
33
42
  - `command_output`: the relevant tail of stdout/stderr
34
43
  - `implementation_fingerprint`: copy unchanged from the task card
@@ -46,7 +46,7 @@ decision_status: [[EC_TODO:仅当所有实质性问题均已解决并回填后
46
46
  - **关联历史任务**:[[EC_TODO:相关短期记忆 ID;无则“无”]]
47
47
 
48
48
  ### 改动范围
49
- > 只列真实项目源码/配置文件的改动。禁止把 `.easy-coding/` 下的 harness 产物(dev-spec / execution.jsonl / test-strategy / 记忆 / 报告等)当作改动对象。本表为空仅允许用于"用户明确要求的无代码交付形态";代码类任务(重构/修复/功能)若此表为空,即为自我降级。
49
+ > 只列真实项目源码/配置文件的改动。禁止把 `.easy-coding/` 下的 harness 产物(dev-spec / execution.jsonl / test-strategy / 记忆 / 报告等)当作改动对象。Harness 只为明确的仓库修改创建任务,因此本表不得为空。
50
50
 
51
51
  | 改动文件 | 改动类型 | 文件编码 | 改动核心内容 |
52
52
  |----------|---------|---------|-------------|
@@ -90,7 +90,7 @@ decision_status: [[EC_TODO:仅当所有实质性问题均已解决并回填后
90
90
  - **机械最低模式**:[[EC_TODO:fast / standard / strict]]
91
91
  - **推荐并选择**:[[EC_TODO:fast / standard / strict]]
92
92
  - **选择原因**:[[EC_TODO:风险、范围和兼容性依据]]
93
- - **状态内执行差异**:[[EC_TODO:IMPLEMENT / REVIEW / VERIFICATION / MEMORY 将采用的深度]]
93
+ - **状态内执行差异**:[[EC_TODO:IMPLEMENT / QUALITY / MEMORY 将采用的深度]]
94
94
 
95
95
  ### 风险与注意事项
96
96
  - [[EC_TODO:风险 1]]