# incident-workspace v0.14.1 · the merged incident workspace, its 3D view in TaosEngine over Google 3D Tiles

**Open:** https://simtable.acequia.io/apps/incident-workspace/?incident=CA-ORC-NORTE

**The guide** (every action on this page and the incident's other pages, who can do what, what is planned): https://simtable.acequia.io/apps/incident-workspace/guide.html

**What this is.** A first prototype of one incident workspace that replaces the separate pages:
- the camera-grid viewer, the plume viewer, the SkyFOX projection viewer and the clips viewer;
- the clip-finder pages, the ADS-B filter, pano-calib, the playlists, the team briefing and the STAC catalog.

It answers Stephen's 2026-10-22 asks, verbatim: *"make sketches how all these pages should merge together with clean uxui and only showing UI when useful. keep decisions/actions down to 5 or 3 min 7 max"*, then *"make a incident-viewer html app that you think would be a first prototype if you answered the questions in the sketch / use devops / use redfish house style"*.

**The answers it is built on are Debbie's first cut, not Stephen's.** They are written in the fan, [incident-workspace-fan](https://redfish.acequia.io/guerin/.agents/c4a8e2f1-7b6d-4e93-a5c2-8f1d3b0e9a47/2026-10-22/artifacts/sketches/incident-workspace-fan/index.html), under "Prototype answers". Stephen's critique of the fan can overturn any of them.
1. **The scene is the page (T2).** The lanes are one gesture up (T1).
2. **You act by picking a thing (T3).** Pick a camera, an aircraft or a clip, and h, p and fly-in follow it.
3. **One ⋯ drawer** holds the crowd, the lab, the panels, the time options and the other pages (T4 survives only as the drawer's rooms).
4. **In a clip,** the 3D with the clip's frame blended onto the terrain is primary.

## v0.17.0 (2026-11-02, nightly): rows pick for the clock, one transport, clip sets, audio lanes

Stephen, 2026-11-02, verbatim:
- *"when i select a row in the timeline I should be able select the closest image or clip given the time. for images select the most recent clip but not the future"*
- *"when i scrub time, the image for alertwest cameras should change in the clip view."*
- *"there should only be one play button. let's move the play button with frame advance, and back and fps (real wallclock fps in powers of 2 that also shows the derived seconds, minutes, or hours whichever is appropriate. The clips is a toggle for any media set that has many clips like the media news."*
- *"there was still an issue when i move around the timeline that i miss the audio. in fact the audio channels should be a selectable independent of the media clips. later we will have radio comms traffic that will be depending on who is viewing the page."*

- **A press on a row's label picks for the clock and never moves it.** A camera channel opens that camera in the media panel. A lane opens the clip under the clock, or else whichever is closer: the latest image at or before the clock, or the nearest clip on either side. An image from after the clock is never picked. A group's label still opens and closes the group. The gutter used to scrub the clock.
- **Cameras never show a later frame.** In the workspace a camera shows its latest frame (or panorama crop) at or before the clock, within 10 minutes. This is the engine's opt-in `S.causal` (plume `cameras3d.js` v0.5.3), which only the workspace sets, so other pages are unchanged.
- **The camera in the clip view follows the scrub.** It redraws at once and again after the frame loads (it used to redraw once a second), and the label gives the frame's time and how far before the clock it is. With no frame in the 10 minutes before the clock it goes blank, rather than keeping an old picture.
- **One transport:** ⏮ ▶ ⏭ and a speed menu. Speeds run from ×¼ to ×4096 in powers of 2, each named in the unit that fits ("×64 · 1.1 min per second"). ▶ no longer hides when something is selected. The engine's ×1/10/60/300 button stays hidden. `<` and `>` step the same speeds, and `,` and `.` match ⏮ and ⏭.
- **"clips" is a toggle for the selected set.** Pressing the label of a lane with two or more clips (the News media row, for example) selects that set. "clips" then plays its clips in turn and skips the time between them, and while a set is selected the clip under the clock opens. The batch-calibrated clips stay the default set, and the button names any other set.
- **Audio is its own lane, under Audio.** Pressing its label turns the news sound on and off, whatever clip or camera is selected (as `m` and ♪ do). The sound now plays from the recording's audio-only file (`M.recording.audio`: faststart AAC, 289 MB, the same timeline), so a jump no longer seeks in the 3 GB video. The lead a slow seek earns is capped at 6 s (it was 12 s). Radio traffic that depends on who is viewing will be further lanes in the same group.
- **v0.17.1: no stutter after a jump.** Measured on nightly: after a 20 min jump the sound came back only after about 10 s. A resumed element takes about half a second to start, so it read as behind, seeked ahead, waited, and repeated every 1.6 s. A resume now has 1.5 s of grace, only a gap past 2 s re-seeks, and smaller drift is taken up by playing up to a quarter faster or slower.
- Additive, outside this repo: `<camera-grid-timeline>` v0.2.4 keeps its drawn rows (`_rows`); the incident manifest gains `recording.audio`, `audioDuration`, `audioLabel`.

## v0.15.4 (2026-11-01, nightly): all working aircraft's ADS-B tracks, icons, line-drawn models

The layers panel, Aircraft and clips: **all ADS-B tracks, last 15 min** (on), **aircraft icons** (off), **aircraft as 3D models** (off). Data: the incident's `adsb/tracks-all.geojson`, without transit traffic. Altitude is barometric, taken as MSL. The models are line drawings, not type-accurate, because the engine bundle exports no mesh API.

## v0.14.1 to v0.15.3 (2026-10-30/31): DEM by default, clip playback, frustum to the ground, timeline jumps

Promoted to production 2026-11-01 (Stephen: "promote ca-orc-norte"). Not committed to git; the commit field in `version.json` is the last commit, plus uncommitted work.

- **v0.15.0:** the Terrarium DEM is the default surface; Google 3D tiles load only when turned on (`iw-surface` in localStorage).
- **v0.15.1:** a playing clip's video no longer re-seeks forever when seeks are slow; only a frame near the clock is projected.
- **v0.15.2:** the projected view's frustum runs to where its four corner rays meet the ground (`rayGround`, `TS.setGround`, `TS.frustumReach`). Under Google tiles it uses the 100 m DEM, so a corner can land slightly off. The far edges are straight lines, not draped.
- **v0.15.3:** a timeline jump keeps playing if it was playing; an open clip the clock has left gives way to the clip under the clock, with or without the clip set; the sound uses the same seek-ahead as the video.

**Calibration default:** production still opens on the default in `calibrations.json`. Nightly opens on the newest version.

## v0.13.3 and v0.14.0 (2026-10-29): time from the clock; overlapping clips in rows; timeline groups

- **v0.13.3** (Stephen: "there is no clip at this time"): the media panel measured "time off" from the centre of the timeline's
  window, so clips at the clock read "34 min off". It now measures from the clock when the clock is in the window, and such
  clips read "at the clock" (media-panel.mjs `windowNow`).
- **v0.14.0, rows a, b, c** (Stephen: "if there are two clips for a given time, make sure to show them both ... label them a, b
  and c. expand as necessary"): a lane whose items overlap in time splits into as many rows as the overlap needs, "a · <lane>",
  then "b", "c" (workspace.js `packLane`). Not split: hull slices, ADS-B, derived AOI segments, the transcript.
- **v0.14.0, groups** (Stephen: "add option to cluster the timeline into groups as tree control and ability to collapse them.
  you can use the source categories from the grid ui"): the dock's **groups** chip (remembered, `iw-tl-groups`) clusters the
  lanes under the media grid's source categories (Cameras, Clips, Air intel, News, Social media, CAL FIRE, Maps, Playlists,
  Other) plus Analysis, Annotations and Transcript. Each group's label (▾ open, ▸ closed; remembered, `iw-tl-closed`) opens
  and closes it; a closed group keeps its items as one faint row. The media items of a group share packed rows ("media").
  **Cameras** is the camera channels, which the timeline component always draws first, so its header (▴) sits just below them;
  closing it hides the channels (expanded view only). The shared `<camera-grid-timeline>` is unchanged: the groups are lanes,
  and a header press is caught in the label gutter as the batch-clips lane's is.
- **v0.14.1** (Stephen: "the alertwest cameras should be in a collapsible group in the timeline"): the camera channels' header,
  **AlertWest** (ALERTCalifornia and HPWREN cameras, through AlertWest), now sits above them: `<camera-grid-timeline>` v0.2.3
  (Debbie c4a8e2f1, additive) draws a lane with `top: true` above the channels in the expanded view.

## v0.13.2 (2026-10-29): the calibration switch, and a confidence badge on every posed frame

Stephen (verbatim): *"...use devops backing up previous calibration .json. keep the old calibrations as an option to switch
between old and new..."*, with his decisions of the same day: show every frame, never hide it; a small green / amber / red
badge in the corner; *"annotation source of the truth is the image."* (concept: imageryintel-org `01a17557`
`2026-10-29/notes/image-is-the-evidence-attention-directs-calibration_k7q2m9vd.md`, design rule 1 and Answered §3).
Built by incident-viewer `42b5d5db` for Debbie (`c4a8e2f1`), on top of the live v0.13.1, under devops `64be6d29`.

- **The switch:** Media panel → *calibration*: **v1** (batch 2026-10-17) or **v2** (Theo 2026-10-29), and `?calib=v1|v2`.
  - Switching re-reads the clip's poses in the engine and re-drapes at once. A clip with no v2 falls back to v1, and the
    panel says so (*"c2008-m74: no v2 yet, showing v1"*).
  - **Default:** `?calib=` if given. Else the **nightly** channel opens on the newest version wherever a clip has it; every
    other channel (beta, production, the simtable origin) opens on `calibrations.json`'s `default` (v1 until Stephen promotes).
  - **How the page knows its channel:** the devops Worker's `x-channel` answer header, read from a HEAD of `./version.json`;
    without the header, the path (`/nightly/`, `/beta/`); otherwise `origin`.
  - `calibrations.json` is re-read every 5 minutes, so a page left open picks up each clip Theo writes.
- **The badges** (`badges.mjs`): a glyph and a word, never colour alone: ✓ ok (green), △ fair (amber), ! low (red),
  – ungraded (grey).
  - **Where:** the corner of every posed tile (for the frame its thumbnail shows); the open item's header and picture (for the
    frame on the terrain at the clock); the corner of the annotate overlay's frame.
  - The blanket "calibrated" chip now reads the real level (`solved`, `tracked`, `interpolated`, ...), or **ungraded** where no
    `levels.<ver>.json` exists yet. The `calibrated` flag still means "has a pose" for the filter, so nothing is hidden or faded.
  - **Hover, focus or tap** explains: level, hard-feature residual px, ground error m, σ, the calibration version, the clip's counts.
  - Grades are Theo's `badge` column where present, else the concept note's §3 from level and residual.
- **The data contract** (Theo's T1 lane writes it; the workspace only reads it), beside `clips/`:
  - `calibrations.json` `{ versions, default, clips: { <clip>: { v1: { levels }, v2: { levels, status } } } }`;
  - `clips/<clip>/poses.json` (v1, unchanged), `poses.<ver>.json`, `levels.<ver>.json` (`f, level, badge, residual_px,
    ground_err_m`, rows or columns).
  - A level file is read only where `calibrations.json` says it exists, and a `poses.<ver>.json` is used only after a HEAD
    answers, so a missing file never drops a clip's drape.
- **The seam:** one resolver, `globalThis.__iwPoseUrl(clip)`. The plume engine (`plume/cameras3d.js` v0.5.2, an additive
  change) and `annotate.mjs` ask it, and fall back to `poses.json` when it is absent. `__plume.reloadFoxPoses(clip)` makes the
  engine re-read. The two hand-calibrated SkyFOX shots (c2021, c3770) drape through the aircraft's pose and stay v1.
- **Hooks in other files:** `index.html` one line after the compass, `<script type="module" src="./calib-switch.mjs?v=0.13.2"></script>`;
  `annotate.mjs` `posesUrl` asks `__iwPoseUrl` and caches by URL; `workspace.js` `VERSION`.
- **Not covered:** `media.html` (the standalone media page) still shows its own "calibrated" chip.

## v0.11.1 to v0.13.1 (2026-10-28/29): batch clips, clip play, caching, frames first, annotate and the map

**Channels:** nightly https://imageryintel.org/nightly/workspace/?incident=CA-ORC-NORTE (the live origin, simtable), beta, and
production https://imageryintel.org/workspace/?incident=CA-ORC-NORTE (release `0.13.1-20261029T2049Z`, devops `64be6d29`).

- **v0.13.0/v0.13.1, annotate** (Stephen, via Debbie: *"minimal UI to annotate a point, polyline or polygon. and add a text box ...
  a time stamped UV annotation that will have a derived geospatial representation based on calibration which may change over
  time"*). `annotate.mjs`:
  - **Open it:** **n** or the dock's pen. It opens on the frame at the clock of the calibrated clip that is open, with three
    tools (point, line, polygon), a label (e.g. an engine number) and a description.
  - **The record:** Kaz's AnnotationModule envelope. The UV over the whole media frame, in [-1, 1] with y up, plus the media
    time, is the source of truth.
  - **On the ground:** `data.derived` is the GeoJSON, cast through the clip's `poses.json` (`geo/pose-camera.mjs`) onto the
    plume DEM (100 m). It is stored with the pose file's ETag and re-derived when that changes.
  - **Storage:** this browser's localStorage, plus **export** as JSON. A shared store is next.
  - **The lane:** "annotations" on the timeline; a press goes to the moment and the clip.
- **The map view:** the right panel's **clips | map** switch. MapLibre over Esri imagery shows each annotation from its time
  on, faint after 15 min, labelled, plus the latest perimeter at the clock. A label press goes to its moment.
- **UI hidden:** the dock stays as its strip (Timeline tab, clock, clips ▶, ▶), and the tab still expands to the channels.
- **v0.12.1:** the north compass (`compass.mjs`, chat cc5ffe8f), merged here in v0.13.0.
- **v0.12.0:**
  - `sw.js` caches the AlertWest JSON (getCameraTimelapse, the panorama STAC), serving stale and refreshing behind.
  - The engine (`plume/cameras3d.js`) uses AlertWest's frames before the panoramas, and fetches a panorama only when the
    camera grid is open or the camera is selected.
- **v0.11.3:** a timeline click while the clip set plays opens the clip there (or the next) and plays on.
- **v0.11.2:** clips ▶ plays the batch clips in turn.
- **v0.11.1:** the batch-clips lane, selected, loads the clip under the clock.

## v0.16.2 (2026-11-01): credits in About

Stephen, verbatim: *"put all the credits in the info tab somewhere. not for an overlay - this is for scientific visualization not broadcast"*.

- The manifest's `credit` and the terrain and imagery credit are a list in the About panel (⋯ → Panels → about, keys and credits). Nothing is drawn over the scene, on any incident, except Google's logo and providers while its tiles are the surface, because Google's terms ask for them on the map. This replaces the "data credit never withdrawn" row in the audit below for this app.

## v0.16.0 (2026-11-01): the progression, interpolated

Stephen, via `ask debbie`, verbatim: *"the progression should have the interplolation like the sandy incident has"*.

- A manifest's `map.toa` (`png`, `times_utc_ms`, `bbox`, optional `packing`) adds a fill under the rings on Layers → Fire → fire progression: each pixel lights when the clock reaches its arrival time, yellow at the front, red behind it, then a dark scar. `toa-layer.mjs` paints a canvas; a second `Projector` in `taos-stage.mjs` casts it straight down, so it drapes on the DEM and the Google mesh. TaosEngine view only. First user: `?incident=CA-SDU-BORDER2`. Norte has no `map.toa`, so it is unchanged. Nightly only until a devops release.

## v0.10.1 (2026-10-26): the progression stays above the Google mesh

- Checked live with the Google tiles: the perimeters vanished once the mesh streamed in. Under the mesh the streamed DEM is frozen at its root tile, and `geo.heightAt` read about 400 m low there, so the lines were buried. Now the streamed DEM is used only while it is the shown surface (and within 80 m of `dem.json`); over the Google mesh the 100 m `dem.json` is used, lifted 20 m (was 12) to clear the ridges it smooths. Checked on imageryintel.org/workspace/: the rings sit on the hillsides at 20:30Z, 22:00Z and 02:40Z.

## v0.10.0 (2026-10-26): the fire progression, an optional layer

Stephen, 2026-10-26, verbatim: *"add the fire progression as an optional layer to the norte fire viewer. ask debbie [Also use standard layer] panel"*.

- **Where:** Layers → Fire → **fire progression**, the room's first row, off by default and remembered like every row of the standard panel (Debbie's `<redfish-layers>` v0.1.0). The Fire room keeps its budget of four rows, so "hull: strict cells only" (a three.js-only refinement of the hull) moves to "Not here yet", where it replaces the planned "fire perimeters" row that this layer delivers.
- **What:** the perimeters named in the manifest (`map.perimeters`: the incident STAC's two FIRIS airborne heat perimeters, flown by N50X: 465 ac at 21:35Z and 570 ac at 02:22Z on 16–17 Oct) and the reported origins (`map.origins`, new: NIFC 18:32:56Z and CAL FIRE 18:33Z, about 230 m apart), coloured on one ramp from ignition (yellow) to the last perimeter (red). It follows the clock: a perimeter the clock has passed is drawn bright, a later one faint, so a replay shows where the fire got to and where it was going. Each origin is a cross with a 120 m mast.
- **How:** `TS.setProgression` drapes each ring, densified to about 20 m, on the streamed terrain (`geo.heightAt`, the Terrarium DEM, MSL), falling back to the plume stage's 100 m `dem.json` until the terrain arrives. It is re-draped as finer terrain streams in, lifted 4 m over the DEM and 12 m (v0.10.1: 20 m) over the Google mesh (whose roofs and trees stand above the bare earth), since the lines are depth-tested. Loaded the first time the row is turned on. The TaosEngine view only (the three.js view shows the row as n/a).
- **Not in it:** the 60 VIIRS hotspots of 16 Oct (20:08–21:48Z) are not available any more: the Esri Living Atlas layer the STAC item queries keeps only recent days, and the FIRMS archive needs a map key this workspace does not have. The WFIGS interagency perimeter (570.4 ac, 20 Oct) is the FIRIS 02:22Z one again, so it adds nothing.
- **Checked** (a visible Chrome, local, real clicks in the panel): the row on, the perimeters loaded; at 20:30Z both faint and the origin bright, at 22:00Z the 21:35Z ring bright and the 02:22Z one faint, at 02:40Z both bright; off, the lines go (1542 → 144) and the off state is remembered.

## v0.9.3 (2026-10-26): a drag out of h leaves the camera everywhere

Stephen, 2026-10-26, with a screenshot (San Juan Hills South, v0.9.1, the h readout up, i on, no image in front): *"i and h aren;t working on this frame"*.

- A drag (or wheel) out of a held pose released the 3D view but left the engine in the camera: its readout stayed up and i stayed tied to the pose, so the view and the readout disagreed. Now the release also leaves the camera in the engine (`onRelease` → `P.leave`); h re-enters cleanly. Checked: h + i fills the view; a drag clears the readout and the pose; h again fills it again.

## v0.9.2 (2026-10-26): Shift+click sets the centre of rotation; calibrated first

Stephen, 2026-10-26, verbatim: *"remove shift changing camera height. let's just use it to set the center of rotation by casting ray."*, then *"start the media grid as filtered for calibrated"*.

- **Shift no longer changes height:** the camera's vertical keys are E (up) and Q (down) only (`verticalKeyMode: 'eq'`; Space is play).
- **Shift+click sets the centre of rotation:** the clicked pixel's ray is marched through the plume stage's DEM (`data/dem.json`, the plume frame's ENU) to the first ground hit, refined by bisection; the view turns to face that point from where it is (no jump) and the controller orbits it (drag orbits, wheel zooms toward it, Shift+drag pans). Any framing (a selection, h, home, a drag out of a held pose) returns to fly. The ground is the DEM, not the 3D tiles' buildings.
- **The media grid starts filtered to calibrated** (Filters → calibrated clears it).

## v0.9.0 (2026-10-26): the news audio

Stephen, 2026-10-26, verbatim: *"option to play the audio channel from the news"*.

- **m** (YouTube's mute key) or the dock's **♪** turns on the FOX 11 recording's sound. One audio element plays the recording at the clock's moment while ▶ runs near real time (×0.25 to ×4), whatever is selected; it pauses when the clock stops, seeks when it is scrubbed, and is silent outside the recording. Remembered (`iw-sound`). On imageryintel.org it comes from the edge-cached copy (the manifest's mirror).
- The ♪ shows while playing or while the sound is on, so the resting dock keeps its count; m works at any time.

## v0.8.8 and v0.8.9 (2026-10-26): the clock switches UTC / local time

Stephen, 2026-10-26, verbatim: *"option toggle to change to local time"*.

- A click (or Enter) on the clock readout flips the clock and the timeline's axis between UTC and the incident's local time (Pacific, PDT), through the engine's own zone switch; remembered (`iw-zone`). Dotted underline on hover. Not a new button (the control count is unchanged). v0.8.9 keeps the dock's buttons at the right.

## v0.8.3 to v0.8.7 (2026-10-26): the SkyFOX shots and N50X fly and follow; p only toggles

- **v0.8.3 to v0.8.5:** the hand-calibrated SkyFOX shots (c2021, c3770) project, fly in and follow through the SkyFOX aircraft's per-frame pose (the batch calibration of c3770 covers only 20:58:39 on); the pose is read only once it is the clock's; the framing lens scales with the source (3 x its vertical field of view, 15 to 55 deg).
- **v0.8.6** (Stephen: *"include the air intel n50x. make public"*): the N50X MISB clip (EGP, already public: anonymous reads of the video, poses and IR images return 206) projects, flies in and follows through the engine's ac:n50x pose, its own MP4 kept at the clock. Checked as a plain visitor on imageryintel.org.
- **v0.8.7** (Stephen: *"\"p\" shouldn't move the view camera. it should just toggle the projection on or off"*): p only toggles the projection, for a camera, an aircraft or a clip; a selection still brings the view to it.

## v0.8.0 to v0.8.2 (2026-10-26): Google tiles on imageryintel.org, f, the timeline as the filtered media

Stephen, 2026-10-26, verbatim:
- *"drop the "never persist tiles" rule. update the google key to allow imageryintel.org."*
- *"add a "f" to toggle the red frustum lines on/off"*
- *"make the timeline collapsbile to one row and then expandable to all the channels"*
- *"the timeline grid should be the channels of the current filtered media not just the news cast"*

- **Google tiles on imageryintel.org.** The manifest's mirror `tilesProxy` streams the tiles through the imageryintel-org Worker v0.3.1, which adds the key (a Worker secret; the page carries none). geo-camera-key now allows imageryintel.org. The Worker edge-caches tile content (30 days). Google names tile files per session, so the JSON indexes are kept 1 h at the edge and every visitor in that hour shares one session. Checked: a second visitor in a fresh browser got all 461 tiles from the edge. **The rule "never persist tiles" is dropped (Stephen, 2026-10-26).**
- **f** toggles the red frustum lines (the picked camera's or aircraft's, and the selected clip's), remembered for the session.
- **The timeline** is one row by default (remembered) and expands to all its channels; the Timeline tab is back. The channels scroll inside the dock.
- **Its channels are the media panel's filtered media:** one row per item that passes the filters, in the grid's order (closest first), and the camera channels filtered the same way. The newscast clip lanes are gone; Layers → "media rows (timeline)" turns the rows off and on.
- **Decisions:** the Timeline tab and i bring a picked camera to 8 and a selected clip to 9, over the 7, by these asks; the check records them as exceptions.

## v0.7.3 (2026-10-26): i near the camera, h fits the image, finer tiles, framing from the camera

Stephen, 2026-10-26, verbatim: *"when looking through an image with "h". "i" should always be in front of the view. the "i" should be the top part of the frustum very close to the actual camera location. when in h, the field of view of the camera should match the image camera. The google 3d photo tiles should load higher resolution when closer to the land. "p" often shifts the view camera to the side instead of being directly with the camera view."*

- **i** sits at the top of the frustum, close to the camera: 10 m in front when the view is in the camera's pose (h), so it is in front of the view; from elsewhere a small share of the distance to the camera (20 to 400 m). It no longer hides in the camera's pose.
- **h** fits the image camera's whole frame, horizontally and vertically (it matched the vertical only, so a wide window showed more than the image).
- **Google tiles:** level of detail 16 at rest and 32 while moving (Tony's 32 / 64), and a 10° floor (was 20°) on a held long lens: sharper near the ground, more tile loads (billed). The manifest can set `tilesSseRest`, `tilesSseMoving`, `tilesHoldFovMinDeg`.
- **Framing** (p on, a selection, i on, a camera feed) puts the view at the camera's own position, looking where it looks, with a 55° lens and not held: no more swinging to the side. (`taos-stage` `lookAlong`.)

## v0.7.2 (2026-10-26): on imageryintel.org, with the video and the DEM cached

Stephen, 2026-10-26, verbatim: *"deploy to imageryintel.org with cacheing of videos and the google 3d photo tiles and dem."*

- **Open:** https://imageryintel.org/workspace/?incident=CA-ORC-NORTE (Worker `imageryintel-org` v0.2.0, domain-manager `c1192f49`, proxies this app from simtable.acequia.io).
- **Mirrors.** A manifest's `mirrors[host]` points the recording and the DEM at a caching co-host. For imageryintel.org: the public FOX 11 recording (3.0 GB) from `/media/fox11/pfMF73zeaSQ.webm`, cached at the edge in 8 MB slices (the edge will not hold one 3 GB object) and Range-native; the AWS terrarium DEM from `/dem/terrarium/{z}/{x}/{y}.png`, cached a month. The media panel's video and the projected clip video play from the mirror.
- **Not cached: Google Photorealistic 3D Tiles.** Google's Map Tiles API terms allow the browser's own HTTP cache only (Google sends `private, max-age`); an edge copy would break them. On imageryintel.org the 3D view uses the DEM with the Esri drape until a browser key is served there (Stephen's decision: imageryintel.org is not in the key's referrers, and the key file is gated to acequia sign-in on simtable).
- Still from simtable/AlertWest as before: the engine's own copy of the recording for its frame reads, the STAC, the clip poses, the AlertWest frames (third-party, linked, never re-hosted).
- **, / . for a camera picked in the scene** now step its frames (its frame times are numbers in `ts`; v0.7.1 read them as dates).

## v0.7.1 (2026-10-26): the YouTube playback keys

Stephen, 2026-10-26, verbatim: *"ask debbie [add the "youtube" video playback keyboard shortcuts. eg j, k, l, , . spacebar. k and spacebar are play/pause."*

- **k** or **Space**: play / pause (the dock's ▶), even with a button focused (Space used to press the focused button).
- **j / l**: back / forward 10 s on the clock.
- **, / .**: pause and step one frame. For a clip selected in the media panel that is 1/30 s of the recording; for a camera picked in the scene, its previous or next frame; otherwise the engine's own step through the plume's data times.
- **< / >** (shift+, and shift+.): slower / faster through ×0.25, 0.5, 1, 2, 4, 10, 60, 300.
- Keys are ignored while typing in a field. Listed under About → Keys.

## v0.7.0 (2026-10-25): the AlertWest feeds, live, one click to project, h to fly in

Stephen, 2026-10-25, verbatim: *"the point of this is not to play the newscast clips solely. we also have alertwest and many social media clips. even if they aren't geolocated, they might have a rought time.. let's get the alertwest pano fieeds in there and have an easy way to fly to them."*

- **Every camera the scene knows is a live feed in the media panel:** the ten AlertWest 360° panoramas (as their calibrated crop toward the fire at the clock) and the eight AlertWest fixed cameras. A feed's card shows its camera's picture at the clock, redrawn about once a second while in view, so it follows the timeline and ▶. Cards lead with the camera's name.
- **Cameras** (a chip in the panel bar): the feeds only, one click.
- **A click on a feed** picks the camera in the scene and turns p on: its picture is projected and the view is brought to the terrain it paints. The dock then has h (fly into it), i and p; the panel has fly in and go there. Back to the grid lets the camera go.
- The feeds rank in "closest in time and place" like everything else, and appear as a "Cameras" lane on the timeline.
- Checked in a visible window as a returning visitor (picture layer remembered off): 18 live cards drawn; San Juan Hills North picked, projected and framed; h puts the view in the panorama camera; back releases it.

## v0.6.5 (2026-10-25): p off is bare terrain

Stephen, 2026-10-25, verbatim: *""p" does not toggle to unprojected."*

- The blend a clip's fly-in or selection switches on (the engine needs it to read the clip's pose and frame) stayed on after p was turned off, and the TaosEngine view then painted the blend's top camera: the terrain never went bare. Now the terrain shows only what p asks for (a picked camera or aircraft with p, or the media panel's clip with p). The blend's picture is projected only when the user turns the blend on (b, or Layers → Cameras → blend).

## v0.6.4 (2026-10-25): h follows the clip camera; no start screen

Stephen, 2026-10-25, verbatim: *"h should follow the camera. "go there" aligns it but h doesn't maybe it doesn't keep up with the current clip when we're playing. we should talk about how to continously play and which clip to show. we should avoid the crap beginning screen. it doesn't benefit anything"*.

- h / fly in on a clip keeps the clock when it is already inside the clip (it jumped to the middle), and the held view follows the clip camera's pose at the clock 10 times a second while it plays; a drag lets go.
- The three.js scene no longer shows while the page loads: both 3D canvases wait, behind a "Loading the 3D view" line, until the TaosEngine view is up (or the three.js fallback is chosen where WebGPU is missing).
- Continuous play and which clip to show: proposed in chat, not built (Norte note 41).

## v0.6.3 (2026-10-25): the root cause on Stephen's machine — the projected-picture layer was remembered off

Stephen, 2026-10-25, verbatim: *"i don't see a fucking imager projected behind it"*.

- His layers panel read "Cameras 1/3": the "projected picture (p)" layer was off and remembered (`iw-layers` in localStorage), so the TaosEngine view drew no projection at all, whatever p, a selection or h asked. Every test browser started clean with it on, which is why the checks passed and his screen did not. Reproduced in a visible window with the layer remembered off: nothing projected on a clip selection or a camera's p.
- Now an explicit ask to project (p on, a clip selected in the media panel, h or fly in on a clip) turns that layer back on, in the stage and the panel. Unticking it in Layers still turns it off until the next ask.

## v0.6.2 (2026-10-25): in a held pose, i and p leave the view alone

Stephen, 2026-10-25, verbatim: *"also, i i hit "h" then i" the view camera shouldn't move"*.

- While the view holds a source's pose (h on a camera or aircraft, h or fly in on a clip), turning i or p on never reframes the view. Outside a held pose they still bring the picture into view.

## v0.6.1 (2026-10-25): no "Blended view" box over the 3D view

Stephen, 2026-10-25, verbatim, with a screenshot of the box: *"why the fuck does this blended screen show instead of the projection!!!!!!"*

- The "Blended view" box (the three.js blend's source list, shown whenever the blend is on: after a fly-in, h, b, or a camera's p) is never shown in the TaosEngine view. The projection under it was there; the box covered it and read as the result. Checked in a visible window across every path into a projection (Norte note 40).

## v0.6.0 (2026-10-25): p off is off; selection centres the picture

Stephen, 2026-10-25, with a screenshot: *"p shows the blended view icon. i'm frustratetd. I don't believe you are testing it. show me a screenshot of it projecting!"*

- The clip was already projecting on selection (at the edge of his view); his p turned it off, and the blend the selection had switched on stayed, with its legend. Now p off turns that blend off too (nothing projected, no legend), p on turns it back on and centres the picture, and leaving the clip restores the blend as it was.
- Selecting a clip always centres its projected picture (v0.5.9 only did when it was out of view).
- Shown in a visible (not headless) Chrome window on the GPU, screenshots in Norte note 39.

## v0.5.9 (2026-10-25): p brings the view to what it projects; h for a clip

Stephen, 2026-10-25, verbatim: *"p does not project!"*, then *"add an "h" too"*.

- **Why p looked broken.** On a camera, p projected, but onto the terrain the camera looks at: for San Juan Hills Fixed East that is kilometres east, out of the view, so nothing changed on screen (probed live with tiles: the projector was painting that camera). Now turning p on for a camera or an aircraft brings the view to the terrain it paints, from behind the camera; turning a clip's p back on frames its picture.
- **A camera's p wins over a pinned clip.** With a clip selected in the media panel, picking a camera in the scene and pressing p projects the camera (the clip's pin yields while the scene has a selection with p on).
- **p explains itself.** The engine's note ("no image at this time", "SkyFOX video is partner-only: nothing to project") is shown beside the dock's buttons while a thing is picked; it was hidden.
- **h for the media panel's clip**, a dock button and the key: fly into the clip's camera, its frame on the terrain (a scene selection already had the engine's h).
- **Decisions:** a clip selected shows ▶, h, p, i with the house four: 8, one over the budget, by Stephen's asks. The check reports it as an exception.

## v0.5.8 (2026-10-25): i — the picture on its frustum, in the TaosEngine view

Stephen, 2026-10-25, verbatim: *"yes add the image to the frustum"*.

- **i** (a dock button beside p, and the key) puts the selected thing's picture on its frustum: a camera or an aircraft picked in the scene, or the media panel's selected clip. The clip's frustum is now drawn too, in the selection colour, with its frame at about half the way from the camera to the ground. That frame comes from the same synced video that is projected, so it plays with the timeline.
- **How it is drawn.** The engine bundle has no mesh API, so the picture is a DOM canvas over the 3D canvas, warped each frame by a CSS homography onto the frustum's image plane (projected with the view's own camera). It is drawn over the scene: terrain does not hide it. It is hidden when a corner is within 20 m of the view or behind it, when the warp would be degenerate (not convex, over three screens, under 200 px²), or when the view sits in the source's own pose.
- **Framing.** Turning i on, or picking something new while it is on, frames the frustum from behind the camera and 40° to its right, so the image plane is seen face-on.
- **A clip on the timeline's lanes** now selects it in the media panel (and projects it), instead of opening the old clip card.
- **Decisions.** The media tab counts with its panel's region while the panel is open, so with a selection the dock stays at 7: logo, ⋯, fullscreen, hide-UI, ▶ or h, p, i.

## v0.5.7 (2026-10-25): the projected picture in its true colours

- The projector's texture is `rgba8unorm-srgb`: video and canvas pictures are sRGB, and the linear `rgba8unorm` texture washed the projection out (light, low contrast) against the same frame in the panel.
- Known, not this repo's: dark triangular shards over some Google tiles in the TaosEngine view, with or without a projection (flagged to tony `c66cbd1d`).

## v0.5.6 (2026-10-25): tighter framing

- The framing range is 0.7 × the frame's width on the ground (v0.5.5: 1.6 ×, which still left a small patch on the live tiles).

## v0.5.5 (2026-10-25): framing sized by the frame's width on the ground

- Selecting a clip (or go there) frames the projected picture so its width on the ground (camera range × lens) fills most of the view; v0.5.4 sized it by the camera's range alone, and a long news lens left a small patch.

## v0.5.4 (2026-10-25): the projected video follows the engine's play state

- v0.5.3 estimated the clock's speed per frame; when that frame ran before the engine's tick the estimate read 0 and the projected video paused and resumed. It now follows the engine's own `playing` and `rate`. Live check of ▶ at ×1 passed 2 of 4 runs before, see note 36.

## v0.5.3 (2026-10-25): one play button; the selected clip plays on the terrain from the timeline

Stephen, 2026-10-25, verbatim (with a screenshot, signed in, Google tiles): *"i don't see the "p" or "i". there should only be one play button when on main screen. i don't see calibrated videos projecting onto the 3d scene"*, then *"we don't want to play the clip separately than the timeline or 3d view"*.

- **No player in the media panel.** The panel's "play" / "play on the terrain" and its `<video controls>` are gone, and so is the clock-following they did; the timeline's ▶ in the dock is the only play button.
- **One projected video.** A selected calibrated clip is projected from one muted video of the public recording, kept at the clock (`msToVod`, the inverse of the recording's time map). When the clock runs near real time (▶ at ×1) it plays; when the clock is scrubbed it seeks, at most 4 times a second. The panel shows that same element, so the panel, the terrain and the timeline show one moment. The engine supplies the clip's pose at the clock; the projector takes the frame from this video, or from the engine's own frame while the video is seeking.
- **▶ plays a clip at its own speed.** Selecting a clip sets the replay speed to ×1; back to the grid restores it.
- **p in the dock** (and the key, with nothing picked in the scene) turns the selected clip's projection off and on. The layers tab steps aside while a clip is selected, so the scene stays at 7 decisions. There is no **i** in the TaosEngine view yet (guide §5: the image on its frustum is drawn by the three.js view only).
- **go there** on a clip looks at the projected picture (where its camera's centre ray meets the ground), not the clip's whole flight bbox.

## v0.5.2 (2026-10-25): a selected clip projects in the 3D scene

Stephen, 2026-10-25, verbatim: *"a selected should project in the 3d scene."*

- Selecting a calibrated clip in the media panel projects it at once, with no fly in and no play. The clock moves to the clip (if it is not already inside it) and the blend comes on, so the engine reads the clip's frame from the public recording. The clip's frame is pinned to the TaosEngine projector (`taos-stage` `setPin`), ahead of `p` and the blend's own choice, while the clock stays inside the clip. Once the frame is in, the view frames it: it looks at where the clip camera's centre ray meets the ground, from about the camera's own range, unless the view is already there.
- Back to the grid unpins it. While a clip is pinned, the three.js blend's legend (a different source list) is hidden.
- `fly in` and `play on the terrain` are unchanged.

## v0.5.1 (2026-10-25): projecting a clip on the terrain, made findable and reliable

Stephen, 2026-10-25, verbatim: *"i cant project the video on terrain. how to?"*

- **The way in:** a calibrated clip (media panel card, or a bar on the clips lane) → **fly in** (its pose; its frame lands on the terrain when it has loaded, a few seconds) or **play on the terrain** (fly in, then the clip plays in the panel and its frame plays on the terrain, the clock following it). Any camera: ⋯ → Panels → camera grid, pick it, then **p**.
- **Fixed:** the SkyFOX shots c2021 and c3770 flew in through the aircraft path, which projects only for signed-in partners; every calibrated clip now flies in through the public recording's blend.
- **Fixed:** play threw the clock to the recording's start (the video reports 0 before its seek lands), and the projection then fell back to a camera panorama. The clock now follows only inside the clip.
- **Fixed:** the blend projects what covers the view's centre, so a view parked at the clip's middle lost the clip at its start. While a clip plays on the terrain, the view rides with the clip's camera; a drag on the scene lets go.

## v0.5.0 (2026-10-24): the media panel, the video timelines, ranked by where you are looking

Stephen, 2026-10-24, verbatim: *"I'm seeing one interface with different reveals based on mode, not separate pages"*, then *"start with 3d world with projection mapping and video timelines below and a media panel with the a sortable/filterable grid. start with closest videos in time and place when zooming the time line and map"*.

- **One interface.** The 3D world (TaosEngine over Google 3D Tiles, projection mapping as before) on the left, the media panel on the right, the timeline with its lanes below. The media page's records now come from `media-data.mjs`, shared with the panel; `media.html` (v0.2.0) is the same data full screen.
- **The media panel** (`media-panel.mjs`), open by default; it and the camera grid take turns in the right column (the camera grid is in ⋯ → Panels). Search, sort and Filters (source, kind, video, calibrated, has a place, in the timeline window, clear). A card's picture follows the media page's rights rule (links, never copies).
- **Closest in time and place** (the default sort). Time: an item's gap to the centre of the timeline's window, in half-widths of the window, so zooming the timeline narrows what counts as near. Place: the item's bbox gap to the ground point the 3D view looks at (the view's centre ray against the incident's ground height), in half-widths of the view on the ground, so zooming the map narrows it too. The two combine as a hypotenuse; no time sorts last; a place known only as the incident area counts as 3 view-widths away. Each card shows its gaps ("9 min off · 280 m off") and a bar. The grid re-sorts when the window or the view settles, at most twice a second, never while the pointer is over the grid, with the cards sliding to their places.
- **An item** opens in the panel: **fly in** (a calibrated clip: its pose, its frame projected onto the terrain), **go there** (the clock to its time, the view onto its place), **play** (the public FOX 11 recording at the clip; while it plays the workspace's clock follows it), and up to three links.
- **The video timelines.** The panel's filtered media are lanes on the workspace's timeline, one per source (news, social, CAL FIRE, cameras, air intel), under the clips; a bar opens its item in the panel. The calibrated clips are now one lane, each bar in its aircraft's colour (eight lanes had pushed the media off the dock). On a wide screen the lanes open by default; their tab moved to ⋯ → Time ("timeline lanes: hide / show").
- **TaosEngine stage:** `viewEcef()` (where the view looks, in ECEF, through the inverse of the frame's affine map) and `lookAtPlace(lat, lon, range)`.
- **Decisions:** every scene state 4 + 3 house (the Media tab replaces the Timeline tab at rest); the media panel, counted as its own region: 4 at rest (tab, search, sort, Filters), 7 with an item open.
- **Checks:** `verify/media-panel-check.mjs` (the panel loads, lanes show, the grid re-ranks by the timeline's zoom and by the view's place, an item opens, fly in blends), `verify/media-page-check.mjs`, and `verify/workspace-check.mjs` (updated for the lanes opening by default).

## v0.4.0 (2026-10-23): the forager media page

Stephen, 2026-10-23, verbatim: *"make a forager media page"*. **Open:** https://simtable.acequia.io/apps/incident-workspace/media.html?incident=CA-ORC-NORTE

- **What:** `media.html` + `media.js`. Every media item the forager found, read from the incident STAC (`?incident=` through its workspace manifest, or `?stac=`) and its playlists. For Norte: 338 items from news, social media, CAL FIRE, ALERTCalifornia and AlertWest, EGP (the N50X MISB clip and IR frames), the calibrated aerial and ground clips, the map and agency pages, and the playlists. The non-media children (ADS-B, weather, hotspots, perimeters, models) are skipped; a manifest can change that list (`media.skip`).
- **Each item:** picture, title, source, kind (aerial, ground, ground or unknown, mixed, briefing, article, photo, post, camera, map, official page, playlist), time with its source and the upper-bound flag ("by": an upload or post time), location and confidence, rights (shown), and at most five actions: play here (the public FOX 11 recording), YouTube at the offset, open in 3D (the workspace's new `?clip=`), the clips viewer, the original, the STAC item.
- **Pictures, by the rights rule:** the forager's thumbnail asset, or YouTube's own thumbnail, or a frame of the public FOX 11 recording at the clip's time, drawn in the browser from one hidden video (only for cards in view) and never saved. Nothing else; EGP frames, live camera frames and pages are links.
- **Views:** the grid (default) and the timeline (the house `<camera-grid-timeline>`, one lane per source; the grid follows its window). Search, filters with counts (source, kind, day, calibrated, has a location), sort by time. The address keeps the state (`?q= &src= &kind= &time= &cal= &loc= &view= &sort= &item=`).
- **Decisions:** rest 5 + the logo; Filters 7; an item at most 6; the timeline 5 + the logo.
- **Workspace:** `?clip=<id>` flies into a calibrated clip (or opens its card); the manifest's Other views lists the media page first. The Norte dashboard lists it among its viewers.

## v0.3.0 (2026-10-23): the layers panel and the guide

Stephen, 2026-10-23, verbatim: *"give me an html document that explains the uxui. eg how do i select a camera in the scene, where is "i" and "p". how do i see the camera grid sorted by current user view shed. etc / and then we will need a standard collapsible layers panel on the left. / basically give me the html that summarizes all the affordances of actions currently, the effectivities/capabilities given a current user/mode and then what we are planning next to do"*.

- **The layers panel, top left.** Debbie's new house component `<redfish-layers>` v0.1.0 ([web-components/layers](https://redfish.acequia.io/guerin/.agents/c4a8e2f1-7b6d-4e93-a5c2-8f1d3b0e9a47/web-components/layers/README.md)).
  - Closed by default: one tab, "Layers · N on". It hides while a thing is picked, when h and p take its place in the budget.
  - Open: five groups (Ground, Fire, Cameras, Aircraft and clips, Not here yet). A group opens as its own room of at most four layers, with a swatch each; the projected picture has an opacity slider on its selected row.
  - It drives both views. TaosEngine: `TS.setSurface` (Google 3D tiles or the DEM) and the new `TS.setLayer('camFrusta' | 'acFrusta' | 'trails' | 'picture', on, opacity)`. three.js: the plume viewer's own layer checkboxes (still in the DOM contract, now hidden). The timeline: the clip lanes and the transcript lane.
  - A layer the current view does not draw reads "n/a" and says where it is drawn. Perimeters, roster positions, AlertWest frames and panoramas, and the augmented annotations are listed under "Not here yet".
  - Its open state and every layer's state are remembered (`iw-layers:*`). The blend is never restored at load (it is heavy).
- **The drawer.** Lab loses the ground switch and the blend (both are layers now); Panels loses "layers" and gains the guide.
- **The guide**, `guide.html`, from a headless audit of every page (`tools/guide/audit.mjs`, screenshots with numbered controls in `guide/shots/`).

## v0.2.0 (2026-10-22): the 3D view in TaosEngine over Google Photorealistic 3D Tiles

Stephen: *"make the 3d view taos engine with google 3d phototiles"*, then *"yes project on Google tiles"*. Built in Tony's order (tony `c66cbd1d`, note 00 of 2026-10-22); this release is his steps 1 to 4.

1. **One pose -> camera module, datum first:** `geo/pose-camera.mjs`.
   - It is plain, float64, with no imports.
   - It takes a pose (lat, lon, MSL height, heading, pitch, roll, hfov) to an ECEF eye, ECEF axes, intrinsics, pixel <-> ray, and the camera in a renderer's frame (`toFrame`, re-run after any origin shift).
   - The surface decides the datum. Over Google tiles (WGS84 ellipsoid) `hEll = hMsl + N`. Over a DEM a renderer places as ellipsoidal (TaosEngine's raster DEM, the three.js stage) `hEll = hMsl`.
   - N comes from the engine's baked EGM96 grid: -35.15 m at Norte, against the -35.5 m the pose lane used.
   - **Checked** (`node tools/verify-pose-camera.mjs`):
     - for 29 frames of three batch clips, the pixel of a known ground point equals image-geo-projection's `PinholeCamera` (the calibration's model) to 2.5e-13 px;
     - pixel -> ray -> pixel round-trips to 6e-8 px;
     - without the datum fix, a c7955-m242 frame over tiles lands the ground point 449 px off (35.5 m at 4.2 km range through a long lens).
   - The calibration (`skyfox-pose/js/batch`, `calibrate-clip --tiles3d`) can import the same file by relative path, so Node and the browser cannot disagree.
2. **The TaosEngine view:** `taos-stage.mjs`, WebGPU.
   - **Ground:** Google Photorealistic 3D Tiles, with the DEM + Esri drape as the fallback and the toggle.
   - **Overlays:** every camera's and aircraft's frustum at the clock and the aircraft's last 15 minutes, as screen-width lines.
   - **Fly-in:** `h` and a clip's fly-in hold the source's calibrated pose; a drag releases it.
   - **Fallback:** the three.js stage (the plume viewer's engine) keeps running at 1 px as the state and UI engine (camera grid, aircraft, clock, keys, blend weights). It is the whole view where WebGPU is missing (Firefox, older Safari), or with `?stage=three`, or when the manifest's `stage.view` is not `taos`.
3. **`p` with the stock Projector.**
   - With `p`, the selected camera's or aircraft's picture is cast from its calibrated pose onto whatever surface is there: buildings and roofs with the tiles.
   - With the blend on, the top-weighted source is cast. That is how a clip's fly-in projects the clip's frame (c7955-m242 lands on the houses it filmed).
   - There is no occlusion test yet, so slopes and walls hidden from the source are painted too.
4. **The tiles toggle and the terms:**
   - **Key:** the browser key only, never in the repo, the bundle or the manifest. It is read from a sign-in-gated file beside the app (`private/maps-key.json`; anonymous read is refused, checked on deploy), or from this browser's own entry (`localStorage iw-google-key`). Without a key the view uses the DEM + Esri.
   - **Attribution:** the Google Maps logo (Google's outlined asset, 18 px, clear space kept) plus the visible tiles' providers (`Tileset3D.visibleCopyrights`, one line) are drawn over the canvas while tiles show. The Esri and AWS credit is shown while the DEM shows.
   - **No persistent tile store:** Google's tiles come with `Cache-Control: private, max-age=14400, must-revalidate`. The policy allows that ordinary browser HTTP cache and forbids a store of our own. The engine keeps one (Cache Storage `geo-tiles-v1`, `geo/data_source.ts`, which writes its copies without Google's headers). This build turns that store off at the source (`tools/taos/build.mjs`, with a guard that fails the build if it comes back). Tiles otherwise live only in GPU memory and the engine's in-memory LRU, and nothing tile-derived is written anywhere. (v0.2.0's README said Google sends `no-store`; it does not. Corrected in v0.2.2 from Tony's measurement.)
   - **Ground toggle:** in the drawer, Lab: "ground: Google 3D tiles / DEM + Esri". Also there: "view: TaosEngine / three.js".
5. **One engine commit, one bundle:**
   - `taos/taos-stage-lib.js` is built from taos-engine `17bae1bf` (upstream main, 2026-10-21; the projector and render-feature files are unchanged since `29850554`).
   - It is built from a separate worktree, so the shared clone stays on its branch.
   - It is unminified, because RenderFeatures key off `feature.name`.

**v0.2.2:** Tony's tile settings (tony `c66cbd1d`, note 00 of 2026-10-23: no duplicates or re-fetches; every new viewpoint simply needs 100 to 450 new tiles).
- **Level of detail:** maxSSE is 32 at rest, and 64 while dragging and for 1 s after a jump.
- **Draw distance:** 10 km.
- **Held poses:** while the view holds a source pose (`h`, a clip fly-in), tiles are selected as if the lens were at least 20 deg wide.
- **Hidden surface frozen:** tiles under the DEM, or the DEM under tiles, stop streaming.
- **Shadows and memory:** no tile shadow casters; a 400 MB budget per cache with evictHard 1.25.

Measured with `verify/taos-check.mjs` (1440, the same scripted minute), v0.2.1 against v0.2.2:

| | before | after |
|---|---|---|
| tiles for the start view (20 s) | 454 (27.6 MB) | 284 (14.3 MB) |
| tiles in the scripted minute | 1,247 (71.4 MB) | 871 (50.8 MB) |
| session total | 1,701 | 1,155 (-32%) |
| GPU tile memory | 1,542 MB | 421 MB |
| frame time in use | 17.6 ms | 16.9 ms |

**v0.2.1:** the gated key file is requested only when the origin's acequia identity says the visitor is signed in. A signed-out fetch logged a 401 in every anonymous visitor's console. Signed out, the view uses the DEM + Esri, with no request and no error. Not yet tested with a real signed-in session; a signed-in visitor whose identity reads empty also gets the DEM.

**Not in this release** (Tony's steps 5 to 7):
- **The ULR blend on the tiles** is not built yet. It needs a screen-space deferred pass (`UlrFeature`, modelled on `ProjectorFeatureBase`), DEM depth maps from the source poses, base-colour replacement above a total weight, and a hold-out switch with canvas readback for dual-splat. Today the tiles view casts the blend's single top-weighted source; the three.js view still blends six.
- **`i`** (the picture on its frustum) is not drawn in this view yet.
- **Building-aware occlusion** is not done.
- **Clicking a frustum** in the 3D view does not pick it. The camera grid, the lanes and the clip card select instead.
- **Datum mismatch:** expect doubled building edges until clips are re-solved against tiles (DEM vs tiles ~3 m median, 11 m p90).

**Measured** (headless Chrome, WebGPU, Intel Arc 140T; `verify/taos-check.mjs`):
- **Frame time:** 16.7 ms (vsync-bound) during use, 23 to 29 ms while the first tiles stream.
- **Tile loads:**
  - the first 20 s: 454;
  - one minute of use (three orbit drags, a camera with `p` and `h`, a clip fly-in): 1,363 loads, 79 MB;
  - `maxSSE` is 24 (the engine's default is 16).
- **Billing and quota:**
  - **Root requests:** Google counts root tileset requests against the daily quota (10,000 a day; one per page load, each session good for three hours).
  - **Renderer requests:** these are rate-limited at 12,000 a minute and do not count against the daily quota. A minute of use is about 11% of that limit.
- **GPU tile memory:** about 1.5 GB at this level of detail. The budget call does not cap the tiles in view; to tune with Tony.

**§4 audit (the new pieces):**
- **The Google credit:** a credit line, never withdrawn while tiles show (rule 3), with no controls. Pass.
- **The Lab section:** it gains two controls (ground, view). With it open the count is close, the section and 4 items, so 6. Pass.
- **The rest:** the decision counts above are unchanged (checked with the TaosEngine view on).
- **Rule 14 (the house camera):** the TaosEngine view uses the engine's controller in its fly mode (drag to look, wheel to move). It is not yet the house orbit default. To converge with `rf-nav` / the engine's orbit mode.

## Driven by the incident, not written for Norte

`?incident=<id>` reads `https://simtable.acequia.io/incidents/<id>/workspace.json`. Other ways to point it at an incident:
- `?manifest=<url>` reads that manifest directly.
- `?stac=<collection.json>` follows the collection's `rel="workspace"` link.

Norte is the default incident. Everything Norte-specific is in its manifest, [`manifests/CA-ORC-NORTE.workspace.json`](manifests/CA-ORC-NORTE.workspace.json), deployed beside the incident:
- the stage engine and its data;
- the recording, its time map and transcript;
- the batch-calibrated clips, with the aircraft colours and the suspect matches;
- the crowd group;
- the other pages;
- the credit line.

An incident without a manifest gets a plain message and a link to the incident viewer, a map of its STAC.

## Decisions per state

Counted live by `window.__ws.decisions()` and checked by `verify/workspace-check.mjs`.
- **What counts:** a decision is a visible control.
- **What does not count:** acting directly on the content (orbit, wheel, dragging the clock, picking a thing in the scene or on a lane).
- **The house chrome:** the logo link, fullscreen and hide-UI are on every state and are counted apart, as +3.
- **The limit:** 7 in all.

| state | task decisions | + house | total | the controls |
|---|---|---|---|---|
| rest | 4 | 3 | 7 | ⋯, layers tab, timeline tab, play |
| layers open (a room, counted alone) | 6 | 0 | 6 | the tab, five groups |
| layers: a group open | at most 7 | 0 | at most 7 | the tab, back, at most four layers, the selected layer's opacity |
| lanes open | 4 | 3 | 7 | ⋯, layers tab, timeline tab, play |
| clip picked (the card) | 4 | 3 | 7 | ⋯, timeline tab, fly in, close (the layers tab hides) |
| in the clip (flown, frame blended) | 4 | 3 | 7 | ⋯, layers tab, timeline tab, play |
| camera or aircraft selected | 4 | 3 | 7 | ⋯, timeline tab, h, p |
| in the camera (h) | 4 | 3 | 7 | ⋯, timeline tab, h, p |
| drawer open (modal; the rest is dimmed) | 7 | 0 | 7 | close, Crowd, Lab, Panels, Time, Other views, Data and notes |
| a drawer section open | at most 6 | 0 | at most 6 | close, the section, its 2 to 4 items |
| hide-UI | 0 | 1 | 1 | the restore control |

These counts were measured at 1440 px light and 390 px dark, and they are the same at both sizes (v0.3.0: three.js view by `verify/workspace-check.mjs`; the TaosEngine view's layer switches checked separately, GPU).

## Reused, not rewritten (imported in place from their deployments)

- **The stage engine.** The plume viewer's `viewer.js` (tony lane), which mounts its `cameras3d.js` (Debbie). That module brings:
  - the camera grid, the aircraft (SkyFOX, N50X), and h, H, p, i;
  - the blend (`blend.js`) and the batch-calibrated clips as blend sources;
  - the shared clock.

  This page carries a copy of the plume viewer's DOM contract (its element ids and CSS), so the modules run unchanged. Their remembered panel state is kept apart from the plume page's: `plume-*` keys are mapped to `iw-plume-*`.
- **The timeline.** `<camera-grid-timeline>` v0.2.2, the house component, is the same module instance the engine uses. The workspace's lanes are appended to the engine's through an instance-level `lanes` setter.
- **The data.** The batch calibration index and per-clip evidence (Norte note 21), the recording's piecewise time map and transcript (note 19), and the plume data.

## New here (`workspace.js`, about 200 lines)

- **The manifest.**
- **The lanes:** the clips by matched aircraft, the not-matched clips, and what was said.
- **The clip card:** picking a clip on a lane opens it, and **fly in** sets the clock, turns on the blend and puts the view at the clip's pose.
- **The drawer.**
- **UI only when useful:** h and p appear only with a selection; play hides while a card or a selection holds the dock.
- **The decision count.**

## Deliberately left out of v0.1.0

- **A 2D map face.** The Norte viewer's map stays one link away in Other views.
- **Most of the clips viewer's lanes:** graphics, AlertWest frames and panos, mentions, playlists, AOI drawing. They stay in the clips viewer, linked from Crowd and Other views. The workspace carries only the clips by aircraft and what was said.
- **The broadcast picture inside the workspace.** It is reachable in the camera grid panel and in the clips viewer.
- **Analyst tokens opening a reduced workspace** (a fan question). This is for v0.2.
- **A stage for an incident without 3D data.** Today the stage is the plume engine, named in the manifest. Another incident needs its own stage data or a map-only stage.
- **The local time zone and replay speed in the dock.** They moved to the drawer's Time section.

## §4 audit (redfish-style SKILL.md §4 and §4e), before ship

| item | rule | result |
|---|---|---|
| the scene is the page, no page scroll | 1, 15 | pass |
| minimal header | 2 | pass: logo chip, short title, version, ⋯ |
| fullscreen + hide-UI | 3 | pass: the `.rf-fab` pair. Hide-UI withdraws everything `.rf-ui`; the restore control and the data credit stay |
| data credit | 3 | changed by Stephen, v0.16.2: from the manifest, in the About panel; not over the scene |
| skin linked | 4 | pass |
| timeline docked, collapsed by default | 5, 11 | pass: the strip with the lanes one tab up; UTC by default, with the zone switch in the drawer's Time section |
| layers panel | 10, 15b | pass (v0.3.0): `<redfish-layers>` minimizes to its tab, remembers its state, transitions (reduced-motion off), at most 7 decisions open |
| panels minimize to tabs | 10 | **deviation, deliberate:** a panel's minimize-tab shows while the panel is open. A minimized panel lives in the ⋯ drawer (Panels), not as a tab on the stage. This is the "UI only when useful" answer, and the way back stays perceivable through ⋯. To be ratified. |
| text in collapsible panels | 15d | pass: About, behind Panels |
| controls by need | 15b | pass: 3 to 7 per state (table above) |
| scroll ownership | 9 | pass: the wheel zooms the scene; the dock scrolls its own lanes |

## Run, check, deploy

```
node verify/workspace-check.mjs "<url>" <outDir> [width] [scheme] [gpu]   # exit 0 = every flow passed, no state over 7, no console error
bash deploy.sh                                                         # the app to apps/incident-workspace/, the Norte manifest to incidents/CA-ORC-NORTE/
```

## Provenance (devops)

- **Bead and repo:** incident-viewer [`42b5d5db`](https://redfish.acequia.io/guerin/.agents/42b5d5db-ad57-42cf-b3d7-3aa9f9ace4e5/about.md), the lineage of apps/incident-viewer and fire-grid-watch, `repo/incident-workspace/`. Author: Debbie (senior-uxui-designer `c4a8e2f1`). The history face is `repo/incident-workspace/.git/`, with `commits.json` beside it.
- **The fan:** [incident-workspace-fan](https://redfish.acequia.io/guerin/.agents/c4a8e2f1-7b6d-4e93-a5c2-8f1d3b0e9a47/2026-10-22/artifacts/sketches/incident-workspace-fan/index.html). Framing [note 00](https://redfish.acequia.io/guerin/.agents/c4a8e2f1-7b6d-4e93-a5c2-8f1d3b0e9a47/2026-10-22/notes/00-incident-workspace-fan.md).
- **The pages it merges:** Norte note 12 (the plume viewer and the projection viewer), and the clip-finder README (the clips viewer).
- **License:** code © RedfishGroup; derived data CC BY 4.0. Third-party media (FOX 11 / KTTV, ALERTCalifornia) are read at their origin, never re-hosted.
