task-ledger 1.3.43 → 1.3.45

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/SKILL.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: task-ledger
3
3
  description: 本地任务台账,跨会话记录在办任务的归属、进度与起止。当用户要登记一件新的事(新建任务 / 建个坑 / 这活我领了)、记录已有任务的进展(接着做 / 记一条进展 / 这轮先记下)、查看任务状态或历史(现在该做什么 / 这活谁在做 / 上周做过什么)、给任务结案或退回(做完了 / 验收通过 / 不做了 / 退回待认领)、整理标签或检查台账一致性时加载;只是改代码、讨论方案时不要用。
4
- version: 1.3.43
4
+ version: 1.3.45
5
5
  allowed-tools: Read,Edit,Bash,Grep
6
6
  ---
7
7
 
@@ -224,11 +224,12 @@ allowed-tools: Read,Edit,Bash,Grep
224
224
  | `--since` / `--until` | 按**结案时间**筛(只给日期含当天) |
225
225
  | `--months N` | 最近 N 个自然月(与 `--since` / `--until` **互斥**,同传直接报错) |
226
226
  | `--limit N` | 最近 N 条 |
227
- | `--count-only` | 只输出 `{"count","capped"}`(与 `--json`、`--limit` 都互斥) |
228
- | `--json` | JSON 输出;**每条记录带 `mine`**(是不是自己结的,只比 uuid) |
227
+ | `--json` | JSON 输出;**每条记录带 `mine`**(是不是自己结的,只比 uuid);`count` 是**返回条数**(被 `--limit` 截断后),`capped` 为 true 表示还有更多没返回 |
229
228
 
230
229
  干什么:按结案时间倒序排列,每条一行,只列结案时间、负责人、标题,其他都不在表格里;要摘要 / 分类 / 标签 / 完整时间加 `--json`。不给时间参数 = 最近 3 个自然月;最多 13 个月,超了直接报错。
231
230
 
231
+ 要「某个时间窗内结案了多少」**别拿 `history` 数条数**(只覆盖 13 个月,且一给 `--limit`,`count` 就只是返回条数)—— 用 `stats --trend <粒度>` 的桶,`done` 就是该桶结案数。
232
+
232
233
  举例:「上周做过什么」→ `history --since <上周一日期>`;「今年都结掉哪些」→ `history --months 12`(超过 13 个月要分段查)。
233
234
 
234
235
  ### root — 台账根检测
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "task-ledger",
3
- "version": "1.3.43",
3
+ "version": "1.3.45",
4
4
  "description": "Task-ledger skill for coding agents: per-workspace progress tracking (ledger/pool.json + owners/<hash>.json shards + owners.json index, history, worklog) driven by a CLI script. Standalone install for CodeBuddy and other agents; also bundled inside the dsh-task-ledger DSH plugin.",
5
5
  "keywords": [
6
6
  "skill",
@@ -20,11 +20,12 @@
20
20
 
21
21
  ### 用法 / 参数类(退 1,改参数即可)
22
22
 
23
+ - **「history 不认这个参数:--count-only」**:调用方比脚本旧 —— `--count-only` 已于 1.3.44 删除(统计数改走 `stats --trend`)。DSH 插件升到 0.0.120 及以上;**改了 skill 就要同步升插件**,两包是同一份契约。
23
24
  - **「set 必须二选一:--release(释放回公共池)或 --owner <对方 uuid>(交接)」**:`set` 只认这两个,没有别的用法。
24
25
  - **「--release 与 --owner 不能同时给」**:释放不带人、交接不带释放,分开跑两次。
25
26
  - **「--owner 只收身份 uuid(形如 …),不接受名字 / 邮箱:X」**:身份参数传了名字。改传 uuid;要按显示名找人就加到查询里:`list --owner-name <片段>` / `history --owner-name <片段>`。
26
27
  - **「--owner 不能和 --mine / --pool 一起用」**:范围只能选一种。要按某个人筛就 `--owner <uuid>`,要看自己的就 `--mine`。
27
- - **「--count-only 与 --limit 不能同时用」/「--limit 必须 ≥ 1」**:计数不截断、列表才截断;`--limit 0` 没有意义。
28
+ - **「--limit 必须 ≥ 1」**:`--limit 0` 没有意义。
28
29
  - **「时间区间反了:--since(…)晚于 --until(…)」**:两端换过来。
29
30
  - **「认领目标不是 uuid:X」**:`init --claim` 抄了老台账的邮箱 / 名字键。老台账先迁到 uuid 身份;这台机器先 `init --new --name=<名字>`。
30
31
  - **「名册里没有 uuid=X」**:`init --claim` 抄了一个不在 `owners.json` 里的 uuid。不带参数跑一次 `init` 看可选用户再选。
Binary file
Binary file