GIT / REMEMBERING APPROVAL USE

Roll back the code.
Reuse the approval?

The executor stopped just after selecting the code. If the approval receipt is missing, did the change never happen?

Real Git traces compare writing the code selection and receipt separately with selecting one state commit containing both. First choose where execution stopped; then inspect what a rollback preserves.

Independent synthetic experiment · Recorded Git and process observations · No execution on this page

What remained after interruption?

Checking the recording…

Reading the recorded observations.

Each button reads a separate fixture repository. A is that case's baseline code; B is its verified candidate. An OID identifies a fixed object; a ref is the pointer selecting an object.

THE DECISION, AND ITS COST

Keeping memory changes the consumer's contract.

The ref now points to a state document, not deployable code. Consumers must capture its OID once and resolve both code and receipts through it. This is not a drop-in change for existing tools.

Writers must preserve receipts too. This fixture rewrites up to 16 retained receipts and implements no pruning policy. All writes contend on one ref. A code OID in JSON is not a Git GC edge; separate candidate refs retain those objects.

A real worker is stopped between completed Git commands in a synthetic local repository. This does not test power loss during a Git update, deployment or external effects. Scripted approval is not human authentication, and writers able to erase the record remain outside the protection.

Read the design choices and limits →

Follow the claim back to the observation.

A separate checker correlates states, receipts, worker phases and ordered Git reads. This page verifies a fixed file hash and reads its values from that JSON. Neither authenticates the recording host.

Runtime and raw recording hash

        

FOLLOW-UP / APPROVAL DEADLINE

Fresh at the check. Is that enough?

Preserving a receipt does not make the freshness check and Git ref update atomic. A real Git transaction was held after the last successful check, then allowed to commit after expiry. The control that expired before the recheck refused the change.

Order of the two controls · widths do not represent elapsed time

Expires before the check

  1. Deadline passes
  2. Check refuses
  3. A retained · no receipt

Expires after the check

  1. Freshness check passes
  2. Deadline passes
  3. B selected · receipt kept

Only the worker's logical clock is controlled: there is no five-minute wait or system-clock change. Permission to start while fresh and a deadline to finish are different contracts. The prepared Git hook is an observation tool, not a production remedy.

Read both controls and the design decision →

Separate JSON recording for the follow-up