From f77c6558eeae7a6cb46db5c3efdfbc8c28b080cb Mon Sep 17 00:00:00 2001 From: Local Dev Date: Thu, 20 Aug 2026 20:44:09 +0200 Subject: [PATCH] =?UTF-8?q?navigate.st:=20Theseus-home-style=20landing=20?= =?UTF-8?q?=E2=80=94=20search=20+=20quick=20links=20+=20install=20CTA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a unified /api/search/ endpoint to the gateway and rebuilds navigate.st's search box + featured cards around the new "6 curated names, everything else via search" IA. Gateway (Argus/src/gateway/public-gateway.mjs): /api/search/ iterates the cached full-index Map and scores every match — label-exact (100) beats label-substring (70) beats h-record content substring (50). Content search strips HTML tags before matching and returns a ±40/60-char snippet around each hit. Results sorted by score then name, capped at 50, exposes a `truncated` flag. Same 30-second cache the record picker + /api/labels/ already use — no extra fetch on the hot path. s3/ip content search awaits Helios v1 (deferred by design). Client (navigate.st/index.html): submit now routes three ways —