easy-coding-harness 0.7.0 → 0.7.1-beta0
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 +6 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/templates/common/skills/ec-task-management/SKILL.md +23 -5
- package/templates/main-constraint/AGENTS.md.tpl +2 -2
- package/templates/main-constraint/CLAUDE.md.tpl +2 -2
- package/templates/shared-hooks/easy_coding_state.py +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
- `y`:常规功能升级
|
|
7
7
|
- `z`:日常 bug 修复
|
|
8
8
|
|
|
9
|
+
## 0.7.1-beta0
|
|
10
|
+
|
|
11
|
+
- 修复裸唤起 `ec-task-management` 时只显示任务列表、未暴露 session 确认模式的问题:默认面板现在始终读取 session snapshot,并展示项目模式、session 覆盖和最终生效模式,即使没有未完成任务也不会省略。
|
|
12
|
+
- 面板明确提供通过对话设置 `approve`、`guard`、`auto` 或恢复项目默认值的入口;裸唤起保持只读,不会自动修改 session。
|
|
13
|
+
- Ready 状态、Claude/Codex/Qoder 主约束、安装测试和使用文档同步将 `ec-task-management` 标明为任务与 session 设置面板。
|
|
14
|
+
|
|
9
15
|
## 0.7.0
|
|
10
16
|
|
|
11
17
|
- 新增 `behavior.confirm_mode`,提供 `approve`、`guard`(默认)和 `auto` 三种状态确认策略;session 中的覆盖值优先于项目配置。
|
package/README.md
CHANGED
|
@@ -125,7 +125,7 @@ any stage --[user abort via ec-task-close]--> CLOSED
|
|
|
125
125
|
| `ec-reviewing` | 多维度代码审查,输出 accept / fix / replan / blocked 结论 |
|
|
126
126
|
| `ec-verification` | 执行 lint、typecheck、test 等验证硬门控,并处理验收修复循环 |
|
|
127
127
|
| `ec-memory` | 写短期记忆,并在超过阈值时沉淀长期记忆 |
|
|
128
|
-
| `ec-task-management` |
|
|
128
|
+
| `ec-task-management` | 任务与 session 面板:查看、创建、选择、恢复任务并管理当前会话确认模式 |
|
|
129
129
|
| `ec-task-close` | 用户主动中断任务并关闭 |
|
|
130
130
|
| `ec-no-harness` | 当前会话仅旁路 Easy Coding Harness,使用原生 Agent 能力 |
|
|
131
131
|
| `ec-git` | 约束 git diff、commit、push、跨仓库提交等交付动作 |
|
package/package.json
CHANGED
|
@@ -3,14 +3,32 @@ name: ec-task-management
|
|
|
3
3
|
description: Task and session panel for Easy Coding. Use when the user runs {{skill_trigger}}ec-task-management, asks to see/create/continue/take over tasks, or asks to view or change the current session confirm mode.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# ec-task-management — the task panel
|
|
6
|
+
# ec-task-management — the task and session panel
|
|
7
7
|
|
|
8
|
-
A
|
|
9
|
-
to continue or take over
|
|
10
|
-
to ec-task-close.
|
|
8
|
+
A combined task and session panel: list unfinished tasks, create tasks, let the user choose one
|
|
9
|
+
task to continue or take over, and manage the current session's confirm mode. Stage progression
|
|
10
|
+
still belongs to ec-workflow; closure belongs to ec-task-close.
|
|
11
11
|
|
|
12
12
|
Communicate with the user in the user's language.
|
|
13
13
|
|
|
14
|
+
## Default panel contract
|
|
15
|
+
|
|
16
|
+
A bare `{{skill_trigger}}ec-task-management` invocation means "show the full task and session
|
|
17
|
+
panel", not just the unfinished task list. On every invocation:
|
|
18
|
+
|
|
19
|
+
1. Call `list-tasks --agent <agent-id>`.
|
|
20
|
+
2. Call `snapshot --session-file <P>`.
|
|
21
|
+
3. Show the unfinished tasks and a separate "Session confirm mode" section containing:
|
|
22
|
+
- `project_confirm_mode`
|
|
23
|
+
- `session_confirm_mode` (`project default` when null)
|
|
24
|
+
- `effective_confirm_mode`
|
|
25
|
+
4. Show the supported conversational changes in the user's language: set this session to
|
|
26
|
+
`approve`, `guard`, or `auto`, and restore the project default.
|
|
27
|
+
|
|
28
|
+
Never omit the confirm-mode section, even when the unfinished task list is empty. A bare panel
|
|
29
|
+
invocation is read-only: do not set or clear the session override until the user explicitly asks
|
|
30
|
+
for a change.
|
|
31
|
+
|
|
14
32
|
## Capabilities
|
|
15
33
|
|
|
16
34
|
### List unfinished tasks
|
|
@@ -64,7 +82,7 @@ the current turn instead of older hook-injected status text.
|
|
|
64
82
|
|
|
65
83
|
### View or change this session's confirm mode
|
|
66
84
|
|
|
67
|
-
|
|
85
|
+
Use the snapshot already required by the default panel and show:
|
|
68
86
|
- `project_confirm_mode`
|
|
69
87
|
- `session_confirm_mode` (`project default` when null)
|
|
70
88
|
- `effective_confirm_mode`
|
|
@@ -11,7 +11,7 @@ user in the user's language.
|
|
|
11
11
|
Start every work reply with the single Markdown blockquote status line injected by the hook,
|
|
12
12
|
then a blank line. Do not render the machine breadcrumbs to the user.
|
|
13
13
|
|
|
14
|
-
- Ready: > **Easy Coding** · Ready · Use `ec-workflow` to start or resume a task, `ec-brainstorming` to brainstorm, or `ec-task-management` to
|
|
14
|
+
- Ready: > **Easy Coding** · Ready · Use `ec-workflow` to start or resume a task, `ec-brainstorming` to brainstorm, or `ec-task-management` to manage tasks or session settings
|
|
15
15
|
- Waiting init: > **Easy Coding** · Waiting init · Use `ec-init` to initialize
|
|
16
16
|
- Active task: > **Easy Coding** · `{current-task}` · `{workflow-state}`
|
|
17
17
|
- Handoff: > **Easy Coding** · `{current-task}` · `{workflow-state}` · Handoff -> `{source-agent}`
|
|
@@ -28,7 +28,7 @@ Trigger Easy Coding skills with your platform prefix — Codex: `$ec-*`, Qoder:
|
|
|
28
28
|
- `ec-brainstorming` — design exploration before building (hard design gate)
|
|
29
29
|
- `ec-analysis` `ec-implementing` `ec-reviewing` `ec-verification` — workflow stages
|
|
30
30
|
- `ec-memory` — short/long memory archive
|
|
31
|
-
- `ec-task-management` — list/create tasks · `ec-task-close` — interrupt a task
|
|
31
|
+
- `ec-task-management` — task/session panel: list/create tasks and view/change the session confirm mode · `ec-task-close` — interrupt a task
|
|
32
32
|
- `ec-no-harness` — bypass only Easy Coding for the current session
|
|
33
33
|
- `ec-git` — git discipline · `ec-meta` — understand/customize the harness
|
|
34
34
|
|
|
@@ -11,7 +11,7 @@ user in the user's language.
|
|
|
11
11
|
Start every work reply with the single Markdown blockquote status line injected by the hook,
|
|
12
12
|
then a blank line. Do not render the machine breadcrumbs to the user.
|
|
13
13
|
|
|
14
|
-
- Ready: > **Easy Coding** · Ready · Use `ec-workflow` to start or resume a task, `ec-brainstorming` to brainstorm, or `ec-task-management` to
|
|
14
|
+
- Ready: > **Easy Coding** · Ready · Use `ec-workflow` to start or resume a task, `ec-brainstorming` to brainstorm, or `ec-task-management` to manage tasks or session settings
|
|
15
15
|
- Waiting init: > **Easy Coding** · Waiting init · Use `ec-init` to initialize
|
|
16
16
|
- Active task: > **Easy Coding** · `{current-task}` · `{workflow-state}`
|
|
17
17
|
- Handoff: > **Easy Coding** · `{current-task}` · `{workflow-state}` · Handoff -> `{source-agent}`
|
|
@@ -26,7 +26,7 @@ platform prefixes such as `/` or `$`. If no status line is injected, do not inve
|
|
|
26
26
|
- `/ec-brainstorming` — design exploration before building (hard design gate)
|
|
27
27
|
- `/ec-analysis` `/ec-implementing` `/ec-reviewing` `/ec-verification` — workflow stages
|
|
28
28
|
- `/ec-memory` — short/long memory archive
|
|
29
|
-
- `/ec-task-management` — list/create tasks · `/ec-task-close` — interrupt a task
|
|
29
|
+
- `/ec-task-management` — task/session panel: list/create tasks and view/change the session confirm mode · `/ec-task-close` — interrupt a task
|
|
30
30
|
- `/ec-no-harness` — bypass only Easy Coding for the current session
|
|
31
31
|
- `/ec-git` — git discipline · `/ec-meta` — understand/customize the harness
|
|
32
32
|
|
|
@@ -12,11 +12,11 @@ import sys
|
|
|
12
12
|
TERMINAL_STATUSES = {"COMPLETE", "CLOSED"}
|
|
13
13
|
HELP_SUFFIX = (
|
|
14
14
|
"Use `ec-workflow` to start or resume a task, "
|
|
15
|
-
"`ec-brainstorming` to brainstorm, or `ec-task-management` to
|
|
15
|
+
"`ec-brainstorming` to brainstorm, or `ec-task-management` to manage tasks or session settings"
|
|
16
16
|
)
|
|
17
17
|
READY_LINE = (
|
|
18
18
|
"> **Easy Coding** · Ready · Use `ec-workflow` to start or resume a task, "
|
|
19
|
-
"`ec-brainstorming` to brainstorm, or `ec-task-management` to
|
|
19
|
+
"`ec-brainstorming` to brainstorm, or `ec-task-management` to manage tasks or session settings"
|
|
20
20
|
)
|
|
21
21
|
WAITING_INIT_LINE = "> **Easy Coding** · Waiting init · Use `ec-init` to initialize"
|
|
22
22
|
|