cadre-ai 0.0.1 → 1.1.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.
package/README.md CHANGED
@@ -5,16 +5,18 @@
5
5
  **Measure twice, code once.**
6
6
 
7
7
  Cadre is a context-driven development harness for AI coding agents. It combines
8
- spec-first tracks, Beads-backed durable task memory, review gates, team boards,
8
+ spec-first tracks, native durable task memory, review gates, team boards,
9
9
  parallel worker orchestration, and mono/polyrepo delivery into one packet-owned
10
10
  workflow.
11
11
 
12
+ Public docs: [https://cadre-docs.pages.dev/](https://cadre-docs.pages.dev/)
13
+
12
14
  ## What Cadre Provides
13
15
 
14
16
  - **Structured work:** setup, new track, implementation, review, ship/land,
15
17
  archive, release, handoff, refresh, revise, validate, flag, and formula flows.
16
- - **Persistent memory:** Beads stores task graph, dependencies, notes, handoffs,
17
- and resume evidence; agents access it through Cadre packets.
18
+ - **Persistent memory:** Cadre stores task graph state, dependencies, notes,
19
+ handoffs, events, and resume evidence through native packet-owned files.
18
20
  - **Team safety:** ownership, advisory leases, collision scans, review queues,
19
21
  shared sync, and compact MCP dashboard resources.
20
22
  - **Polyglot intelligence:** repo maps, dependency graphs, test impact,
@@ -25,13 +27,6 @@ workflow.
25
27
 
26
28
  ## Install
27
29
 
28
- Install Beads first; setup requires the `bd` CLI to be available.
29
-
30
- ```bash
31
- npm install -g @beads/bd
32
- bd --version
33
- ```
34
-
35
30
  Install Cadre from npm and let the CLI wire detected clients:
36
31
 
37
32
  ```bash
@@ -54,7 +49,7 @@ cadre-ship
54
49
  ```
55
50
 
56
51
  Cadre workflows are packet-owned. The agent verifies Cadre MCP, passes a
57
- per-call `root`, and lets the runtime perform state reads/writes, Beads work,
52
+ per-call `root`, and lets the runtime perform state reads/writes, formula work,
58
53
  parallel worker state, provider evidence write-back, and shared sync. Do not
59
54
  maintain Cadre state by hand.
60
55
 
@@ -69,13 +64,16 @@ maintain Cadre state by hand.
69
64
  - `cadre/tracks.json` as the generated track index
70
65
  - `cadre/patterns.jsonl` plus generated `cadre/patterns.md`
71
66
  - `cadre/config.json`
72
- - `cadre/beads.json`
67
+ - `cadre/events.jsonl`
68
+ - `cadre/messages/outbox.jsonl` and `cadre/messages/inbox.jsonl`
69
+ - `cadre/formulas/*.json` when formulas are added
70
+ - git-ignored `cadre/local/wisps/*.json` for local ephemeral formula runs
73
71
  - `cadre/styleguides/*.json` plus generated `cadre/code_styleguides/*.md`
74
72
  - optional `cadre/repos.json` for polyrepo topology
75
73
  - optional `cadre/lsp.json` for LSP recommendations
76
74
 
77
- Setup also initializes Beads, can configure shared-sync merge attributes, and
78
- can scaffold hosted CI checks when requested.
75
+ Setup also initializes native Cadre state, can configure shared-sync merge
76
+ attributes, and can scaffold hosted CI checks when requested.
79
77
 
80
78
  ## Team And Repo Modes
81
79
 
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "cadre-ai",
3
- "version": "0.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "MCP-first Cadre workflows for context-driven development.",
5
5
  "author": {
6
6
  "name": "Vishal Kumar",
7
7
  "url": "https://github.com/vishal-kr-barnwal"
8
8
  },
9
- "homepage": "https://github.com/vishal-kr-barnwal/cadre",
9
+ "homepage": "https://cadre-docs.pages.dev/",
10
10
  "repository": {
11
11
  "type": "git",
12
12
  "url": "https://github.com/vishal-kr-barnwal/cadre.git",
@@ -19,8 +19,7 @@
19
19
  "context-driven-development",
20
20
  "mcp",
21
21
  "codex",
22
- "claude",
23
- "beads"
22
+ "claude"
24
23
  ],
25
24
  "type": "commonjs",
26
25
  "packageManager": "pnpm@11.4.0",
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  // AUTO-GENERATED by pnpm build from src/*.ts -- do not edit by hand.
3
3
  // Edit TypeScript sources under src/ instead.
4
- const __CADRE_SKILL_SHIM__ = "---\nname: cadre\ndescription: |\n Context-driven development methodology for organized, spec-first coding. Use when:\n - Project has a `cadre/` directory\n - User mentions specs, plans, tracks, or context-driven development\n - Files like `cadre/tracks.json`, `cadre/product.json`, or `cadre/workflow.json` exist\n - User asks about project status, implementation progress, or track management\n - User wants to organize development work with TDD practices\n - User asks for a `cadre-*` workflow (setup, newtrack, implement, status, revert, validate, flag, revise, review, ship, land, archive, release, handoff, refresh, formula, artifacts)\n - User mentions documentation is outdated or wants to sync context with codebase changes\n - Project is a polyrepo control repo (`cadre/repos.json` with mode \"polyrepo\") spanning git-submodule product repos\n\n Interoperable across Claude Code and OpenAI Codex.\n Integrates with Beads for persistent task memory across sessions.\n---\n\n# Cadre Skill Shim\n\nCadre MCP is required for every Cadre workflow. Before acting, verify the MCP\nruntime with `cadre_project` using `{\"action\":\"ping\"}`. If Cadre MCP tools or\nresources are unavailable, halt and ask the user to install, enable, or restart\nthe Cadre plugin.\n\nLoad `cadre://skill-contract` for the authoritative `cadre.skill.v1` contract.\nUse `cadre://workflow-protocols` to discover workflow protocol resources, then\nload `cadre://workflow-protocol?workflow=<name>` for the active workflow.\nReferences and template inventory are also MCP-served through Cadre resources.\n";
4
+ const __CADRE_SKILL_SHIM__ = "---\nname: cadre\ndescription: |\n Context-driven development methodology for organized, spec-first coding. Use when:\n - Project has a `cadre/` directory\n - User mentions specs, plans, tracks, or context-driven development\n - Files like `cadre/tracks.json`, `cadre/product.json`, or `cadre/workflow.json` exist\n - User asks about project status, implementation progress, or track management\n - User wants to organize development work with TDD practices\n - User asks for a `cadre-*` workflow (setup, newtrack, implement, status, revert, validate, flag, revise, review, ship, land, archive, release, handoff, refresh, formula, artifacts)\n - User mentions documentation is outdated or wants to sync context with codebase changes\n - Project is a polyrepo control repo (`cadre/repos.json` with mode \"polyrepo\") spanning git-submodule product repos\n\n Interoperable across Claude Code and OpenAI Codex.\n Uses native Cadre state for persistent task memory across sessions.\n---\n\n# Cadre Skill Shim\n\nCadre MCP is required for every Cadre workflow. Before acting, verify the MCP\nruntime with `cadre_project` using `{\"action\":\"ping\"}`. If Cadre MCP tools or\nresources are unavailable, halt and ask the user to install, enable, or restart\nthe Cadre plugin.\n\nLoad `cadre://skill-contract` for the authoritative `cadre.skill.v1` contract.\nUse `cadre://workflow-protocols` to discover workflow protocol resources, then\nload `cadre://workflow-protocol?workflow=<name>` for the active workflow.\nReferences and template inventory are also MCP-served through Cadre resources.\n";
5
5
  "use strict";
6
6
  var __create = Object.create;
7
7
  var __defProp = Object.defineProperty;
@@ -116,7 +116,7 @@ function readPackageMetadata(runtimeRoot) {
116
116
  return {
117
117
  version: typeof json.version === "string" ? json.version : "0.0.0",
118
118
  description: typeof json.description === "string" ? json.description : "MCP-first Cadre workflows.",
119
- homepage: typeof json.homepage === "string" ? json.homepage : "https://github.com/vishal-kr-barnwal/cadre",
119
+ homepage: typeof json.homepage === "string" ? json.homepage : "https://cadre-docs.pages.dev/",
120
120
  repository: typeof json.repository === "string" ? json.repository : "https://github.com/vishal-kr-barnwal/cadre",
121
121
  license: typeof json.license === "string" ? json.license : "Apache-2.0"
122
122
  };
@@ -124,7 +124,7 @@ function readPackageMetadata(runtimeRoot) {
124
124
  return {
125
125
  version: "0.0.0",
126
126
  description: "MCP-first Cadre workflows.",
127
- homepage: "https://github.com/vishal-kr-barnwal/cadre",
127
+ homepage: "https://cadre-docs.pages.dev/",
128
128
  repository: "https://github.com/vishal-kr-barnwal/cadre",
129
129
  license: "Apache-2.0"
130
130
  };
@@ -140,7 +140,7 @@ function pluginManifest(target, runtime) {
140
140
  homepage: metadata.homepage,
141
141
  repository: metadata.repository,
142
142
  license: metadata.license,
143
- keywords: ["cadre", "context-driven-development", "skills", "beads", "mcp"],
143
+ keywords: ["cadre", "context-driven-development", "skills", "mcp"],
144
144
  skills: "./skills/"
145
145
  };
146
146
  if (target === "claude") {