cadre-ai 4.1.0 → 4.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": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "description": "A human-governed, Git-aware product delivery harness for Codex, Claude Code, and Zed Agent.",
5
5
  "author": {
6
6
  "name": "Dhivon AI",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cadre",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "description": "A human-governed, Git-aware product delivery harness for Codex, Claude Code, and Zed Agent.",
5
5
  "author": {
6
6
  "name": "Dhivon AI",
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.2.0] - 2026-11-08
4
+
5
+ ### Optional telemetry
6
+
7
+ - Add disclosed default-on MCP/installer telemetry with persistent opt-out,
8
+ environment controls, CI default-off, own-DSN replacement, and live disabling.
9
+ - Record operation/phase timing, approval wait, sanitized errors, inspection
10
+ counters, versions, and timestamped track/Quick inventory observations.
11
+ - Keep delivery bounded, optional, pseudonymous, and isolated from workflow
12
+ results. Exclude raw inputs/results, prompts, source, names, paths and Git data.
13
+ - Inject the default DSN only at build time from GitHub Actions secrets. Missing,
14
+ empty, or invalid build DSNs produce Sentry-free artifacts. No destination is
15
+ hardcoded in source. Explicit `CADRE_BUILD_TELEMETRY=none` also excludes Sentry.
16
+ - Bundle Sentry 10.75.2 with dependency notices only in telemetry-capable builds.
17
+ - Expand help and guides. The documentation website receives no instrumentation.
18
+
19
+ ### Upgrade
20
+
21
+ ```bash
22
+ npm install -g cadre-ai@4.2.0
23
+ cadre-ai install --target all
24
+ ```
25
+
26
+ Telemetry-capable builds enable collection by default outside CI. To opt out before installation, use
27
+ `cadre-ai install --target all --telemetry off`. Existing saved opt-outs are
28
+ preserved. `DO_NOT_TRACK=1` always disables collection. A custom DSN replaces the
29
+ Dhivon destination completely; see [configuration](https://cadre.dhivon.ai/configuration/#optional-telemetry).
30
+
31
+ The runtime retains template v8, ten workflows, and 21 tools. Existing 4.1.0,
32
+ 4.0.0, and supported 3.9.x schema-2 projects need no migration for this upgrade.
33
+ The documentation website has no browser telemetry.
34
+
3
35
  ## [4.1.0] - 2026-11-06
4
36
 
5
37
  Stable release dated 6 November 2026.
package/NOTICE CHANGED
@@ -11,3 +11,7 @@ The documentation website bundles Manrope under the SIL Open Font License 1.1.
11
11
  Its unchanged copyright and license are at docs/public/brand/fonts/OFL.txt in
12
12
  source and /brand/fonts/OFL.txt on the website. The font is not bundled in the
13
13
  npm or client plugin distributions.
14
+
15
+ Bundled runtime distributions include dependency license texts in
16
+ dist/THIRD_PARTY_NOTICES.txt. Telemetry-enabled builds include Sentry; telemetry-free
17
+ builds omit Sentry and its dependency notices when those packages are absent.
package/README.md CHANGED
@@ -2,10 +2,11 @@
2
2
 
3
3
  Cadre is a product of [Dhivon AI](https://dhivon.ai).
4
4
 
5
- **Cadre 4.1.0** adds Quick for bounded changes and brings completed-track
6
- archival into Refresh. Ten workflows, 21 MCP tools, and immutable template v8
7
- support Codex, Claude Code, and Zed Agent, with four approval modes and both
8
- sequential and parallel scheduling. See [cadre-ai on npm](https://www.npmjs.com/package/cadre-ai).
5
+ **Cadre 4.2.0** adds optional operation telemetry to help diagnose slow MCP
6
+ operations and failures. Telemetry-capable builds default on outside CI, with clear
7
+ installation/startup disclosure, persistent opt-out, and support for your own
8
+ Sentry DSN or a Sentry-free build. Ten workflows, 21 MCP tools, and immutable
9
+ template v8 support Codex, Claude Code, and Zed Agent. See [cadre-ai on npm](https://www.npmjs.com/package/cadre-ai).
9
10
 
10
11
  Cadre is a human-governed, Git-aware delivery harness for Codex, Claude Code,
11
12
  and Zed Agent. All three integrations are stable as of Cadre 3.9.1.
@@ -23,6 +24,24 @@ templates. A project keeps only approved, mutable delivery state under
23
24
  [Quickstart](https://cadre.dhivon.ai/quickstart/) ·
24
25
  [Release notes](https://cadre.dhivon.ai/release-notes/)
25
26
 
27
+ ## What changes in 4.2.0
28
+
29
+ - **Understand bottlenecks:** operation and nested-phase timing, approval wait,
30
+ sanitized error codes, inspection counters, and client/release/template versions.
31
+ - **Observe usage:** timestamped project, track, and Quick inventories with random
32
+ IDs. Counts describe observed project installations; repeated snapshots are not totals.
33
+ - **Control collection:** disable with `cadre-ai telemetry disable`,
34
+ `cadre-ai install --telemetry off`, or `DO_NOT_TRACK=1`. Saved preferences survive upgrades.
35
+ - **Choose the destination:** replace the default with your own DSN, or build with
36
+ `CADRE_BUILD_TELEMETRY=none` to exclude Sentry and the default DSN.
37
+ Builds without `CADRE_BUILD_SENTRY_DSN` also omit Sentry entirely; release builds
38
+ receive it from the `CADRE_SENTRY_DSN` GitHub Actions secret.
39
+ - **Keep project state compatible:** existing 3.9.x, 4.0.0, and 4.1.0 schema-2
40
+ projects remain supported. No migration is needed for telemetry.
41
+
42
+ See [telemetry configuration](https://cadre.dhivon.ai/configuration/#optional-telemetry)
43
+ for collected/excluded data, precedence, and best-effort delivery limits.
44
+
26
45
  ## What changes in 4.1.0
27
46
 
28
47
  - **Quick changes:** deliver one bounded fix, refactor, documentation change,
@@ -48,7 +67,7 @@ execution. See the [testing and release documentation](https://cadre.dhivon.ai/t
48
67
 
49
68
  ## Unified Refresh
50
69
 
51
- Refresh now combines context maintenance, learning consolidation and completed-track archival under one approval, receipt and commit. Cadre 4.1.0 exposes ten workflows and 21 MCP tools with template v8. The standalone archive skill and MCP tool are removed. Existing approved archive journals remain recoverable through `candidate_apply`. Older supported projects adopt the new workflow contract in an approved Refresh.
70
+ Refresh now combines context maintenance, learning consolidation and completed-track archival under one approval, receipt and commit. Cadre 4.2.0 exposes ten workflows and 21 MCP tools with template v8. The standalone archive skill and MCP tool are removed. Existing approved archive journals remain recoverable through `candidate_apply`. Older supported projects adopt the new workflow contract in an approved Refresh.
52
71
 
53
72
  ```text
54
73
  Create → Track → Implement → Review → completed tracks ─┐
@@ -76,13 +95,13 @@ and moves unchanged records to `.cadre/archive/.quick/`. Routine track context
76
95
  loads no quick history; focused search retrieves relevant outcomes when needed.
77
96
 
78
97
  Invoke `$cadre:quick` in Codex, `/cadre:quick` in Claude Code, or `/cadre-quick`
79
- in Zed. Cadre 4.1.0 includes Quick and unified Refresh with template v8. Existing v5/v6
98
+ in Zed. Cadre 4.2.0 includes Quick and unified Refresh with template v8. Existing v5/v6
80
99
  projects retain their workflows; enabling quick requires an approved refresh
81
100
  adopting its contract. Wisp remains stateless exploration.
82
101
 
83
102
  ## Upcoming roadmap
84
103
 
85
- Three optional capabilities are planned beyond 4.1.0:
104
+ Three optional capabilities are planned beyond 4.2.0:
86
105
 
87
106
  1. **Deeper GitHub / GitLab integration** for coordinating work across multiple
88
107
  people, including shared work status, ownership and review handoffs.
@@ -93,7 +112,7 @@ Three optional capabilities are planned beyond 4.1.0:
93
112
 
94
113
  Each capability will be independently **opt-in and disabled by default**. The
95
114
  core single-repository workflow will remain usable without enabling any of them.
96
- These are upcoming roadmap items, not features included in 4.1.0; no delivery dates
115
+ These are upcoming roadmap items, not features included in 4.2.0; no delivery dates
97
116
  are committed. See the [roadmap](https://cadre.dhivon.ai/team-and-polyrepo/).
98
117
 
99
118
  ## Capabilities
@@ -515,7 +534,7 @@ pnpm --filter cadre-ai validate
515
534
 
516
535
  ### Memory format upgrade
517
536
 
518
- Cadre 4.1.0 packages template set v8 and supports existing 4.0.0 projects. Existing 3.9.0/3.9.1/3.9.2 schema-2/v5 projects need no project migration or version-only refresh. Older formats must use Cadre 3.9.0 for an approved refresh to schema-2/v5 before installing 4.1.0. Published v1–v7 templates remain unchanged in source, and terminal learning remains historical evidence. Active Pattern Seeds record revisions and exact pattern fingerprints; changed guidance requires reassessment. Task handoffs preserve decisions, failed approaches, uncertainty, and next actions alongside existing checkpoints. Use all `context_read` pages before acting, and retain source inspection and approval gates. Routine `project_status` uses summaries; request `detail: "full"` for history/graph diagnostics. Filtered/paged listings never narrow validation coverage.
537
+ Cadre 4.2.0 packages template set v8 and supports existing 4.0.0 and 4.1.0 projects. Existing 3.9.0/3.9.1/3.9.2 schema-2/v5 projects need no project migration or version-only refresh. Older formats must use Cadre 3.9.0 for an approved refresh to schema-2/v5 before installing 4.2.0. Published v1–v7 templates remain unchanged in source, and terminal learning remains historical evidence. Active Pattern Seeds record revisions and exact pattern fingerprints; changed guidance requires reassessment. Task handoffs preserve decisions, failed approaches, uncertainty, and next actions alongside existing checkpoints. Use all `context_read` pages before acting, and retain source inspection and approval gates. Routine `project_status` uses summaries; request `detail: "full"` for history/graph diagnostics. Filtered/paged listings never narrow validation coverage.
519
538
 
520
539
  Release preparation includes regression tests, package inspection, and documentation checks. Publishing still requires native installer/discovery/activation checks for Codex, Claude Code, and Zed. Local model tests and byte benchmarks do not establish universal token savings or semantic correctness of generated learning.
521
540
 
@@ -534,3 +553,15 @@ findings; a finding unresolved after two remediation attempts pauses for guidanc
534
553
  ## License
535
554
 
536
555
  Cadre is licensed under [Apache-2.0](https://cadre.dhivon.ai/LICENSE.txt). Copyright 2026 Dhivon AI. See the packaged `NOTICE` or the [licensing guide](https://cadre.dhivon.ai/licensing/).
556
+
557
+ ## Optional Telemetry
558
+
559
+ Telemetry-capable Cadre 4.2.0 builds default on outside CI and announce it before
560
+ installation and on MCP startup. Disable before installing with
561
+ `cadre-ai install --target all --telemetry off`, or use
562
+ `cadre-ai telemetry disable` / `DO_NOT_TRACK=1`. Saved choices survive upgrades
563
+ and `--yes`. Timings, sanitized errors, versions, counts, and random IDs help
564
+ identify bottlenecks; prompts, files, names, paths, and raw MCP payloads are excluded.
565
+ Use `cadre-ai telemetry configure --dsn <DSN>` for your own Sentry destination.
566
+ See [configuration](https://cadre.dhivon.ai/configuration/#optional-telemetry)
567
+ for precedence, privacy, delivery limitations, and Sentry-free builds.