Interaction Design
Trigger Boundary
- •Use when user flow behavior, transitions, or state logic is unclear.
- •Do not use for high-level navigation hierarchy; use
information-architecture. - •Do not use for aesthetic styling decisions only; use
visual-design.
Goal
Define predictable and accessible interaction behavior across core flows.
Shared Design Contract (Canonical)
- •Use
../design-principles/references/design-governance-contract.mdas the single schema and gate source. - •Assign flow IDs as
UX-FLW-*. - •Run machine validation:
python3 ../design-principles/scripts/validate_design_contract.py --manifest <path/to/manifest.json>.
Inputs
- •User tasks and business-critical journeys
- •Existing flow issues and support signals
- •Platform interaction constraints
Outputs
- •Flow specifications with
UX-FLW-*IDs - •State transition and feedback behavior map
- •Edge-case and failure-state definitions
Workflow
- •Define start/end conditions for each key flow.
- •Map primary, alternative, and failure paths.
- •Specify state transitions and user feedback timing.
- •Add explicit empty, loading, and error states.
- •Validate keyboard and assistive-technology operability.
Quality Gates
- •Critical flows have explicit state models.
- •Failure states are defined and user-actionable.
- •Interaction behavior is consistent across similar patterns.
- •Accessibility gates pass for keyboard and focus behavior.
Failure Handling
- •Stop when flow goals or state boundaries are ambiguous.
- •Escalate when critical error states are undefined.