Nothing.
On all three systems, an agent can do anything your account can do.
What bounds the risk It runs under your account, with your rights, like any other program you start. What holds it is not a prison, it is a counter: you set the number of steps, the number of tool calls and the duration, the runtime enforces them, and the agent code can neither raise them nor slip out from under them. Apollia bounds an agent, it does not lock it away.
It detects tampering, it does not prevent it.
A SHA-256 hash chain, append-only writes enforced by the database itself, a signature, verification from the programming interface as well as from the command line, and an export you can hand to someone. Two limits worth knowing: the signing key lives in a file sitting next to the database, and the tool calls inside a chat session do not enter the chain, only the envelope of the turn.
What bounds the risk What it really guarantees: a change made by someone without access to your data directory shows up when you verify. It is not a vault, it is a witness.