@agdf/cli 0.20.0 → 0.20.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.
Files changed (2) hide show
  1. package/README.md +46 -26
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -7,6 +7,12 @@ delivery: repository-local agent instructions, durable control files,
7
7
  machine-checkable gate decisions and consistent setup for Codex, Claude Code,
8
8
  GitHub Copilot and OpenCode.
9
9
 
10
+ GitHub Copilot and OpenCode are **experimentally supported in 0.20.x**. Both have adapters and
11
+ automated regression tests; native qualification is not currently claimed. Tests with simulated
12
+ hosts do not establish behavior in an actual Copilot or OpenCode session. See the
13
+ [host compatibility report](https://github.com/ArndtGold/ai-native-governance-delivery-framework/blob/main/docs/compatibility/HOST_COMPATIBILITY.md)
14
+ for dated evidence and gaps.
15
+
10
16
  - Website: https://agdf.iself.eu
11
17
  - Repository: https://github.com/arndtgold/ai-native-governance-delivery-framework
12
18
  - Installation guide: https://github.com/arndtgold/ai-native-governance-delivery-framework/blob/main/INSTALL.md
@@ -60,6 +66,12 @@ npx --yes @agdf/cli@latest codex
60
66
  `agdf` plugin (skills, hooks, control templates) for every repository opened
61
67
  in Codex.
62
68
 
69
+ The runtime plugin also declares AGDF MCP. In the current shared default build, Codex additionally
70
+ receives Cockpit through `agdf-cockpit` and a gate-decision MCP App through `agdf`. No separate
71
+ `mcp enable` command is needed. Rendering requires host MCP App support and its own native evidence;
72
+ production gate-decision click actions remain disabled pending qualification. These repository-build
73
+ details do not verify the payload currently resolved by `@agdf/cli@latest`.
74
+
63
75
  ```bash
64
76
  npx --yes @agdf/cli@latest codex-repo
65
77
  ```
@@ -79,44 +91,53 @@ npx --yes @agdf/cli@latest claude
79
91
  install the `agdf` plugin for every repository opened in Claude Code. There
80
92
  is no repository-local Claude Code plugin copy.
81
93
 
94
+ The runtime plugin declares AGDF MCP without a separate `mcp enable` command. The shared default
95
+ build does not enable the Codex Cockpit or gate-decision UI paths in Claude Code. A separate
96
+ Claude-specific Cockpit development build exists; it does not establish general Claude Code or
97
+ Claude Desktop UI support. See [MCP and UI by host](https://github.com/ArndtGold/ai-native-governance-delivery-framework/blob/main/INSTALL.md#claude-code-and-codex-mcp-and-ui).
98
+
82
99
  ### OpenCode
83
100
 
101
+ **Experimental support in 0.20.x.**
102
+
84
103
  ```bash
85
104
  npx --yes @agdf/cli@latest opencode
86
105
  npx --yes @agdf/cli@latest opencode-status
87
106
  ```
88
107
 
89
108
  **Global.** Adds the AGDF npm plugin as a user-wide hook in
90
- `~/.config/opencode/opencode.json` (or `$OPENCODE_CONFIG_DIR`). `opencode-status`
91
- verifies the install.
109
+ `~/.config/opencode/opencode.json` (or `$OPENCODE_CONFIG_DIR`) and installs global native skills
110
+ under `skills/agdf-global-*/`. `opencode-status` reports installation and repository activation;
111
+ it does not prove behavior in a live session. Restart OpenCode after installation.
92
112
 
93
113
  ```bash
94
114
  npx --yes @agdf/cli@latest opencode-repo
95
115
  ```
96
116
 
97
- **Repository.** Writes `opencode.json` (or a fragment if one already
98
- exists), repository instructions, native AGDF skills and control templates
99
- under `.opencode/`.
117
+ **Repository.** Writes the durable `.agdf/control/config.json` activation marker and control
118
+ templates for the globally installed runtime. It does not write `opencode.json` or copy runtime
119
+ instructions or skills into `.opencode/`. Existing local assets remain untouched. Run the status
120
+ command from that repository, then load `agdf-global-gate-check` for an AGDF delivery request.
100
121
 
101
122
  ### GitHub Copilot
102
123
 
124
+ **Experimental support in 0.20.x.**
125
+
103
126
  ```bash
104
127
  npx --yes @agdf/cli@latest copilot
105
128
  ```
106
129
 
107
- **Repository only** — Copilot does not consume the AGDF plugin package, so
108
- there is no global command. Writes `AGENTS.md` (or `AGENTS.agdf.md`
109
- alongside an existing `AGENTS.md`), plus `.github/copilot-instructions.md`,
110
- `.github/instructions/agdf-governance.instructions.md` and
111
- `.github/skills/**`.
112
-
113
- ### Both repository-local surfaces at once
130
+ **Global.** Registers the AGDF-owned local Git marketplace and installs `agdf@agdf` through
131
+ Copilot CLI. Git must be available. If `copilot` is not on `PATH`, the installer uses a pinned
132
+ official `@github/copilot` npm package. It verifies plugin identity and every expected enabled
133
+ `agdf-` skill against the installed package content.
114
134
 
115
- ```bash
116
- npx --yes @agdf/cli@latest both
117
- ```
135
+ Restart Copilot and check a fresh session after installation. Installation and skill discovery
136
+ do not establish native qualification or support for another Copilot client variant. The installer
137
+ leaves repository files untouched. Use `init` separately when a repository should own durable
138
+ AGDF control state.
118
139
 
119
- Runs `codex-repo` and `copilot` together.
140
+ ### CLI for repeated checks
120
141
 
121
142
  Install the AGDF CLI globally when `agdf` should be available as a regular
122
143
  shell command on your machine:
@@ -164,11 +185,10 @@ authoritative reusable format, not AGDF's internal project backlog.
164
185
  | `codex` | Install the AGDF plugin globally for Codex. |
165
186
  | `codex-repo` | Add a repository-local Codex marketplace and AGDF plugin copy. |
166
187
  | `claude` | Install the AGDF plugin globally for Claude Code. |
167
- | `opencode` | Install the AGDF npm plugin as a user-wide OpenCode hook. |
188
+ | `opencode` | Experimental in 0.20.x: install the AGDF npm plugin and global native skills for OpenCode. |
168
189
  | `opencode-status` | Report OpenCode global config, package loadability, session signals and repository surface presence. |
169
- | `opencode-repo` | Add OpenCode repository instructions, native skills, permissions and control templates. |
170
- | `copilot` | Add `AGENTS.md`, Copilot instructions, skills and control templates. |
171
- | `both` | Prepare the repository-file and plugin surfaces together. |
190
+ | `opencode-repo` | Experimental in 0.20.x: add durable repository activation and control templates for the global OpenCode runtime. |
191
+ | `copilot` | Experimental in 0.20.x: install the AGDF plugin globally through Copilot CLI and verify its skills. |
172
192
  | `init` | Create durable `.agdf/control` files when repository-owned control state is required. |
173
193
  | `config --language <tag>` | Persist a BCP 47 project language such as `de`, `en` or `fr-CA` without creating the full control scaffold. |
174
194
  | `doctor [--json]` | Check whether the durable control state is consistent and actionable. |
@@ -216,12 +236,12 @@ evidence. It writes `DELIVERY_PATH_SEARCH.json` and
216
236
 
217
237
  ## Surface Notes
218
238
 
219
- See [Quick Start](#quick-start) for what each command installs and its
220
- global-vs-repository scope. One extra OpenCode detail: repository
221
- instructions, native skills and control files remain the AGDF source of truth
222
- even after the global hook is installed. The generated OpenCode skills live
223
- under `.opencode/skills/` and load on demand through OpenCode's native `skill`
224
- tool; use `agdf-gate-check` first for new build/change intent.
239
+ See [Quick Start](#quick-start) for what each command installs and its global-vs-repository scope.
240
+ Copilot and OpenCode remain experimental in 0.20.x. OpenCode loads global native skills from
241
+ `skills/agdf-global-*/` in its configuration directory; `.agdf/control/` owns durable repository
242
+ state. Load `agdf-global-gate-check` through OpenCode's native `skill` tool for an AGDF delivery
243
+ request. Copilot loads its `agdf-` skills from the installed plugin, not a generated repository
244
+ projection. Neither installation establishes behavior in a fresh host session.
225
245
 
226
246
  `npm create agdf@latest -- ...` remains supported through the companion
227
247
  `create-agdf` package for scaffold-style setup flows.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agdf/cli",
3
- "version": "0.20.0",
3
+ "version": "0.20.1",
4
4
  "description": "Primary AGDF CLI for repository-local AI governance, delivery controls and agent setup.",
5
5
  "type": "module",
6
6
  "engines": {
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "scripts": {},
18
18
  "dependencies": {
19
- "create-agdf": "0.20.0"
19
+ "create-agdf": "0.20.1"
20
20
  },
21
21
  "keywords": [
22
22
  "agdf",