easy-coding-harness 0.10.0-beta.8 → 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.
- package/CHANGELOG.md +72 -1
- package/README.md +32 -25
- package/dist/cli.js +364 -39
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
- package/templates/claude/agents/ec-implementer.md +7 -8
- package/templates/claude/agents/ec-reviewer.md +14 -2
- package/templates/claude/agents/ec-verifier.md +11 -2
- package/templates/codex/agents/ec-implementer.toml +7 -8
- package/templates/codex/agents/ec-reviewer.toml +14 -2
- package/templates/codex/agents/ec-verifier.toml +11 -2
- package/templates/common/bundled-skills/ec-init/SKILL.md +1 -1
- package/templates/common/bundled-skills/ec-meta/references/local-architecture/README.md +15 -11
- package/templates/common/skills/ec-analysis/SKILL.md +9 -8
- package/templates/common/skills/ec-config/SKILL.md +2 -2
- package/templates/common/skills/ec-implementing/SKILL.md +38 -31
- package/templates/common/skills/ec-lite/SKILL.md +74 -0
- package/templates/common/skills/ec-no-harness/SKILL.md +3 -0
- package/templates/common/skills/ec-quality/SKILL.md +153 -0
- package/templates/common/skills/ec-task-management/SKILL.md +9 -5
- package/templates/common/skills/ec-tdd-init/SKILL.md +5 -4
- package/templates/common/skills/ec-workflow/SKILL.md +25 -29
- package/templates/main-constraint/AGENTS.md.tpl +27 -15
- package/templates/main-constraint/CLAUDE.md.tpl +24 -15
- package/templates/qoder/agents/ec-implementer.md +7 -8
- package/templates/qoder/agents/ec-reviewer.md +14 -2
- package/templates/qoder/agents/ec-verifier.md +11 -2
- package/templates/runtime/templates/dev-spec-skeleton.md +2 -2
- package/templates/shared-hooks/easy_coding_state.py +2961 -372
- package/templates/claude/agents/ec-fixer.md +0 -37
- package/templates/codex/agents/ec-fixer.toml +0 -26
- package/templates/common/skills/ec-reviewing/SKILL.md +0 -109
- package/templates/common/skills/ec-verification/SKILL.md +0 -177
- package/templates/qoder/agents/ec-fixer.md +0 -37
|
@@ -21,8 +21,12 @@ dimension named in your task card. Your reply IS the return value.
|
|
|
21
21
|
- Do not request defensive null checks, abstraction, constant extraction, or legacy-wide comment
|
|
22
22
|
cleanup solely as generic best practice. Flag unjustified local-style deviations, speculative
|
|
23
23
|
layers, fragmented one-use micro-methods, constants created only for a getter return, and
|
|
24
|
-
missing Javadoc on any method/field in a new core Java class or any added/materially
|
|
25
|
-
method/field in an existing core Java class.
|
|
24
|
+
missing multiline Javadoc on any method/field in a new core Java class or any added/materially
|
|
25
|
+
modified method/field in an existing core Java class.
|
|
26
|
+
- Treat unrelated comment, formatting, import, naming, or refactor changes as minimum-diff
|
|
27
|
+
violations. Do not ask to clean up untouched legacy code.
|
|
28
|
+
- On the first pass, report the complete in-scope finding set. On a repair pass, review only the
|
|
29
|
+
repair delta and direct interactions; do not introduce unrelated style findings.
|
|
26
30
|
- `error` means a demonstrated acceptance, contract, security, or build failure. Use `warning`
|
|
27
31
|
for a credible risk and `info` for non-blocking maintainability advice.
|
|
28
32
|
|
|
@@ -35,5 +39,13 @@ dimension named in your task card. Your reply IS the return value.
|
|
|
35
39
|
## Output (return exactly this)
|
|
36
40
|
|
|
37
41
|
- `dimension`: your assigned dimension
|
|
42
|
+
- `passed`: true only when there are no `error` findings
|
|
43
|
+
- `implementation_fingerprint`: copy unchanged from the task card
|
|
44
|
+
- `quality_attempt`: copy unchanged from the task card
|
|
45
|
+
- `failure_classes`: array of code-defect | test-defect | contract-ambiguity | environment for
|
|
46
|
+
blocking findings; empty when passed
|
|
47
|
+
- `reviewer`: your canonical Agent identity
|
|
48
|
+
- `timestamp`: current ISO timestamp with timezone
|
|
49
|
+
- `repo_id` and `source_task_id`: copy unchanged when present in the task card
|
|
38
50
|
- `findings`: array of `{file, line, issue, severity}` (`severity`: info | warning | error)
|
|
39
51
|
- `suggestion`: optional fix direction per finding
|
|
@@ -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 /
|
|
93
|
+
- **状态内执行差异**:[[EC_TODO:IMPLEMENT / QUALITY / MEMORY 将采用的深度]]
|
|
94
94
|
|
|
95
95
|
### 风险与注意事项
|
|
96
96
|
- [[EC_TODO:风险 1]]
|