create-agdf 0.11.0 → 0.11.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.
@@ -69,6 +69,12 @@ for a native-capable adapter.
69
69
 
70
70
  The CLI reports are validators and JSON evidence, not the primary user experience, not a required ritual for normal work and not a second rule system. If a report says `blocked`, do not continue with later-gate artefacts until the reported blocker is resolved.
71
71
 
72
+ ## Repository Activation Diagnosis
73
+
74
+ `doctor --json` on the resolved surface-local validator is the sole canonical, code-owned, tool-shell-safe activation probe. Determine whether a repository is AGDF-active through `doctor --json` (or `gate-check --json` for a selected run), not through plugin `AGDF_*` environment variables, not through a relative glob, not through a relative `grep`, and not through a relative `read` of `.agdf/control/config.json`.
75
+
76
+ Plugin `AGDF_*` environment variables set by the OpenCode `shell.env` hook are convenience only and must not be used as the only proof of activation; host shell-env propagation to spawned tool shells is not guaranteed and is OpenCode-owned, not AGDF-owned. A relative glob or `grep` for `.agdf/control/config.json` must not be used as proof of presence or absence of `.agdf/control/config.json`; an absolute `read` or the canonical CLI probe is required.
77
+
72
78
  ## Native Interaction Path
73
79
 
74
80
  `../contracts/interaction.md` is the complete normative owner for interaction kinds, locale,
@@ -89,6 +89,10 @@ Helper commands are deterministic proof and automation interfaces, not the norma
89
89
  Machine-readable outputs should stay agent-friendly: stable decisions, blocking gate or current gate, missing approval, allowed outputs, forbidden outputs, next step, evidence and findings.
90
90
  They make the repository state checkable, but they do not replace the native skill workflow or the durable control artefacts.
91
91
 
92
+ ### Repository Activation Diagnosis Boundary
93
+
94
+ `doctor --json` on the resolved surface-local validator is the sole canonical, code-owned, tool-shell-safe activation probe. Plugin `AGDF_*` environment variables set by the OpenCode `shell.env` hook are an internal plugin status channel consumed by `opencode-status`, not an agent-facing diagnosis proof; host shell-env propagation to spawned tool shells is not guaranteed and is OpenCode-owned. A relative glob or `grep` for `.agdf/control/config.json` must not be used as proof of presence or absence of `.agdf/control/config.json`; an absolute `read` or the canonical CLI probe is required.
95
+
92
96
  ## Delivery Map
93
97
 
94
98
  `delivery-map --json` is the machine-readable delivery picture for the selected canonical control state.
@@ -89,6 +89,10 @@ Helper commands are deterministic proof and automation interfaces, not the norma
89
89
  Machine-readable outputs should stay agent-friendly: stable decisions, blocking gate or current gate, missing approval, allowed outputs, forbidden outputs, next step, evidence and findings.
90
90
  They make the repository state checkable, but they do not replace the native skill workflow or the durable control artefacts.
91
91
 
92
+ ### Repository Activation Diagnosis Boundary
93
+
94
+ `doctor --json` on the resolved surface-local validator is the sole canonical, code-owned, tool-shell-safe activation probe. Plugin `AGDF_*` environment variables set by the OpenCode `shell.env` hook are an internal plugin status channel consumed by `opencode-status`, not an agent-facing diagnosis proof; host shell-env propagation to spawned tool shells is not guaranteed and is OpenCode-owned. A relative glob or `grep` for `.agdf/control/config.json` must not be used as proof of presence or absence of `.agdf/control/config.json`; an absolute `read` or the canonical CLI probe is required.
95
+
92
96
  ## Delivery Map
93
97
 
94
98
  `delivery-map --json` is the machine-readable delivery picture for the selected canonical control state.
@@ -69,6 +69,12 @@ for a native-capable adapter.
69
69
 
70
70
  The CLI reports are validators and JSON evidence, not the primary user experience, not a required ritual for normal work and not a second rule system. If a report says `blocked`, do not continue with later-gate artefacts until the reported blocker is resolved.
71
71
 
72
+ ## Repository Activation Diagnosis
73
+
74
+ `doctor --json` on the resolved surface-local validator is the sole canonical, code-owned, tool-shell-safe activation probe. Determine whether a repository is AGDF-active through `doctor --json` (or `gate-check --json` for a selected run), not through plugin `AGDF_*` environment variables, not through a relative glob, not through a relative `grep`, and not through a relative `read` of `.agdf/control/config.json`.
75
+
76
+ Plugin `AGDF_*` environment variables set by the OpenCode `shell.env` hook are convenience only and must not be used as the only proof of activation; host shell-env propagation to spawned tool shells is not guaranteed and is OpenCode-owned, not AGDF-owned. A relative glob or `grep` for `.agdf/control/config.json` must not be used as proof of presence or absence of `.agdf/control/config.json`; an absolute `read` or the canonical CLI probe is required.
77
+
72
78
  ## Native Interaction Path
73
79
 
74
80
  `../../contracts/interaction.md` is the complete normative owner for interaction kinds, locale,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agdf",
3
- "version": "0.11.0",
3
+ "version": "0.11.2",
4
4
  "description": "AI Governance & Delivery Framework (AGDF) brings an operating system for governed AI-assisted delivery to Claude Code, combining workflow skills, control templates and machine-readable repository checks for gate decisions, Brownfield analysis, task-plan review, QA decisions, durable run state and auditable closeout.",
5
5
  "keywords": [
6
6
  "agentic",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agdf",
3
- "version": "0.11.0",
3
+ "version": "0.11.2",
4
4
  "description": "Operating system for governed AI-assisted delivery.",
5
5
  "author": {
6
6
  "name": "Arndt Gold",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "id": "agdf",
4
- "version": "0.11.0",
4
+ "version": "0.11.2",
5
5
  "displayName": "AI Governance & Delivery Framework",
6
6
  "developerName": "Arndt Gold",
7
7
  "description": "Operating system for governed AI-assisted delivery.",
@@ -89,6 +89,10 @@ Helper commands are deterministic proof and automation interfaces, not the norma
89
89
  Machine-readable outputs should stay agent-friendly: stable decisions, blocking gate or current gate, missing approval, allowed outputs, forbidden outputs, next step, evidence and findings.
90
90
  They make the repository state checkable, but they do not replace the native skill workflow or the durable control artefacts.
91
91
 
92
+ ### Repository Activation Diagnosis Boundary
93
+
94
+ `doctor --json` on the resolved surface-local validator is the sole canonical, code-owned, tool-shell-safe activation probe. Plugin `AGDF_*` environment variables set by the OpenCode `shell.env` hook are an internal plugin status channel consumed by `opencode-status`, not an agent-facing diagnosis proof; host shell-env propagation to spawned tool shells is not guaranteed and is OpenCode-owned. A relative glob or `grep` for `.agdf/control/config.json` must not be used as proof of presence or absence of `.agdf/control/config.json`; an absolute `read` or the canonical CLI probe is required.
95
+
92
96
  ## Delivery Map
93
97
 
94
98
  `delivery-map --json` is the machine-readable delivery picture for the selected canonical control state.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "id": "agdf",
4
- "version": "0.11.0",
4
+ "version": "0.11.2",
5
5
  "displayName": "AI Governance & Delivery Framework",
6
6
  "developerName": "Arndt Gold",
7
7
  "description": "Operating system for governed AI-assisted delivery.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-agdf",
3
- "version": "0.11.0",
3
+ "version": "0.11.2",
4
4
  "description": "Bootstrap AGDF repository-local plugin files, Copilot/OpenCode instructions, skills, control files and machine-readable checks.",
5
5
  "type": "module",
6
6
  "files": [
@@ -2,7 +2,7 @@
2
2
  "schema_version": "1",
3
3
  "generated": true,
4
4
  "source": "create-agdf/cli",
5
- "version": "0.11.0",
5
+ "version": "0.11.2",
6
6
  "entrypoint": "create-agdf/bin/agdf-validator.js",
7
- "digest": "55653e0c7f7d732bd4bf2973f5208fea23c6d7edb6a4616499c818d1089c4f3b"
7
+ "digest": "a4508a485d3954d88c3ba4cd12f007c046f803d181b40bf97ada2f81913224cc"
8
8
  }
@@ -376,6 +376,36 @@ if (!gateCheckSkill.includes("`status_presentation.markdown` verbatim")) {
376
376
  if (gateCheckSkill.includes("| Run status | Value |")) {
377
377
  failures.push("gate-check must not maintain a second operational status-card template");
378
378
  }
379
+ if (!gateCheckSkill.includes("## Repository Activation Diagnosis")) {
380
+ failures.push("gate-check must own the repository activation diagnosis section");
381
+ }
382
+ if (!gateCheckSkill.includes("`doctor --json` on the resolved surface-local validator is the sole canonical, code-owned, tool-shell-safe activation probe")) {
383
+ failures.push("gate-check must name doctor --json as the sole canonical activation probe");
384
+ }
385
+ if (!gateCheckSkill.includes("must not be used as the only proof of activation")) {
386
+ failures.push("gate-check must forbid AGDF_* env vars as sole activation proof");
387
+ }
388
+ if (!gateCheckSkill.includes("must not be used as proof of presence or absence of `.agdf/control/config.json`")) {
389
+ failures.push("gate-check must forbid relative glob/grep as activation proof");
390
+ }
391
+ for (const antiPattern of [
392
+ "AGDF_CONTROL_DIR` to confirm",
393
+ "AGDF_CONTROL_DIR` to verify",
394
+ "AGDF_CONTROL_DIR` to check",
395
+ "relative glob to confirm",
396
+ "relative glob to verify",
397
+ ]) {
398
+ if (gateCheckSkill.includes(antiPattern)) failures.push(`gate-check must not instruct agents to use anti-pattern diagnosis: ${antiPattern}`);
399
+ }
400
+ if (!runtimeContract.includes("### Repository Activation Diagnosis Boundary")) {
401
+ failures.push("control-scaffold contract must own the repository activation diagnosis boundary");
402
+ }
403
+ if (!runtimeContract.includes("not an agent-facing diagnosis proof")) {
404
+ failures.push("control-scaffold contract must classify AGDF_* env vars as non-agent-facing diagnosis");
405
+ }
406
+ if (!runtimeContract.includes("must not be used as proof of presence or absence of `.agdf/control/config.json`")) {
407
+ failures.push("control-scaffold contract must forbid relative glob/grep as activation proof");
408
+ }
379
409
  if (!runtimeContract.includes("### Deterministic Operational Presentation")
380
410
  || !/must\s+not reconstruct a table/.test(runtimeContract)) {
381
411
  failures.push("interaction contract must own deterministic operational status presentation");
@@ -69,6 +69,12 @@ for a native-capable adapter.
69
69
 
70
70
  The CLI reports are validators and JSON evidence, not the primary user experience, not a required ritual for normal work and not a second rule system. If a report says `blocked`, do not continue with later-gate artefacts until the reported blocker is resolved.
71
71
 
72
+ ## Repository Activation Diagnosis
73
+
74
+ `doctor --json` on the resolved surface-local validator is the sole canonical, code-owned, tool-shell-safe activation probe. Determine whether a repository is AGDF-active through `doctor --json` (or `gate-check --json` for a selected run), not through plugin `AGDF_*` environment variables, not through a relative glob, not through a relative `grep`, and not through a relative `read` of `.agdf/control/config.json`.
75
+
76
+ Plugin `AGDF_*` environment variables set by the OpenCode `shell.env` hook are convenience only and must not be used as the only proof of activation; host shell-env propagation to spawned tool shells is not guaranteed and is OpenCode-owned, not AGDF-owned. A relative glob or `grep` for `.agdf/control/config.json` must not be used as proof of presence or absence of `.agdf/control/config.json`; an absolute `read` or the canonical CLI probe is required.
77
+
72
78
  ## Native Interaction Path
73
79
 
74
80
  `../../meta/contracts/interaction.md` is the complete normative owner for interaction kinds, locale,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-agdf",
3
- "version": "0.11.0",
3
+ "version": "0.11.2",
4
4
  "description": "Bootstrap AGDF repository-local plugin files, Copilot/OpenCode instructions, skills, control files and machine-readable checks.",
5
5
  "type": "module",
6
6
  "files": [