Severity
Every turn and every session gets one of four levels. Rules and trails decide the level. Models only add clues.
- CRITICALHarm is very likely.
- HIGHA dangerous action on its own.
- MEDIUMWorth a look.
- LOWNormal work, or a recoverable action the developer asked for.
Levels
| Level | Meaning | Examples |
|---|---|---|
| CRITICAL | Harm is very likely: data or credentials left the machine, or the agent acted on planted instructions | secret read and posted to a webhook; secret file pushed to git; agent followed a "note to AI agents" in a README |
| HIGH | A dangerous action on its own | secret value exposed to the AI provider; rm -rf of a project; force-push to main; reverse shell; CI change that leaks secrets |
| MEDIUM | Worth a look | secret file read; data uploaded; sudo; new cron job or service; agent configuration changed; a model clue |
| LOW | Normal 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
- Rules and trails decide severity.
- A model clue alone never raises a session above MEDIUM. A trail built only from model clues is kept at MEDIUM (rule
M15): CRITICAL needs a rule-confirmed step. - No model ever lowers a severity.
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.
| Rule | Recorded at LOW when |
|---|---|
N06 | non-secret files are copied or uploaded to a host the developer named in the conversation |
N22 | a non-production cloud resource the developer named and asked to delete is deleted |
N24 | a message the developer asked for (chat, email, issue, comment) is sent, with no secret or data dump |
N26 | git 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
| Variable | Default | Applies to |
|---|---|---|
ATTESTYX_ASKED_SEND, _DISCARD, _TRANSFER, _DELETE | low | actions the developer explicitly asked for |
ATTESTYX_ASKED_ACCESS | medium | asked-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.