create-agdf 0.10.3 → 0.11.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.
Files changed (46) hide show
  1. package/README.md +2 -2
  2. package/generated/.agdf/control/templates/artefacts/BROWNFIELD_REVIEW.md +12 -0
  3. package/generated/.agdf/control/templates/artefacts/PRD.md +40 -8
  4. package/generated/.agdf/control/templates/artefacts/UX_INTENT_DEFINITION.md +51 -0
  5. package/generated/.github/skills/README.md +1 -0
  6. package/generated/.github/skills/agdf-brownfield-analysis/SKILL.md +9 -0
  7. package/generated/.github/skills/agdf-clean-implementation-review/SKILL.md +18 -0
  8. package/generated/.github/skills/agdf-code-review/SKILL.md +17 -0
  9. package/generated/.github/skills/agdf-qa-gate/SKILL.md +15 -5
  10. package/generated/.github/skills/agdf-task-plan-review/SKILL.md +33 -0
  11. package/generated/.github/skills/agdf-ux-intent-definition/SKILL.md +94 -0
  12. package/generated/.github/skills/contracts/gate-transition.md +25 -0
  13. package/generated/.github/skills/contracts/quality.md +58 -1
  14. package/generated/.opencode/AGDF.md +6 -0
  15. package/generated/.opencode/README.md +1 -0
  16. package/generated/.opencode/contracts/gate-transition.md +25 -0
  17. package/generated/.opencode/contracts/quality.md +58 -1
  18. package/generated/.opencode/skills/agdf-brownfield-analysis/SKILL.md +9 -0
  19. package/generated/.opencode/skills/agdf-clean-implementation-review/SKILL.md +18 -0
  20. package/generated/.opencode/skills/agdf-code-review/SKILL.md +17 -0
  21. package/generated/.opencode/skills/agdf-qa-gate/SKILL.md +15 -5
  22. package/generated/.opencode/skills/agdf-task-plan-review/SKILL.md +33 -0
  23. package/generated/.opencode/skills/agdf-ux-intent-definition/SKILL.md +94 -0
  24. package/generated/AGENTS.md +6 -0
  25. package/generated/plugins/agdf/.claude-plugin/plugin.json +1 -1
  26. package/generated/plugins/agdf/.codex-plugin/plugin.json +1 -1
  27. package/generated/plugins/agdf/control/templates/artefacts/BROWNFIELD_REVIEW.md +12 -0
  28. package/generated/plugins/agdf/control/templates/artefacts/PRD.md +40 -8
  29. package/generated/plugins/agdf/control/templates/artefacts/UX_INTENT_DEFINITION.md +51 -0
  30. package/generated/plugins/agdf/meta/agdf-agent-router.md +6 -0
  31. package/generated/plugins/agdf/meta/agdf-plugin.definition.json +7 -1
  32. package/generated/plugins/agdf/meta/contracts/gate-transition.md +25 -0
  33. package/generated/plugins/agdf/meta/contracts/quality.md +58 -1
  34. package/generated/plugins/agdf/runtime/create-agdf/generated/plugins/agdf/meta/agdf-plugin.definition.json +7 -1
  35. package/generated/plugins/agdf/runtime/create-agdf/package.json +1 -1
  36. package/generated/plugins/agdf/runtime/runtime-manifest.json +2 -2
  37. package/generated/plugins/agdf/scripts/check-runtime-integrity.mjs +108 -1
  38. package/generated/plugins/agdf/skills/brownfield-analysis/SKILL.md +9 -0
  39. package/generated/plugins/agdf/skills/clean-implementation-review/SKILL.md +18 -0
  40. package/generated/plugins/agdf/skills/code-review/SKILL.md +17 -0
  41. package/generated/plugins/agdf/skills/qa-gate/SKILL.md +15 -5
  42. package/generated/plugins/agdf/skills/task-plan-review/SKILL.md +33 -0
  43. package/generated/plugins/agdf/skills/ux-intent-definition/SKILL.md +94 -0
  44. package/generated/plugins/agdf/skills/ux-intent-definition/help.md +17 -0
  45. package/lib/scaffold/plan.js +3 -0
  46. package/package.json +1 -1
@@ -83,6 +83,64 @@ Structured Delivery skills use this shape when relevant:
83
83
  - `required_next_step`: exactly the next clean step
84
84
  - `impact_codes`: affected Quality Contract codes, if the target repo has a registry
85
85
 
86
+
87
+ ## Normalized Review Gaps
88
+
89
+ This section is the sole normative owner for review-gap classification and routing. An applicable
90
+ finding from Task Plan Review, Clean Implementation Review or Code Review carries exactly one
91
+ normalized gap type and one routing target:
92
+
93
+ | gap_type | meaning | routing_target |
94
+ |---|---|---|
95
+ | `requirements_gap` | approved product behavior or an acceptance criterion is missing or contradictory | `PRD`; use `UR` only when user intent or scope changed |
96
+ | `design_gap` | technical ownership, architecture, fallback policy, exit criterion or a prohibited parallel structure was not decided | `SD` |
97
+ | `plan_gap` | an approved requirement or design obligation lacks an executable task, test or evidence mapping | `TP` |
98
+ | `implementation_gap` | code or a surface does not fulfil an approved requirement, design or task | `CD+Tests` |
99
+ | `evidence_gap` | required test, runtime or visible evidence is absent or insufficient | `evidence_obligation` |
100
+ | `emergent_risk` | implementation exposes a concrete risk not reasonably decidable from approved artefacts | earliest affected `UR | PRD | SD | TP | CD+Tests | evidence_obligation` target after explicit assessment |
101
+
102
+ Normalized finding rows use these fields in order:
103
+
104
+ `finding_id | gap_type | routing_target | gap_status | evidence | required_next_step`
105
+
106
+ - `finding_id` is stable within the durable review report.
107
+ - `gap_type` is exactly one type from the table above.
108
+ - `routing_target` is exactly `UR | PRD | SD | TP | CD+Tests | evidence_obligation` and must agree
109
+ with the fixed route above. `requirements_gap` may use `UR` only with evidence of changed user
110
+ intent or scope. `emergent_risk` requires an explicit earliest-owner assessment.
111
+ - `gap_status` is exactly `open | resolved`.
112
+ - `evidence` names concrete source, diff, test, observation or missing proof.
113
+ - `required_next_step` is exactly one executable action consistent with the routing target.
114
+
115
+ Missing, unknown or contradictory fields fail closed as an open gap. Consumers must not silently
116
+ reclassify a finding. Classification is non-authorizing: it cannot edit or approve UR, PRD, SD or TP,
117
+ advance a gate or replace a review decision. `agdf-qa-gate` consumes the normalized findings and cannot
118
+ return `pass` while any applicable finding is open or invalid.
119
+
120
+ `none` is permitted only as a presentation sentinel on a fulfilled UX Intent Fidelity row.
121
+ It is not a seventh normalized finding type and must not appear in a normalized finding row.
122
+
123
+ A consumer may repeat the field order and allowed scalar values needed to emit valid output. It must
124
+ reference this section for meanings and routes instead of maintaining a second complete mapping.
125
+
126
+ ## UX Intent Fidelity
127
+
128
+ When an approved PRD contains applicable UX criteria, `agdf-task-plan-review` produces an additional
129
+ evidence matrix with these columns in order:
130
+
131
+ `prd_criterion | working_mode_state | task_id | visible_evidence | fidelity_status | gap_type`
132
+
133
+ `fidelity_status` is exactly `fulfilled | partial | missing | not_verifiable`. A fulfilled row uses
134
+ the `none` sentinel. Any non-fulfilled row uses the applicable normalized type from `Normalized
135
+ Review Gaps`; it may also emit the normalized finding shape when routing detail is required.
136
+
137
+ This matrix verifies PRD-to-TP coverage and TP-to-code/surface fulfilment. It does not create product
138
+ requirements and does not decide QA. A missing implementation-relevant PRD requirement is a
139
+ `requirements_gap` and routes to PRD revision. `agdf-qa-gate` consumes this evidence and cannot return
140
+ `pass` while an applicable row is `partial`, `missing` or `not_verifiable`, or while a visible-behavior
141
+ claim has code evidence without visible evidence. The four-row Quality Readiness projection and
142
+ `agdf-qa-gate` sole decision ownership remain unchanged.
143
+
86
144
  A skill may briefly remind this shape, but must not duplicate a complete code or rule matrix.
87
145
 
88
146
 
@@ -97,4 +155,3 @@ It must distinguish:
97
155
  - interpretations
98
156
  - missing evidence
99
157
  - the next permissible step
100
-
@@ -35,6 +35,11 @@ When `.agdf/control/` is present, persist or link `post_ur_review` output under
35
35
 
36
36
  Do not mix both modes silently. Name the active mode in the output.
37
37
 
38
+ In `post_ur_review`, also record `delivery_context`, `ui_ux_impact`, `ui_ux_impact_reason` and
39
+ `ux_intent_definition_required` using the single classification and routing contract in
40
+ `../../contracts/gate-transition.md`. Greenfield records make existing-system evidence explicitly
41
+ not applicable; Brownfield records cite repository evidence. Do not create a second Greenfield router.
42
+
38
43
  ## Rules
39
44
  1. Brownfield first: understand the existing codebase before PRD/SD decisions when existing-system impact is possible, and again before implementation.
40
45
  2. Brownfield Review after `Approval: UR` is a sizing and routing step. It must visibly decide `quick_task`, `verified_change`, `structured_slice`, `structured_delivery`, or `block` before PRD depth or implementation is chosen. Persist the completed review and its decision, scope reason, evidence and required next gate in the same internal operation; mark the review `done` only after both the artefact and canonical run projection are complete. An interrupted, incomplete or legacy record stays at fail-closed `Mode/Slice Decision` recovery without another user approval.
@@ -124,6 +129,10 @@ Use a concise structure:
124
129
  - required_next_step:
125
130
  ```
126
131
 
132
+ For `post_ur_review`, include the four UI/UX routing fields immediately after `scope`. If UX intent
133
+ definition is required, its `ready | blocked | not_applicable` result must be visible before PRD
134
+ readiness. A required `blocked` result is at least `revise` for this routing step.
135
+
127
136
  ## Pass / Revise / Block Guidance
128
137
  - `pass`: existing owners are understood, reuse path is clear, and no blocking drift or parallel structure risk remains.
129
138
  - `revise`: relevant evidence, tests, ownership, or reuse path is incomplete.
@@ -24,6 +24,8 @@ Use these focused runtime-contract modules:
24
24
  - `../../contracts/context-graph.md`
25
25
 
26
26
  Clean-review-specific output must make the primary solution, fallbacks, workarounds, parallel structures, exit criteria, and next cleanup/review step visible.
27
+ Applicable findings must use `../../contracts/quality.md` §Normalized Review Gaps. This skill
28
+ must distinguish a missing upstream decision from implementation that violates an approved decision.
27
29
 
28
30
  ## Rules
29
31
  1. Clean primary solution before fallback.
@@ -35,6 +37,10 @@ Clean-review-specific output must make the primary solution, fallbacks, workarou
35
37
  7. Maintainability matters; "works somehow" is not enough.
36
38
  8. Async execute paths must not decide product rules again.
37
39
  9. Shared finalization or merge rules belong in one owner.
40
+ 10. Missing canonical ownership, fallback policy, exit criteria or parallel-structure decisions are
41
+ upstream gaps; do not invent those decisions during review.
42
+ 11. Actual code that violates an approved design or plan is an implementation gap.
43
+ 12. Missing, unknown or contradictory classifications fail closed and stay open.
38
44
 
39
45
  ## When To Use
40
46
  - after `CD+Tests`
@@ -89,6 +95,16 @@ Use this compact structure:
89
95
  - required_next_step:
90
96
  ```
91
97
 
98
+ When findings exist, append:
99
+
100
+ ```text
101
+ ## Normalized Findings
102
+ | finding_id | gap_type | routing_target | gap_status | evidence | required_next_step |
103
+ |---|---|---|---|---|---|
104
+ ```
105
+
106
+ Use the shared Quality Contract for meanings and routes; do not copy its complete mapping here.
107
+
92
108
  ## Pass / Revise / Block Guidance
93
109
  - `pass`: primary solution is clean, tested, and integrated with existing owners.
94
110
  - `revise`: solution works but contains avoidable fallback, unclear ownership, or missing evidence.
@@ -106,3 +122,5 @@ This skill must not:
106
122
  - hide unjustified workarounds
107
123
  - treat green tests as proof of solution integrity
108
124
  - decide final QA
125
+ - create a missing design, plan or product decision during review
126
+ - silently repair or reclassify an invalid normalized finding
@@ -23,6 +23,8 @@ Use these focused runtime-contract modules:
23
23
  - `../../contracts/context-graph.md`
24
24
 
25
25
  Code-review-specific output must make actual findings, missing review scope, evidence strength, and the next required step visible.
26
+ Applicable findings must use `../../contracts/quality.md` §Normalized Review Gaps. Concrete diff
27
+ defects remain Code Review findings; missing upstream constraints route to their authoritative owner.
26
28
 
27
29
  ## Rules
28
30
  1. Review the actual diff and impacted code, not intent alone.
@@ -33,6 +35,9 @@ Code-review-specific output must make actual findings, missing review scope, evi
33
35
  6. Brownfield owners and existing conventions are binding unless deviation is justified.
34
36
  7. Distinguish blocking defects from fixable review findings.
35
37
  8. CR does not grant QA pass.
38
+ 9. Do not turn Code Review into a static requirements checklist or invent missing upstream constraints.
39
+ 10. A genuinely new implementation risk uses `emergent_risk` with an explicit earliest-owner assessment.
40
+ 11. Missing, unknown or contradictory classifications fail closed and stay open.
36
41
 
37
42
  ## When To Use
38
43
  - after `CD+Tests`
@@ -81,6 +86,16 @@ Use this compact structure:
81
86
  - required_next_step:
82
87
  ```
83
88
 
89
+ When findings exist, append:
90
+
91
+ ```text
92
+ ## Normalized Findings
93
+ | finding_id | gap_type | routing_target | gap_status | evidence | required_next_step |
94
+ |---|---|---|---|---|---|
95
+ ```
96
+
97
+ Use the shared Quality Contract for meanings and routes; do not copy its complete mapping here.
98
+
84
99
  ## Decision Guidance
85
100
  - `pass`: no meaningful review finding remains evident in reviewed scope.
86
101
  - `revise`: fixable correctness, regression, or maintainability issues remain.
@@ -100,3 +115,5 @@ This skill must not:
100
115
  - hide missing review scope
101
116
  - generate style-only findings
102
117
  - duplicate TP Review or QA as if they were the same step
118
+ - invent a requirement, design decision or plan obligation to justify a finding
119
+ - silently repair or reclassify an invalid normalized finding
@@ -31,6 +31,8 @@ Use these focused runtime-contract modules:
31
31
  QA-specific `decision` is exactly `pass | revise | block`.
32
32
  `pass` is allowed only when TP coverage, Brownfield fit, solution integrity, and relevant documentation/Context Graph impact are sufficiently evidenced.
33
33
  `sot_drift` must not pass silently as a warning.
34
+ Consume applicable findings through `../../contracts/quality.md` §Normalized Review Gaps.
35
+ QA must not maintain a second mapping or reclassify review findings.
34
36
 
35
37
  When post-CD+Tests review evidence exists, present the Runtime Contract's derived Quality
36
38
  Readiness projection before the detailed QA report: Plan coverage, Solution integrity, Code
@@ -48,6 +50,11 @@ Gate Transition Card or the durable QA report.
48
50
  6. Solution integrity is mandatory.
49
51
  7. Always output exactly one decision: `pass`, `revise`, or `block`.
50
52
  8. Open risks, missing tests, partial TP coverage, or side effects must be visible.
53
+ 9. Applicable UX Intent Fidelity rows must all be `fulfilled` with suitable visible evidence before `pass`.
54
+ 10. A `requirements_gap` routes to PRD revision; QA must not invent or accept the missing criterion.
55
+ 11. Any applicable normalized finding that is `open`, missing, unknown, contradictory or supported by
56
+ insufficient evidence prevents `pass`.
57
+ 12. A `resolved` finding counts only when its durable review evidence proves the routed correction or decision.
51
58
 
52
59
  ## When To Use
53
60
  - after `CD+Tests`
@@ -82,14 +89,16 @@ If evidence is missing, lower the decision accordingly.
82
89
  2. Verify TP coverage.
83
90
  3. Verify P0/P1 completion.
84
91
  4. Verify Brownfield fit.
85
- 5. Verify solution integrity.
86
- 6. Verify tests and evidence strength.
87
- 7. Verify documentation and Context Graph impact if relevant.
88
- 8. Decide:
92
+ 5. Verify UX Intent Fidelity when applicable, including visible evidence for visible-behavior claims.
93
+ 6. Consume normalized findings without reclassification; fail closed on every open or invalid row.
94
+ 7. Verify solution integrity.
95
+ 8. Verify tests and evidence strength.
96
+ 9. Verify documentation and Context Graph impact if relevant.
97
+ 10. Decide:
89
98
  - `pass`
90
99
  - `revise`
91
100
  - `block`
92
- 9. State the single required next step.
101
+ 11. State the single required next step.
93
102
 
94
103
  ## Output
95
104
  Use this shape:
@@ -125,3 +134,4 @@ This skill must not:
125
134
  - replace UAT
126
135
  - treat missing reviews as completed
127
136
  - downgrade SoT drift to harmless warning
137
+ - silently repair, normalize or reroute a review finding
@@ -27,6 +27,8 @@ Use these focused runtime-contract modules:
27
27
 
28
28
  TP-specific output must evaluate every relevant `task_id` with completion status, AC coverage, evidence, missing evidence, and QA-relevant gaps.
29
29
  If `context_graph_required_action` is not `none`, the affected task is complete only if follow-up, evidence, or an intentionally open gap is visible.
30
+ Applicable review gaps must use `../../contracts/quality.md` §Normalized Review Gaps. This skill
31
+ must not maintain its own type-to-route mapping.
30
32
 
31
33
  ## Rules
32
34
  1. The Task Plan is the reference, not plausible code.
@@ -39,6 +41,12 @@ If `context_graph_required_action` is not `none`, the affected task is complete
39
41
  8. P0/P1 gaps must be handed to QA.
40
42
  9. Out-of-scope changes must be reported.
41
43
  10. When evidence is unclear, fail closed to at least `partially_done`.
44
+ 11. When approved PRD UX criteria apply, verify both PRD-to-TP coverage and TP-to-code/surface fulfilment.
45
+ 12. Never invent a missing UX requirement. Report `requirements_gap` and route it to PRD revision.
46
+ 13. Visible behavior requires visible evidence; code evidence alone is `not_verifiable`.
47
+ 14. A fulfilled UX Intent Fidelity row uses `none`; every non-fulfilled applicable row uses one
48
+ normalized gap type and a contract-valid route.
49
+ 15. Missing, unknown or contradictory classifications fail closed and stay open.
42
50
 
43
51
  ## Clarifications
44
52
  ### TP Slice Before Target State
@@ -90,6 +98,27 @@ Use this compact structure:
90
98
  - required_next_step:
91
99
  ```
92
100
 
101
+ When applicable, append:
102
+
103
+ ```text
104
+ ## UX Intent Fidelity
105
+ | prd_criterion | working_mode_state | task_id | visible_evidence | fidelity_status | gap_type |
106
+ |---|---|---|---|---|---|
107
+ ```
108
+
109
+ Use `fulfilled | partial | missing | not_verifiable` for `fidelity_status` and
110
+ the shared Quality Contract for `gap_type`. `none` is allowed only on a fulfilled row.
111
+
112
+ When an applicable gap needs routing detail, append:
113
+
114
+ ```text
115
+ ## Normalized Findings
116
+ | finding_id | gap_type | routing_target | gap_status | evidence | required_next_step |
117
+ |---|---|---|---|---|---|
118
+ ```
119
+
120
+ Use only contract-defined values. Do not reconstruct the type-to-route mapping locally.
121
+
93
122
  Completion status:
94
123
 
95
124
  - `fully_done`
@@ -122,3 +151,7 @@ This skill must not:
122
151
  - hide partial work
123
152
  - upgrade missing evidence into confidence
124
153
  - reinterpret the TP scope
154
+ - create or silently repair product requirements
155
+ - treat code existence as visible UX evidence
156
+ - emit `none` as a normalized finding type
157
+ - silently repair or reclassify an invalid finding
@@ -0,0 +1,94 @@
1
+ ---
2
+ name: agdf-ux-intent-definition
3
+ description: Use this skill after approved UR and post-UR routing when UI/UX impact is medium or high, or low with ambiguous product semantics, to define user intent, success, working modes, effective state, visible state ownership, activation, blockers, recovery and transitions as structured PRD input; fail closed when evidence or product decisions are unresolved. This internal analysis never grants gate permission or replaces the approved PRD.
4
+ ---
5
+
6
+ # ux-intent-definition
7
+
8
+ ## Purpose
9
+
10
+ Create structured, testable UX intent input before PRD approval so implementation reviews verify an
11
+ approved product promise instead of inventing requirements after code exists.
12
+
13
+ ## Runtime Contract
14
+
15
+ Use:
16
+
17
+ - `../../contracts/gate-transition.md` for impact routing, authority and revision behavior;
18
+ - `../../contracts/quality.md` for evidence and fail-closed output discipline.
19
+
20
+ ## Authority
21
+
22
+ This is an internal analytical skill, not a user gate. It cannot approve artefacts, grant
23
+ implementation permission, change approved UR/PRD intent, prescribe technical design or become a
24
+ parallel product source of truth. Proposed criteria become authoritative only when incorporated into
25
+ and approved as PRD content. Technical storage, derivation and component ownership remain SD concerns.
26
+
27
+ ## Inputs
28
+
29
+ - approved UR and its intent, success signal, primary action and persona/context;
30
+ - post-UR `delivery_context`, `ui_ux_impact`, reason and required flag;
31
+ - existing behavior/ownership evidence for Brownfield work;
32
+ - known working modes, state semantics, activation, blockers, recovery and transitions.
33
+
34
+ ## Workflow
35
+
36
+ 1. Confirm the approved UR and routing evidence. If required evidence is absent or conflicts, block.
37
+ 2. Identify the primary user intent, observable success and primary decision/action.
38
+ 3. For every relevant working mode, define effective state and visible state types.
39
+ 4. Separate `effective_state_authority_by_mode` from
40
+ `primary_state_presentation_owner_by_mode`; do not turn either into technical ownership.
41
+ 5. Define activation/deactivation, blockers with visible next actions, actionable recovery (including
42
+ visible retry for recoverable transient failure) and relevant state transitions.
43
+ 6. Propose observable PRD acceptance criteria and identify open product questions.
44
+ 7. Return exactly one decision: `ready | blocked | not_applicable`.
45
+
46
+ ## Decision Rules
47
+
48
+ - `ready`: every required output is reliable enough for PRD drafting.
49
+ - `blocked`: user intent, modes, effective state, authority, activation, blockers, recovery, transitions
50
+ or Brownfield evidence is missing, contradictory or materially ambiguous.
51
+ - `not_applicable`: routing proves that no relevant user-facing intent, state or recovery behavior changes.
52
+
53
+ A conflict with approved UR routes to UR revision. A material product change discovered after PRD
54
+ approval routes to PRD revision, or UR revision when intent/scope changes. Never resolve the conflict
55
+ silently. A required blocked result prevents PRD readiness.
56
+
57
+ ## Output
58
+
59
+ Populate each field or use an explicit, justified `not_applicable`:
60
+
61
+ ```text
62
+ - decision: ready | blocked | not_applicable
63
+ - blocking_reason:
64
+ - primary_user_intent:
65
+ - success_signal:
66
+ - primary_decision_or_action:
67
+ - working_modes:
68
+ - effective_state_by_mode:
69
+ - visible_state_types:
70
+ - effective_state_authority_by_mode:
71
+ - primary_state_presentation_owner_by_mode:
72
+ - activation_paths:
73
+ - blockers:
74
+ - recovery_paths:
75
+ - relevant_state_transitions:
76
+ - proposed_prd_acceptance_criteria:
77
+ - open_product_questions:
78
+ - affected_outputs:
79
+ - evidence:
80
+ - missing_evidence:
81
+ - required_next_step:
82
+ ```
83
+
84
+ For `blocked`, `blocking_reason`, `open_product_questions`, `affected_outputs`, `evidence`,
85
+ `missing_evidence` and `required_next_step` are mandatory. When durable control state exists, write
86
+ the result to `.agdf/control/artefacts/<key>/UX_INTENT_DEFINITION.md` without a Gate or approval field.
87
+
88
+ ## Forbidden
89
+
90
+ - invent product intent or silently choose between conflicting modes/state authorities;
91
+ - bypass UR/PRD revision or claim PRD readiness from a blocked result;
92
+ - add a gate, approval value or implementation permission;
93
+ - prescribe components, persistence, endpoints, styles or other technical design;
94
+ - treat supporting analysis as authoritative beside the approved PRD.
@@ -13,6 +13,7 @@ Therefore generated Copilot skill names use the AGDF prefix:
13
13
 
14
14
  - `agdf-delivery-path-search`
15
15
  - `agdf-brownfield-analysis`
16
+ - `agdf-ux-intent-definition`
16
17
  - `agdf-clean-implementation-review`
17
18
  - `agdf-code-review`
18
19
  - `agdf-delivery-closeout`
@@ -39,6 +40,10 @@ Do not infer active scope from branch names, uncommitted workspace deltas, chat
39
40
  If multiple active scopes are plausible, list the evidenced lines and route to `agdf-gate-check` or workstate clarification instead of choosing silently.
40
41
  After `Approval: UR`, run lightweight Brownfield Review before PRD when Brownfield, ownership, runtime, policy, persistence, architecture, UI or UX impact is possible.
41
42
  Brownfield Review must produce a Mode/Slice Decision: `quick_task`, `verified_change`, `structured_slice`, `structured_delivery` or `block`.
43
+ That same review records the shared UI/UX impact classification. Run `agdf-ux-intent-definition` before
44
+ PRD readiness for medium/high impact and for low impact with ambiguous mandatory PRD semantics. It is
45
+ an internal analytical step, not a gate or product authority; a required blocked result keeps PRD
46
+ readiness closed.
42
47
  Make that decision visible before coding or drafting later artefacts: state the selected path, scope reason, evidence and next required gate in the live control state or linked artefact.
43
48
  Do not assume the full PRD/SD/TP chain before that decision; use only as much gate depth as the reviewed change size justifies. A user-visible change is not automatically Verified Change eligible; any missing or ambiguous record condition escalates to the declared structured target before implementation.
44
49
 
@@ -51,6 +56,7 @@ Structured Delivery Mode must respect gates, reviews and closeout discipline.
51
56
  |---|---|---|
52
57
  | `agdf-delivery-path-search` | high-impact planning decisions with several plausible next delivery steps before implementation | read-only advisory search; never grants gate permission or replaces gate-check |
53
58
  | `agdf-brownfield-analysis` | after gate-check permits Brownfield Review or implementation preparation, before non-trivial changes in existing systems | clarifies reuse, owners, risks and Mode/Slice Decision; never bypasses gate-check; Brownfield Review is not implementation permission |
59
+ | `agdf-ux-intent-definition` | after approved UR and post-UR routing for medium/high UI/UX impact or ambiguous low-impact product semantics before PRD readiness | non-authorizing analytical PRD input; never creates product intent, gate permission, technical design or a parallel product source of truth |
54
60
  | `agdf-clean-implementation-review` | evidence dimension: inspect whether the solution is structurally clean | supports Quality Readiness; not a TP or QA substitute |
55
61
  | `agdf-code-review` | evidence dimension: review the actual diff for defects, regression and security findings | supports Quality Readiness; does not replace QA |
56
62
  | `agdf-delivery-closeout` | commit/PR-near handoff after QA/OR/UAT | never performs VCS actions automatically |
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agdf",
3
- "version": "0.10.3",
3
+ "version": "0.11.0",
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.10.3",
3
+ "version": "0.11.0",
4
4
  "description": "Operating system for governed AI-assisted delivery.",
5
5
  "author": {
6
6
  "name": "Arndt Gold",
@@ -17,6 +17,18 @@ Status: `draft | done | not_applicable | superseded`
17
17
 
18
18
  What approved UR scope is being sized and routed?
19
19
 
20
+ ## UI / UX Impact Routing
21
+
22
+ - delivery_context: `greenfield | brownfield`
23
+ - ui_ux_impact: `none | low | medium | high`
24
+ - ui_ux_impact_reason:
25
+ - ux_intent_definition_required: `yes | no`
26
+ - ux_intent_definition_result: `ready | blocked | not_applicable`
27
+
28
+ Use the single classification contract in `meta/contracts/gate-transition.md`. A required `blocked`
29
+ result prevents PRD readiness. Greenfield explicitly marks existing-system evidence not applicable;
30
+ Brownfield cites repository evidence.
31
+
20
32
  ## Existing-System View
21
33
 
22
34
  | Area | Existing owner or artefact | Evidence | Impact |
@@ -11,31 +11,63 @@ Owner:
11
11
 
12
12
  What exactly must be delivered?
13
13
 
14
- ## 2. Acceptance Criteria
14
+ ## 2. UX Intent And Success
15
15
 
16
- Which observable outcomes must be true?
16
+ - ui_ux_impact: none | low | medium | high
17
+ - ux_intent_definition: <ready analysis reference | directly defined low-impact semantics | justified not_applicable>
18
+ - primary_user_intent:
19
+ - success_signal:
20
+ - primary_decision_or_action:
17
21
 
18
- ## 3. Non-Goals
22
+ Every field must be populated or explicitly justified as `not_applicable`. Medium/high impact requires
23
+ a `ready` UX Intent Definition result before this PRD is ready.
24
+
25
+ ## 3. Working Modes And Effective State
26
+
27
+ For every user-relevant working mode, define:
28
+
29
+ | working_mode | effective_state | visible_state_types | effective_state_authority | primary_state_presentation_owner |
30
+ |---|---|---|---|---|
31
+ | | | | | |
32
+
33
+ Product/system authority decides what is effectively true. Presentation ownership identifies the
34
+ primary surface that communicates state and next action. Technical storage, derivation and component
35
+ ownership remain Solution Design concerns.
36
+
37
+ ## 4. Activation, Blockers, Recovery And Transitions
38
+
39
+ - activation_and_deactivation:
40
+ - blockers_and_visible_next_actions:
41
+ - recovery_paths: <include visible retry for recoverable transient failure>
42
+ - relevant_state_transitions: <trigger, source, target, visible feedback, next action, failure/rollback>
43
+
44
+ ## 5. Acceptance Criteria
45
+
46
+ Every applicable UX criterion must include a stable `criterion_id`, `working_mode`, `source_state`,
47
+ trigger/action, expected effective state, visible feedback, blocker/failure behavior, recovery/next
48
+ action, observable success and required evidence. Specify observable behavior, not implementation.
49
+
50
+ ## 6. Non-Goals
19
51
 
20
52
  What remains out of scope?
21
53
 
22
- ## 4. Users And Roles
54
+ ## 7. Users And Roles
23
55
 
24
56
  Who is affected and who decides?
25
57
 
26
- ## 5. Constraints
58
+ ## 8. Constraints
27
59
 
28
60
  Which business, operational, legal, security or compatibility constraints apply?
29
61
 
30
- ## 6. Evidence Requirements
62
+ ## 9. Evidence Requirements
31
63
 
32
64
  Which evidence must later support QA?
33
65
 
34
- ## 7. Risks And Open Questions
66
+ ## 10. Risks And Open Questions
35
67
 
36
68
  Which questions must SD, TP or Brownfield Analysis clarify later?
37
69
 
38
- ## 8. Next Step
70
+ ## 11. Next Step
39
71
 
40
72
  Review this PRD and approve only with:
41
73
 
@@ -0,0 +1,51 @@
1
+ # UX Intent Definition: <Title>
2
+
3
+ Status: draft | ready | blocked | not_applicable
4
+ Decision: ready | blocked | not_applicable
5
+ Based on: approved UR and post-UR routing evidence
6
+ Date:
7
+ Owner:
8
+
9
+ This is non-authorizing analytical input. It is not a user-gate artefact, carries no approval and
10
+ grants no implementation permission. After PRD approval, the PRD is the sole product authority.
11
+
12
+ ## 1. Routing Evidence
13
+
14
+ - delivery_context: greenfield | brownfield
15
+ - ui_ux_impact: none | low | medium | high
16
+ - ui_ux_impact_reason:
17
+ - ux_intent_definition_required: yes | no
18
+
19
+ ## 2. Intent And Success
20
+
21
+ - primary_user_intent:
22
+ - success_signal:
23
+ - primary_decision_or_action:
24
+
25
+ ## 3. Working Modes And State
26
+
27
+ - working_modes:
28
+ - effective_state_by_mode:
29
+ - visible_state_types:
30
+ - effective_state_authority_by_mode:
31
+ - primary_state_presentation_owner_by_mode:
32
+
33
+ ## 4. Activation, Blockers, Recovery And Transitions
34
+
35
+ - activation_paths:
36
+ - blockers:
37
+ - recovery_paths:
38
+ - relevant_state_transitions:
39
+
40
+ ## 5. Proposed PRD Acceptance Criteria
41
+
42
+ - proposed_prd_acceptance_criteria:
43
+
44
+ ## 6. Decision Evidence
45
+
46
+ - blocking_reason:
47
+ - open_product_questions:
48
+ - affected_outputs:
49
+ - evidence:
50
+ - missing_evidence:
51
+ - required_next_step:
@@ -14,6 +14,7 @@ Therefore plugin skill names are intentionally unprefixed:
14
14
  - `gate-check`
15
15
  - `delivery-path-search`
16
16
  - `brownfield-analysis`
17
+ - `ux-intent-definition`
17
18
  - `task-plan-review`
18
19
  - `clean-implementation-review`
19
20
  - `code-review`
@@ -40,6 +41,10 @@ Do not infer active scope from branch names, uncommitted workspace deltas, chat
40
41
  If multiple active scopes are plausible, list the evidenced lines and route to `gate-check` or workstate clarification instead of choosing silently.
41
42
  After `Approval: UR`, run lightweight Brownfield Review before PRD when Brownfield, ownership, runtime, policy, persistence, architecture, UI or UX impact is possible.
42
43
  Brownfield Review must produce a Mode/Slice Decision: `quick_task`, `verified_change`, `structured_slice`, `structured_delivery` or `block`.
44
+ That same review records the shared UI/UX impact classification. Run `ux-intent-definition` before
45
+ PRD readiness for medium/high impact and for low impact with ambiguous mandatory PRD semantics. It is
46
+ an internal analytical step, not a gate or product authority; a required blocked result keeps PRD
47
+ readiness closed.
43
48
  Make that decision visible before coding or drafting later artefacts: state the selected path, scope reason, evidence and next required gate in the live control state or linked artefact.
44
49
  Do not assume the full PRD/SD/TP chain before that decision; use only as much gate depth as the reviewed change size justifies. A user-visible change is not automatically Verified Change eligible; any missing or ambiguous record condition escalates to the declared structured target before implementation.
45
50
 
@@ -52,6 +57,7 @@ Structured Delivery Mode must respect gates, reviews and closeout discipline.
52
57
  |---|---|---|
53
58
  | `delivery-path-search` | high-impact planning decisions with several plausible next delivery steps before implementation | read-only advisory search; never grants gate permission or replaces gate-check |
54
59
  | `brownfield-analysis` | after gate-check permits Brownfield Review or implementation preparation, before non-trivial changes in existing systems | clarifies reuse, owners, risks and Mode/Slice Decision; never bypasses gate-check; Brownfield Review is not implementation permission |
60
+ | `ux-intent-definition` | after approved UR and post-UR routing for medium/high UI/UX impact or ambiguous low-impact product semantics before PRD readiness | non-authorizing analytical PRD input; never creates product intent, gate permission, technical design or a parallel product source of truth |
55
61
  | `clean-implementation-review` | evidence dimension: inspect whether the solution is structurally clean | supports Quality Readiness; not a TP or QA substitute |
56
62
  | `code-review` | evidence dimension: review the actual diff for defects, regression and security findings | supports Quality Readiness; does not replace QA |
57
63
  | `delivery-closeout` | commit/PR-near handoff after QA/OR/UAT | never performs VCS actions automatically |
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "id": "agdf",
4
- "version": "0.10.3",
4
+ "version": "0.11.0",
5
5
  "displayName": "AI Governance & Delivery Framework",
6
6
  "developerName": "Arndt Gold",
7
7
  "description": "Operating system for governed AI-assisted delivery.",
@@ -168,6 +168,12 @@
168
168
  "useFor": "after gate-check permits Brownfield Review or implementation preparation, before non-trivial changes in existing systems",
169
169
  "boundary": "clarifies reuse, owners, risks and Mode/Slice Decision; never bypasses gate-check; Brownfield Review is not implementation permission"
170
170
  },
171
+ {
172
+ "slug": "ux-intent-definition",
173
+ "discovery": "automatic",
174
+ "useFor": "after approved UR and post-UR routing for medium/high UI/UX impact or ambiguous low-impact product semantics before PRD readiness",
175
+ "boundary": "non-authorizing analytical PRD input; never creates product intent, gate permission, technical design or a parallel product source of truth"
176
+ },
171
177
  {
172
178
  "slug": "clean-implementation-review",
173
179
  "discovery": "automatic",
@@ -99,6 +99,31 @@ Mode/Slice Decision rules:
99
99
 
100
100
  A Mode/Slice Decision without scope reason and evidence is not recorded. Treat it as missing and keep the next step at `Mode/Slice Decision`.
101
101
 
102
+ ### UI/UX Impact And UX Intent Definition
103
+
104
+ The existing `brownfield-analysis` `post_ur_review` mode is the single proportional routing owner for
105
+ both Greenfield and Brownfield delivery. It records:
106
+
107
+ - `delivery_context: greenfield | brownfield`
108
+ - `ui_ux_impact: none | low | medium | high`
109
+ - `ui_ux_impact_reason`
110
+ - `ux_intent_definition_required: yes | no`
111
+
112
+ Classify impact as:
113
+
114
+ - `none`: no user-facing capability, decision, state, feedback or recovery behavior changes;
115
+ - `low`: a bounded user-facing change preserves unambiguous intent, working modes, effective-state,
116
+ activation and recovery semantics;
117
+ - `medium`: a bounded capability materially changes its primary action, working mode, effective
118
+ state, visible state type, blocker, activation or recovery behavior; or
119
+ - `high`: the change spans capabilities or modes, creates competing or safety-relevant authority,
120
+ adds high-consequence decisions or materially changes cross-surface activation and recovery.
121
+
122
+ `medium | high` requires `ux-intent-definition` before PRD readiness. `low` requires it when any
123
+ mandatory PRD UX semantics remain ambiguous. `none` records the analytical decision
124
+ `not_applicable`. The skill is an internal, non-authorizing step: it adds no gate, approval value or
125
+ implementation permission. A required `blocked` result keeps PRD readiness closed.
126
+
102
127
 
103
128
  ## Gate Transition Model
104
129