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.
@@ -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: use the native short-question/request-user-input control when callable, ask one gate question and omit auto-resolution.
75
- - Claude Code: use `AskUserQuestion` only when no timeout can auto-continue and no hook supplies `answers` or `updatedInput`; otherwise use exact text. Claude permissions and `ExitPlanMode` remain separate.
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; omit auto-resolution; otherwise use exact text | Codex command, edit, network, external-directory and app-action approvals remain host-owned `tool_permission`. |
315
- | Claude Code | `AskUserQuestion` | use only when no timeout can auto-continue and no hook supplies `answers` or `updatedInput`; otherwise use exact text | Claude permissions and `ExitPlanMode` are not AGDF approval. |
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; omit auto-resolution; otherwise use exact text | Codex command, edit, network, external-directory and app-action approvals remain host-owned `tool_permission`. |
315
- | Claude Code | `AskUserQuestion` | use only when no timeout can auto-continue and no hook supplies `answers` or `updatedInput`; otherwise use exact text | Claude permissions and `ExitPlanMode` are not AGDF approval. |
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: use the native short-question/request-user-input control when callable, ask one gate question and omit auto-resolution.
75
- - Claude Code: use `AskUserQuestion` only when no timeout can auto-continue and no hook supplies `answers` or `updatedInput`; otherwise use exact text. Claude permissions and `ExitPlanMode` remain separate.
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
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agdf",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "Codex-first 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.7.2",
4
+ "version": "0.7.3",
5
5
  "displayName": "AI Governance & Delivery Framework",
6
6
  "developerName": "Arndt Gold",
7
7
  "description": "Codex-first operating system for governed AI-assisted delivery.",
@@ -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; omit auto-resolution; otherwise use exact text | Codex command, edit, network, external-directory and app-action approvals remain host-owned `tool_permission`. |
315
- | Claude Code | `AskUserQuestion` | use only when no timeout can auto-continue and no hook supplies `answers` or `updatedInput`; otherwise use exact text | Claude permissions and `ExitPlanMode` are not AGDF approval. |
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: use the native short-question/request-user-input control when callable, ask one gate question and omit auto-resolution.
75
- - Claude Code: use `AskUserQuestion` only when no timeout can auto-continue and no hook supplies `answers` or `updatedInput`; otherwise use exact text. Claude permissions and `ExitPlanMode` remain separate.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-agdf",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
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": [