prjct-cli 2.0.0-alpha.12 → 2.1.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,76 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.1.1] - 2026-04-22
4
+
5
+ Closes the v2 migration gap shipped (incompletely) in `2.1.0` and
6
+ `2.0.0-alpha.12`. The v2 sweep deleted the v1 workflow verbs (`done`,
7
+ `pause`, `resume`, `next`, `reopen`, `dash`, `bug`, `idea`, `linear`,
8
+ `jira`, `tokens`, `velocity`, `plan`) in favour of the `status`/`capture`
9
+ primitives — but left the templates, state machine prompts, the
10
+ installed `CLAUDE.md`, and the context config pointing at ghosts. The
11
+ result was two user-visible regressions (P0 bugs):
12
+
13
+ ### Fixed
14
+ - **P0 — silent-capture data loss.** Typing `prjct done`/`prjct pause`
15
+ on an active task no longer quietly files a note called "done" into
16
+ the inbox. Removed verbs now short-circuit with a migration message
17
+ and exit 1. Matching check added on both the fallback path
18
+ (`core/index.ts`) and the daemon path (`core/daemon/daemon.ts`).
19
+ New module: `core/commands/removed-verbs.ts` is the single source of
20
+ truth for the migration map.
21
+ - **P0 — `prjct ship` degraded prereleases.** `bumpPatch` stripped the
22
+ prerelease suffix (`2.0.0-alpha.12` → `2.0.1`), corrupting the alpha
23
+ channel on every ship. Rewritten to follow semver rules:
24
+ `2.0.0-alpha.12` → `2.0.0-alpha.13`, `0.1.0-beta` → `0.1.0-beta.1`,
25
+ stable bumps unchanged. Build metadata (`+xyz`) is dropped to match
26
+ npm/pnpm behavior. Test coverage added in
27
+ `core/__tests__/services/version-service.test.ts`.
28
+
29
+ ### Changed
30
+ - State machine (`core/workflow/state-machine.ts`) prompts and
31
+ `formatNextSteps()` now emit executable `prjct …` invocations that
32
+ map to the v2 CLI. `done`/`pause`/`resume`/`reopen` are surfaced as
33
+ `prjct status <value>`. Internal `WorkflowCommand` tokens stay for
34
+ lifecycle validation.
35
+ - `canTransition()` error wording is state-transition-centric instead of
36
+ advertising non-existent CLI verbs.
37
+ - `core/config/command-context.config.json` bumped to `2.0.0` and pruned
38
+ to registered v2 verbs only. Removed mappings for
39
+ `done/dash/next/pause/resume/idea/bug/spec/feature/cleanup/design/now/history/test/work/build/review/refactor/fix`.
40
+ - `GLOBAL_CLAUDE_MD_CONTENT` (`core/infrastructure/command-installer.ts`)
41
+ rewritten: auto-activate list is the v2 surface; a concise v2
42
+ lifecycle cheat-sheet replaces the ghost-verb flow.
43
+ - `CommandMethodName` (`core/types/commands.ts`) narrowed to registered
44
+ method names. `WorkflowCommand` (`core/types/workflow.ts`) no longer
45
+ includes `next` (never was a real transition).
46
+
47
+ ### Migration (for `prjct` users upgrading from v1.x)
48
+
49
+ | v1 verb | v2 replacement |
50
+ |---|---|
51
+ | `prjct done` | `prjct status done` |
52
+ | `prjct pause` | `prjct status paused` |
53
+ | `prjct resume` | `prjct status active` |
54
+ | `prjct reopen` | `prjct status active` (on completed task) |
55
+ | `prjct next` | `prjct status` |
56
+ | `prjct dash` | `prjct status` + web dashboard |
57
+ | `prjct bug "…"` | `prjct capture "…" --tags bug` |
58
+ | `prjct idea "…"` | `prjct capture "…" --tags idea` |
59
+ | `prjct linear …` / `prjct jira …` | MCP server (`prjct seed list`) |
60
+ | `prjct tokens` / `prjct velocity` / `prjct plan` | removed |
61
+
62
+ ### Operator note
63
+
64
+ Upgrading from `1.x` while a long-running daemon is alive may leave a
65
+ stale process bound to the socket. Run `prjct daemon stop` once after
66
+ install, or kill the pid in `~/.prjct-cli/run/daemon.pid`.
67
+
68
+ ## [2.1.0] - 2026-04-22
69
+
70
+ ### Features
71
+
72
+ - current work
73
+
3
74
  ## [2.0.0-alpha.12] - 2026-04-21
4
75
 
5
76
  Summary of the alpha.6 → alpha.12 arc and the dead-code / harness sweep