cadre-ai 4.0.0 → 4.1.0-beta.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.0.0",
3
+ "version": "4.1.0-beta.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": "Cadre contributors"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cadre",
3
- "version": "4.0.0",
3
+ "version": "4.1.0-beta.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": "Cadre contributors"
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.1.0-beta.0] - 2026-10-22
4
+
5
+ - Add explicitly opt-in GitHub Integration (Beta) through `gh`, resource reservations,
6
+ shared draft PRs, writer leases, phase synchronization and verified checkpoint
7
+ publication. Local-only workflows require no GitHub access or migration.
8
+ - Add trusted GitHub Actions generation, approval-gated protection activation,
9
+ dependency/delivery checks, current-head review evidence and incident recovery.
10
+ - Add `github_status`, `github_operation` and the `cadre-ai github` CLI.
11
+ GitHub assets use their own immutable `github-v1` template directory.
12
+ - CI uses an exact published validator version or a digest-pinned candidate
13
+ archive, with credentials isolated to a default-branch-only environment.
14
+ - Publish beta tags to npm’s `beta` channel without moving `latest` or deploying
15
+ production docs. Existing 4.0.0 local-only project state remains compatible.
16
+ - GitLab integration is planned for a future release; no date is committed.
17
+
3
18
  ## [4.0.0] - 2026-10-14
4
19
 
5
20
  Cadre 4.0.0 is a breaking runtime/API release that removes parallel legacy
@@ -46,7 +61,7 @@ every client/mode. Final 4.0.0 installation and activation checks passed for
46
61
  Codex, Claude Code and Zed, including packaged server parity, narrow approval
47
62
  settings and discovery of all ten skills.
48
63
 
49
- ### Upcoming roadmap
64
+ ### Roadmap at the 4.0.0 release
50
65
 
51
66
  Three optional capabilities are planned beyond 4.0.0:
52
67
 
package/README.md CHANGED
@@ -21,6 +21,17 @@ templates. A project keeps only approved, mutable delivery state under
21
21
  [Quickstart](https://cadre-docs.pages.dev/quickstart/) ·
22
22
  [Release notes](https://cadre-docs.pages.dev/release-notes/)
23
23
 
24
+ ## GitHub Integration (Beta)
25
+
26
+ The opt-in GitHub Integration Beta adds shared PR ownership, phase synchronization, automatic
27
+ checkpoint publication and generated GitHub enforcement. It is explicitly
28
+ opt-in: local-only projects keep their workflows and require no GitHub access.
29
+ Install the beta with `npm install -g cadre-ai@beta` (4.1.0-beta.0). Stable installs
30
+ continue using 4.0.0. CI requires an exact validator version, such as
31
+ `4.1.0-beta.0`, or a digest-pinned candidate archive.
32
+ GitLab support is planned for a future release, with no committed date.
33
+ See [GitHub Integration (Beta)](https://cadre-docs.pages.dev/github-collaboration/).
34
+
24
35
  ## What changes in 4.0.0
25
36
 
26
37
  - **One recovery contract:** initialization, implementation completion, clean
@@ -45,21 +56,21 @@ refresh. The dummy app passed 26 tests and 200,020 arithmetic comparisons. Nativ
45
56
  workflow coverage was Autonomous/sequential; it does not establish exhaustive
46
57
  coverage of every mode or client. See the [testing and release documentation](https://cadre-docs.pages.dev/testing-and-release/).
47
58
 
48
- ## Upcoming roadmap
49
-
50
- Three optional capabilities are planned beyond 4.0.0:
59
+ ## Roadmap
51
60
 
52
- 1. **Deeper GitHub / GitLab integration** for coordinating work across multiple
53
- people, including shared work status, ownership and review handoffs.
54
- 2. **A knowledge base built as work happens**, capturing decisions and learning
55
- during delivery and using relevant knowledge as context for subsequent work.
56
- 3. **Polyrepo support** for coordinating dependencies and delivery across
57
- multiple repositories while retaining per-repository history and approvals.
61
+ 1. **GitHub Integration — Beta:** shared PR ownership, checkpoint pushes,
62
+ phase synchronization and GitHub enforcement in the opt-in candidate.
63
+ 2. **GitLab Integration — Coming Soon:** future support for team coordination
64
+ through GitLab merge requests; not implemented yet.
65
+ 3. **Knowledge Base — Coming Soon:** capture decisions and learning during
66
+ delivery and reuse relevant knowledge as context for subsequent work.
67
+ 4. **Polyrepo Support — Coming Soon:** coordinate dependencies and delivery
68
+ across repositories while retaining per-repository history and approvals.
58
69
 
59
- Each capability will be independently **opt-in and disabled by default**. The
60
- core single-repository workflow will remain usable without enabling any of them.
61
- These are upcoming roadmap items, not features shipped in 4.0.0; no delivery dates
62
- are committed. See the [roadmap](https://cadre-docs.pages.dev/team-and-polyrepo/).
70
+ These capabilities are independently **opt-in and disabled by default**. Local-only
71
+ workflows remain unchanged. GitHub Beta is not part of the published 4.0.0 package;
72
+ install the beta channel to try it. Future capabilities have no committed
73
+ release dates. See the [roadmap](https://cadre-docs.pages.dev/team-and-polyrepo/).
63
74
 
64
75
  ## Capabilities
65
76
 
@@ -385,10 +396,12 @@ Important sources of truth:
385
396
 
386
397
  ## MCP capabilities
387
398
 
388
- The `cadre` stdio server exposes active immutable resources at `cadre://templates/v6/...` and 22 tools:
399
+ The `cadre` stdio server exposes active immutable resources at `cadre://templates/v6/...` and 24 tools:
389
400
 
390
401
  | Tool | Mutation | Purpose |
391
402
  | --- | --- | --- |
403
+ | `github_status` | No | Inspect explicitly opted-in GitHub coordination; local projects make no GitHub calls. |
404
+ | `github_operation` | Approval-aware | Reserve/join PRs, publish checkpoints, synchronize, assess review and recover incidents. |
392
405
  | `workflow_elicit` | No | Return required workflow questions through native elicitation or a structured fallback. |
393
406
  | `template_get_many` | No | Read an ordered template bundle in one call; immutable catalog contents are cached for the server lifetime. |
394
407
  | `styleguide_resolve` | No | Resolve default styleguide descriptors and hashes for an approved technology list. |
@@ -418,7 +431,7 @@ its declared fields, while apply accepts only an unchanged `proposalToken`.
418
431
  selects one result representation: structured JSON and output schemas for recognized structured clients, compact text for other clients. Server-side output validation remains strict in both cases. Template bodies appear once. The Node-18-compatible serialized tool catalog is kept below 80 KiB, including the context and handoff contracts. The MCP
419
432
  server cannot approve its own proposals or run arbitrary shell commands. Its
420
433
  Git surface is limited to derived Cadre worktree creation, non-squash
421
- integration, status, and verified cleanup. It never force-deletes a branch,
434
+ integration, status, verified cleanup, and explicitly opted-in GitHub PR coordination. It never force-deletes a branch,
422
435
  resolves a conflict, edits product files, or commits on behalf of a worker.
423
436
  Multi-file state operations use atomic individual writes and converge from
424
437
  matching partial state; mismatched bytes, hashes, journals, or Git HEAD remain