You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The HUD is used to select and copy VALUES out of rendered rows. Two defect classes work against that:
A. Selection captures row decorations (headline)
The block renderer isolates every decoration in its own classed span, but the only user-select:none rule today is the .hudtop drag handle. A native double-click / drag / select-all across a row therefore captures decoration text along with the value (e.g. a value line plus its trailing why/context line, a mark glyph, an ordinal/kind tag). Copy must yield the fully realized value and nothing else.
B. Residual machine-voice strings
Several user-visible strings leak internal vocabulary or implementation detail, violating the calm-display voice rules:
a block label uses banned end-user vocabulary
a block label leaks an internal lane/tier name
two inert placeholder rows leak roadmap-phase identifiers
a diagnostics disclosure line embeds a tracker reference (banned in end-user copy)
the chat error path paints a raw exception message verbatim under the input
a citations line renders a raw chunk ordinal
a degraded summary row exposes a live copy affordance whose payload is an empty string
C. Fully-realized copy value
Verify link/url copy payloads carry the full canonical reference, not a display/short form, with clipboard assertions that pin the bare full value and negative-guard decoration.
Acceptance criteria
Every row decoration is non-selectable; values (entity/moment/summary/todo/draft/transcript/field text) remain selectable. A DOM/vnode-level regression test resolves the non-selectable classes against the actual stylesheet and asserts a selection across representative rows extracts the bare value only (with a by-construction negative probe).
All listed strings are calm and human; no banned vocabulary, no internal lane/tier names, no roadmap-phase or tracker references in end-user copy; raw machine detail moves behind inspection (hover title) where kept.
Degraded rows expose no empty-payload copy control.
Link/url copy payloads are pinned to the full canonical value with decoration negative-guards.
Closed by #243 (squash-merged to main as 8d9edde). Per-acceptance-criterion evidence, all paths relative to repo root:
AC1 — every row decoration non-selectable; values stay selectable; stylesheet-derived regression test with by-construction negative probe.
user-select:none (+-webkit- prefix) added to every decoration class in apps/client/src/surfaces/hud/styles.ts (+32) and apps/client/src/surfaces/hud/panel-styles.ts (+9): why lines, mark glyphs, kind/ext tags, micro-state dot, moment time/glyph, unanswered tag, block/section headers, live-transcript chrome, citations/role/status/attachment lines, and glyph/clarify/session-control/notetaker-nav affordances. Value text (entity/moment/summary/todo/draft/transcript/field text, chat messages, utterances) stays selectable by inheriting the default. The trailing separator space in relevant-now/pinned-doc titles moved inside the non-selectable .ext span.
apps/client/src/surfaces/blocks/selection-hygiene.test.ts DERIVES the suppressed class set from the actual stylesheet string (not a hardcoded list) and walks rendered rows collecting the text a selection would keep: relevant-now keeps bare value only (line 101), todos keeps bare to-do text (line 107), distillates keeps bare value — the ".from the meeting" defect cannot recur (line 111). Line 117 is the by-construction guard (relied-on classes ARE non-selectable in the actual stylesheet); line 125 is the negative probe (drop the .why suppression → the why line rejoins the selection, proving the guard is load-bearing).
AC2 — all listed strings calm and human; no banned vocabulary / lane-tier / roadmap-phase / tracker references in end-user copy; raw machine detail behind inspection.
blocks/distillates.ts: Transcript · distillate stream → Transcript; row why distilled from capture → from what was captured.
blocks/fields.ts: Fields · fast → Fields (internal lane/tier name dropped).
blocks/ask.ts: placeholder why …recall path P3 → ask about what is here (roadmap phase dropped).
blocks/transcript-inspector.ts: (#58) tracker ref removed; durable-stream wording points at the Transcript block.
hud/input-submit.ts: chat catch-all raw error.message under the input → calm line with the raw reason moved to the hover title; screen-capture exception passthrough → screen capture did not respond.
citations line (blocks/relevant-now.ts): raw chunk ordinal #N for pageless sources → the source's human title (deduped); page anchors unchanged.
blocks/drafts.ts:33-35: provenance why distillates → summaries (folded in pre-merge; plural() helper given an explicit plural form since summary→summaries is not a naive +s, with a negative guard).
AC3 — degraded rows expose no empty-payload copy control.
blocks/summaries.ts: the degraded-summary row's Copy affordance (payload was an empty string) is suppressed entirely; blocks/summaries.test.ts (+4) guards it.
AC4 — link/url copy payloads pinned to the full canonical value with decoration negative-guards.
EntityKind is closed (person|artifact|topic); no producer populates external.url, and entity.name IS the value the entity carries, so the existing relevant-now copy-payload test still pins it. Genuine URL documents carry the full canonical URI as pin.uri, which blocks/pinned-doc.ts already copies. blocks/pinned-doc.test.ts:52 ("a URL pin copies the FULLY REALIZED link — the full canonical URI, not the display title") pins copy = full URL (scheme+host+path+query) and negative-guards the display title, decoration, and a bare-domain shortening.
AC5 — gates green under Node 22; zero schema drift.
Fresh-eyes verification returned FIT (negative-probed the stylesheet-derived selection test by deleting a CSS rule → 4 tests red; swept all 24 block renderers; confirmed no value text carries user-select:none; confirmed the raw error only reaches the hover title; no attribution trailers / raw control bytes / schema drift). One MEDIUM pre-existing finding (drafts provenance rendering banned "distillates" vocabulary) was folded in pre-merge.
Disclosed residuals (non-blocking, by design): the hint block's Answer ready — inline excerpt stays selectable (on-match, rarely shown, has its own copy button); diagnostics-tier machine detail is retained by design (only the tracker reference was banned).
Activity
fix(hud): reword drafts provenance why-line off banned "distillate" v…
Make row decorations unselectable; de-slop residual machine-voice str…
Ambisphaeric commentedon Jul 17, 2026
Closed by #243 (squash-merged to
mainas8d9edde). Per-acceptance-criterion evidence, all paths relative to repo root:AC1 — every row decoration non-selectable; values stay selectable; stylesheet-derived regression test with by-construction negative probe.
user-select:none(+-webkit-prefix) added to every decoration class inapps/client/src/surfaces/hud/styles.ts(+32) andapps/client/src/surfaces/hud/panel-styles.ts(+9): why lines, mark glyphs, kind/ext tags, micro-state dot, moment time/glyph, unanswered tag, block/section headers, live-transcript chrome, citations/role/status/attachment lines, and glyph/clarify/session-control/notetaker-nav affordances. Value text (entity/moment/summary/todo/draft/transcript/field text, chat messages, utterances) stays selectable by inheriting the default. The trailing separator space inrelevant-now/pinned-doctitles moved inside the non-selectable.extspan.apps/client/src/surfaces/blocks/selection-hygiene.test.tsDERIVES the suppressed class set from the actual stylesheet string (not a hardcoded list) and walks rendered rows collecting the text a selection would keep:relevant-nowkeeps bare value only (line 101),todoskeeps bare to-do text (line 107),distillateskeeps bare value — the ".from the meeting" defect cannot recur (line 111). Line 117 is the by-construction guard (relied-on classes ARE non-selectable in the actual stylesheet); line 125 is the negative probe (drop the.whysuppression → the why line rejoins the selection, proving the guard is load-bearing).AC2 — all listed strings calm and human; no banned vocabulary / lane-tier / roadmap-phase / tracker references in end-user copy; raw machine detail behind inspection.
blocks/distillates.ts:Transcript · distillate stream→Transcript; row whydistilled from capture→from what was captured.blocks/fields.ts:Fields · fast→Fields(internal lane/tier name dropped).blocks/ask.ts: placeholder why…recall path P3→ask about what is here(roadmap phase dropped).blocks/custom.ts: placeholder why…P6→a self-contained custom block(roadmap phase dropped).blocks/transcript-inspector.ts:(#58)tracker ref removed; durable-stream wording points at the Transcript block.hud/input-submit.ts: chat catch-all rawerror.messageunder the input → calm line with the raw reason moved to the hover title; screen-capture exception passthrough →screen capture did not respond.blocks/relevant-now.ts): raw chunk ordinal#Nfor pageless sources → the source's human title (deduped); page anchors unchanged.blocks/drafts.ts:33-35: provenance whydistillates→summaries(folded in pre-merge;plural()helper given an explicit plural form sincesummary→summariesis not a naive+s, with a negative guard).AC3 — degraded rows expose no empty-payload copy control.
blocks/summaries.ts: the degraded-summary row's Copy affordance (payload was an empty string) is suppressed entirely;blocks/summaries.test.ts(+4) guards it.AC4 — link/url copy payloads pinned to the full canonical value with decoration negative-guards.
EntityKindis closed (person|artifact|topic); no producer populatesexternal.url, andentity.nameIS the value the entity carries, so the existingrelevant-nowcopy-payload test still pins it. Genuine URL documents carry the full canonical URI aspin.uri, whichblocks/pinned-doc.tsalready copies.blocks/pinned-doc.test.ts:52("a URL pin copies the FULLY REALIZED link — the full canonical URI, not the display title") pins copy = full URL (scheme+host+path+query) and negative-guards the display title, decoration, and a bare-domain shortening.AC5 — gates green under Node 22; zero schema drift.
pnpm -r build/pnpm -r testgreen: contracts 114, fixtures 15, client 620, engine 1105; schema regen zero-drift.Fresh-eyes verification returned FIT (negative-probed the stylesheet-derived selection test by deleting a CSS rule → 4 tests red; swept all 24 block renderers; confirmed no value text carries
user-select:none; confirmed the raw error only reaches the hover title; no attribution trailers / raw control bytes / schema drift). One MEDIUM pre-existing finding (drafts provenance rendering banned "distillates" vocabulary) was folded in pre-merge.Disclosed residuals (non-blocking, by design): the hint block's
Answer ready —inline excerpt stays selectable (on-match, rarely shown, has its own copy button); diagnostics-tier machine detail is retained by design (only the tracker reference was banned).