mirror of
https://github.com/stablyai/orca.git
synced 2026-09-29 16:02:50 +00:00
mobile-web-history-session-fragment and mobile-web-queryless-history were the same module twice: same writer/target types, same private WeakSet, same origin guard and try/catch, differing only in the URL mutation. Both installed at module scope on the same history object, so every pushState was double-wrapped and each navigation parsed the URL twice. One installer now takes an ordered rewrite list behind a single WeakSet and a single URL parse. The shell-session fragment gate moved from install time into the rewrite, which is where the hash is read anyway. Claude-Session: https://claude.ai/code/session_01JNnE9qzUZMMnqpZWCqM3nb