/** * Whether an operation's effect can be undone (ADR-0064 decision 1). * * - `irreversible` the effect happens there and then, and there is no way back. * - `compensable` it cannot be undone, but the original record stays and a new record corrects it. * - `reversible` a paired operation returns to the same state, and no other record holds the id of a * removed row (a row made again has a new id). * - `unknown` not yet established. A value of its own, so the classifier never guesses a neighbour. * * Screens ask a destructive confirmation only for `irreversible`. * * ── 왜 shell 인가 (ADR-0064 보탬, 2026-09-20) ──────────────────────────────── * operato-plant 가 먼저 적었고 `@things-factory/station` 이 둘째 소비자로 서면서 올라왔다 — * `refusal` 이 지난 길과 같다. 자리가 그 옆인 것은 같은 종류의 선언이기 때문이다: **문이 하는 일에 * 대해 서버가 아는 사실.** 소비처 넷이 이미 shell 을 들고 있다. * * **worklist 가 아닌 까닭.** 거기에는 이미 `Reversibility` 라는 이름이 있고 그것은 다른 타입이다 * (`{ reversible: boolean, caveat? }` — 결재 슬롯이 읽는 모양). 「승인을 되돌릴 수 있나」와 「이 문의 * 효과를 되돌릴 수 있나」는 다른 사실이고, 한 패키지에서 한 이름을 두고 다투게 두지 않는다. * * **화면은 이 상수를 import 하지 않는다.** 화면이 읽는 값은 질의로 오는 문자열이고, shell 의 * 클라이언트 진입점은 부수 효과를 들고 있어 타입 하나를 위해 지날 자리가 아니다. */ export declare const REVERSIBILITIES: readonly ["irreversible", "compensable", "reversible", "unknown"]; export type Reversibility = (typeof REVERSIBILITIES)[number];