cadre-ai 3.1.0 → 3.2.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cadre",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "description": "A human-governed, Git-aware product delivery harness for Codex and Claude Code.",
5
5
  "author": {
6
6
  "name": "Cadre contributors"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cadre",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "description": "A human-governed, Git-aware product delivery harness for Codex and Claude Code.",
5
5
  "author": {
6
6
  "name": "Cadre contributors"
package/CHANGELOG.md CHANGED
@@ -1,5 +1,52 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.2.0] - 2026-08-07
4
+
5
+ Cadre 3.2.0 simplifies the execution and governance contracts after analysis
6
+ of a full production implementation/review/archive session. This is a breaking
7
+ MCP release with no compatibility shims for removed tools or apply arguments.
8
+
9
+ ### Breaking Changes
10
+
11
+ - Replaced `execution_node_*` and `execution_nodes_*` with the semantic
12
+ `execution_checkpoint_*` pair. Events expand into complete legal transition
13
+ sequences and `execution_status` now reports semantic event guidance.
14
+ - Changed mutation apply tools to accept only the opaque `proposalToken`
15
+ returned by preview. Repeated semantic inputs, caller-supplied digests, and
16
+ the `proposalDigest` response alias are removed.
17
+ - Removed caller-supplied execution IDs, timestamps, Git bases/heads, archive
18
+ batch IDs, archive commits, worktree phase IDs, and worktree base commits
19
+ where the runtime can derive them safely.
20
+ - Changed archive content inputs from arbitrary paths to structured pattern,
21
+ pattern-index, and active-track-seed updates. Template IDs are now validated
22
+ from the immutable catalog at the MCP boundary.
23
+
24
+ ### Changed
25
+
26
+ - Kept `phase` as the default approval mode and preserved recorded mode on
27
+ resume, while eliminating mechanical prompts covered by the active mode.
28
+ - Made execution finish atomically derive and write task/phase commit markers,
29
+ the completed journal, `ready_for_review` state, and `tracks.md`.
30
+ - Made bare archive selection include all eligible completed tracks in
31
+ dependency order and derive archive metadata from current state.
32
+ - Allowed canonical integration with only the exact active execution journal
33
+ dirty; unrelated product or Cadre changes still fail closed.
34
+
35
+ ### Fixed
36
+
37
+ - Added Git reachability validation for persisted project, track, plan,
38
+ execution, review, revision, and archive provenance.
39
+ - Derived clean-review and archive provenance from actual Git history instead
40
+ of accepting guessed SHAs, including ancestry-safe review bookkeeping.
41
+ - Added regression coverage for semantic checkpoints, proposal-token binding,
42
+ tracked-journal integration, atomic plan evidence, and unreachable commits.
43
+
44
+ ### Upgrade
45
+
46
+ - Reinstall the package and native plugins after upgrading. Start a new Codex
47
+ conversation and reload Claude Code plugins so the 3.2.0 MCP schemas replace
48
+ the removed 3.1.x contracts.
49
+
3
50
  ## [3.1.0] - 2026-07-30
4
51
 
5
52
  Compared with 3.0.2, this release adds explicit implementation approval modes,
package/README.md CHANGED
@@ -303,8 +303,7 @@ The `cadre` stdio server exposes immutable resources at `cadre://templates/v1/..
303
303
  | `archive_batch_preview` / `archive_batch_apply` | Preview/apply | Preview and apply selected moves, lifecycle states, patterns, seeds, journal, and post-archive index as one approved batch. |
304
304
  | `archive_batch_record_preview` / `archive_batch_record_apply` | Preview/apply | Record the resulting archive commit in track, project, and batch provenance without a second batch decision. |
305
305
  | `execution_start_preview` / `execution_start_apply` | Preview/apply | Create an approved, digest-gated execution journal and enter `in_progress`. |
306
- | `execution_node_preview` / `execution_node_apply` | Preview/apply | Persist one legal, dependency-gated execution-node transition and return its derived execution status. |
307
- | `execution_nodes_preview` / `execution_nodes_apply` | Preview/apply | Atomically persist an ordered batch of legal transitions behind one stale-state digest without crossing evidence or approval boundaries. |
306
+ | `execution_checkpoint_preview` / `execution_checkpoint_apply` | Preview/apply | Expand one semantic execution event into its complete legal, evidence-gated transition sequence and apply it atomically. |
308
307
  | `execution_status` | No | Derive ready phases, ready tasks within running phases, active nodes, and blockers. |
309
308
  | `execution_finish_preview` / `execution_finish_apply` | Preview/apply | Require completed nodes, current plan evidence, and removed worktrees before `ready_for_review`. |
310
309
  | `worktree_create_preview` / `worktree_create_apply` | Preview/apply | Create or reconcile one derived phase/task worktree and branch. |
@@ -74,7 +74,7 @@ import { dirname, extname, join as join2, relative, resolve as resolve2, sep } f
74
74
  import { fileURLToPath } from "node:url";
75
75
 
76
76
  // src/domain/version.ts
77
- var CADRE_RUNTIME_VERSION = "3.1.0";
77
+ var CADRE_RUNTIME_VERSION = "3.2.0";
78
78
  var TEMPLATE_SET_VERSION = "v1";
79
79
 
80
80
  // src/domain/templates.ts