create-agdf 0.7.2 → 0.7.3
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/generated/.github/skills/agdf-gate-check/SKILL.md +7 -2
- package/generated/.github/skills/agdf-runtime-contract.md +7 -2
- package/generated/.opencode/agdf-runtime-contract.md +7 -2
- package/generated/.opencode/skills/agdf-gate-check/SKILL.md +7 -2
- package/generated/plugins/agdf/.codex-plugin/plugin.json +1 -1
- package/generated/plugins/agdf/meta/agdf-plugin.definition.json +1 -1
- package/generated/plugins/agdf/meta/agdf-runtime-contract.md +7 -2
- package/generated/plugins/agdf/skills/gate-check/SKILL.md +7 -2
- package/package.json +1 -1
|
@@ -69,10 +69,15 @@ For a ready `gate_approval`:
|
|
|
69
69
|
7. Reject a missing artefact, ambiguous or wrong run, wrong gate, stale expected gate, timeout/default, hook-supplied answer, agent message, technical permission outcome or plan approval.
|
|
70
70
|
8. Persist accepted input only through the existing control-state workflow.
|
|
71
71
|
|
|
72
|
+
Make exactly one native-attempt for the ready gate. If the host does not render,
|
|
73
|
+
apply or safely return the native question on that attempt, switch immediately
|
|
74
|
+
to the exact textual approval. Do not ask the user to request the buttons again
|
|
75
|
+
and do not create a retry loop or simulated control.
|
|
76
|
+
|
|
72
77
|
Surface behavior:
|
|
73
78
|
|
|
74
|
-
- Codex:
|
|
75
|
-
- Claude Code:
|
|
79
|
+
- Codex: invoke the native short-question/request-user-input control on the first eligible attempt when callable, ask one gate question and omit auto-resolution; if it is not rendered or applied, use exact text immediately.
|
|
80
|
+
- Claude Code: invoke `AskUserQuestion` on the first eligible attempt only when no timeout can auto-continue and no hook supplies `answers` or `updatedInput`; if it is not rendered or applied, use exact text immediately. Claude permissions and `ExitPlanMode` remain separate.
|
|
76
81
|
- OpenCode: use built-in `question` when permitted. Preserve explicit `permission.question` denial and use exact text in that case. `once`, `always`, `reject` and auto mode never become gate input.
|
|
77
82
|
- Other, unavailable or non-interactive surfaces: use exact textual approval and wait for a new explicit user response.
|
|
78
83
|
|
|
@@ -305,14 +305,19 @@ Before presenting `gate_approval`, the agent must:
|
|
|
305
305
|
6. reject missing evidence, ambiguous or wrong run, wrong gate, stale state and any response that is no longer valid;
|
|
306
306
|
7. persist an accepted approval only through the existing control-state workflow.
|
|
307
307
|
|
|
308
|
+
The first eligible native-attempt has a single bounded outcome: the declared
|
|
309
|
+
host control is presented, or the agent immediately uses the exact-text
|
|
310
|
+
fallback. A host that does not apply the control does not trigger a second
|
|
311
|
+
native prompt. AGDF must not simulate or force host-owned presentation.
|
|
312
|
+
|
|
308
313
|
A free-form native response is valid only when the existing exact-approval validator accepts it for the current gate after revalidation. Revise, decline and cancel outcomes never advance a gate.
|
|
309
314
|
|
|
310
315
|
Surface adapter rules:
|
|
311
316
|
|
|
312
317
|
| Surface | Native question adapter | Gate-safe use | Technical permission boundary |
|
|
313
318
|
|---|---|---|---|
|
|
314
|
-
| Codex | native `request_user_input` or equivalent short-question control when callable | one gate question
|
|
315
|
-
| Claude Code | `AskUserQuestion` | use only when no timeout can auto-continue and no hook supplies `answers` or `updatedInput`;
|
|
319
|
+
| Codex | native `request_user_input` or equivalent short-question control when callable | on the first eligible attempt, present one gate question with auto-resolution omitted; if unavailable or not applied, use exact text without retry | Codex command, edit, network, external-directory and app-action approvals remain host-owned `tool_permission`. |
|
|
320
|
+
| Claude Code | `AskUserQuestion` | on the first eligible attempt, use only when no timeout can auto-continue and no hook supplies `answers` or `updatedInput`; if unavailable or not applied, use exact text without retry | Claude permissions and `ExitPlanMode` are not AGDF approval. |
|
|
316
321
|
| OpenCode | built-in `question` | use with exact approval/revise/cancel options when `permission.question` permits it; explicit user deny selects exact-text fallback | `once`, `always`, `reject`, permission suggestions and auto mode are technical outcomes only. |
|
|
317
322
|
| Fallback or non-interactive | concise exact text | wait for a new explicit user response; never synthesize or auto-resolve one | Host-specific technical permission remains separate. |
|
|
318
323
|
|
|
@@ -305,14 +305,19 @@ Before presenting `gate_approval`, the agent must:
|
|
|
305
305
|
6. reject missing evidence, ambiguous or wrong run, wrong gate, stale state and any response that is no longer valid;
|
|
306
306
|
7. persist an accepted approval only through the existing control-state workflow.
|
|
307
307
|
|
|
308
|
+
The first eligible native-attempt has a single bounded outcome: the declared
|
|
309
|
+
host control is presented, or the agent immediately uses the exact-text
|
|
310
|
+
fallback. A host that does not apply the control does not trigger a second
|
|
311
|
+
native prompt. AGDF must not simulate or force host-owned presentation.
|
|
312
|
+
|
|
308
313
|
A free-form native response is valid only when the existing exact-approval validator accepts it for the current gate after revalidation. Revise, decline and cancel outcomes never advance a gate.
|
|
309
314
|
|
|
310
315
|
Surface adapter rules:
|
|
311
316
|
|
|
312
317
|
| Surface | Native question adapter | Gate-safe use | Technical permission boundary |
|
|
313
318
|
|---|---|---|---|
|
|
314
|
-
| Codex | native `request_user_input` or equivalent short-question control when callable | one gate question
|
|
315
|
-
| Claude Code | `AskUserQuestion` | use only when no timeout can auto-continue and no hook supplies `answers` or `updatedInput`;
|
|
319
|
+
| Codex | native `request_user_input` or equivalent short-question control when callable | on the first eligible attempt, present one gate question with auto-resolution omitted; if unavailable or not applied, use exact text without retry | Codex command, edit, network, external-directory and app-action approvals remain host-owned `tool_permission`. |
|
|
320
|
+
| Claude Code | `AskUserQuestion` | on the first eligible attempt, use only when no timeout can auto-continue and no hook supplies `answers` or `updatedInput`; if unavailable or not applied, use exact text without retry | Claude permissions and `ExitPlanMode` are not AGDF approval. |
|
|
316
321
|
| OpenCode | built-in `question` | use with exact approval/revise/cancel options when `permission.question` permits it; explicit user deny selects exact-text fallback | `once`, `always`, `reject`, permission suggestions and auto mode are technical outcomes only. |
|
|
317
322
|
| Fallback or non-interactive | concise exact text | wait for a new explicit user response; never synthesize or auto-resolve one | Host-specific technical permission remains separate. |
|
|
318
323
|
|
|
@@ -69,10 +69,15 @@ For a ready `gate_approval`:
|
|
|
69
69
|
7. Reject a missing artefact, ambiguous or wrong run, wrong gate, stale expected gate, timeout/default, hook-supplied answer, agent message, technical permission outcome or plan approval.
|
|
70
70
|
8. Persist accepted input only through the existing control-state workflow.
|
|
71
71
|
|
|
72
|
+
Make exactly one native-attempt for the ready gate. If the host does not render,
|
|
73
|
+
apply or safely return the native question on that attempt, switch immediately
|
|
74
|
+
to the exact textual approval. Do not ask the user to request the buttons again
|
|
75
|
+
and do not create a retry loop or simulated control.
|
|
76
|
+
|
|
72
77
|
Surface behavior:
|
|
73
78
|
|
|
74
|
-
- Codex:
|
|
75
|
-
- Claude Code:
|
|
79
|
+
- Codex: invoke the native short-question/request-user-input control on the first eligible attempt when callable, ask one gate question and omit auto-resolution; if it is not rendered or applied, use exact text immediately.
|
|
80
|
+
- Claude Code: invoke `AskUserQuestion` on the first eligible attempt only when no timeout can auto-continue and no hook supplies `answers` or `updatedInput`; if it is not rendered or applied, use exact text immediately. Claude permissions and `ExitPlanMode` remain separate.
|
|
76
81
|
- OpenCode: use built-in `question` when permitted. Preserve explicit `permission.question` denial and use exact text in that case. `once`, `always`, `reject` and auto mode never become gate input.
|
|
77
82
|
- Other, unavailable or non-interactive surfaces: use exact textual approval and wait for a new explicit user response.
|
|
78
83
|
|
|
@@ -305,14 +305,19 @@ Before presenting `gate_approval`, the agent must:
|
|
|
305
305
|
6. reject missing evidence, ambiguous or wrong run, wrong gate, stale state and any response that is no longer valid;
|
|
306
306
|
7. persist an accepted approval only through the existing control-state workflow.
|
|
307
307
|
|
|
308
|
+
The first eligible native-attempt has a single bounded outcome: the declared
|
|
309
|
+
host control is presented, or the agent immediately uses the exact-text
|
|
310
|
+
fallback. A host that does not apply the control does not trigger a second
|
|
311
|
+
native prompt. AGDF must not simulate or force host-owned presentation.
|
|
312
|
+
|
|
308
313
|
A free-form native response is valid only when the existing exact-approval validator accepts it for the current gate after revalidation. Revise, decline and cancel outcomes never advance a gate.
|
|
309
314
|
|
|
310
315
|
Surface adapter rules:
|
|
311
316
|
|
|
312
317
|
| Surface | Native question adapter | Gate-safe use | Technical permission boundary |
|
|
313
318
|
|---|---|---|---|
|
|
314
|
-
| Codex | native `request_user_input` or equivalent short-question control when callable | one gate question
|
|
315
|
-
| Claude Code | `AskUserQuestion` | use only when no timeout can auto-continue and no hook supplies `answers` or `updatedInput`;
|
|
319
|
+
| Codex | native `request_user_input` or equivalent short-question control when callable | on the first eligible attempt, present one gate question with auto-resolution omitted; if unavailable or not applied, use exact text without retry | Codex command, edit, network, external-directory and app-action approvals remain host-owned `tool_permission`. |
|
|
320
|
+
| Claude Code | `AskUserQuestion` | on the first eligible attempt, use only when no timeout can auto-continue and no hook supplies `answers` or `updatedInput`; if unavailable or not applied, use exact text without retry | Claude permissions and `ExitPlanMode` are not AGDF approval. |
|
|
316
321
|
| OpenCode | built-in `question` | use with exact approval/revise/cancel options when `permission.question` permits it; explicit user deny selects exact-text fallback | `once`, `always`, `reject`, permission suggestions and auto mode are technical outcomes only. |
|
|
317
322
|
| Fallback or non-interactive | concise exact text | wait for a new explicit user response; never synthesize or auto-resolve one | Host-specific technical permission remains separate. |
|
|
318
323
|
|
|
@@ -69,10 +69,15 @@ For a ready `gate_approval`:
|
|
|
69
69
|
7. Reject a missing artefact, ambiguous or wrong run, wrong gate, stale expected gate, timeout/default, hook-supplied answer, agent message, technical permission outcome or plan approval.
|
|
70
70
|
8. Persist accepted input only through the existing control-state workflow.
|
|
71
71
|
|
|
72
|
+
Make exactly one native-attempt for the ready gate. If the host does not render,
|
|
73
|
+
apply or safely return the native question on that attempt, switch immediately
|
|
74
|
+
to the exact textual approval. Do not ask the user to request the buttons again
|
|
75
|
+
and do not create a retry loop or simulated control.
|
|
76
|
+
|
|
72
77
|
Surface behavior:
|
|
73
78
|
|
|
74
|
-
- Codex:
|
|
75
|
-
- Claude Code:
|
|
79
|
+
- Codex: invoke the native short-question/request-user-input control on the first eligible attempt when callable, ask one gate question and omit auto-resolution; if it is not rendered or applied, use exact text immediately.
|
|
80
|
+
- Claude Code: invoke `AskUserQuestion` on the first eligible attempt only when no timeout can auto-continue and no hook supplies `answers` or `updatedInput`; if it is not rendered or applied, use exact text immediately. Claude permissions and `ExitPlanMode` remain separate.
|
|
76
81
|
- OpenCode: use built-in `question` when permitted. Preserve explicit `permission.question` denial and use exact text in that case. `once`, `always`, `reject` and auto mode never become gate input.
|
|
77
82
|
- Other, unavailable or non-interactive surfaces: use exact textual approval and wait for a new explicit user response.
|
|
78
83
|
|
package/package.json
CHANGED