VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

Vocabulary Coding and Engineering | The Semantic Compensation Ledger: When AI Cannot Undo What Happened, What Can It Actually Repair?

Two university researchers connect source data and plotting steps to a matching validated chart and caption checklist.

An AI system may successfully complete several steps of a requested workflow before discovering that a later step cannot proceed. It may have changed a shared record, reserved a resource or communicated information to another party. The word undo can hide a difficult question: can the earlier effect truly be reversed, or can only a new corrective action be taken? Vocabulary Coding and Engineering proposes a Semantic Compensation Ledger: preserve the actual effects of each step, the legitimate remedies available, their evidence and the consequences that remain after recovery. Its purpose is to make repair accountable rather than promise an impossible return to the past.

Hector Garcia-Molina and Kenneth Salem’s Sagas (1987) introduced a database approach in which a long-running operation can be decomposed into transactions and partial execution addressed through compensating transactions. Modern Microsoft Azure architecture guidance on compensation emphasises that such recovery need not restore the exact earlier state. The eduKateSG proposal applies this distinction to language and distributed intelligence, building on the Semantic Correction Receipt, Idempotency and Progress Contract. It is a research proposal, not an implemented transaction manager, recovery guarantee or claim of new human-outcome evidence.

  • Distinguish an uncommitted change, an established external effect and an uncertain outcome.
  • Record each completed step and the legitimate remedy for its particular consequence.
  • Do not equate a corrective action with restoration of the original world state.
  • Recheck current conditions and authority before attempting a remedy.
  • Preserve the distinction between a requested, attempted, confirmed and failed compensation.
  • Keep residual consequences and unresolved recovery visible.
  • Test fictional partial failures and recovery paths before considering consequential deployment.

Chapter index

1. The misleading simplicity of undo

Suppose a fictional event organiser creates a provisional room reservation and then discovers that the required equipment is unavailable. Cancelling the reservation may release the room, but it cannot erase the fact that the room was temporarily reserved or that other people may have made plans. A new action can repair a particular effect without restoring every earlier circumstance. The same distinction applies to an AI that has changed a document or sent a message. Define the affected state and the available remedy rather than promise that everything will return to the way it was.

2. What sagas contribute

The original saga research describes long-running operations composed of smaller transactions, with compensating transactions to address completed portions when the whole operation cannot succeed. This is an established database concept with specified system assumptions. The useful analogy for vocabulary engineering is the separation of an original committed effect from an authorized subsequent remedy. A human and AI workflow may contain effects outside any transactional system, including communications that cannot simply be recalled. The formal guarantees of a particular database design cannot be assumed for the broader workflow.

3. Rollback and compensation are not synonyms

A database transaction may support rollback of changes that have not been committed, under its own transaction rules. After an effect has become externally established, a distinct action may be needed to counter or repair it. That action is compensation in the sense used here. In some domains a genuine inverse operation is available; in others the best remedy is partial or alternative. Preserve which mechanism applies. Do not say a transaction was rolled back when the record only shows a subsequent correction request. The distinction matters to both the user and downstream systems.

4. A harmless fictional workflow

Imagine an assistant preparing a community workshop using three steps: reserve a room, request a fictional equipment allocation, and confirm an internal planning record. Assume the toy room service reports a successful provisional reservation, but the equipment service explicitly rejects the request because the required item is unavailable. The original plan cannot proceed as specified. A recovery option might be to cancel the room reservation if the applicable rules and authorization permit it. These are invented conditions, not actual bookings. The compensation ledger records which effects exist before it evaluates the proposed remedy.

5. Do not guess whether a failed response means no effect

Change the fictional equipment response from a definite rejection to a lost connection. The actual allocation may or may not have occurred. Attempting compensation without resolving that distinction could create another error. The Idempotency record links attempts to the original operation, and an authorized status check may establish the outcome. If the relevant evidence remains unavailable, report an uncertain state. A timeout is a fact about communication, not proof that an external operation failed. The available remedy depends on the state actually established.

6. The proposed ledger record

Record a workflow identifier, step identifier, intended action, target and version, authorization reference, observed effect, supporting evidence, current state, proposed remedy, remedy preconditions, responsible authority and known limitations. Add a separate compensation operation identifier, attempts and confirmed outcome. Retain a field describing residual consequences and unresolved conditions. Where the original effect is unknown, preserve that state. The ledger does not authorise an action merely by listing one. Its function is to make original work and recovery inspectable, subject to actual security, privacy and operational controls.

7. An inverse action can have its own prerequisites

A fictional reservation service may permit cancellation only by the authorised holder and within a specified interval. A request to create a reservation does not necessarily imply authority for every subsequent action. Check the actual permissions and applicable policy. The Precondition Witness can preserve the relevant conditions, while the Commit Boundary distinguishes preparation from execution. If a remedy is unavailable, retain the reason and seek an appropriate review route. Do not evade restrictions by using another account or reinterpret an earlier instruction to manufacture the missing authority.

8. The world may change between action and repair

Suppose a shared planning record changes after the assistant’s original edit because another authorised participant adds new information. Restoring the entire old record could destroy the legitimate later contribution. Microsoft’s compensation guidance highlights the importance of accounting for intervening work rather than blindly restoring an earlier snapshot. Preserve the original effect and current version. A narrowly scoped corrective action may be preferable when supported by the actual system and policy. In this fictional example, a version check helps identify conflicts; it cannot guarantee that every concurrent effect is recoverable.

9. A correction can leave a residual consequence

A message containing an incorrect date may be followed by a corrected notice. Some recipients may have read only the original. Others may already have changed their plans. The later notice is a genuine correction if it was appropriately issued, but it does not establish that all downstream effects were repaired. The earlier Semantic Correction Receipt tracks known recipients and dependent records. This ledger extends the idea to completed operational effects and remedies. Report residual uncertainty instead of treating a corrected source as proof that every consequence has disappeared.

10. Repair order follows the actual dependencies

Some remedies may need to occur before others, while unrelated ones may be performed independently. The reverse order of original actions is not automatically the appropriate recovery sequence. For example, a fictional shared record may need a status check before an associated allocation is released. The relevant service rules and current conditions determine the order. The Choreography Contract can record the participants and required messages; the Progress Contract can identify blocked recovery. Do not invent a universal reversal algorithm from a list of past actions. A repair specification must preserve the actual dependencies.

11. A compensation is another operation

The remedy may itself fail, succeed, be rejected or produce an uncertain outcome. Assign it a distinct identity and preserve its scope. If a cancellation response is lost, do not infer that the cancellation failed or blindly submit another request without checking safe repeatability. The earlier Idempotency article explains why repeated messages need not represent independent intended effects. Recovery should retain its own attempt history and evidence. A statement that a remedy was requested is not a statement that it was completed, and neither establishes that every residual consequence was resolved.

12. The point of no return

Some actions may be irreversible in the relevant context. Information already disclosed cannot necessarily be made unknown to its recipients. A public record may be copied outside the system’s control. A formal commitment may have legal consequences that cannot be cancelled by a technical edit. Where irreversible effects are possible, identify them before execution and require appropriate checks. The ledger should distinguish fully reversible effects, conditionally compensable effects and effects that require another form of remedy or remain unresolved. These categories depend on domain evidence, not an optimistic label supplied by the assistant.

13. Zoom 0: learning from correction

A learner can correct an incorrect answer and understand why it was wrong. That does not mean the initial misunderstanding never occurred. Retaining a short record of the error and the corrected reasoning can help the learner recognise the same distinction in a new problem. The practical aim is to repair the underlying understanding rather than erase the visible mark. The same vocabulary applies to AI-supported work: a revised answer should preserve which part changed and what evidence supports the correction. A successful repair of one example does not establish mastery of all related tasks.

14. Zoom 1: household coordination

A household assistant may help prepare an arrangement that later changes. A useful correction identifies the actual event, any confirmed reservation or message, and which steps can legitimately be adjusted. It does not promise to erase messages already seen by other people or cancel services it cannot access. When permission is needed, communicate that boundary. A household can distinguish a proposed correction from a confirmed result with simple language. The proposed ledger becomes useful when several services and people participate and an unclear recovery status could lead to repeated work or confusion.

15. Zoom 2: organisational recovery

A company may combine several services in a long-running operation. A later failure can leave some steps completed and others unresolved. An accountable recovery process preserves the evidence for each effect, identifies available remedies and tracks which ones actually succeed. Do not close the case merely because a correction request was submitted. The actual business rules, security controls and specialist responsibilities determine what can be repaired. The ledger is a proposed vocabulary layer for communication and auditing, not a replacement for a suitable transaction design or appropriate operational oversight.

16. Zoom 3: institutions and consequences

A public institution may issue a correction to information that influenced people’s actions. The corrected publication is one observable event. Whether people received it, whether their cases were reviewed and whether remedies were available are separate questions. Actual responsibilities, rights and procedures depend on the institution and jurisdiction. An AI must not invent a refund, legal remedy, entitlement or approval. It can preserve the distinction between a corrected record and a confirmed outcome, helping a person identify the legitimate review route. The proposal supports accountability without substituting for the responsible authority.

17. Zoom 4: cooperative artificial intelligence

The Second Intelligence Pool may include agents that retrieve evidence, prepare documents, invoke services and review outcomes. If a multistep interaction fails, no participant should assume that every earlier effect vanished. Preserve the original interaction identity, confirmed effects and dependencies. The Choreography and Progress contracts provide complementary descriptions of role obligations and blocked work. A compensation ledger can identify which legitimate actions remain available and who can assess them. This is a proposed coordination architecture, not evidence that an autonomous network can safely repair all external consequences.

18. Zoom 5: civilisation and institutional repair

A society’s resilience depends partly on its ability to identify and correct errors without pretending that history can be erased. A future institution may inherit descriptions of prior procedures, failures and remedies. The useful knowledge includes the conditions under which the remedy worked and the consequences that remained. Portable civilisation should preserve appropriately shareable records and the capacity to reassess them, while respecting privacy and retention limits. A repair is a new event in history, not necessarily the inverse of every earlier event. That distinction helps future generations learn from institutional experience.

19. A fictional state table in words

For the workshop example, record the room reservation as confirmed, equipment request as explicitly rejected, planning confirmation as not attempted, and room cancellation as proposed. If an authorized cancellation later succeeds, record that as a new confirmed effect. The original reservation remains a historical event, even though its current status may be cancelled. If the cancellation is unavailable, the final record should describe the residual reservation or uncertainty. These are proposed fixture states, not actual events. They illustrate why one global label such as rolled back can conceal the evidence a person needs.

20. Verify the remedy against its intended effect

Suppose a fictional cancellation service reports that a request has been accepted for processing. If the desired outcome is that the room is no longer reserved, acceptance of the cancellation request does not necessarily establish that result. Check the source-specific meaning of the response and the actual evidence available. A subsequent receipt may establish completion, or the state may remain unresolved. The ledger preserves both the remedy’s procedural status and the effect it is intended to achieve. This distinction prevents a system from reporting recovery on the strength of another unverified promise.

21. Six proposed recovery fixtures

Construct fictional traces involving an uncommitted change, a confirmed reversible effect, an uncertain original outcome, a conflicting later revision, a compensation attempt with an uncertain result and an irreversible disclosure. Ask reviewers to identify which facts are established and which remedy, if any, may legitimately be considered. Include a case where no authorized corrective action exists. These are proposed tests, not observed results. A useful evaluation should distinguish safe recovery from an action that merely produces an appealing success message. Record genuine disagreements and defects in the specification.

22. Avoid both premature recovery and needless abandonment

A transient technical interruption may be resolved through an appropriate safe retry, while an established failure may require a different path. The relevant service behavior, current state and authorization determine which options are available. Do not perform compensation simply because an earlier step was slow, and do not leave an established harmful effect unreported because the entire workflow cannot finish. The Information Value Gate can help identify which further evidence would matter, and the Exception Queue can preserve unresolved cases. The desired outcome is responsible handling, not maximum automatic reversal.

23. Privacy and auditability are compatible

A recovery record may contain sensitive references to the original operation. Store only the information necessary to establish the relevant effects and legitimate remedies, with appropriate access and retention controls. Do not expose private source material to every participant or treat a ledger identifier as authentication. Actual deletion, correction and disclosure obligations depend on the applicable rules. Preserve an appropriate history without implying that private content must remain accessible forever. A successful recovery design respects authorization and the legitimate interests of the people affected, even when that limits the evidence available to a later reviewer.

24. Four-week proposed research programme

Week 1: define a harmless fictional workflow, its observable effects and possible remedies. Week 2: construct reviewed partial-failure, uncertain-outcome and intervening-change traces. Week 3: if a prototype exists, inspect actual recovery behavior and whether permission and operation identities remain intact. Week 4: publish the tested cases, failures, residual consequences and limitations. These are proposed stages rather than completed research. Real deployment requires appropriate engineering, domain-specific safeguards and independent evidence. Never test irreversible real actions solely to demonstrate a theoretical recovery mechanism.

25. Questions every reader can ask

Which earlier steps actually succeeded? Which effects remain uncertain? Can the relevant state genuinely be restored, or is a separate corrective action needed? Has the world changed since the original operation? Who has authority to initiate a remedy? Did the remedy succeed, or was it merely requested? What consequences remain? These questions make the ordinary word undo more precise. They help people recognise when a system has repaired a documented problem and when it has only changed the description of the problem.

26. The integrated direction for VCE162–165

The Substitution Contract identifies what must be preserved when one capability replaces another. The Choreography Contract describes how local participants cooperate within a shared interaction. The Progress Contract distinguishes legitimate waiting, meaningful advances and truthful closure. The Compensation Ledger preserves the consequences and remedies of partially completed operations. Together these proposed extensions advance the operational vocabulary of portable intelligence and civilisation. They do not establish a new formal protocol, validated autonomous society or new Meaning Lab results. The next gate is a bounded, independently reviewed implementation and trace-based evaluation that preserves uncertainty, evidence and authority.

Technical references

Research status: sagas and compensating transactions are established software-engineering patterns. The Semantic Compensation Ledger is a proposed vocabulary-engineering extension. All examples and traces are fictional; no new implementation, independently validated recovery result, universal reversibility or human-outcome finding is claimed.