cadre-ai 3.9.0 → 3.9.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cadre",
3
- "version": "3.9.0",
3
+ "version": "3.9.1",
4
4
  "description": "A human-governed, Git-aware product delivery harness for Codex, Claude Code, and Zed Agent.",
5
5
  "author": {
6
6
  "name": "Cadre contributors"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cadre",
3
- "version": "3.9.0",
3
+ "version": "3.9.1",
4
4
  "description": "A human-governed, Git-aware product delivery harness for Codex, Claude Code, and Zed Agent.",
5
5
  "author": {
6
6
  "name": "Cadre contributors"
package/CHANGELOG.md CHANGED
@@ -1,5 +1,42 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.9.1] - 2026-10-01
4
+
5
+ Cadre 3.9.1 fixes implementation/review bookkeeping loops and interrupted-operation recovery. Native Zed Agent joins Codex and Claude Code as a stable integration. Track remains the default approval mode and Parallel remains the default scheduling mode; clean completion still requires explicit final approval.
6
+
7
+ ### Lifecycle and recovery fixes
8
+
9
+ - Preserve the verified implementation HEAD and original Autonomous execution authority across bookkeeping commits. Route already committed prerequisites forward instead of requesting another bookkeeping commit.
10
+ - Replay completed implementation, clean-review, revision, refresh, and archive operations from their original immutable receipts. Verify approval identity and unique reachable Git evidence; successful retries make zero changes and do not append history or create another commit.
11
+ - Resolve archive receipts before checking moved-track eligibility or reading removed candidate stages, and return the actual receipt path.
12
+ - Permit only exact runtime-generated track-index changes during parallel integration, with proposal-bound hashes. Continue rejecting tampered state, unrelated dirty files, and worker edits to protected Cadre artifacts.
13
+ - Include exact derived state changes in candidate and archive previews, including project history and refresh metadata. Archive preview and apply share one deterministic derivation so reviewers can reconstruct the final files and verify their hashes.
14
+ - Reject incomplete specification sections before promotion. Stale dependency diagnostics identify the exact expected sources and fingerprints for reassessment.
15
+ - Clarify exact scheduler node IDs, safe artifact filenames, governed pause/resume, apply-time approval confirmation, and approval ordering around additive Git reverts. Explicitly map `implement auto` to Autonomous approval mode.
16
+ - Fix the homepage Digests label contrast in dark mode by giving its amber background a matching dark-theme token.
17
+
18
+ ### Stable Zed Agent
19
+
20
+ Zed Agent support is stable as of 3.9.1. The integration continues to use ten global `cadre-*` skills, the packaged custom MCP server, exact tool permission entries, and the existing chat fallback for approval forms. Native plugins remain the integration path for Codex and Claude Code.
21
+
22
+ ### Validation
23
+
24
+ Native Codex fixtures exercised all ten workflows and all eight approval/scheduling combinations: Governed, Phase, Track, and Autonomous with Sequential and Parallel scheduling. Nine fixtures ended valid and clean with 11 archived tracks, 56 uniquely verified receipts, and no live workers or managed worktrees. Additional paths covered planned revision, active task reversal/reimplementation, archived revise and completed revert successors, batch archive, and two context refreshes. Fixtures used explicitly scoped test approvals; these results cover representative lifecycle paths rather than every possible repository or conflict.
25
+
26
+ All 118 harness tests passed, along with package and documentation checks. Automated regressions cover receipt replay, approval identity, derived-state hash reconstruction, integration tampering, dependency diagnostics, and patch compatibility. Installed Codex and Claude plugins are enabled at the candidate version; Zed discovers all ten skills with the packaged server active. Homepage checks cover light/dark themes and desktop/mobile rendering.
27
+
28
+ ### Upgrade and compatibility
29
+
30
+ ```bash
31
+ npm install -g cadre-ai@3.9.1
32
+ cadre-ai doctor
33
+ cadre-ai install --target all --scope user
34
+ ```
35
+
36
+ Start a new Codex task, reload Claude Code plugins, and open a new Zed Agent thread. Existing 3.9.0/v5 projects continue without a refresh, schema migration, or rewritten history. Template set v5 and schema-2 state are unchanged. Interrupted tracks may still need their existing receipt reconciled before continuation. Older runtime/template contracts retain their approved refresh requirements. Installation does not approve project work.
37
+
38
+ Direct MCP clients should accept the additional `stateChanges` preview fields and zero-change committed retry results. Re-run previews in a new server session; process-local proposal tokens are not portable between sessions.
39
+
3
40
  ## [3.9.0] - 2026-09-25
4
41
 
5
42
  Cadre 3.9.0 reduces bookkeeping commits and repeated context while preserving human approval, verification, provenance, and interruption recovery. Track remains the default approval mode and Parallel remains the default scheduling mode. Codex and Claude Code are stable integrations; native Zed Agent remains beta.
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # Cadre
2
2
 
3
- **Cadre 3.9.0** reduces bookkeeping commits and repeated context while preserving approval, verification, recovery, and provenance. New v5 projects use cohesive task commits, verified operation receipts, approved dependency context, and retained-context tokens. Track remains the default approval mode; Parallel remains the default scheduling mode. Existing projects migrate through one approved refresh at a quiescent boundary. Historical SHA records, execution contracts, and immutable v1–v4 templates remain supported.
3
+ **Cadre 3.9.1** fixes implementation/review bookkeeping loops, makes committed operation retries idempotent, and improves approval previews and recovery guidance. Codex, Claude Code, and native Zed Agent are stable integrations. Existing 3.9.0/v5 projects continue without a project refresh or state migration. Track remains the default approval mode; Parallel remains the default scheduling mode. Older project formats retain their approved refresh path and historical evidence.
4
4
 
5
5
  Cadre is a human-governed, Git-aware delivery harness for Codex, Claude Code,
6
- and Zed Agent. Codex and Claude Code support is stable; native Zed Agent support
7
- is beta. Cadre turns project context into resumable feature and bug tracks,
6
+ and Zed Agent. All three integrations are stable as of Cadre 3.9.1.
7
+ Cadre turns project context into resumable feature and bug tracks,
8
8
  carries learning forward between phases, and records implementation provenance
9
9
  in Git.
10
10
 
@@ -90,7 +90,7 @@ cadre-ai install --target codex
90
90
  # Claude Code only
91
91
  cadre-ai install --target claude
92
92
 
93
- # Zed Agent only (beta)
93
+ # Zed Agent only
94
94
  cadre-ai install --target zed
95
95
  ```
96
96
 
@@ -113,7 +113,7 @@ By default, installation applies these narrowly scoped rules:
113
113
  - Codex: `default_tools_approval_mode = "approve"` under `plugins."cadre@cadre".mcp_servers.cadre` in the user Codex configuration.
114
114
  - Claude Code: `cadre` in `enabledMcpjsonServers` and `mcp__cadre__*` in the
115
115
  user permission allowlist.
116
- - Zed Agent (beta): one exact `mcp:cadre:<tool>` allow entry for each Cadre MCP tool
116
+ - Zed Agent: one exact `mcp:cadre:<tool>` allow entry for each Cadre MCP tool
117
117
  under `agent.tool_permissions.tools`.
118
118
 
119
119
  Existing configuration, comments, and unrelated permission rules are preserved. A Claude deny rule is never removed or overridden. These rules suppress the host application's per-tool prompt; they do not bypass Cadre's requirement to present artifacts and lifecycle mutations to the human for approval.
@@ -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.9.0";
77
+ var CADRE_RUNTIME_VERSION = "3.9.1";
78
78
  var TEMPLATE_SET_VERSION = "v5";
79
79
 
80
80
  // src/domain/templates.ts