Logo: "Dam" by Chintuza via Noun Project (CC-BY 3.0). The original
SVG embedded the attribution as on-canvas Arial text rendered below
the artwork; the cleaned versions in assets/ strip that text from
the image and carry the credit in body copy on every front-facing
surface, per CC-BY's attribution-required-but-not-on-the-artwork
provision.
assets/:
- logo.svg currentColor variant for inline use
- logo-blue.svg #005EA2 (federal blue) baked
- logo-paper.svg #F4F6F9 (paper) baked, for dark surfaces
- logo.png / @2x federal-blue raster, 256/512 px
- logo-paper.png / @2x paper-cream raster, 256/512 px
Color-matched via rsvg-convert against the Civic Hydrology palette
introduced in e84d03c. The mark inherits CSS color in app contexts
(currentColor) and ships its own fill in standalone files.
App wiring:
- new component web/sveltekit/src/lib/components/shell/RipMark.svelte
inlines the SVG with currentColor; size prop, role=img, aria-label
- AppHeader …
ux v0.4.5: live status pill + drop stray dev probes
src/lib/components/shell/StatusPill.svelte (new)
Live phase + active-step + fired-count indicator for the AppHeader.
Reads from the briefingState rune store. Phases the user sees during
a real query, in order:
● planning intent — planner JSON streaming
● gathering evidence · <step name> · X/Y — FSM data Stones firing
● reconciling · granite4.1 + mellea — waiting on the LLM
● writing briefing — first reconcile token landed
(hidden once briefingState.markReady() fires)
Step labels lifted from the legacy agent.js short-name set so the
pill reads "Sandy 2012" / "FloodNet sensors" / "TTM Battery (NYC
fine-tune)" instead of raw FSM ids. Two specifically renamed for
accuracy: prithvi_eo_v2 → "Ida 2021 polygons (baked lookup)" and
prithvi_eo_live → "Prithvi-NYC-Pluvial v2 segmentation" — the
former is a static spatial join, not a model run, and the old label
misled the user about wh…
fix: pre-import heavy ML modules on main thread; bump footer to v0.4.5
Two fixes spotted on the live PS 188 query:
web/main.py
Beef up the startup pre-import block that exists "so the parallel-
fanout workers don't race each other on first import" (per
CLAUDE.md "known sharp edges").
Previously the startup imported terratorch + tsfm_public top-level
only. That left transformers' lazy `PreTrainedModel` getter, the
tsfm_public.toolkit.get_model chain, and every specialist's own
module-level deps probe to be exercised in FSM worker threads —
which races the lazy-import system and surfaces as
ModuleNotFoundError("Could not import module 'PreTrainedModel'")
or "deps unavailable: tsfm_public" even when both ARE installed.
New pre-import block now also touches:
transformers.PreTrainedModel (resolves the lazy chain)
tsfm_public.TinyTimeMixerForPrediction
tsfm_public.toolkit.get_model.get_model
plus force-imports every specialist module that does heavy ML at
runtime so its mo…
User feedback: "the marketing landing should be the app page. it's
fine. just get rid of the /app page."
src/routes/app/ — deleted (+page.svelte + +page.ts)
web/main.py — drops the /app GET route
src/routes/+layout.svelte — onResetCold redirects to / again
(instead of /app)
src/lib/components/shell/AppHeader.svelte
— wordmark links to / (was /app)
src/lib/components/landing/LandHeader.svelte
— drops the "Open the app" nav link;
the hero query box IS the app entry
Routing simplifies to:
/ marketing landing + query entry (app entry)
/q/sample prerendered Red Hook briefing
/q/<id> live FSM briefing
/print/<id> print artifact
Build clean. The cold-start ColdStart.svelte component stays on disk
(in case a future iteration wants a separate analyst-mode entry) but
isn't m…
Two related changes that close out v0.4.5 — the landing page that the
README §"Landing page" called for, and the legacy custom-element
fallback routes that were silently masking the bug ("I see the
pre-v0.4.4 UI" was someone's tab on /single or /legacy).
LANDING PAGE — new at /, four sections per the README spec:
src/lib/components/landing/LandHeader.svelte
Wordmark · slash · "Flood Exposure Briefing · NYC" · nav links
(Open the app / Methodology / Sources). Distinct from AppHeader
so the marketing surface reads as its own page.
src/lib/components/landing/LandHero.svelte
Italic-serif headline ("A flood exposure briefing for *any place*
in New York City."), serif deck, big query box ("Brief this place
→"), cycling examples on a fixed dotted-underline rail (six NYC
queries, 2.2 s rotation, click to run). Submit + click both
navigate to /q/<query>.
src/lib/components/landing/LandPreview.svelte
"What you'll get back" three-pane grid: briefing e…
ux v0.4.5: nine polish deltas on the Findings region
Surgical polish on the shipped v0.4.4 Findings region. None of these
are structural; the card grammar, briefing prose, Mellea status strip,
four-tier palette, cold-start, footer, and PDF template all stay.
P1 — Status semantics (V0.4.5_SPEC §1, "actively misrepresenting
system integrity"). Splits the FSM specialist status from the
four-state ok|warn|error|silent into the five-state
fired / silent_by_design / warned / errored / not_invoked.
- lib/types/card.ts gains a documented SpecialistStatus union
- StoneTally / RunHealthStrip / ProvenanceTrace updated to
branch on the new states
- cardAdapter mapStatus() carefully classifies FSM trace-silent
as silent_by_design, not errored — the spec voice
- Top tally now reads "5 Stones · 21 fired · 5 silent · 1
errored · 24.0s · 25 registered" instead of the old "15/18
functions fired · 3 error" lie
P2 — Capstone meta-card field plumbing (§2). Wires the four metrics
to the rec…
Telescoped from ~25 spine commits into the three UI generations:
Lit (kept on disk for reference, not loaded):
web/static/components/{briefing,trace,signals,sources-footer}.js
Component-per-tag custom elements with reactive props.
Svelte 5 custom-element bundle (legacy primary, served at /legacy):
web/svelte/src/lib/{Briefing,Trace,SourcesFooter}.svelte + main.js
Shared store for cross-component highlight (citeIndex,
highlightedDocId). Built artifact ships at web/static/dist/riprap.js.
SvelteKit design-system v0.4.2 (the new primary):
web/sveltekit/src/* — adapter-static build, IBM Plex, four-tier
glyphs, MapLibre map with custom basemap, server-side render of
/q/sample + /q/<query>. Built artifact ships at web/sveltekit/build/.
web/main.py wired up the new endpoint surface:
/, /q/sample, /q/<query> → SvelteKit build
/legacy, /single, /compare → Svelte custom-element bundle
/api/agent/stream → SSE pipeline (plan/step/toke…