A valid statement can still be the wrong one
hoop.devIts own example is an UPDATE with no WHERE: valid statement, valid credentials, valid permissions. A guardrail refuses it, with a message the developer reads in psql.
PrincipalWorks one layer below: whether that account should exist, hold UPDATE on that table, and still hold it next month. It cannot stop a statement the account is allowed to run.
| Situation | hoop.dev | Principal |
|---|---|---|
UPDATE users with no WHERE | Denied by a guardrail | Not seen |
A SELECT returns e-mails and SSNs | Masked in the response | Not seen; limit it by table privilege |
| A risky statement from an agent | Held for a person’s approval | Not seen |
| A leaver’s account still exists | Not what a Sidecar manages | Privileges drop when they leave the group |
Someone ran GRANT by hand | Judged only if it passed the Sidecar | On PostgreSQL and MariaDB, flagged as drift at the next hourly check |
| A login nobody remembers | Seen only when it connects through the Sidecar | Listed as unmanaged |


