easy-coding-harness 0.10.0-beta.3 → 0.10.0-beta.5
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 +42 -0
- package/README.md +13 -5
- package/package.json +1 -1
- package/templates/claude/agents/ec-implementer.md +1 -0
- package/templates/codex/agents/ec-implementer.toml +1 -0
- package/templates/common/bundled-skills/ec-init/SKILL.md +3 -1
- package/templates/common/bundled-skills/ec-meta/references/local-architecture/README.md +15 -7
- package/templates/common/skills/ec-analysis/SKILL.md +50 -9
- package/templates/common/skills/ec-git/SKILL.md +7 -1
- package/templates/common/skills/ec-implementing/SKILL.md +34 -1
- package/templates/common/skills/ec-memory/SKILL.md +65 -3
- package/templates/common/skills/ec-reviewing/SKILL.md +6 -0
- package/templates/common/skills/ec-task-close/SKILL.md +4 -0
- package/templates/common/skills/ec-task-management/SKILL.md +7 -1
- package/templates/common/skills/ec-verification/SKILL.md +11 -1
- package/templates/common/skills/ec-workflow/SKILL.md +16 -2
- package/templates/main-constraint/AGENTS.md.tpl +15 -4
- package/templates/main-constraint/CLAUDE.md.tpl +15 -4
- package/templates/qoder/agents/ec-implementer.md +1 -0
- package/templates/runtime/templates/dev-spec-skeleton.md +8 -1
- package/templates/shared-hooks/easy_coding_state.py +2120 -109
- package/templates/shared-hooks/easy_dev_spec.py +87 -12
- package/templates/shared-hooks/easy_dev_spec_execution.py +1014 -0
- package/templates/shared-hooks/easy_dev_spec_protocol.py +1426 -18
|
@@ -74,13 +74,22 @@ First run `/ec-init`; daily work goes through `/ec-workflow`.
|
|
|
74
74
|
only Easy Coding workflow/stage orchestration for this session. Continue honoring every
|
|
75
75
|
non-Easy-Coding skill, hook, and instruction. Do not clear or mutate the suspended task.
|
|
76
76
|
- ANALYSIS must follow template-first: read `.easy-coding/templates/dev-spec-skeleton.md` then
|
|
77
|
-
write its exact content to the task's dev-spec.md as the FIRST tool calls. Next inspect evidence
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
77
|
+
write its exact content to the task's dev-spec.md as the FIRST tool calls. Next inspect evidence,
|
|
78
|
+
set `decision_status: open`, ask every unresolved material decision, and progressively record
|
|
79
|
+
each confirmed answer and its evidence in `### 决策闭环`. Only after all material decisions are
|
|
80
|
+
resolved may the agent set the single `decision_status: closed`, finalize the artifacts, and
|
|
81
|
+
propose IMPLEMENT. The session presentation is a concise core-solution, acceptance, workflow,
|
|
82
|
+
and risk summary with an absolute local link/path to the full dev-spec.md; never paste the full
|
|
83
|
+
artifact by default. The final artifact contains neither `[阶段:ANALYSIS]` nor a
|
|
84
|
+
`待用户决策` section.
|
|
81
85
|
- REVIEW and VERIFICATION are fingerprinted hard gates. Review evidence must match the final
|
|
82
86
|
implementation; verification evidence must match final implementation and config. The frozen
|
|
83
87
|
workflow mode selects targeted, impacted, or full commands without weakening the green gate.
|
|
88
|
+
- Canonical-backed tasks bind static validity to design revision + `design_sha256`, while
|
|
89
|
+
`document_sha256` and `execution_revision` may advance through shared writer commands. Project-
|
|
90
|
+
external explicit Spec paths are allowed and may be repaired only with identity-checked rebind.
|
|
91
|
+
Runtime progress must use the shared writer with CAS/idempotency and reconciliation; static
|
|
92
|
+
design changes require revision + READY + `sync-spec-design`. Never hand-edit `EDS:EXECUTION`.
|
|
84
93
|
- MEMORY combines short-memory creation and the conditional long-memory gate. Entry follows the
|
|
85
94
|
effective confirmation mode; once memory processing completes, COMPLETE is automatic.
|
|
86
95
|
- NO CODE-TASK COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE.
|
|
@@ -100,6 +109,8 @@ First run `/ec-init`; daily work goes through `/ec-workflow`.
|
|
|
100
109
|
creates the project-init task — agent skills perform all project analysis.
|
|
101
110
|
- Cross-repo references in git-tracked task artifacts use repo NAMES, never local paths.
|
|
102
111
|
Cache local paths only through the state script so they land on the current task.
|
|
112
|
+
- Shared Canonical writeback is a stage gate but not proof of Git commit/push, and Git delivery is
|
|
113
|
+
not proof of writeback. Keep those facts and scopes separate.
|
|
103
114
|
{{supermodule_boundary}}
|
|
104
115
|
|
|
105
116
|
<!-- ═══ end easy-coding-harness generated ═══ -->
|
|
@@ -18,6 +18,7 @@ complete exactly that unit. Your reply IS the return value, not a message to a h
|
|
|
18
18
|
context is in the card.
|
|
19
19
|
- Make no workflow stage-transition decisions; you do not know the state machine exists.
|
|
20
20
|
- Follow the coding rules and architecture context embedded in the card.
|
|
21
|
+
- Treat the task card's `Code Comments` author value and field/member/constant rules as mandatory.
|
|
21
22
|
- Treat acceptance criteria, test points, contracts, and risks in the card as required inputs.
|
|
22
23
|
- Run the exact targeted checks requested by the card and report their real outcome.
|
|
23
24
|
- Preserve each existing file's original encoding; never silently convert.
|
|
@@ -24,8 +24,15 @@
|
|
|
24
24
|
- 需求 vs 现有代码:[[EC_TODO:填写结果或“无冲突”]]
|
|
25
25
|
- Dev-Spec vs 现有代码:[[EC_TODO:填写结果或“无冲突”]]
|
|
26
26
|
|
|
27
|
+
### 决策闭环
|
|
28
|
+
decision_status: [[EC_TODO:仅当所有实质性问题均已解决并回填后写 closed]]
|
|
29
|
+
- **已解决问题与结论**:[[EC_TODO:逐项记录影响技术路线、接口、模型、状态、范围或验收的问题及最终结论;无则写“无”]]
|
|
30
|
+
- **确认依据**:[[EC_TODO:用户答复、冻结 Spec、现有代码证据或“无额外决策”]]
|
|
31
|
+
|
|
27
32
|
### Canonical Spec 来源
|
|
28
|
-
-
|
|
33
|
+
- **来源定位**:[[EC_TODO:非 Canonical 任务写“无”;否则填写 path、path_mode、spec_id 与 design revision]]
|
|
34
|
+
- **设计 / 文档摘要**:[[EC_TODO:非 Canonical 任务写“无”;否则填写 design_sha256、document_sha256]]
|
|
35
|
+
- **共享执行状态**:[[EC_TODO:非 Canonical 任务写“无”;否则填写 execution_revision、writeback 状态及是否需要 reconcile]]
|
|
29
36
|
- **选择任务 / 仓库**:[[EC_TODO:非 Canonical 任务写“无”;否则填写 selected task IDs 与 repo IDs]]
|
|
30
37
|
- **消费闭包**:[[EC_TODO:非 Canonical 任务写“无”;否则填写 contracts、direct dependencies、changes、steps、tests 摘要]]
|
|
31
38
|
- **基线与冲突**:[[EC_TODO:非 Canonical 任务写“无”;否则逐仓填写 exact/scope-unchanged/scope-drifted/baseline-unavailable 及处理结论]]
|