create-agdf 0.4.9 → 0.6.0
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 +9 -7
- package/bin/create-agdf.js +284 -152
- package/generated/.agdf/control/README.md +15 -3
- package/generated/.agdf/control/templates/RUN_STATE.md +48 -0
- package/generated/.github/skills/agdf-brownfield-analysis/SKILL.md +3 -3
- package/generated/.github/skills/agdf-delivery-path-search/SKILL.md +14 -0
- package/generated/.github/skills/agdf-gate-check/SKILL.md +15 -10
- package/generated/.github/skills/agdf-release-or/SKILL.md +1 -1
- package/generated/.github/skills/agdf-runtime-contract.md +24 -8
- package/generated/.opencode/agdf-runtime-contract.md +24 -8
- package/generated/.opencode/agents/agdf-brownfield-analysis.md +2 -2
- package/generated/.opencode/agents/agdf-delivery-path-search.md +14 -0
- package/generated/.opencode/agents/agdf-gate-check.md +15 -10
- package/generated/.opencode/agents/agdf-release-or.md +1 -1
- package/generated/plugins/agdf/.codex-plugin/plugin.json +1 -1
- package/generated/plugins/agdf/control/README.md +15 -3
- package/generated/plugins/agdf/control/templates/RUN_STATE.md +48 -0
- package/generated/plugins/agdf/hooks/session-start.sh +2 -0
- package/generated/plugins/agdf/meta/agdf-plugin.definition.json +1 -1
- package/generated/plugins/agdf/meta/agdf-runtime-contract.md +24 -8
- package/generated/plugins/agdf/skills/brownfield-analysis/SKILL.md +3 -3
- package/generated/plugins/agdf/skills/delivery-path-search/SKILL.md +14 -0
- package/generated/plugins/agdf/skills/gate-check/SKILL.md +15 -10
- package/generated/plugins/agdf/skills/release-or/SKILL.md +1 -1
- package/lib/control-state/aggregate.js +18 -0
- package/lib/control-state/index.js +6 -0
- package/lib/control-state/legacy-migration.js +94 -0
- package/lib/control-state/run-state-parser.js +196 -0
- package/lib/control-state/run-state-repository.js +68 -0
- package/lib/control-state/run-state-resolver.js +45 -0
- package/lib/control-state/run-state-writer.js +96 -0
- package/lib/delivery-path-search/candidate-policy.js +67 -2
- package/lib/delivery-path-search/contracts.js +127 -0
- package/lib/delivery-path-search/evaluators/claude.js +2 -16
- package/lib/delivery-path-search/evaluators/codex.js +2 -16
- package/lib/delivery-path-search/generators/claude.js +40 -0
- package/lib/delivery-path-search/generators/codex.js +38 -0
- package/lib/delivery-path-search/generators/protocol.js +12 -0
- package/lib/delivery-path-search/persistence.js +5 -0
- package/lib/delivery-path-search/search-engine.js +64 -2
- package/lib/delivery-path-search/state-adapter.js +119 -16
- package/lib/delivery-path-search/transports/read-only-guard.js +43 -0
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -92,7 +92,7 @@ Using OpenCode's plugin installer or global config for `create-agdf` can add the
|
|
|
92
92
|
|
|
93
93
|
The generated `.agdf/control/templates/` files are reusable starting points for durable AGDF state:
|
|
94
94
|
|
|
95
|
-
- `
|
|
95
|
+
- `runs/<run_id>/RUN_STATE.md` for each canonical current run dashboard
|
|
96
96
|
- `MASTER_BACKLOG.md` for active delivery pointers
|
|
97
97
|
- `templates/artefacts/` for durable UR, PRD, SD, TP and QA report artefact templates
|
|
98
98
|
- `SOT_REGISTRY.md` for one source of truth per domain
|
|
@@ -107,7 +107,7 @@ npm create agdf@latest -- init
|
|
|
107
107
|
|
|
108
108
|
This writes:
|
|
109
109
|
|
|
110
|
-
- `.agdf/control/
|
|
110
|
+
- `.agdf/control/runs/<run_id>/RUN_STATE.md`
|
|
111
111
|
- `.agdf/control/MASTER_BACKLOG.md`
|
|
112
112
|
- `.agdf/control/config.json`
|
|
113
113
|
- `.agdf/control/templates/artefacts/UR.md`
|
|
@@ -138,7 +138,8 @@ npx --yes create-agdf@latest doctor --json
|
|
|
138
138
|
|
|
139
139
|
The doctor reports missing live control files, missing current gate, missing next allowed action, empty evidence, empty backlog pointer, empty source-of-truth registry, duplicate active SoT rows and invalid quality contracts. It exits non-zero only for blocking control failures.
|
|
140
140
|
|
|
141
|
-
Use `gate-check` to derive the next process decision from the
|
|
141
|
+
Use `gate-check` to derive the next process decision from the selected canonical
|
|
142
|
+
`.agdf/control/runs/<run_id>/RUN_STATE.md`. Use `--run <run_id>` or `AGDF_RUN_ID` when several runs are active:
|
|
142
143
|
|
|
143
144
|
```bash
|
|
144
145
|
npm create agdf@latest -- gate-check
|
|
@@ -155,17 +156,18 @@ Use `delivery-path-search` only for high-impact planning decisions with several
|
|
|
155
156
|
npx --yes @agdf/cli@latest delivery-path-search --surface codex --json
|
|
156
157
|
```
|
|
157
158
|
|
|
158
|
-
The
|
|
159
|
+
The runtime uses bounded best-first Delivery Path Search, not MCTS. It is read-only and advisory: the result must be checked by canonical `gate-check`. Codex and Claude Code are executable, tool-enforced evaluator adapters and support opt-in `--generate-candidates`; generated proposals supplement the deterministic baseline and are deterministically validated before evaluation. Copilot and OpenCode reuse the same skill and contracts as instruction-only surfaces until conforming executable adapters are available.
|
|
159
160
|
|
|
160
161
|
Requirements and boundaries:
|
|
161
162
|
|
|
162
|
-
- run it only
|
|
163
|
+
- run it only with selected canonical `.agdf/control/runs/<run_id>/RUN_STATE.md` state
|
|
163
164
|
- the current control state must expose legal next actions
|
|
164
165
|
- Codex CLI must be installed and authenticated for `--surface codex`
|
|
165
|
-
-
|
|
166
|
+
- Claude Code CLI must be installed and authenticated for `--surface claude`
|
|
167
|
+
- `--model <id>` optionally selects the Codex or Claude evaluator model
|
|
166
168
|
- `--persist` writes redacted `DELIVERY_PATH_SEARCH.json` and `.md` evidence under the current scope
|
|
167
169
|
- `--fixture <path>` is for deterministic contract tests, not a production evaluator
|
|
168
|
-
-
|
|
170
|
+
- Copilot and OpenCode have shared workflow mappings but no executable native evaluator in this release
|
|
169
171
|
- cost units are rubric values used for bounded comparison, not measured provider currency
|
|
170
172
|
|
|
171
173
|
The result is either one recommendation or `no_safe_recommendation`. In both cases run canonical `gate-check` afterwards.
|