What to paste into the tool
Task: a review-only result for the undo decision tree. First arrange my checked notes into the required record fields, keeping every note label, original source label and explicit still-to-confirm mark. Then prepare this review-only result from that record: A decision tree with entry gates for backup and status checks; shared, unshared and sharing-still-to-confirm branches; for each option purpose, supplied command text or still to confirm, effect on history/index/working files, loss risk, prerequisites, human decision and stop condition; every command labelled REVIEW ONLY - DO NOT RUN. If shared, show only documented approaches that preserve others' work for review; do not assume permission to rewrite shared history. If unshared, distinguish undoing the commit while retaining changes from discarding changes. Label every potentially destructive option DESTRUCTIVE - HUMAN REVIEW REQUIRED, describe what could be lost, and do not choose a destructive path. If sharing or status is still to confirm, stop for clarification. Use exact candidate commands only when grounded in supplied documentation and the stated situation; otherwise write command still to confirm - documentation review needed. Never invent branch names, commit IDs or backup success. Cite the note label and original source or documentation label for each explanation or decision basis. Use still to confirm where evidence is missing. Do not run commands, connect, modify anything or contact anyone. Checked inputs: use the uploaded checked notes, documentation excerpts, source labels, goals and unresolved facts. Return the decision tree first, then a source-label checklist and unresolved questions. Keep all commands review-only.