easy-coding-harness 0.8.1-beta.1 → 0.8.1-beta.2

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 CHANGED
@@ -6,6 +6,12 @@
6
6
  - `y`:常规功能升级
7
7
  - `z`:日常 bug 修复
8
8
 
9
+ ## 0.8.1-beta.2
10
+
11
+ - `ec-git` 将 `COMPLETE` 与 `CLOSED` 统一识别为终态;提交涉及这两类任务时无需再询问是否提交中间态,任务产物直接按正常提交范围处理。
12
+ - git 提交范围改为基于完整工作区变更而非当前 Agent 的写入来源;`easy-coding upgrade` 生成的受管 Harness 文件默认纳入提交候选,同时继续排除 sessions、默认排除 `spec/dev/`,并分离真正无关的预存改动。
13
+ - Claude Code、Codex、Qoder 安装回归测试与设计文档同步固化终态任务和 CLI 升级产物的提交契约。
14
+
9
15
  ## 0.8.1-beta.1
10
16
 
11
17
  - 短期记忆不再扫描目录生成 `001/002` 数字前缀,改由状态 API 生成 UUIDv7 通用 ID;文件名前缀与 schema v2 frontmatter `id` 完全一致,同时保留日期和可读摘要,避免多人或多 Agent 并发写入时重名。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-coding-harness",
3
- "version": "0.8.1-beta.1",
3
+ "version": "0.8.1-beta.2",
4
4
  "description": "CLI scaffold for installing Easy Coding harness files into agent-native directories.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,21 +28,28 @@ with `.easy-coding/sessions/` always excluded. The CLI already added it to `.git
28
28
 
29
29
  ## Rules
30
30
 
31
- 1. **In-progress warning.** If the commit touches a task folder whose status is not COMPLETE,
32
- warn: "Task «X» is not finished — commit the intermediate state?" and wait.
33
- 2. **Conflict handling for `.easy-coding/`** (mostly `memory/`): first explain the conflict
31
+ 1. **Non-terminal warning.** If the commit touches a task folder whose status is neither
32
+ `COMPLETE` nor `CLOSED`, warn: "Task «X» is not finished — commit the intermediate state?"
33
+ and wait. `COMPLETE` and `CLOSED` are terminal states; include their task artifacts without
34
+ asking for intermediate-state confirmation.
35
+ 2. **CLI-managed upgrade changes.** Inspect the complete workspace change list before choosing
36
+ the commit set. Changes written by `easy-coding upgrade` to managed harness files are in
37
+ scope by default. Do not exclude them because the current agent did not write them or
38
+ because they were produced outside the current assistant turn. Preserve the explicit path
39
+ exclusions above, and report unrelated pre-existing work separately.
40
+ 3. **Conflict handling for `.easy-coding/`** (mostly `memory/`): first explain the conflict
34
41
  details to the user, get confirmation, then do an inductive semantic merge — never blindly
35
42
  pick ours/theirs. This requirement applies only to conflicts inside `.easy-coding/`.
36
- 3. **Cross-repo commit sets.** When a task spans repos (per the dev-spec / current task
43
+ 4. **Cross-repo commit sets.** When a task spans repos (per the dev-spec / current task
37
44
  `repo_paths`), the commit/push covers every involved repo. Read `repo_paths` from the
38
45
  current task state to locate each checkout, check changes, and commit/push them as one
39
46
  coherent change set — do not leave a sub-repo behind.
40
- 4. **Supermodule two-step commits.** If the current repo has `.gitmodules`, or the current
47
+ 5. **Supermodule two-step commits.** If the current repo has `.gitmodules`, or the current
41
48
  task touches a git submodule path, treat each submodule as an independent git boundary:
42
49
  commit and push child repos first, then commit and push the parent gitlink update. If a
43
50
  child repo is on a detached HEAD, stop and ask the user to choose or create a branch before
44
51
  committing there.
45
- 5. **No false success.** Never claim a commit or push succeeded without reading the command
52
+ 6. **No false success.** Never claim a commit or push succeeded without reading the command
46
53
  output. A failed push reported as success is a serious error.
47
54
 
48
55
  ## Boundaries
@@ -50,6 +57,8 @@ with `.easy-coding/sessions/` always excluded. The CLI already added it to `.git
50
57
  - Do not touch session files, task status fields, or run stage transitions — git only.
51
58
  - Do not commit `.easy-coding/sessions/`.
52
59
  - Do not commit `spec/dev/` unless the user explicitly asks.
60
+ - Do not omit managed `easy-coding upgrade` changes merely because they were created outside
61
+ the current agent turn.
53
62
  - In a supermodule task launched from the parent root, parent `.easy-coding/` belongs to the
54
63
  parent git. Child `.easy-coding/memory/` changes created by memory archive belong to the
55
64
  owning child git and must be committed before the parent gitlink update.