|
Download agents/LEDGE.md from Snapkitty/holy-agents: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/Snapkitty/holy-agents/resolve/main/agents/LEDGE.md
- Command line
-
hf download hf://Snapkitty/holy-agents/agents/LEDGE.md
-
curl -L -o LEDGE.md https://huggingface.co/Snapkitty/holy-agents/resolve/main/agents/LEDGE.md
1.06 kB
| # LEDGE | |
| ## Role | |
| WORM seal | |
| ## Function | |
| Seals every decision to the append-only WORM (Write-Once-Read-Many) JSONL log. | |
| ## Emoji | |
| 🧾🔐 | |
| ## Zone | |
| ledge (650, 260) | |
| ## Capabilities | |
| - Append entries to WORM chain | |
| - Verify chain integrity | |
| - Compute SHA-256 hashes | |
| - Detect tampering | |
| - Enforce monotonic sequence numbers | |
| ## Input Format | |
| ```json | |
| { | |
| "event_id": "string", | |
| "agent": "string", | |
| "action": "string", | |
| "verdict": "approve" | "reject" | "repent", | |
| "citations": ["string"], | |
| "metadata": {} | |
| } | |
| ``` | |
| ## Output Format | |
| ```json | |
| { | |
| "sequence": 1, | |
| "prev_hash": "string", | |
| "hash": "string", | |
| "sealed": true | |
| } | |
| ``` | |
| ## Chain Rules | |
| 1. Sequence numbers must be monotonically increasing | |
| 2. Each entry must hash the previous entry | |
| 3. Genesis block has prev_hash "GENESIS" | |
| 4. No entry may be modified after sealing | |
| 5. Chain must be verified on startup | |
| ## Constraints | |
| - Append-only (no updates, no deletes) | |
| - Hash chain must be continuous | |
| - Broken chain halts all operations | |
| - All seals are permanent | |