Bead: Ants In Taos

**Bead** `b6fcda63-c171-4293-9d99-75297f4205bb` · [canonical URI](https://redfish.acequia.io/guerin/.agents/b6fcda63-c171-4293-9d99-75297f4205bb/) · discussion: Talk: Ants In Taos This page is the wiki facet of a [bead](https://redfish.acequia.io/guerin/.agents/); the bead is the source of truth.

## Identity - **URI:** `https://redfish.acequia.io/guerin/.agents/b6fcda63-c171-4293-9d99-75297f4205bb/` - **GUID:** `b6fcda63-c171-4293-9d99-75297f4205bb` - **Slug:** `ants-in-taos` - **Opened:** 2026-06-15 - **Body:** CV (Claude Code extension — shell + filesystem; local origin is source of truth, PUT/bead-sync propagates) - **Mounts (read):** `be9c3efd` incident-viewer-epic-4 (render-pattern source + collaboration partner via its `uploads/` dock) · `cbf8b027` incident-viewer-taos-engine-app — **holds the Sandy Fire STAC** (`cbf8b027/2026-06-11/artifacts/stac/2026SandyFire/`: heat-perimeter progression + cameras + FMV) used as the observed-spread ground truth · `c66cbd1d` taos-engine + the **taos-orama** query skill.

## Motivation (why a GUID) Stephen's overnight directive: **"deploy an agentscript fire model in taos-engine that responds to slope"**, served at `https://redfish.acequia.io/guerin/agentscript/ants-in-taos.html`. A fresh GUID keeps the build's notes + chat + decisions out of the global namespace while giving siblings a stable URI. The deliverable HTML lives at the requested **guerin/agentscript/** path (explicit instruction), NOT in this bead's `artifacts/` — this bead holds the design notes, chat log, and ship log.

## Mechanism (what this bead does) - Workshops a self-contained AgentScript-style **fire-spread cellular model** whose spread probability is biased by **terrain slope** (fire runs uphill faster), rendered on the **real Taos, NM DEM** in **taos-engine** (the public hosted bundle at `https://redfish.acequia.io/taos/taos-engine.js`). - Elevation/slope come from **AWS Terrarium** DEM tiles (`s3.amazonaws.com/elevation-tiles-prod/terrarium/{z}/{x}/{y}.png`, decode `(r*256+g+b/256)-32768`) — the same DEM the engine renders, so the fire grid matches the 3-D relief. - Verified with **CDP Chrome** (port 9222, `--enable-unsafe-webgpu`) per the incident-viewer tooling — WebGPU needs a real GPU, never a headless screenshot.

## Folder Layout - `about.md` (this), `README.md`, `bead-bind-startup.md` — root self / front-door / binder contract. - `2026-06-15/notes/` — `00-fire-on-slope-in-taos-engine.md` (design + decisions). - `2026-06-15/chats/` — verbatim chat log. - `2026-06-15/artifacts/` — CDP verification shots + ship log. - `uploads/` — inbound dock (be9c3efd monitors it; replies land here).

## Session Log - **2026-06-15** — bead opened (overnight, autonomous). Surveyed taos-engine / incident-viewer beads + the taos-orama docs index; confirmed the engine export surface from the hosted bundle and the incident-viewer render pattern (RenderFeature → `frame.transparent.push(ForwardDrawItem)`); posted a collaboration question to `be9c3efd/uploads/`. - **2026-06-15 — Ship 1 DONE: fire-on-slope LIVE.** Built + CDP-verified + deployed (200, public). Real Taos DEM in taos-engine, slope-biased fire CA running uphill, 2-D AgentScript patch-view fallback. `be9c3efd` confirmed the pattern + the destroy()-leak trap + inverted pitch sign. See `artifacts/log.md`. - **2026-06-15 — Ship 2 DONE (Stephen follow-up):** `ants-in-taos.html` is now the **ant model** (it moved to a new face), and the fire model lives at **`fire-in-taos.html`** (server WebDAV-COPY). Added: flame & smoke (fluid-preset particles), a **STAC-item Properties panel** (Script/Controls/Views graphs) on both, an **ion-enabled engine bundle** at `agentscript/lib/`, and the ant colony on **Google Photorealistic 3D Tiles** (Cesium ion). Hatched two sibling beads: `2028c98b` **taos-samples** + `d6ad03ba` **taos-recipes**. All live + CDP-verified (CDP on dedicated Chrome :9333). See `artifacts/log.md`.

## Modus Operandi (how to interact) Read `bead-bind-startup.md` first. The deliverable is driven from `guerin/agentscript/ants-in-taos.html` (git-tracked there for rollback). Verify with CDP against a local static server; WebGPU needs a real GPU.

## Capabilities The **taos-orama** skill answers engine-API questions in one query. The hosted **taos-engine** bundle exports `Engine, GeoScene, GeoFrame, geodeticToEcef, AWS_TERRARIUM, ESRI_WORLD_IMAGERY, Mesh, PbrMaterial, Texture, Projector, deferredPreset, Camera, CameraController, DirectionalLight, ShadowFeature, GeoFeature, reanchorCamera, Vec3, Mat4, …`.

## Lifecycle Open. Advanced per-ship; bead-sync after a dirtying turn. Apoptose when the model is shipped + verified → fold a durable summary back and `/end-bead`.

## Limitations - The deliverable HTML is NOT bead-hosted (it lives at the requested guerin/agentscript/ path). This bead is the build's notes/chat/log only. - "agentscript" here = the **paradigm** (patches/turtles stepping); the model is written in AgentScript idiom rather than importing the agentscript.org library, so its renderer doesn't fight taos-engine. (Flagged for Stephen — swap to the canonical lib if he wants the dependency.)

See all: Beads