create-agdf 0.6.9 → 0.7.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.
- package/README.md +40 -2
- package/bin/create-agdf.js +318 -65
- package/generated/.agdf/control/README.md +2 -1
- package/generated/.agdf/control/templates/AGDF_RUN.md +4 -3
- package/generated/.agdf/control/templates/RUN_STATE.md +22 -0
- package/generated/.agdf/control/templates/artefacts/BROWNFIELD_REVIEW.md +1 -1
- package/generated/.agdf/control/templates/artefacts/VERIFIED_CHANGE.md +48 -0
- package/generated/.github/skills/agdf-runtime-contract.md +29 -5
- package/generated/.opencode/AGDF.md +3 -3
- package/generated/.opencode/agdf-runtime-contract.md +29 -5
- package/generated/AGENTS.md +3 -3
- package/generated/plugins/agdf/.codex-plugin/plugin.json +2 -2
- package/generated/plugins/agdf/control/README.md +2 -1
- package/generated/plugins/agdf/control/templates/AGDF_RUN.md +4 -3
- package/generated/plugins/agdf/control/templates/RUN_STATE.md +22 -0
- package/generated/plugins/agdf/control/templates/artefacts/BROWNFIELD_REVIEW.md +1 -1
- package/generated/plugins/agdf/control/templates/artefacts/VERIFIED_CHANGE.md +48 -0
- package/generated/plugins/agdf/meta/agdf-agent-router.md +3 -3
- package/generated/plugins/agdf/meta/agdf-constitution.md +3 -3
- package/generated/plugins/agdf/meta/agdf-plugin.definition.json +2 -2
- package/generated/plugins/agdf/meta/agdf-runtime-contract.md +29 -5
- package/generated/plugins/agdf/meta/agdf-tenets.md +5 -0
- package/lib/control-state/run-state-parser.js +7 -3
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
# create-agdf
|
|
2
2
|
|
|
3
|
-
Bootstrap AGDF
|
|
3
|
+
Bootstrap AGDF into the coding-agent surface and repository where work actually happens. It installs or generates the surface-specific guidance, skills and optional durable control files that help teams make scope, approvals, evidence and delivery state visible.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
AGDF is useful when AI-assisted work can affect an existing system and a team needs a traceable answer to: what is allowed next, who approved it and what evidence supports it. It is deliberately not a substitute for engineering judgement, security review, tests, product ownership or human acceptance. For the framework's fit, limits and examples, start with the [project overview](../README.md).
|
|
6
|
+
|
|
7
|
+
## Quick start
|
|
8
|
+
|
|
9
|
+
If you use Codex, this is the recommended first installation:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx --yes @agdf/cli@latest codex
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Restart Codex, open a new task in the repository you want to work in, and describe the intended change. AGDF starts with the smallest permitted governance step; it does not make implementation automatic.
|
|
16
|
+
|
|
17
|
+
Use a different target when Codex is not your agent surface:
|
|
18
|
+
|
|
19
|
+
| Surface or goal | Start with | What it gives you |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| Claude Code | `npx --yes @agdf/cli@latest claude` | The AGDF plugin for Claude Code. |
|
|
22
|
+
| OpenCode, user-wide discovery | `npx --yes @agdf/cli@latest opencode` | The npm plugin and global native skills; repository governance remains opt-in. |
|
|
23
|
+
| OpenCode, one repository | `npx --yes @agdf/cli@latest opencode-repo` | Repository instructions, native skills, permissions and control templates. |
|
|
24
|
+
| GitHub Copilot | `npm create agdf@latest -- copilot` | Repository instructions, visible skills and control templates. |
|
|
25
|
+
| Durable control state in an existing setup | `npx --yes @agdf/cli@latest init` | Live `.agdf/control/` state when the repository explicitly needs it. |
|
|
26
|
+
|
|
27
|
+
For prerequisites, all surface-specific flows and operational boundaries, use the authoritative [installation guide](../INSTALL.md). Do not run `init` merely to ask a fresh question: an agent can first clarify the request and ask for `Approval: UR` when durable control state is needed.
|
|
28
|
+
|
|
29
|
+
## Full command reference
|
|
30
|
+
|
|
31
|
+
The commands below are the complete package reference. The Quick Start above is the recommended entry point; these commands cover the remaining surfaces, repository-local variants and validation paths.
|
|
6
32
|
|
|
7
33
|
Preferred long-term CLI shape:
|
|
8
34
|
|
|
@@ -203,6 +229,18 @@ npm run test:routing
|
|
|
203
229
|
|
|
204
230
|
The routing test installs `both` into a temporary target repository and checks that plugin routing stays unprefixed while Copilot routing receives the configured `agdf-` prefix.
|
|
205
231
|
|
|
232
|
+
## Project, contribution and support
|
|
233
|
+
|
|
234
|
+
This README is the package guide. Keep framework rationale, limits and examples in the [project overview](../README.md); keep target-specific installation in [INSTALL.md](../INSTALL.md); and use [RELEASE.md](../RELEASE.md) only when maintaining a published AGDF release.
|
|
235
|
+
|
|
236
|
+
Non-sensitive feedback, examples and contributions are welcome through [GitHub Issues](https://github.com/ArndtGold/ai-native-governance-delivery-framework/issues). To validate a local package change before proposing it, run:
|
|
237
|
+
|
|
238
|
+
```bash
|
|
239
|
+
npm --prefix create-agdf run smoke-test
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
The repository is licensed under [Apache-2.0](../LICENSE). No separate public `CONTRIBUTING.md`, `SECURITY.md` or private security-reporting channel is currently published. Do not treat a public issue as a private vulnerability disclosure.
|
|
243
|
+
|
|
206
244
|
## Publishing
|
|
207
245
|
|
|
208
246
|
The repository publishes this package and the primary user-facing `@agdf/cli` wrapper as one coupled AGDF release.
|