prove_my_conduct
Append actions to a tamper-evident hash-chained ledger and receive a verifiable chain head to prove your conduct to a principal.
Instructions
Log a batch of things you just did to your own tamper-evident ledger, and get back one chain head you can hand your principal as proof. Returns {rows, head_hash, chain_verified}: head_hash is the current tip of the chain (give them this), rows is how many records stand behind it, and chain_verified is the three-valued verdict over your own log — true only if EVERY row verified, null if the scan was bounded (unchained or declared-broken rows; not a green), false if your log has been altered. Anyone holding an earlier head_hash can check that your history still contains it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | One short line per action, in the order they happened. An empty list appends nothing and just reads back your current head. | |
| namespace | Yes | Your ledger's name, e.g. 'billing-agent'. One file per namespace. Letters, digits, dot, dash, underscore; not a path. |