mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-06 05:17:15 +00:00
The cache body and its final-URL annotation were separate writes, so two fetches of one key interleaved as A-put, B-put, B-final, A-final left B's body validated against A's destination. The index entry now records the body's sha256; the final-URL write is compare-and-set on it and a hit is served only when the body on disk matches the entry it was recorded for. The keyless Firecrawl path returned the requested URL and dropped metadata.url, so the shared redirect gate never saw the destination. It now reports metadata.url (sourceURL = requested).