dsh-task-ledger 0.1.10 → 0.1.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-task-ledger",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "Tasks are created, claimed, advanced and closed by the agent and written straight into a plain-text ledger in the workspace, so the owner, the current state and the next step are always on record. It is not limited to development work — research, documentation, presentations and video production all fit. No cloud service is involved: everything is managed locally. Single-user and multi-user both work, with Git synchronisation, and every action is on record. The control panel summarises in-flight, overdue and stalled work with weekly trends.",
5
5
  "icon": "./assets/icon.svg",
6
6
  "keywords": [
@@ -65,6 +65,6 @@
65
65
  },
66
66
  "dependencies": {
67
67
  "@deepseek-ai/schemastery": "^3.18.5",
68
- "dsh-plugin-core": "^0.35.7"
68
+ "dsh-plugin-core": "^0.35.17"
69
69
  }
70
70
  }
package/skill/README.md CHANGED
@@ -56,7 +56,7 @@ Then copy it for the agent you use. User-level paths apply to every project; pro
56
56
 
57
57
  **Other agents.** Place the directory under `.agents/skills/task-ledger/`, or wherever the agent scans for `SKILL.md`. Nothing in the package depends on the host: the CLI is a static binary, the content is Markdown.
58
58
 
59
- **Windows.** Substitute `%USERPROFILE%\` for `~`. The CLI ships binaries for Linux (amd64), macOS (arm64) and Windows (amd64); the wrapper script selects the right one.
59
+ **Windows.** Substitute `%USERPROFILE%\` for `~`, and replace every `scripts/progress` below with `scripts\bin\ledger-windows-amd64.exe`: CreateProcessW cannot execute an extensionless sh wrapper (it appends `.exe`, finds nothing, and fails). The wrapper still works under Git Bash / WSL. The CLI ships binaries for Linux (amd64), macOS (arm64) and Windows (amd64).
60
60
 
61
61
  ## First run
62
62
 
@@ -68,7 +68,7 @@ Once per machine, initialise the identity that signs every ledger entry. The ste
68
68
 
69
69
  On a second machine, run `init` without arguments and claim the identity already present in the ledger roster, so that both machines write under the same account.
70
70
 
71
- No runtime, package manager or network access is required afterwards.
71
+ No runtime, package manager or network access is required afterwards. Multi-user synchronisation requires Git 2.27 or newer.
72
72
 
73
73
  ## Using it
74
74
 
@@ -96,6 +96,18 @@ Four rules bind the agent:
96
96
  - It completes the written record before closing: a closed task cannot be written to again.
97
97
  - When it cannot find a task for the work at hand, it asks whether to create one instead of registering work you did not ask for.
98
98
 
99
+ ### Recommended: put it in your rules file
100
+
101
+ The skill only loads when a request matches one of those intents, and "should this piece of work be tracked" is not one of them. A standing rule in the project's `AGENTS.md` (or whichever rules file your agent reads) is far more reliable on its own. Copy this block:
102
+
103
+ ```markdown
104
+ - **Every piece of task progress, work item and work log (create / advance / query / close) goes through the `task-ledger` skill**; answer progress and history questions from it, never from conversation memory or a hand-rolled list.
105
+ - **Creation anchor**: hand something to `task-ledger` only when the user explicitly asks for a new task ("open a task", "log this first", "create a task"). Questions, queries, discussion and small incidental edits do not count — ask when unsure, and never create a task without an explicit instruction.
106
+ - **Ask in passing**: when the user is pushing forward work that spans turns (this turn ends with actions still on your plate) and has never mentioned tracking it, ask once after answering: "你现在这个任务是需要帮你建一个台账吗?(如果无需,忽略这句话,也不用去回复。)" Once asked in a session, do not ask again; no reply means ignore it.
107
+ ```
108
+
109
+ Without it the skill still works — it just acts only when you mention the task yourself.
110
+
99
111
  ## What gets written
100
112
 
101
113
  ```
@@ -116,7 +128,7 @@ State and prose are kept apart: JSON records ownership and state, Markdown recor
116
128
  | `init` | Initialise or claim the machine identity (once per machine) |
117
129
  | `new` | Create a task |
118
130
  | `claim` | Take ownership of a task |
119
- | `set` | Change state, owner, tags or notes |
131
+ | `set` | Release a task, hand it to someone, or replace its tags |
120
132
  | `log` | Append an execution record to a task document |
121
133
  | `close` | Close a task and write its history row |
122
134
  | `delete` | Delete a task created in error |