@agdf/cli 0.4.0 → 0.4.2

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 +21 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -27,6 +27,7 @@ Install the user-wide OpenCode hook:
27
27
 
28
28
  ```bash
29
29
  npx --yes @agdf/cli@latest opencode
30
+ npx --yes @agdf/cli@latest opencode-status
30
31
  ```
31
32
 
32
33
  Install the AGDF CLI globally when `agdf` should be available as a regular
@@ -36,6 +37,7 @@ shell command on your machine:
36
37
  npm install -g @agdf/cli
37
38
  agdf init
38
39
  agdf doctor
40
+ agdf gate-check --status-card
39
41
  agdf gate-check --json
40
42
  ```
41
43
 
@@ -49,7 +51,7 @@ Use it to:
49
51
 
50
52
  - install AGDF instructions and skills into a target repository
51
53
  - initialize durable `.agdf/control` state when a repository should own it
52
- - run deterministic validators such as `doctor` and `gate-check --json`
54
+ - run compact interactive checks such as `gate-check --status-card` and deterministic validators such as `doctor` and `gate-check --json`
53
55
  - prepare Codex, GitHub Copilot and OpenCode surfaces from the same source of
54
56
  truth while keeping Claude Code installation explicitly separate
55
57
 
@@ -74,6 +76,7 @@ authoritative reusable format, not AGDF's internal project backlog.
74
76
  | `codex-repo` | Add a repository-local Codex marketplace and AGDF plugin copy. |
75
77
  | `claude` | Install the AGDF plugin globally for Claude Code. |
76
78
  | `opencode` | Install the AGDF npm plugin as a user-wide OpenCode hook. |
79
+ | `opencode-status` | Report OpenCode global config, package loadability, session signals and repository surface presence. |
77
80
  | `opencode-repo` | Add OpenCode repository instructions, subagents, permissions and control templates. |
78
81
  | `copilot` | Add `AGENTS.md`, Copilot instructions, skills and control templates. |
79
82
  | `both` | Prepare the repository-file and plugin surfaces together. |
@@ -81,23 +84,38 @@ authoritative reusable format, not AGDF's internal project backlog.
81
84
  | `config --language de\|en` | Persist the project language without creating the full control scaffold. |
82
85
  | `doctor [--json]` | Check whether the durable control state is consistent and actionable. |
83
86
  | `gate-check [--json]` | Report the current gate, blockers and next permitted action. |
87
+ | `gate-check --status-card` | Print compact interactive gate status without full JSON. |
84
88
  | `delivery-map [--json]` | Report artefact relationships, evidence, risks and Context Graph effects. |
89
+ | `delivery-path-search --surface <name> [--json]` | Compare bounded high-impact delivery paths before implementation; advisory only. |
85
90
 
86
91
  Examples:
87
92
 
88
93
  ```bash
89
94
  npx --yes @agdf/cli@latest opencode
95
+ npx --yes @agdf/cli@latest opencode-status --json
90
96
  npx --yes @agdf/cli@latest opencode-repo
91
97
  npx --yes @agdf/cli@latest config --language en
92
98
  npx --yes @agdf/cli@latest init
93
99
  npx --yes @agdf/cli@latest doctor
100
+ npx --yes @agdf/cli@latest gate-check --status-card
94
101
  npx --yes @agdf/cli@latest gate-check --json
95
102
  npx --yes @agdf/cli@latest delivery-map --json
103
+ npx --yes @agdf/cli@latest delivery-path-search --surface codex --json
96
104
  ```
97
105
 
98
106
  The CLI validators provide deterministic evidence for agents and automation.
99
107
  They do not replace AGDF skill judgement or user approvals.
100
108
 
109
+ Delivery Path Search requires live `.agdf/control/AGDF_RUN.md` state with explicit
110
+ allowed and forbidden actions. Codex is the executable evaluator in this
111
+ release. Claude Code, Copilot and OpenCode expose the shared skill and contract,
112
+ but do not yet ship native executable evaluators.
113
+
114
+ Use `--persist` only when the redacted decision should become durable scope
115
+ evidence. It writes `DELIVERY_PATH_SEARCH.json` and
116
+ `DELIVERY_PATH_SEARCH.md` under `.agdf/control/artefacts/<scope>/`. Then run
117
+ `gate-check`; the recommendation never grants permission.
118
+
101
119
  ## Surface Notes
102
120
 
103
121
  - **Codex:** `codex` installs the AGDF plugin globally for Codex, while
@@ -105,7 +123,8 @@ They do not replace AGDF skill judgement or user approvals.
105
123
  repository.
106
124
  - **Claude Code:** `claude` installs the AGDF plugin globally for Claude Code.
107
125
  - **OpenCode:** `opencode` installs the user-wide npm plugin hook, while
108
- `opencode-repo` writes the repository instructions, agents and permissions
126
+ `opencode-status` verifies global config, package loadability, session signals
127
+ and repository surface presence. `opencode-repo` writes the repository instructions, agents and permissions
109
128
  AGDF needs. Repository instructions, generated agents and control files remain
110
129
  the AGDF source of truth. The generated
111
130
  OpenCode agents are intentional `mode: subagent` workflow controls, not
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agdf/cli",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Primary AGDF CLI for repository-local AI governance, delivery controls and agent setup.",
5
5
  "type": "module",
6
6
  "files": [
@@ -15,7 +15,7 @@
15
15
  "smoke-test": "node ./scripts/smoke-test.js"
16
16
  },
17
17
  "dependencies": {
18
- "create-agdf": "0.4.0"
18
+ "create-agdf": "0.4.2"
19
19
  },
20
20
  "keywords": [
21
21
  "agdf",