Skip to main content

Policy kinds and moments

The fixed lists a policy is written in. Explained in Policy.

Kinds​

KindCodeIts one setting
Needs approvalneeds_approvalWho may approve: the owner, or named roles
Sends backsends_backHow many tries (up to 5), and what happens when they run out
FixesfixesNone. Not yet available
HideshidesWhat is left in its place

Moments​

MomentCode
Before a tool runsbefore_tool
After a tool returnsafter_tool
Before the model readsbefore_model
Before work is handed inbefore_hand_in
Before the answer is sentbefore_answer

Which kind may act when​

Before a tool runsAfter a tool returnsBefore the model readsBefore hand-inBefore the answer
Needs approvalYesYesYes
Sends backYesYesYes
FixesYesYesYes
HidesYesYes

The API does not take any other pair, and says so in words: "A policy that hides cannot act before a tool runs".

When the tries run out​

For a policy that sends back.

SettingWhat happens
A person decidesThey may let it through, say what to change, or stop it
A person decides, not to let it throughThey say what to change, or stop it
Let it through, markedNobody is asked. What is still wrong is marked for everyone who reads it

What is left​

For a policy that hides.

SettingLeaves
RemoveNothing
Name it[Social security number]
Keep the last four****6789

An application​

KeyValues
ModeIn force, on trial
ScopeEvery agent, or some
ValuesWhat the policy takes, each with the policy's own default

Value types​

number, text, list, yes_no.

When two find something​

It is sent back first, and the approval waits for what comes back. Hides always applies.