Skip to main content

Glossary

Look a word up, or check one before you invent another.

The four that carry the model

TermWhat it isWhere to read more
GovernorA Watchlight answers one question per call: may this subject, through this actor, take this action on this resource? It fails closed, and it governs only the calls you route through it.using the governor
SubjectThe subject is whoever the call runs on behalf of. You pass it as principal.identity model
ActorThe actor is the runtime that made the call, and a policy reads it as context.actor. There is no request field for it.identity model
ChainThe chain is how the acting runtime got its authority: the ordered actors, root first, read as context.actor_chain. Outside a delegation it is [agent].identity model

A governor is not a sandbox — it cannot stop code that never asks. It is not a verifier — it authorizes the identity your application asserts.

Easy to confuse

PairOneThe other
Subject vs actorThe subject is for whom the call runs, and one person can be the subject of calls from many runtimes.The actor is who is running, and one runtime can act for many people.
Renaming vs delegatingas("name") returns another governor under a different name, acting alone.delegate(scope, "name") narrows authority and appends to the chain.
Scope vs policyA scope is what delegate may hand a sub-agent, and it is checked when you delegate.A policy decides each call. Confining a sub-agent means narrowing the scope and writing the policy.
Scope vs goalA scope bounds what a delegated agent may hold.A goal bounds what a run may do: its actions, its spend, its progress. Goals are Enterprise.
Sanitizing vs screeningSanitizing strips personal data out of what leaves.Screening decides whether what arrives is safe to act on.
Approval token vs scope tokenAn approval token records that a human confirmed one action, once.A scope token carries a sub-agent's narrowed authority.

Terms

TermWhat it meansMore
ActionThe action is the verb of a request, matched as Action::"book". It is what an intent names on a governed tool.
Agent nameThe agent name is what a governor acts under, stamped on every record and read as context.actor. An unnamed governor still runs, but it asserts no actor and records <unconfigured>.
Approval storeAn approval store is a shared store you supply, so a used approval token is recorded once across replicas. It needs one method, add, which must reserve atomically.destructive actions
Approval tokenAn approval token is a single-use grant, minted after a person confirms, that turns one NeedsApproval into an Allow for that subject, action and resource.human in the loop
AttenuationAttenuation is narrowing a scope for a sub-agent, strictly to a subset. A child can never hold what its parent lacked.scope attenuation
Audit recordAn audit record is one line of the trail: who acted, on whose behalf, the intent, the resource, the verdict, never argument values. The five kinds — decision, sanitization, screening, egress, attenuation — are discriminated by event.audit forensics
Audit sinkAn audit sink is a destination you supply that receives every record, alongside the local file.reference
Audit trailThe audit trail is the local .watchlight/audit.jsonl that every governor appends to.
ContextThe context is the extra facts a policy may read on a request, such as an amount. actor and actor_chain are reserved within it.
CounterA counter is a count of past decisions for a subject and a window, and it is what a quota is built from. A counter source answers the same query from your durable store instead of the local file.quotas
Decision idThe decision id is the correlation id on a verdict and on every record it produced. Join your own logs and traces to it.
DelegationDelegation is spawning a sub-agent under a narrowed scope, which appends it to the actor chain. The subject does not change.
Deny reasonThe deny reason is what a refused caller is told: a uniform not authorized. The specific reason stays in the trail.
DetectorA detector is one rule that finds one kind of identifier in text — email, SSN, card. sanitize runs the built-in set, plus any you register for your own vocabulary.extending Watchlight
EgressAn egress record is written when a result leaves a governed call, and it says whether the result was withheld or rewritten.data egress
Enforcement effectAn enforcement effect is what a matched policy does beyond allow or deny, declared as @enforcement_effect("<verb>"). The Developer Edition acts on require_approval, and an unrecognised verb fails at load.enforcement effects
Fail closedFailing closed means that no matching policy denies, and that an evaluation which cannot be reached denies too.
Governed toolA governed tool is a function wrapped so the engine authorizes before the body runs. On a Deny the body is never entered.denied before execute
IntentThe intent is the purpose you declare for a governed tool, and the action a policy matches. You declare it; it is never inferred.
ObligationAn obligation is a constraint attached to an Allow that the caller must honour, such as redacting named fields.allow but redact
PolicyA policy is one Cedar rule, permit or forbid, optionally guarded by a when clause over context. A policy set is what one governor holds; a policy suite is a JSON file of policies and their golden tests.testing your policies
PrincipalThe principal is the field the subject is passed in, and it is always typed: User::"db:4412", Agent::"flight-booker".
QuarantineA quarantine is a policy you flip to stop an agent's next action.kill switch
QuotaA quota is a limit on how often something may happen in a window, enforced by reading counters from the trail.quotas
ResourceThe resource is what the action is taken on. You choose the string, such as trip/AX8821.
RotationRotation replaces a signing secret without breaking tokens in flight: pass an ordered list, newest first, then drop the old value one deploy later.the signing secret
SanitizationSanitization removes personal data from text before it goes further, and records that it happened.PII before read
ScopeA scope is the authority delegate may hand a sub-agent: which tools, resources and intents, and for how long. A scope token is its signed carrier between processes, and it does not carry the actor chain.scope attenuation
ScreeningScreening decides whether incoming text is safe to act on, and withholds it when it is not.screen before model
Screening familyA screening family is a named category of injection phrasing that screen counts — INSTRUCTION_OVERRIDE, ROLE_SWITCH, and five more. One label covers many phrasings of the same trick, and you can register families of your own.extending Watchlight
Signing secretThe signing secret is what makes a scope token or an approval token verifiable in another of your processes. It is never logged, written, or echoed in an error.the signing secret
VerdictA verdict is the answer to one call: Allow, Deny, or NeedsApproval.