What a workflow log does when it is replayed

AI automation

The page folds a short log of events. A repeated event id is ignored after the first, and the fingerprint is an integer residue, not a security hash. It does not call a model or touch a live system.

Kinds are approve, reject, ok, and fail. For ok and fail the extra field is 0. For approve and reject it is the version integer. The residue uses base 131 and modulus 1000000007.

The result appears here when the page script runs.

How it is computed

Method

If the gate is required the state starts held, otherwise ready. Approve moves held to ready only when the extra integer equals the fixture version. Reject from held stops the job. Ok advances the current step. Fail adds one to that step's attempt count, and the job stops when the count passes the cap. An id that has already been applied is marked duplicate and does not change the state. The fingerprint reads every trace line, including that duplicate line, with base 131 and modulus 1000000007.

Assumptions

The log is the whole input. There is no clock and no network. An approval version is an integer on the fixture. It is not a credential and not a secret. A duplicate id is the same event seen again, not a second effect. A matching residue means this engine folded the log to the same integer. It does not authenticate a sender.

Limits

A matching fingerprint is internal consistency on a fictional log. It is not a security hash and not a production safety proof. At most 6 steps, a cap of 6, and 24 events.

Reproducibility

The inputs are kept in the address bar, so the same link reruns the same calculation. The same log produces the same residue in this engine.