pathiel icon indicating copy to clipboard operation
pathiel copied to clipboard

Verifiable tick-level record for post-incident forensics (observe-only sidecar)?

Open LembaGang opened this issue 5 months ago • 1 comments

Hi Julian — read through hermes-trader properly (the README and the resilience-gate design especially). The partial-dex degraded-read guard and the re-entry backstop are the right instincts — most autonomous agents don't have that kind of scar tissue, and the fail-safe-to-OFF loader is exactly how a money-moving loop should behave. Clearly built by someone who's watched the agent act on a bad read. One thing I noticed while reading: when something fires — a dsl_exit, a flaky HIP-3 read tripping the degraded-read guard, the loader falling back to OFF — your forensic trail is the session log the agent writes itself (plus .dsl-state.json for tracker state). That's fine for your own debugging, but it can't prove what the agent actually saw at tick T and that it acted per policy — to yourself in a post-mortem, or to anyone whose capital is on the agent. The record and the thing being recorded are both written by the same process. I maintain an open-source tool for exactly this gap — Chirindo (github.com/LembaGang/chirindo, @headlessoracle/chirindo on npm, Apache-2.0). It's an MCP stdio proxy that sits as an observe-only sidecar on the tool-call boundary and records every call as an Ed25519-signed, hash-chained receipt — recomputable by anyone against a public key over HTTPS, tamper-evident (a mutation breaks the chain and is caught on verify). It's observe-only by default: it records, it never blocks or gates, so it can't introduce a failure mode into your loop — which matters for a system where you've deliberately engineered every guard to fail safe. Where I think it'd fit hermes: a signed, independently-verifiable record of what scan / research / execute actually returned each tick, so a degraded-read incident is reconstructable by a third party instead of "trust my session log." Your MCP server already exposes those tools over stdio — Chirindo would wrap that boundary. To be clear about what it does and doesn't do: the receipt proves what the agent saw and did and that the record is untampered — not that any trade was correct or profitable. It's forensic integrity, not a quality judgment. Not trying to sell you anything (it's free). Mostly curious whether a verifiable tick-level record is a problem you've felt yet, especially on the HIP-3 equity perps where the reads get flaky — and if so, I'd happily open a small PR wiring it in as an optional sidecar so you can see the shape. Either way, nice work on this.

LembaGang avatar Jun 29 '26 10:06 LembaGang

Thanks for reading it this closely, and sorry for the slow reply.

The project has moved on since: hermes-trader is now pathiel, the autonomous scan/research/execute loop is retired, and Claude places every order through MCP with the user approving each live-money call. For the trade record we lean on the venue: Hyperliquid fills are public, so the trade ledger and the research pool's grades are rebuilt from fills anyone can fetch, not from our own logs.

A signed record of what the agent saw at each tick is a real gap that public fills don't cover, but I'm not adding a dependency on the tool-call path right now. Closing as not planned; happy to revisit if the tick loop runs unattended again.

Julian-dev28 avatar Nov 14 '26 03:11 Julian-dev28