Summary
Add an explicit confirmation step before the EventCreator generates an event for an instance.
Rationale
The interactive flows for generating an event and comparing similar instances have similar menu and input progression. A user can select the event-generation option by mistake when repeatedly using the menu. Generating an event is the operation that needs an explicit confirmation.
Required changes
- Add a clear confirmation prompt after the user provides a valid instance for the
Generate event for instance workflow.
- Generate the event only when the user explicitly confirms the operation.
- Return to a safe menu state when the user declines or provides invalid confirmation input.
- Do not add the confirmation step to read-only analysis or comparison workflows unless the final design requires it.
Affected areas
tools/EventCreator/EventCreator/Program.cs
- EventCreator input and workflow components if they are extracted by related refactoring
Acceptance criteria
- Event generation requires an explicit affirmative confirmation.
- Declining confirmation does not generate an event.
- The prompt clearly states that the next action generates an event for the selected instance.
- Read-only workflows retain their current behavior.
Context
Summary
Add an explicit confirmation step before the EventCreator generates an event for an instance.
Rationale
The interactive flows for generating an event and comparing similar instances have similar menu and input progression. A user can select the event-generation option by mistake when repeatedly using the menu. Generating an event is the operation that needs an explicit confirmation.
Required changes
Generate event for instanceworkflow.Affected areas
tools/EventCreator/EventCreator/Program.csAcceptance criteria
Context