Files
hermes-agent/tests/plugins/web
Teknium f7641ace78 fix(web): pair a cached body with its own final URL; keyless Firecrawl reports its redirect target
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).
2026-10-28 13:54:02 -07:00
..