CarolineDocs

Prove it / What changed, and putting it back

What changed, and putting it back

History shows every change to the rules in words: what changed, who made it, how, and when. Open any change to see the whole policy as it stood then, and put it back.

The timeline

Two tracks on one list, newest first: the rules, which change often, and the evaluator, the engine's own code, which almost never does. The row of the version the engine runs now is marked live.

Each row says where the change came from:

Policy Explorer, blocksmade or edited in the console
AI drafta draft a person applied and published
pack switcha pack loaded
enginea change to the evaluator

Beside it, the rules it touched: +added, -removed, ~changed, each a link to the rule. The author is the account that was signed in, whatever the request said.

Open a change

Put it back

Restore this version loads that version into the editor and saves nothing. Review & publish then shows what putting it back would do, to the tests and to real past decisions, before anything is committed. Putting it back is a new change, on the timeline and in the ledger like any other; nothing is erased.

The evaluator has no Restore: the engine changes only through a release of Caroline, never from this screen.

Every change to one rule

Filter the timeline by rule to answer "show me every change that ever touched deny-self-approval". Because each rule is its own file, the same question works in git: git log -- policies/rules/deny-self-approval.yaml.

From a decision to the rule that made it

A line on Decisions names the rule that decided it, as its card. Filter History by that rule to see every change it has been through, and open the one in force at the time.

The ledger keeps the same changes

Each save is also a ledger record (policy_commit), written before the commit and closed after, carrying the author, the installation and an operation id that the git commit names too. History reads git; the ledger is the chained record of the same events, beside every decision and every change to keys, agents and the directory.

What History cannot tell you yet

Caroline DocsAuthZEN 1.0 · OPA