catenext 0.9.0 → 0.10.0

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
@@ -10,6 +10,18 @@ tag yang versinya belum ada di file ini. Perbarui juga [docs/STATUS.md](docs/STA
10
10
 
11
11
  ## [Belum dirilis]
12
12
 
13
+ ## [0.10.0] - 2026-11-27
14
+
15
+ ### Ditambahkan
16
+ - Managed worktrees: `claim --create-worktree` / `--worktree`, `worktree list`, dan `worktree prune` (preview default; `--apply` hanya menghapus checkout managed yang eligible — bukan primary/active/dirty/unmanaged, dan tidak menghapus branch).
17
+ - `catenext doctor` (read-only; `--fix` hanya perbaikan aman mode/izin file state; tidak pernah prune worktree).
18
+ - Stable Node launcher: `init`/`sync` memilih ServBay/nvm `current` atau `node` di PATH daripada `process.execPath` yang berversi; override dengan `--mcp-command`.
19
+ - MCP planning CRUD (`update_task`, `update_epic`, `set_dependencies`, `cancel_task`) tersembunyi/ditolak kecuali proses diluncurkan dengan `--allow-crud` eksplisit (role worker tetap ditolak); approval tetap CLI-human-only.
20
+ - SQLite schema v4: persistensi `position` task serta resolusi persona ID namespace proyek.
21
+
22
+ ### Diubah
23
+ - Doctor memakai inventori registrasi Git worktree (bukan lifecycle inventory penuh) agar tetap read-only dan independen dari ketersediaan SQLite.
24
+
13
25
  ## [0.9.0] - 2026-11-27
14
26
 
15
27
  ### Ditambahkan
package/README.md CHANGED
@@ -297,13 +297,35 @@ worktree, mengintegrasikan bila perlu, lalu bertanya: **PR** · **merge ke main*
297
297
  **next**. Subagent tidak boleh merge `main` sendiri.
298
298
 
299
299
  ```bash
300
+ # buat checkout baru lalu claim, atau claim di checkout yang sudah ada
301
+ catenext claim <task_id> --as bambang --create-worktree --branch feat/api --path ../api-lane
300
302
  catenext claim <task_id> --as bambang --worktree
303
+ catenext worktree list # inventori Git + lease (read-only)
304
+ catenext worktree prune # pratinjau saja (default)
305
+ catenext worktree prune --apply # hapus checkout managed yang eligible; branch tetap
301
306
  catenext done <task_id> --lease <lease_id> --notes "…" --verify "pnpm test" \
302
307
  --pr https://github.com/owner/repo/pull/42 --base main
303
308
  ```
304
309
 
310
+ `prune` selalu pratinjau dulu; checkout primary, aktif, kotor, atau unmanaged tidak dihapus.
305
311
  URL PR opsional — hanya referensi lokal; review lokal tidak membuktikan merge remote.
306
312
 
313
+ ## Doctor dan MCP CRUD
314
+
315
+ ```bash
316
+ catenext doctor # diagnostik read-only (SQLite schema v4, MCP, registrasi Git)
317
+ catenext doctor --fix # perbaikan aman (mode/izin file state) — tidak pernah prune worktree
318
+ catenext mcp # default: tool CRUD disembunyikan + ditolak
319
+ catenext mcp --allow-crud # opt-in instance lokal terpercaya (tidak untuk --role worker)
320
+ ```
321
+
322
+ - Doctor melaporkan registrasi Git yang `prunable`, terpisah dari eligibility `worktree prune`.
323
+ - Tool MCP `update_task` / `update_epic` / `set_dependencies` / `cancel_task` hanya muncul bila
324
+ diluncurkan dengan `--allow-crud`. Persetujuan tetap CLI manusia (`task approve` /
325
+ `review approve`).
326
+ - `init`/`sync` memilih launcher Node stabil (symlink ServBay/nvm `current` atau `node` di PATH)
327
+ agar path berversi tidak merusak entri MCP IDE; override dengan `--mcp-command` bila perlu.
328
+
307
329
  ## Revisi tanpa task baru
308
330
 
309
331
  ```bash
@@ -373,19 +395,21 @@ Backup SQLite terpisah jika perlu. Data Cloud lama **tidak** dimigrasi otomatis.
373
395
  | `brief` | `session_brief` | Ringkasan sesi + pending approval |
374
396
  | `board` | `get_project_board` | Papan lintas repo |
375
397
  | `root list\|add\|remove` | `manage_roots` | Workspace root milik persona |
376
- | `next` / `claim` / `done` | `get_ready_tasks` / `claim_task` / `complete_handoff` | Ambil & serahkan task |
398
+ | `next` / `claim` / `done` | `get_ready_tasks` / `claim_task` / `complete_handoff` | Ambil & serahkan task (`claim --worktree` / `--create-worktree`) |
399
+ | `worktree list\|prune` | - | Inventori lease; prune pratinjau-by-default (`--apply` untuk hapus) |
377
400
  | `block` / `release` | `report_blocker` / `release_task` | Blokir / lepas lease |
378
401
  | `task approve` / `review approve` | - (manusia) | Setujui rencana / handoff |
379
402
  | `revise` / `assign` | `manage_task` | Revisi / ganti penanggung jawab |
380
403
  | `persona list\|set` | `list_personas` / `upsert_persona` | Persona proyek |
381
404
  | `doc …` | `get_document` / `save_document` | Dokumen lokal |
382
- | `epic` / `task create\|update\|cancel\|deps` | `list_epics` / `create_epic` / `create_tasks` | Rencana & CRUD lokal (DRAFT) |
405
+ | `epic` / `task create\|update\|cancel\|deps` | `list_epics` / `create_epic` / `create_tasks` (+ CRUD opt-in) | Rencana & CRUD lokal (DRAFT) |
383
406
  | `review …` | `review_pull_request` | Antrean review lokal |
384
407
  | `skill load` | `load_skill` / `save_repo_skill` | Skill repo |
385
408
  | `index` / `search` | `graph_neighbors` / `symbol_search` / `search_context` | Graf & pencarian lokal |
386
409
  | `log` | - | Audit log event task (`task_events`) |
387
410
  | `permission list\|set\|grant\|revoke` | - | Matriks permission lokal |
388
- | `mcp` | - | Server MCP stdio |
411
+ | `doctor` | - | Diagnostik lokal read-only (`--fix` aman, tidak prune) |
412
+ | `mcp` | - | Server MCP stdio (`--allow-crud` opt-in; worker ditolak) |
389
413
  | - | `interview_setup` | Kartu opsi setup untuk interview |
390
414
 
391
415
  Semua perintah CLI menerima `--json`. `catenext --help` untuk opsi lengkap.