@agdf/cli 0.3.2 → 0.3.5
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 +85 -7
- package/package.json +16 -5
package/README.md
CHANGED
|
@@ -1,17 +1,28 @@
|
|
|
1
|
-
# agdf
|
|
1
|
+
# @agdf/cli
|
|
2
2
|
|
|
3
|
-
Primary
|
|
3
|
+
Primary command-line interface for the AI Governance & Delivery Framework.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
AGDF helps teams turn AI-assisted software work into governed, reviewable
|
|
6
|
+
delivery: repository-local agent instructions, durable control files,
|
|
7
|
+
machine-checkable gate decisions and consistent setup for Codex, Claude Code,
|
|
8
|
+
GitHub Copilot and OpenCode.
|
|
9
|
+
|
|
10
|
+
- Website: https://agdf.iself.eu
|
|
11
|
+
- Repository: https://github.com/arndtgold/ai-native-governance-delivery-framework
|
|
12
|
+
- Installation guide: https://github.com/arndtgold/ai-native-governance-delivery-framework/blob/main/INSTALL.md
|
|
13
|
+
|
|
14
|
+
## Quick Start
|
|
15
|
+
|
|
16
|
+
Run commands inside the target Git repository:
|
|
6
17
|
|
|
7
18
|
```bash
|
|
8
|
-
npx --yes @agdf/cli@latest
|
|
9
|
-
npx --yes @agdf/cli@latest doctor
|
|
10
|
-
npx --yes @agdf/cli@latest gate-check --json
|
|
19
|
+
npx --yes @agdf/cli@latest codex
|
|
11
20
|
npx --yes @agdf/cli@latest opencode
|
|
21
|
+
npx --yes @agdf/cli@latest copilot
|
|
12
22
|
```
|
|
13
23
|
|
|
14
|
-
Install globally when AGDF should be available as a regular command
|
|
24
|
+
Install globally when AGDF should be available as a regular command on your
|
|
25
|
+
machine:
|
|
15
26
|
|
|
16
27
|
```bash
|
|
17
28
|
npm install -g @agdf/cli
|
|
@@ -20,5 +31,72 @@ agdf doctor
|
|
|
20
31
|
agdf gate-check --json
|
|
21
32
|
```
|
|
22
33
|
|
|
34
|
+
## What This Package Does
|
|
35
|
+
|
|
36
|
+
`@agdf/cli` is the stable user-facing wrapper. It delegates to `create-agdf`
|
|
37
|
+
for the shared implementation, so AGDF setup commands and scaffold-compatible
|
|
38
|
+
`npm create` usage stay aligned.
|
|
39
|
+
|
|
40
|
+
Use it to:
|
|
41
|
+
|
|
42
|
+
- install AGDF instructions and skills into a target repository
|
|
43
|
+
- initialize durable `.agdf/control` state when a repository should own it
|
|
44
|
+
- run deterministic validators such as `doctor` and `gate-check --json`
|
|
45
|
+
- prepare Codex, GitHub Copilot and OpenCode surfaces from the same source of
|
|
46
|
+
truth while keeping Claude Code installation explicitly separate
|
|
47
|
+
|
|
48
|
+
## Durable Control State
|
|
49
|
+
|
|
50
|
+
When a repository owns live AGDF control state,
|
|
51
|
+
`.agdf/control/MASTER_BACKLOG.md` is its human-readable steering view. It links
|
|
52
|
+
active work to the current UR, Brownfield Review, PRD, SD, TP, QA and OR
|
|
53
|
+
artefacts without turning the backlog into a second specification.
|
|
54
|
+
|
|
55
|
+
- [View the canonical Master Backlog template](https://github.com/ArndtGold/ai-native-governance-delivery-framework/blob/main/plugin/control/templates/MASTER_BACKLOG.md)
|
|
56
|
+
- [Read the durable control-state guide](https://github.com/ArndtGold/ai-native-governance-delivery-framework/blob/main/plugin/control/README.md)
|
|
57
|
+
|
|
58
|
+
Each repository maintains its own live backlog. The linked template is the
|
|
59
|
+
authoritative reusable format, not AGDF's internal project backlog.
|
|
60
|
+
|
|
61
|
+
## Commands
|
|
62
|
+
|
|
63
|
+
| Command | Purpose |
|
|
64
|
+
| --- | --- |
|
|
65
|
+
| `codex` | Add a repository-local Codex marketplace and AGDF plugin copy. |
|
|
66
|
+
| `opencode` | Add OpenCode instructions, agents, permissions and the npm plugin entry. |
|
|
67
|
+
| `copilot` | Add `AGENTS.md`, Copilot instructions, skills and control templates. |
|
|
68
|
+
| `both` | Prepare the repository-file and plugin surfaces together. |
|
|
69
|
+
| `init` | Create durable `.agdf/control` files when repository-owned control state is required. |
|
|
70
|
+
| `config --language de\|en` | Persist the project language without creating the full control scaffold. |
|
|
71
|
+
| `doctor [--json]` | Check whether the durable control state is consistent and actionable. |
|
|
72
|
+
| `gate-check [--json]` | Report the current gate, blockers and next permitted action. |
|
|
73
|
+
| `delivery-map [--json]` | Report artefact relationships, evidence, risks and Context Graph effects. |
|
|
74
|
+
|
|
75
|
+
Examples:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
npx --yes @agdf/cli@latest config --language en
|
|
79
|
+
npx --yes @agdf/cli@latest init
|
|
80
|
+
npx --yes @agdf/cli@latest doctor
|
|
81
|
+
npx --yes @agdf/cli@latest gate-check --json
|
|
82
|
+
npx --yes @agdf/cli@latest delivery-map --json
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
The CLI validators provide deterministic evidence for agents and automation.
|
|
86
|
+
They do not replace AGDF skill judgement or user approvals.
|
|
87
|
+
|
|
88
|
+
## Surface Notes
|
|
89
|
+
|
|
90
|
+
- **Codex:** `codex` prepares a repository-local marketplace. For a global
|
|
91
|
+
installation, use the Codex plugin marketplace commands documented on the
|
|
92
|
+
[AGDF website](https://agdf.iself.eu/#setup-codex).
|
|
93
|
+
- **Claude Code:** install the AGDF plugin with the Claude Code CLI; this is not
|
|
94
|
+
an `@agdf/cli` bootstrap target.
|
|
95
|
+
- **OpenCode:** `opencode` writes the npm plugin entry together with the
|
|
96
|
+
repository instructions, agents and permissions AGDF needs.
|
|
97
|
+
- **GitHub Copilot:** `copilot` writes repository instructions and skills. If
|
|
98
|
+
`AGENTS.md` already exists, AGDF preserves it and writes `AGENTS.agdf.md` for
|
|
99
|
+
manual merging.
|
|
100
|
+
|
|
23
101
|
`npm create agdf@latest -- ...` remains supported through the companion
|
|
24
102
|
`create-agdf` package for scaffold-style setup flows.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agdf/cli",
|
|
3
|
-
"version": "0.3.
|
|
4
|
-
"description": "AGDF
|
|
3
|
+
"version": "0.3.5",
|
|
4
|
+
"description": "Primary AGDF CLI for repository-local AI governance, delivery controls and agent setup.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"bin",
|
|
@@ -15,16 +15,27 @@
|
|
|
15
15
|
"smoke-test": "node ./scripts/smoke-test.js"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"create-agdf": "0.3.
|
|
18
|
+
"create-agdf": "0.3.5"
|
|
19
19
|
},
|
|
20
20
|
"keywords": [
|
|
21
21
|
"agdf",
|
|
22
|
+
"ai-governance",
|
|
23
|
+
"ai-delivery",
|
|
24
|
+
"ai-agents",
|
|
25
|
+
"agentic-coding",
|
|
26
|
+
"agent-workflows",
|
|
22
27
|
"governance",
|
|
23
28
|
"delivery",
|
|
29
|
+
"delivery-controls",
|
|
30
|
+
"software-delivery",
|
|
24
31
|
"ai-native",
|
|
25
32
|
"codex",
|
|
33
|
+
"claude-code",
|
|
26
34
|
"opencode",
|
|
27
|
-
"copilot"
|
|
35
|
+
"copilot",
|
|
36
|
+
"github-copilot",
|
|
37
|
+
"npm-create",
|
|
38
|
+
"release-governance"
|
|
28
39
|
],
|
|
29
40
|
"license": "Apache-2.0",
|
|
30
41
|
"publishConfig": {
|
|
@@ -35,5 +46,5 @@
|
|
|
35
46
|
"url": "git+https://github.com/ArndtGold/ai-native-governance-delivery-framework.git",
|
|
36
47
|
"directory": "agdf"
|
|
37
48
|
},
|
|
38
|
-
"homepage": "https://
|
|
49
|
+
"homepage": "https://agdf.iself.eu"
|
|
39
50
|
}
|