Severity

Every turn and every session gets one of four levels. Rules and trails decide the level. Models only add clues.

Levels

LevelMeaningExamples
CRITICALHarm is very likely: data or credentials left the machine, or the agent acted on planted instructionssecret read and posted to a webhook; secret file pushed to git; agent followed a "note to AI agents" in a README
HIGHA dangerous action on its ownsecret value exposed to the AI provider; rm -rf of a project; force-push to main; reverse shell; CI change that leaks secrets
MEDIUMWorth a looksecret file read; data uploaded; sudo; new cron job or service; agent configuration changed; a model clue
LOWNormal work, or a risky action the developer explicitly asked for that is recoverable (recorded, not alarmed)asked to email a named colleague; asked to discard their own changes

Design principles

You can restrict which model clues may raise severity with ATTESTYX_MODEL_CLUES; off keeps them as evidence only. See Configuration.

"Asked for" actions are recorded at LOW

Some risky actions are normal when the developer asks for them in the conversation. If the action is recoverable and was explicitly asked for, Attestyx records it at LOW instead of raising an alert.

RuleRecorded at LOW when
N06non-secret files are copied or uploaded to a host the developer named in the conversation
N22a non-production cloud resource the developer named and asked to delete is deleted
N24a message the developer asked for (chat, email, issue, comment) is sent, with no secret or data dump
N26git work the developer asked to discard is thrown away, or saved first (git stash / commit)

The same action without a request is scored normally. For example, uncommitted work shown by git status and then thrown away without the developer asking or saving it first is a HIGH trail (C08).

Changing the asked-for levels

VariableDefaultApplies to
ATTESTYX_ASKED_SEND, _DISCARD, _TRANSFER, _DELETElowactions the developer explicitly asked for
ATTESTYX_ASKED_ACCESSmediumasked-for actions that change access (for example adding an SSH key)

Severity per turn and per session

The worker gives a severity to each turn and to the session as a whole. The dashboard lists flagged sessions by severity, riskiest first, and the Needs review list on the Overview shows high and critical turns nobody has reviewed yet.

The rules behind each level are listed in the rule reference.