From d0d5a7dc2786a60fa8bd54c8fb8c825b0e40788c Mon Sep 17 00:00:00 2001 From: araharah-executor Date: Sat, 24 Oct 2026 21:06:17 +0800 Subject: [PATCH] =?UTF-8?q?feat(06-08):=20the=20=3Fdrive=3D=20fixture-repl?= =?UTF-8?q?ay=20knob=20=E2=80=94=20the=20D-16=20browser=20leg's=20fix=20so?= =?UTF-8?q?urce?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ?drive= replaces navigator.geolocation with a replay source streaming a committed drive fixture (web/test/fixtures/drives/*.json) through the LIVE shell: the real pump arms the real createGuidanceWatch against it — no test-only bypass of validation - the replay clock starts lazily at the first watchPosition arm (the route draw — nothing emitted before a consumer exists) and plays REAL-TIME: the machine's grace/storm clocks read wall time - window.__ARAHARAH_DRIVE = { pause(), resume(), name }: pause freezes emission mid-stream (the capture legs' freeze for scripted taps and the REROUTING window), resume continues; the machine's wall clock keeps running across a pause (documented harness semantics) - unknown drive name -> one honest token (ARAHARAH-DRIVE state=unknown) + the default geolocation stays — never a crash, never arbitrary data (T-06-08 Tampering mitigation); slug guard on the name, defensive fixture shape check - import.meta.glob pattern is ROOT-ABSOLUTE (/test/fixtures/drives/*.json — Vite 8's importGlob matches no relative pattern escaping src/, verified by the dev-server probe); fixtures inline into the harness bundle only — production tree-shake verified clean in BOTH directions - BA5 posture held: production scan clean, harness bundle carries the replay; 147/147 web tests, typecheck clean --- web/index.html | 2 +- web/src/mock/telegram-mock.ts | 218 ++++++++++++++++++++++++++++++++++ 2 files changed, 219 insertions(+), 1 deletion(-) diff --git a/web/index.html b/web/index.html index aad2eaa..560865d 100644 --- a/web/index.html +++ b/web/index.html @@ -9,7 +9,7 @@