hzl-cli 1.19.2 → 1.20.1

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.
Files changed (2) hide show
  1. package/README.md +17 -11
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -367,20 +367,26 @@ If your coding agent supports an instruction file (for example `CLAUDE.md`, `AGE
367
367
  <!-- START [code:md] docs/snippets/agent-policy.md -->
368
368
  <!-- ⚠️ DO NOT EDIT - Auto-generated from docs/snippets/agent-policy.md -->
369
369
  ```md
370
- ### HZL task ledger (external task tracking for multi-session/multi-agent work)
370
+ ### HZL task ledger (external task tracking)
371
371
 
372
- HZL is an external task database. Use it when work outlives this session or involves other agents.
373
- Built-in task tracking (if available) is fine for single-session work you'll complete now.
372
+ HZL is an external task database. Use it whenever external tracking would help clarity, handoff, or auditability.
373
+ Multi-session or multi-agent work are common reasons to use HZL, not requirements.
374
+ Use HZL for single-session, single-agent work when the task is non-trivial.
374
375
 
375
- **When to use HZL:**
376
- - Work spanning multiple sessions or days
377
- - Coordination with other agents (Claude Code Codex Gemini)
378
- - Delegating to sub-agents with explicit handoff
379
- - User explicitly asks to track work in HZL
376
+ **Prefer using HZL when:**
377
+ - Work may outlive this session or is likely to be paused/resumed
378
+ - You want a durable record of decisions, progress, or ownership
379
+ - You expect handoff or review by another agent/person
380
+ - The user asks to track work in HZL
381
+ - The task is non-trivial (multiple steps, ~30+ minutes, or risky changes)
380
382
 
381
- **When NOT to use HZL:**
382
- - Single-session work you'll complete in this conversation
383
- - User hasn't mentioned persistence or multi-agent needs
383
+ **You can skip HZL when:**
384
+ - The work is small, clearly scoped, and will be completed immediately
385
+ - The user asks for a quick one-off answer or tiny change
386
+
387
+ **Rule of thumb:** If you feel tempted to make a multi-step plan or there is any chance you will not finish in this session, use HZL.
388
+
389
+ Example: "Investigate failing tests and fix root cause" -> use HZL because it likely involves multiple subtasks, even if you expect to finish within a session.
384
390
 
385
391
  **Structure:**
386
392
  - **Project** = stable container (one per repo). Check `hzl project list` before creating.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hzl-cli",
3
- "version": "1.19.2",
3
+ "version": "1.20.1",
4
4
  "description": "CLI for HZL - External task ledger for coding agents and OpenClaw.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -60,8 +60,8 @@
60
60
  "libsql": "^0.5.0",
61
61
  "commander": "^14.0.0",
62
62
  "zod": "^3.23.8",
63
- "hzl-core": "1.19.2",
64
- "hzl-web": "1.19.2"
63
+ "hzl-core": "1.20.1",
64
+ "hzl-web": "1.20.1"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@types/better-sqlite3": "^7.6.13",