Prompt
Help us with our idempotent design work based on the goals and materials below. [input] Goals and usage situations: In an idempotent design, you want to resolve a blockage and decide the next course of action. Resources to review: Write API and retry conditions Conditions and Constraints: Please proceed based on the provided data, and mark any missing facts as requiring confirmation. Previous attempts and records: This is my first attempt. Please proceed from the parts that can be confirmed in the current data. [Key points to check in this topic] Check for duplicate side effects from re-executing the same request, loss of response, and simultaneous calls. [Results to be created this time] Find branches, abstractions, and state that are not needed to meet the current need. Check the rationale for removal and impact on callers, and suggest simplification in small units. Convert it to an explainable structure while preserving existing behavior and tests. [Working Principle] Give priority to facts confirmed in the current environment and provided code. Don't create APIs/files/tests that don't exist. Treat sensitive values as hidden examples and leave unexecuted tasks as unexecuted. If there is no input that will change the results, ask only the necessary questions first and proceed with the parts that can be confirmed with data. [Completion criteria] Ensure complexity is reduced without changing externally observable behavior. Distinguish between the basis for the outcome, remaining uncertainties, and next actions, and mark only what has actually been confirmed as complete.