# Author a Sightmap Against the Running App Source: https://docs.sightmap.org/authoring/overview Build and maintain a .sightmap/ corpus against the running app by iterating, probing, naming, and validating each view. A sightmap is written against the rendered app. Source code can suggest names and file paths, but the live page proves whether a route or selector matches. In a typical workflow, an agent drafts the YAML and a human reviews the diff. ## Before you start Complete [Install](/start/install) and [Quickstart](/start/quickstart) first. You need: * The `sightmap` CLI and `sightmap-authoring` skill. * A running copy of the web app. * A `.sightmap/` directory in the project. The agent drives Chrome through the CLI, applies the corpus to the live DOM, and reads back which interactive nodes remain unnamed. ## Run the edit-verify loop The commands below are what the agent runs through the `sightmap-authoring` skill; you review the diff before it lands. The agent works through one route at a time. **1. Start a session** ```bash theme={null} cd my-app sightmap browser start --url 'https://example.com/products' ``` The agent starts the session with `browser start`, which launches Chrome and the corpus server. The server reloads the YAML whenever the agent changes it. **2. Iterate a page** The agent runs `snapshot --coverage` with the page URL: ```bash theme={null} sightmap snapshot --coverage --url 'https://example.com/products' ``` ```text theme={null} [View: ProductListPage] route: /products/** [Coverage] (visible only) 87 interactive · 21 direct T1 (24%) · 61 scoped T2 (70%) · 5 orphaned T3 ✗ Unlabeled clusters: 5× button (no text) inside: div[data-testid="product-pod"] → [data-testid="product-pod"] button ``` Coverage assigns every interactive node a tier: | Tier | Meaning | Goal | | - | - | - | | **T1** direct | The node itself matched a component selector | Maximize | | **T2** scoped | Unnamed, but inside a matched ancestor | Acceptable when tight | | **T3** orphaned | No matched ancestor at any depth | **Must reach 0** | `snapshot --coverage` prints coverage and groups T3 nodes by a suggested selector, suppressing the full tree. Drop the `--coverage` flag for the full annotated tree, or use `sightmap capture` to save the page into its view set. **3. Verify the suggested selector** The agent probes the suggested selector against the live page before adding it to YAML: ```bash theme={null} sightmap sel-probe -- '[data-testid="product-pod"] button' ``` `sel-probe` reports the match count, key attributes, and parent chain for each match — the agent checks that the count and matched elements are what it intended. See [Selector tools](/cli/selectors) for live and offline checks, and [Selectors](/concepts/selectors) for selector strategy. **4. Name what's unnamed** The agent adds the component to the matching view: ```yaml .sightmap/views/products.yaml theme={null} version: 1 views: - name: ProductListPage route: /products/** components: - name: ProductCard selector: '[data-testid="product-pod"]' children: - name: AddToCartButton selector: 'button[data-testid="atc"]' ``` It validates after each edit: ```bash theme={null} sightmap validate ``` The running session picks up the change without a restart. See [Components](/spec/components) for the complete component format. **5. Repeat** The agent re-runs `snapshot --coverage` and works through the remaining T3 clusters. A route reaches the baseline when coverage reports `0 orphaned T3 ✓`. Then it reviews the T2 scopes. > [!TIP] > > For a new page, `sightmap suggest --exclude-known` finds source-controlled selector hooks, `sightmap discover` lists the site's URL patterns, and `sightmap inspect` prints the raw DOM tree. ## Review T2 scopes Zero T3 means every interactive node has a named ancestor. It does not mean every node has enough identity. A **T2-tight** scope has one unnamed interactive child under a named component. Its role and accessible name may be enough to identify it. A **T2-loose** scope has several unnamed interactive children under the same component, which makes attribution ambiguous. The agent runs `sightmap snapshot --trace` to inspect those scopes and adds child components where stable selectors exist. If a third-party widget or generated markup has no stable selector, it records that limitation in `memory`. See [Coverage](/cli/coverage) for the complete T1, T2, and T3 model. ## Promote shared components After mapping several routes, use saved captures to find components that recur: ```bash theme={null} sightmap multi-coverage ``` The matrix shows which components appear in each view. Move a component to the root `components:` collection when it should match every view, such as the site header or consent banner. Keep feature-specific components inside their view. See [Coverage](/cli/coverage) for capture requirements and the full cross-view report. ## Add what names alone don't say Once a page is covered, a few optional fields carry more than identity. Add them where a consumer needs them, one component at a time: * **[`properties`](/spec/components#properties)** read a value off each instance (a card's title, a toggle's `checked` state) so `ProductCard[title^="Weber"]` resolves to exactly one. * **[`privacy`](/spec/components#privacy)** tells capture tools what not to retain: `mask` on a form, `block` on a card number, `unmask` on the one field that is safe. * **[`watch: true`](/spec/components#watch)** asks capture tools to report when a component appears, for empty states, errors, and promotions nobody clicks. * **[`tags`](/reference/schema#tags)** classify views, components, requests, and messages across names, such as `defect`. * **[URL properties](/spec/views#url-properties)** name the IDs in a route (`/orders/:order_id`) and the query values that matter. * **[Environments and origins](/spec/environments)** say which deploy targets and hosts a view or request runs on. `sightmap validate` checks each of these, and warns `extract-legacy-form` on any property still written in the pre-0.34 string form. ## Validate and maintain the corpus Run the structural and style checks before committing: ```bash theme={null} sightmap validate sightmap lint ``` Keep the corpus current as the app changes: * Have your agent re-run `snapshot --coverage` on affected pages. Coverage exposes new orphaned nodes while existing selectors and `memory` remain in the corpus. * Remove stale selectors and `memory`. If you can fix a documented quirk in the app, fix it and delete the note. * Run `sightmap validate` and `sightmap lint` in CI. * If you maintain saved view sets, refresh them with `sightmap capture --all`, then run `sightmap report`. See [View sets](/cli/snapshots) for representative URLs, capture storage, and pruning. ## Hand-authoring You can write `.sightmap/` as plain YAML without the CLI. The [JSON Schema](/reference/json-schema) validates the files, and [the spec](/spec/overview) defines each field. The CLI and authoring skill add live verification to that editing process. Use the [CLI reference](/cli/overview) for commands and flags, or read the full [`sightmap-authoring` skill](https://github.com/sightmap/sightmap/blob/main/go/skills/sightmap-authoring/SKILL.md) for the agent playbook. # Changelog Source: https://docs.sightmap.org/changelog New features, improvements, and fixes in the sightmap CLI, library, and spec. **sightmap 0.39.0** Released November 10, 2026 New `sightmap match FILE.snap|DIR ...`: one JSON record per capture, matched by its URL as a session pipeline would. Each record gives the view (or the tied views), nodes per component, unmatched regions grouped by nearest hooked ancestor, and nodes claimed by more than one definition: the signals a capture sampler reads to fill gaps and retire stale components. Faster matching when one query set is walked over many trees, with identical results. `match.Prepare` indexes a compiled query set once and `Queries.FindAll` walks any number of trees with it, where `FindAllMatches` re-indexed on every call; `Matcher.MatchConflicts` answers `Match` and `Conflicts` in one traversal instead of two; and the specificity memo is a `sync.Map`, so parallel matches no longer queue on a lock. On a 292-capture, 1,381-definition corpus, a selector derivation that matches every capture dozens of times spends several seconds less in the matcher. Query conditions in routes (SEP-0025, Draft): a view or request `route` may end in `?KEY=VALUE&KEY=:name&KEY=*`. Each condition reads the first decoded value of its key: `KEY=VALUE` requires that value (a `*` inside it is a wildcard within the value), `KEY=:name` and `KEY=*` require the key to be present. Keys the route doesn't name are ignored, so a route without conditions matches exactly as before. For views, each condition adds the score of the path segment it mirrors (3, 2, 1), so `/profile?section=gift-cards` wins over `/profile` on that section and `/profile` keeps the rest. `ViewForURL`, `TiedViews`, `TagsForURL`, `RequestsForURL` and `MatchRoute` read the URL's query string; `validate` reports `route-query-invalid` for a malformed query part and compares conditions in any order for `route-conflict`. The browser overlay picks views the same way. SEP-0009 (amended): under `privacy: mask`, a `dom.text` read of an `input`, `textarea` or `select` now resolves to the control's accessible name when nothing it is computed from is content. The name comes from `aria-labelledby`, `aria-label`, an associated `label`, `title` or `placeholder`, never from the value, so a masked field keeps its label ("Street address") while what was typed stays withheld. It is still withheld when `aria-labelledby` or a label reaches masked or blocked content or another control, for button-like, `image`, `file` and `hidden` inputs, under an ARIA role override, when no source on the control explains the name, and when the name contains the control's own value. `dom.raw_text`, `dom.attr` and everything under `block` are unchanged. `validate` no longer warns `extract-privacy-withheld` on a masked `dom.text` read whose component selects only `input`, `textarea` or `select`. `ComponentMatch.Withheld` lists the properties privacy withheld. `browser start --attach HOST:PORT --detach` now backgrounds the attach daemon and returns once it is ready, instead of ignoring `--detach` and holding the shell. A reaped attach daemon can be restarted with `--detach` while the attached Chrome is still running. Full-page screenshots (`capture --screenshot`, `capture --inbox`, `browser screenshot --full-page`) now keep the page's layout. `captureBeyondViewport` alone kept the window's width, so with classic scrollbars the page relaid out 15 px wider for the shot: text rewrapped and a capture's element boxes drifted from the screenshot down the page (65 px by y 7600 on a 26000 px article). Chrome also left the tab at that wider layout afterwards. The viewport is now pinned to the page's client width and document height, with scrollbars hidden, for the screenshot, then restored along with the scroll position. Faster component matching on large, deeply nested corpora, with identical results. The matcher now skips an in-flight selector at any node missing an id, exact attribute value, `^=` prefix, class or tag its next compound requires. It keeps in-flight selectors on one shared stack instead of copying them at every node, flattens each compound's attribute tests once per compiled corpus, and reuses walk scratch between calls. On a 54-view, 1,335-definition corpus, matching all 187 captures takes 8x less CPU, and `Matcher.Conflicts` no longer builds a per-node map. match: a Matcher compiles its queries once per view rather than once per page URL, so a long-lived matcher that sees many URLs of the same views holds far less (`sightmap match` over 292 Fullstory captures: peak RSS 618 MB to 189 MB, identical output). `Corpus.ViewIndexForURL` names the view a URL selects by index. Selector specificity no longer allocates per compound pair. The `sightmap-authoring` skill now warns that a partial-wildcard catch-all route like `/*-settings` ties an exact route under most-specific-wins (a segment mixing a wildcard with literal text scores as a literal), so it must be declared after the exact views. Matching behavior is unchanged. **sightmap 0.38.0** Released November 3, 2026 `render.Props` and `render.PropEquals` export the rules `Format` uses for a matched node's properties: which properties it shows (the extracted ones, plus the AX value as `value` unless privacy withholds it), and which name or StaticText child it leaves out because a property already shows it. Renderers that keep their own tree and only reuse the matcher can call them so their output agrees with `Format`. **sightmap 0.37.0** Released October 28, 2026 Capture inbox: `sightmap capture --inbox` keeps a page in `.sightmap/snapshots/_inbox_/.snap` (not a view: per-view tools skip it), with its tree and a full-page screenshot, without matching a view or applying the novelty gate. This lets a tool that learns views from captures queue them first and sort them later. The overlay side panel has a **Capture** button (and `Alt+Shift+C`) that writes the tab you are looking at to the same inbox, through a new `POST /capture` endpoint on the `browser start` daemon. Entity `id` (SEP-0020): every named entity (environments, views, components, `$ref` entries, properties, requests, payload fields, messages, signals and snapshots) accepts an opaque `id` that is unique across the sightmap and stays the same through renames, moves and edits. It doesn't affect matching. The loader exposes each entity's `ID`, and a `$ref` entry's id as `RefID` on the root of its expansion. `validate` reports `id-invalid`, `id-duplicate` (across every entity kind and file; a definition referenced from several places is not a duplicate) and, once a sightmap declares any id, `id-missing` for each entity without one. The most specific definition names an element (SEP-0023): when several component definitions match one element, the one whose selector is strictly more specific than each of the others names it, whatever the declaration order, so `span.label` beats `span`, `[data-id$="-total-price"]` beats `[data-id$="-price"]` and a child's chain beats its parent's, without a `:not()`. Selectors are ordered by what they require first and what they exclude second, decided from the selector text alone (`sightmap.ParsedSelector.MoreSpecific`), so every implementation orders the same pairs; definitions it cannot order keep the first-declared tie-break and are still reported as conflicts. `Match`, `Conflicts` and `NamesForChain` all apply the rule. Resolve a component property against the corpus's definitions, for consumers that compile properties ahead of time instead of matching a component tree. `Corpus.ResolveComponentRead(owner, extract)` follows a `from: component` or `component.exists` PATH (and any chained reads) to the definition the value is read from. It returns that target, its selectors relative to the declaring component, the `dom.*` read to perform there, the patterns to apply innermost first, and whether the read is multi-valued and its `join`. A PATH segment that names no descendant, or several, is reported (`component-path-unresolved`, `component-path-ambiguous`), as is a missing property or a cycle. A multi-valued read must write every PATH step as `Name[]`: a plain step takes the first match per branch (`Row[].Item.text` reads one Item per Row), which one selector list cannot express, so such reads are reported as `component-read-unsupported`. `ValidateComponentExtract` checks a single component extract with the same codes `Validate` reports. Component definitions now carry `LocalSelectors`, the component's own selector alternatives as authored before ancestors' are prefixed. The corpus wire includes them as `localSelectors` on nested components, and a reader handles a wire without them. Browser overlay: match components inside iframes. The extension's content script ran only in the top frame, so nothing inside an embedded view (an MCP Apps widget, a sandboxed `about:blank`/`srcdoc` frame) ever matched. It now runs in every frame, including `about:blank` and opaque-origin sandboxed frames, and re-arms its overlay when a host fills a frame with `document.open()`/`write()` after load. Alt+S now toggles the overlay in every frame of the tab, not just the focused one. **sightmap 0.36.1** Released October 19, 2026 The overlay extension picks views the way the CLI does. Its route matcher treated `:param` segments as literal text, so a view routed `/ui/:org/settings` never activated and hover fell back to globals; it now ports the Go matcher (`:param`, in-segment `*`, `**` as zero or more segments, trailing-slash normalization). Only the most specific matching view is active, ties going to the first declared, instead of every matching view's components at once. The extension version is bumped so existing installs pick up this and the earlier resolver fixes. Component paths in extracts (`Title.name`) now resolve each segment among the previous segment's descendants, as SEP-0010 and the CLI do, not only its direct children; a direct child still shadows a deeper namesake. `validate` no longer reports "duplicate component name and selector" for one child name used under two different parents. Child names are scoped to their parent, but the check keyed on the bare name across a flattened scope, so two definitions (or two components in one view) that each contain, say, a `Label` matching the same selector were flagged. The check now keys on the component's address (parent chain plus name); a true duplicate under one parent is still an error. **sightmap 0.36.0** Released October 7, 2026 Full-page screenshots. `browser screenshot --full-page` captures the whole scrollable page rather than the viewport, and `capture --screenshot` saves a full-page PNG beside each capture as `.snap.png` (removed by `capture prune` along with its capture), so a view set keeps a picture of every state it recorded. Resolve privacy and watch from every component whose selector matches an element, as SEP-0009 and SEP-0015 now state, instead of from whichever component names it. A broader component naming an element (a `Field` child naming every `input` in a form) no longer discards a narrower component's `block`, a view component sharing a global's name no longer drops the global's privacy or watch, two declarations on one element resolve to the strictest, and `block` is absolute: an `unmask` reopens a `mask`, never a `block`. `ComponentMatch.Watched` lists every watched component matching a node, and `ComponentMatch.Watch` reports whether any does. New on `match.Matcher`: `Privacy` and `Watched` resolve every node of a tree, including nodes no component names. `match.Withholds` is exported, so a consumer withholding properties it extracted itself applies the matcher's rule. Selectors match exactly what a browser matches. Every test in a compound now applies instead of only the last: a repeated attribute name (`[class*="a"][class*="b"]`), a repeated `#id` (`#a#a` matches, `#a#b` matches nothing), and a second `:is()`/`:where()` (`:is(.a):is(.b)`). The parser rejects a type selector or `*` after other tokens (`[x]div`), which CSS does not allow. Matching compares the values of the attributes HTML lists as case-insensitive (`type`, `rel`, `target`, `lang` and the rest) ASCII case-insensitively, so `input[type=password]` matches `type="PASSWORD"`; in an HTML document that list applies to every element, SVG and MathML included. Type names fold with ASCII rules only, and a `~=` value that is empty or contains whitespace never matches. **sightmap 0.35.0** Released October 6, 2026 File-root `definitions:` (SEP-0019, draft): shared components that are `$ref` targets but never matched on their own. A view gets a definition only where it references one, scoped by the reference, so a structure whose selectors are only safe in context (a card's `img`, `h3`, `button`) can be shared across views without becoming a global that claims every page. The loader, `validate`, `lint`, `stats` and the unknown-field check all know the key; a global wins a name clash (`definition-shadowed-by-global`), and a duplicate definition warns (`merge-collision-definition`). Also fixes `$ref` resolution for duplicate global names: the loader let the **last** same-name global (by source-file path) win, contradicting the spec's first-seen rule (and the `merge-collision-component` warning's own message). It now resolves to the first. Corpora with same-name globals that differ in selector may expand `$ref` differently; `validate` already warns on them. Snapshots and captures record the page URL. The header of a `.snap` now carries a `url:` line after `route:`, and `viewset.URLOf` reads it back, so an offline consumer can re-derive which view a capture belongs to (or match it against routes of its own) without the live page. Captures written earlier have no `url:` line; `URLOf` returns "" for them. **sightmap 0.34.1** Released October 6, 2026 Match attribute selectors against the camelCase SVG and MathML attribute names captures keep, so `[viewBox="0 0 24 24"]` matches offline as it does in a browser. Skills: teach the fields added in 0.34.0. `sightmap-authoring` now covers `privacy`, `watch` and `tags` on components, URL properties on views and requests, and file-root `environments` and `origins`. It also corrects the message guidance: an uncaught exception arrives with level `exception`, so `level: ERROR` does not match it. `sightmap-browser` explains the view `tags:` line in a snapshot, and why a component under `privacy: block` or `mask` renders without its content properties. **sightmap 0.34.0** Released October 5, 2026 Add `privacy` to component entries (SEP-0009). `privacy: block | mask | unmask` declares whether a capture consumer may retain the matched element's content. It applies to the element **and its subtree**, and the nearest enclosing declaration wins, so the common shape is a `mask` on a form with an `unmask` on the one field inside it that is safe to keep. Resolution deliberately differs from `tags`, which union across every applicable definition. A union is right for classification, where more labels are additive; it is wrong for a directive, where two applicable values are a contradiction that has to be decided rather than merged. It governs extracted properties as well as captured content, at the node each value is read from rather than at the component that declared it. Extraction is tree-closed, so a `PATH.prop` reaching a blocked descendant is withheld even when the declaring component is unrestricted. `exists:` survives `mask` because presence is structure, as do the four interactive-state attributes SEP-0013 defines (`checked`, `selected`, `disabled`, `expanded`) — a closed set carrying state rather than a value, without which a masked form could report no control state at all. `mask` also covers attribute values in the captured recording, not only text and input values. A consumer must withhold every `data-*` attribute, `value`/`title`/`alt`/`placeholder`/`aria-label`, and any attribute the corpus names in an `attr=` extract anywhere — naming an attribute in an extract is itself the author declaring it carries content, which keeps the rule from going stale. Presentational attributes (`class`, `style`, `id`) may be retained because replay needs them to render, and the SEP states plainly that user data in one of those survives a `mask` and should use `block` instead. A withheld property is absent, indistinguishable from one that did not resolve. Omission declares nothing: a component with no `privacy` leaves the consumer's own default untouched, so a corpus can adopt the field one component at a time. A consumer may withhold more than the corpus asks, but never less. The loader carries the authored value onto `ComponentDef.Privacy` verbatim and does not inherit it to children, matching `tags`/`source`/`memory`. Resolution is the consumer's job, over the flattened chain. Add `watch` to component entries (SEP-0015). `watch: true` asks a capture consumer to report that a component **became visible to the user**, rather than reporting it only when someone interacts with it. The surrounding lifecycle (rendered, removed) is optional: becoming visible is the only moment that answers the question the field exists for, and the rest is largely churn, since an element can render far off-screen, re-render on every state change, and be removed by a route transition. Repeat reports of one appearance should be collapsed, and a visibility report is passive — never an interaction. The components whose appearance is the signal (an empty state, an error, a promotion) are usually the ones nobody clicks, so an interaction-shaped record contains no trace of them. `watch` applies to the component it is declared on and never to its `children`, the opposite of SEP-0009 `privacy`. Privacy is a restriction, where covering the subtree is the safe default; `watch` generates records, where covering a subtree silently would multiply them. A consumer's interactivity heuristic must not suppress a watched component. Without that rule the field does nothing for exactly the non-interactive components that motivate it. The loader carries the authored value onto `ComponentDef.Watch`. `watch: false` is identical to omitting the field. Add named environments and origins (SEP-0014). A file-root `environments` array defines deploy targets. A web environment maps surface names (`app`, `api`) to the `scheme://host[:port]` URL each surface has there; a native one (`platform: ios | android`) is identified by `app_id` and an optional `build_type`, and borrows a web environment's origins through `backend`. A file-root `origins` map holds shared origins, hosts that are the same in every environment such as a tracking pixel or a vendor endpoint, and an environment's own entry of the same name overrides it. Origin URLs may be patterns, with wildcards only in the leftmost host label (`https://deploy-preview-*--acme.netlify.app`, `https://**.acme.com`) or the port (`http://localhost:*`), so preview deploys and local dev servers belong to an environment without being enumerated. Views and requests reference both by name through `environments: [...]` and `origins: [...]`. Absent or empty means unconstrained. A view-scoped request's environments are intersected with its view's; its origins are never inherited. The fields are declarative only and take no part in route matching, so adding a list to an existing entity never changes what traffic it matches. Both registries are project-wide, first file by source path wins. The Go SDK loads the new fields (defaulting `platform` to `web`), exposes `Corpus.EnvironmentByName`, `Corpus.ResolveOrigin`, and `RequestEnvironments`, and validates them with new diagnostics: `environment-invalid`, `origin-invalid`, `environment-backend-invalid`, `environment-ref-unresolved`, `origin-ref-unresolved` (errors), and `environment-name-collision`, `origin-name-collision`, `origin-environment-gap`, `origin-host-shared`, `environment-duplicate`, `environments-empty`, `origins-empty` (warnings). One `extract` object for every property (SEP-0017). Component, request and message properties now read with `extract: { from, path, pattern, join }`, drawing `from` from one namespace: `dom.text`, `dom.raw_text`, `dom.attr`, `dom.state`, `component`, `component.exists`, `req.body`/`rsp.body`/`req.headers`/`rsp.headers`, and `stack`. Components gain `pattern`, and a path segment written `Name[]` reads every match instead of the first, collapsed into one value by `join`. A bracket with content in a path segment is reserved for future path predicates. `dom.state` reads interactive state separately from the markup attribute of the same name. The string forms (`extract: text`, `attr=NAME`, `PATH.prop`, `exists:PATH`, and request/message `source`/`field`/`pattern`) still load, lowered to the object, and `validate` warns `extract-legacy-form` with the replacement. They will be removed in a later release. `validate` also warns `extract-privacy-withheld` on a read its component's own `privacy` withholds. Go API: `ComponentPropertyDef`, `RequestPropertyDef` and `MessagePropertyDef` each carry one `Extract` value in place of their per-entity fields. The exported corpus JSON (`sightmap export`) changes shape to match: component `extract` becomes an object, and request and message properties carry `extract` in place of `source`/`field`/`pattern`. This SDK still decodes the old shape, but an older reader cannot decode the new one, so upgrade readers before writers. Carry a node's interactive state for `dom.state` (SEP-0013). The probe now captures each control's current `checked`, `selected`, `disabled` and `expanded` state from native properties and ARIA, overlaid by the accessibility tree, as `"true"`/`"false"` (`"mixed"` for an indeterminate checkbox). `extract: { from: dom.state, path: checked }` reads it, including where no accessibility tree is available. It is kept apart from the element's attributes, so `dom.attr` and selector matching still see the markup. Add `tags` to messages, ratify `tags` on signals, and close the `view.tags` gap (SEP-0016). `tags` now reaches every matchable entity. SEP-0004 deferred messages because console and exception events "aren't a matchable entity in the spec today"; SEP-0006 then created the `messages` entity, matched by `level` and a `message` regex, so that premise no longer holds and no separate mechanism is needed. Message tags resolve as a union across every matching entry, which matters more here than anywhere else: message *identity* is a refusal rather than a winner, since SEP-0006 requires a consumer to surface an ambiguity when a record matches several entries. The classification survives that ambiguity even though the name does not. `signal.tags` already shipped via SEP-0007 with a schema description citing a SEP that never mentions signals. It is now documented, and its resolution defined: a signal's effective tags are its own unioned with the resolved tags of the entity its `ref` names. Also closes the long-standing `view.tags` divergence. It was in the JSON Schema but absent from `ViewDef` and the Go loader's allowlist, so a corpus carrying a view tag validated under ajv and was rejected by Go. New `Corpus.TagsForURL` resolves view tags as a union across every matching view, and `Corpus.TagsForSignal` does the same for signals. Resolve a console record's tags as a union (SEP-0016). `MessageMatch` now carries each matched message's `tags`, and `Corpus.TagsForRecord` returns the union across every message a record matches, deduplicated and sorted. The union holds even when the record matches several messages and its identity is ambiguous. Show a page's view tags in `observe` (SEP-0004). The view header now prints a `tags:` line: the union of tags across every view whose route matches the page, so a broad tagged view is not shadowed by the narrower view that wins identity. Honor component `privacy` when resolving properties (SEP-0009). The matcher resolves each node's effective privacy (nearest enclosing declaration wins, `unmask` overrides) and withholds any property value read from a `block` or `mask` node, judged at the node the value is read from, so a `from: component` read cannot surface a value out of a blocked descendant. Under `mask`, `component.exists`, `dom.state`, and `dom.attr` reads of the four interactive-state attributes still resolve. `ComponentMatch` now carries the effective `Privacy` and the component's own `Watch`, and `validate` reports an unknown `privacy` value as `invalid-privacy`. Remove the `dependencies` field from views and components (SEP-0001, Rejected). `dependencies` asked a curator to hand-maintain a dependency graph that static import analysis derives more accurately and for free, and `match --path`, the reverse-lookup consumer it existed to serve, was never built. No SDK ever read the field. It is gone from `$defs.view` and `$defs.component` in the schema, from the loader's unknown-field allowlist, from the normative spec, and from conformance fixtures `008-dependencies-binding` and `108-fmt-dependencies-canonical`. **Breaking for any corpus that carries the field.** Because the schema sets `additionalProperties: false`, a view or component with `dependencies:` is now rejected as schema-invalid rather than silently accepted. Delete the key; nothing consumed it. `canonical-format.md` keeps its sort-and-deduplicate rule for unordered string arrays. `dependencies` was its only instance, but SEP-0014 relies on the rule for view- and request-level reference lists. Body paths accept backslash escapes, and `sightmap.SplitFieldPath` is exported. A request or message property's `extract.path` into a body is dot-separated. `\.` now addresses a literal dot inside a JSON key and `\\` a literal backslash, so a key named `a.b` is reachable. A path with no backslash resolves exactly as before. This is a behavior change for a path that already contained a backslash. `a\b` used to address the key `a\b` and now fails to parse; `a\.b` used to mean the key `a\` then `b`, and now means the single key `a.b`. `validate` reports a malformed path as `request-property-path-invalid` rather than letting the property resolve to nothing. `SplitFieldPath` exposes the same splitting for tools that compile a corpus into another schema. Add URL properties on views and requests (SEP-0008). A `:name` segment in a view or request `route` now **binds** that segment's percent-decoded value as a property, needing no declaration. An optional `properties[]` array reads with the SEP-0017 extract object, `from: url.query` or `from: url.path`, for naming a query-string value or renaming a bound segment. One grammar covers both entities. Both carry a `route`, both are matched against a URL, and the value an author wants out of that URL is the same kind of thing in each case. A request property reads `url.query`/`url.path` alongside its body and header sources, so one request may carry URL-shaped and payload-shaped properties side by side. This changes what `:param` produces, never what it matches: route matching still normalizes `:param` to `*`, so every existing route matches exactly the URL set it matched before. A declaration is also a **retention request**. A consumer that scrubs captured URLs should retain the parts its corpus names, since a scrubbed parameter makes the property permanently unresolvable and omission is otherwise silent. Naming a part is not a privacy grant: a consumer must not treat it as authorization to retain a value its own policy would withhold. Removes `transform` from the proposal, which SEP-0010 deleted from every property type. Extension: address components by their full path, not their leaf name. Component names are unique only *within a parent* — that scoping is the whole point of `children:`. The overlay treated them as globally unique in three places, and on any real page that silently produced wrong answers: * `activeComponents()` deduplicated the corpus by name, so a production sign-in map of 104 components collapsed to 54. Clicking a text input resolved two levels deep instead of six, because the surviving `Form` was a different form. * Parent scoping in `resolveElement()` accepted an unrelated namesake's match as a component's parent. * `PATH.prop` extraction resolved each path segment by name across the whole corpus, so a submit button's `Label.label` found a text field's label, matched nothing inside the button, and dropped the property. All three now key on a component's address (its `parentChain` plus its name). `resolveElement` visits components ancestor-first and requires a component's own parent to have matched, and each returned match carries its `address`. A file-root global is still dropped when a matching view declares a component of the same name at any depth, as `Corpus.ComponentsForURL` does, so a view-scoped `$ref` expansion subsumes its global instead of matching alongside it. Speed up `match.Matcher.Match` and `match.FindAllMatches` on large trees and corpora. The matcher tried every query at every node and allocated a map sized to the whole query set per node, so cost grew with nodes × queries. Queries are now indexed by a requirement of their first selector part (id, `attr="value"`, class, attribute name, or tag), so a node only tries queries it could start. Per-node maps and per-child ancestor-chain copies are gone, and class attribute selectors (`[class*="..."]` and friends) no longer join the class list on every check. Matching against a 503-query corpus over a 10,000-node tree drops from 290 ms and 466 MB to 6.7 ms and 0.14 MB. Results and their order are unchanged. Adds `Element.Attr` and `Element.HasAttr`, which resolve an attribute the way selector matching does (`id` and `class` fall back to their dedicated fields). `Matcher.Conflicts` now deduplicates claims by component **definition** rather than by name, and `sightmap.Conflict` carries the claiming `Defs` alongside `Names`. A component name is unique only within its parent, so two different definitions can share one. Deduplicating by name silently discarded every conflict between them — on a production sign-in corpus, five nodes were each claimed by two definitions and none were reported. Snapshots looked clean while first-match-wins quietly dropped one claimant on every one of them. Names alone cannot identify a claimant in that case, so `Conflict.Defs` is index-aligned with `Names`, and the `[Conflicts]` report disambiguates repeated names by selector. A definition offering several alternative selectors still counts once, and so does a global together with its `$ref` expansions, which share the new `ComponentDef.Origin`. Don't surface a blocked node's accessibility value in the rendered tree. The matcher withholds a property read from a `block` or `mask` node (SEP-0009), but the renderer then substituted the node's accessibility value as `value`, reintroducing the content the matcher had just withheld: a masked input rendered its own value. The fallback is now withheld under `block` and `mask`; declared properties the matcher did surface, such as a `dom.state` read under `mask`, still render. SEP-0014: a consumer may fall back to a view's `url:` host, but only for a corpus that declares no environments and no origins, so a corpus that predates both keeps compiling as it did. Once a corpus declares either, every host comes from `origins`, and `url:` still never defines an environment or origin. A page host is a web concept, so a view that runs only in native environments needs none. **sightmap 0.33.0** Released September 25, 2026 browser: enable CDP focus emulation (`Emulation.setFocusEmulationEnabled`) on each tab so `document.hasFocus()` is always true regardless of the real OS window focus. Some page widgets gate behavior on page focus — e.g. react-aria date pickers open only on focus *while the page holds OS focus* — which an agent-, side-panel-, or headless-driven page never has, making them impossible to actuate in-page. Matches Playwright/Puppeteer, which enable the same emulation by default. Best-effort: a transitional target or very old Chrome that rejects the call simply falls back to the prior focus-dependent behavior. Fix `sightmap browser start --port 0` / `--cdp-port 0` (documented as "auto-allocate"): port 0 now asks the OS for a free port and records the port actually bound in `.sightmap/.session`. Previously 0 resolved to 0, the daemon bound an OS-chosen port but wrote `serverPort: 0`, CDP landed on port 1, and `start --detach` exited 0 while every client command then refused the session with "no running session". `start --detach` also no longer reports a session ready until its file records a reachable server port. Overlay: resolve components when hover lands on a wrapper above the component (e.g. a `pointer-events:none` control). The overlay extension resolved the hovered element bottom-up with `closest()`. When a control has `pointer-events:none` and a styling wrapper sits ABOVE the component container (as JetBlue's checkout form fields do — a `.first-name` div wraps `jb-form-field-container > input`), the hit-test lands on that wrapper, which is an *ancestor* of the component subtree, so `closest()` walks up and finds nothing — the field appeared uncovered even though the CLI resolver (top-down) matched it. On a resolution miss the overlay now descends into the hovered element to the deepest active-component element whose box contains the pointer, and resolves from there. Fix the extension overlay rendering nothing on hover for any corpus without a `components.yaml`. The content script used `state.globals.length` as its "corpus is loaded" signal. But `globals` is the *optional* file-root component list and is `omitempty` on the wire, so a corpus whose components are all view-scoped — the common case, and what `sightmap init` produces — serves no `globals` key at all. The gate was therefore permanently false: * **Hover was dead.** `onMouseMove` returned before resolving, so `#__sightmap-overlay` injected fine but never got any children: no highlight boxes, no tooltip, no console error. Clicks kept working and logging correct component paths, because the click path gates on `state.version` — which made the failure look like a hover/render bug rather than a readiness-gate bug. * **The corpus was re-fetched on every poll.** `pollVersion` took the same gate, so it never reached the cheap `/sightmap/version` path and re-downloaded the whole corpus every 4s, logging `[sightmap] loaded N components` each time. Both paths now share a single `corpusLoaded()` helper keyed on `state.version`, which `fetchSightmap` only records once a load returned a non-empty component set — so the "server answered before its corpus finished loading" retry behavior is unchanged. The extension manifest version is bumped so an already-installed `~/.sightmap/extension` is re-extracted on the next `browser start` (`ensureExtension` only reinstalls on a version change). Snapshot tree hygiene: exclude non-content nodes from the extracted component tree (`snapshot --tree-out`, `capture`, `--json`). The tree builder now prunes two classes of node — together with their whole subtrees — before they reach output, so a captured `*.snap.tree.json` is app content only and is safe to use as an authoring/golden fixture without post-processing: 1. The CLI's own injected overlay (`#__sightmap-overlay`, `#__sightmap-tooltip`). It was visible and non-ignored, so it leaked into the tree JSON and enumerated as bogus candidates. 2. Document-metadata and non-rendered tags: ``, `