Document aqueduct as aqueduct and bring each page back in line with src/
Rename the converter to aqueduct throughout, use the aqueduct command in
examples, and note that viaduct runs the same thing. Identifiers that still
carry the viaduct name stay as the code spells them. Add the v1.18.1 release,
replace the stale Release History intro, and fix claims that drifted from the
source: shim size, the source tree and stage list, CLI defaults and exit codes,
Xcode 27 project handling, stage.ts exports, the test suite being tracked, and
team detection.
Move the wiki to the Aqueduct repo, where the source it documents lives
Document tabs.getCurrent answering with the active tab outside a tab (C17)
Document hiding the shim's ports, permissions name rejections and refused DNR types
Cite the relay heartbeat by its final commit hash
Document the October stress round: 23 extensions and the quirks they turned up
Document the onInstalled wrapper GC, the first-install hold and the stranded sign-in tab; add v1.15.3
Safari says install on every mid-session reload; the shim reports it as update (A10)
Window-mode derivation: nearest literal, disagreement yields nothing, bare URL only
Side-panel window-mode query derived from the bundle; Claude 1.0.94 with no flags
E16: a backend refusing the WebSocket handshake on the Safari origin; the bridge route for Cowork
Claude in Chrome 1.0.94: the embed's four gates, and --panel-query
Claude in Chrome 1.0.91 verified in STP; document E15a, C8-C10, D1a, D7, F1a, the --debug RPC bridge
Safari-Quirks: the native-messaging bridge's proxied root (E15a), CDP dialogs
(C8) and Network events (C9), the shared tab-group registry and groupId
filter (C10), own-request DNR header rules (D1a), tabIds ignored (D7), real
downloads through the appex's Downloads entitlement (F1a). Testing-and-
Debugging: the --debug RPC bridge, --logs from STP, console tee. Runtime-Shim,
Manifest-Transform, Build-and-Install, CLI-Reference rows updated.
Tested-Extensions: 1.0.91 row.
Correct the DNR header story and document the gecko-block trap
Safari does not crash on a modifyHeaders rule, it accepts one and never
applies it. D1 now carries the measurement (accepted, stored, listed back,
never applied; a block rule in the same call blocks) instead of the crash
misattribution, plus the header allowlist, the synchronous-throw behaviour and
the unimplemented response side. D2 gains the measured numbers: 249 of Bypass
Paywalls Clean's 253 regexFilter rules refused, all 530 urlFilter rules kept.
New E3b for the trap the conversion creates itself: we add
browser_specific_settings.safari, so a bundle reading its Firefox block
through a container-only guard throws at the top level of its background
script. That is what left BPC registering no rules at all.
Also record that the --debug ring now captures uncaught host-script errors,
and thread guardGeckoSettingsAccess through the pipeline and stage pages.
Document the popover scroll trap and the dropped root-absolute imports
Safari Quirks F5 (the popover never scrolls its main frame) and G1a (a
root-absolute importScripts target resolved to nowhere, so the background
page loaded none of its libraries), plus the Runtime Shim notes for both and
a Tested Extensions row for Replace AI Translator API 1.0.21.
Document D4a (iframe loads labeled main_frame), the --debug/--logs pair, and today's corrections
New Safari-Quirks entry D4a: webRequest reports every frame's document
load as main_frame with a raw 64-bit frameId, which made uBlock's strict
blocker hijack the tab over ad-iframe cookie syncs, plus the WebKit
weak-wrapper lesson that forced the fix onto the event prototype. D4
gains the main-frame-vs-subresource split with the live tabs-API
strict-blocking evidence. B4's Handling paragraph is brought back in
line with the source (the empty getURL arg IS lowercased) and gains the
port path. C3 and both Tampermonkey rows drop the sandbox-setter
misdiagnosis, a Firefox-only code path, and name the real remaining
suspects. The uBlock row records the live verifications and explains
the serverlist.txt console noise. CLI-Reference, Testing-and-Debugging
and Runtime-Shim document --debug conversions and the --logs reader.
Document why the color-scheme floor paints body and not html (F2a)
Document E15 (dispatch resolves through the global chrome/browser) and the menus.create rejections
TWP 10.2.5 (MV3): the webRequest sanitizer's global-root republish silently detached the background from all message dispatch (fixed in 895e7a3), and menus.create threw on file://*/* and page_action (fixed in cf96d63). New quirk entry E15 with the WebKit mechanism, F4 extended, shim table and tested-extensions rows updated.
Document the two Safari behaviors behind a login that never persisted
E13a: no webNavigation event reaches a listener the background added after it
evaluated, so the auth tab's redirect went unseen and every silent re-auth timed
out. E13b: neither minimized nor off-screen hides a window, so the flow keeps a
background tab. E14a: the owner's storage.session dies with its page, hence the
mirror. Plus the __c2sAuthLog record and how to read it from outside the browser.
Document the navigation the emulation used to miss
Safari 26, measured with a probe extension: a page-world pushState re-injects no
content script and produced no report at all, so the burst-after-input watcher
missed any route change the page made on its own. C5 said SPA navigation was an
open gap; it now records what was measured, the standing watch armed by the
background's answer to a report, and the round trip confirmed working.
The Cloaked row gets the user report that found it and what is still untested, the
shim table names the emulated pair, and 1.11.2 gets its release entry.
Document the serviceWorker bridge and cookies.get precedence for v1.10.1
Record the four Honey fixes and how they were found
Honey converts and works now: popup renders, session is recognized. Four
shim bugs came out of it, none of them Honey-specific.
- B4 is new: Safari reports the UUID in different cases per API, and getURL
can only return one of them. Says why the fix moved onto the sender.
- C6 is new: no tab or window events reach a converted background page, so
an extension caching the selected tab from them stays blind, and the shim
now polls for it.
- B2 and F3 were wrong about ?tabId. It is our own injection, not Safari's,
and it no longer goes into action popups.
- Runtime-Shim's getURL and onMessage rows described the old lowercasing.
Also writes down the storage.local instrumentation used throughout, since
the background console was never reachable in that session and every
conclusion had to come from a log the popup could read.
Document the content-script / MV2-background native messaging carve-out
The storage relay wraps chrome/browser in a Proxy for extension-page to
background messaging. That Proxy breaks Safari's native content-to-background
delivery, and the relay can't cross a content script's separate storage.local
partition anyway, so the relay must never touch a content script or the MV2
background. Records the quirk (Safari-Quirks E6), the relay scoping in the
runtime shim, and the corrected MV2 background.scripts row in Manifest-Transform.
Document getManifest content_scripts stripping breaking the action hotkey
The shim's __viaductMsgListeners capture was gated on getManifest().content_scripts,
which Safari strips inside a content script; ungating it fixed SuperDev Pro's
Cmd+Shift+S. Update A5, Runtime-Shim, and Release-History.
Document polyfill-clobber content-script failure (#10)
Add Safari-Quirks E5, a Release-History bullet, and a Runtime-Shim note for
the browser-polyfill.min.js overwrite that killed uBlock's content scripts.
Document the pipeline bug-hunt fixes (92fa2ee)
Add an Unreleased section to Release-History and update the matching subsystem
references for the eight fixes: CRX-key lenient parse (Input Handling), the
defaultBundleId slug-collision fix and uninstall broker id read (Build and
Install), the shared redirect deadline (Input Handling), the ancestorOrigins
guard hardening (Safari Quirks E3), the hotkey key mapping (Safari Quirks A5),
the deriveChromeId dead-catch removal (OAuth Bridge), and the importScripts
comment-in-static-args fix (Runtime Shim).
Humanize wiki prose: remove em/en dashes and curly quotes
Replace em/en dashes with commas, colons, or sentence breaks per context,
and normalize curly quotes to straight. Dashes inside code blocks, diagrams,
and range expressions are preserved.
Add Viaduct CLI wiki
Contributor-grade documentation for viaduct-cli, verified against src/ and
grounded in the git history. 14 content pages plus Home, sidebar, and footer:
architecture, conversion pipeline, CLI reference, input handling, manifest
transform, analyzer, runtime shim, OAuth bridge, build/install, Safari quirks,
testing/debugging, limitations/FAQ, and a commit-grounded release history.