Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

Emphasize matching names and context in unified search

deef86511eb4967
diff --git a/desktop/lib/core/fuzzy_match.dart b/desktop/lib/core/fuzzy_match.dart
index 576935a3d..3a88db441 100644
--- a/desktop/lib/core/fuzzy_match.dart
+++ b/desktop/lib/core/fuzzy_match.dart
@@ -1,14 +1,20 @@
/// The spread of a subsequence match, or null when the query does not match.
/// Both arguments should already be normalized for case.
-int? subsequenceSpread(String text, String query) {
+int? subsequenceSpread(
+ String text,
+ String query, {
+ void Function(int start, int end)? onMatch,
+}) {
if (query.isEmpty) return 0;
var at = -1;
var first = -1;
for (final rune in query.runes) {
- final found = text.indexOf(String.fromCharCode(rune), at + 1);
+ final character = String.fromCharCode(rune);
+ final found = text.indexOf(character, at + 1);
if (found < 0) return null;
if (first < 0) first = found;
at = found;
+ onMatch?.call(found, found + character.length);
}
return at - first;
}
diff --git a/desktop/lib/state/swarm_navigation.dart b/desktop/lib/state/swarm_navigation.dart
index e0a0d6a70..7b9eb3b77 100644
--- a/desktop/lib/state/swarm_navigation.dart
+++ b/desktop/lib/state/swarm_navigation.dart
@@ -553,6 +553,27 @@ List<SwarmDestination> swarmDestinations(
final _words = RegExp(r'\s+');
+List<String> swarmQueryTerms(String query) {
+ final needle = query.trim().toLowerCase();
+ return needle.isEmpty ? const [] : needle.split(_words);
+}
+
+/// The same field preference drives ranking and the visible match emphasis.
+/// A good metadata match should not paint unrelated fuzzy title characters.
+int? swarmFieldMatchScore(String field, String term, {required bool title}) {
+ final offset = field.indexOf(term);
+ final spread = offset >= 0 ? 0 : subsequenceSpread(field, term);
+ if (spread == null) return null;
+ return (title ? 0 : 64) +
+ (field == term
+ ? 0
+ : offset == 0
+ ? 8
+ : offset > 0
+ ? 16
+ : 128 + spread);
+}
+
/// Each word may match a different field, in either order: "mini auth" and
/// "auth mini" both find Auth on Mac mini. Names outrank incidental metadata.
List<SwarmDestination> rankSwarmDestinations(
@@ -561,7 +582,7 @@ List<SwarmDestination> rankSwarmDestinations(
List<String> recent = const [],
}) {
final needle = query.trim().toLowerCase();
- final terms = needle.isEmpty ? const <String>[] : needle.split(_words);
+ final terms = swarmQueryTerms(query);
final recency = {for (var i = 0; i < recent.length; i++) recent[i]: i};
final ranked = <({SwarmDestination entry, int score})>[];
for (final entry in all) {
@@ -574,18 +595,8 @@ List<SwarmDestination> rankSwarmDestinations(
int? best;
for (var i = 0; i < entry.fields.length; i++) {
final field = entry.fields[i];
- final offset = field.indexOf(term);
- final spread = offset >= 0 ? 0 : subsequenceSpread(field, term);
- if (spread == null) continue;
- final score =
- (i == 0 ? 0 : 64) +
- (field == term
- ? 0
- : offset == 0
- ? 8
- : offset > 0
- ? 16
- : 128 + spread);
+ final score = swarmFieldMatchScore(field, term, title: i == 0);
+ if (score == null) continue;
if (best == null || score < best) best = score;
// Every remaining field is metadata, whose best possible score is 64.
// An exact/prefix/substring title match already beats that; an exact
diff --git a/desktop/lib/widgets/search_result_text.dart b/desktop/lib/widgets/search_result_text.dart
new file mode 100644
index 000000000..5716954ca
--- /dev/null
+++ b/desktop/lib/widgets/search_result_text.dart
@@ -0,0 +1,156 @@
+import 'package:flutter/widgets.dart';
+
+import '../core/fuzzy_match.dart';
+import '../state/swarm_navigation.dart';
+
+typedef SearchFieldMatch = ({String field, String term, bool title});
+
+/// Match only the field that earns each query term's ranking score. Work is
+/// bounded to visible rows; discovery and ranking retain their existing path.
+List<SearchFieldMatch> searchResultMatches(
+ SwarmDestination row,
+ List<String> terms,
+) {
+ final matches = <SearchFieldMatch>[];
+ for (final term in terms.take(12).toSet()) {
+ if (term.length > 128) continue;
+ int? best;
+ var fieldIndex = -1;
+ for (var i = 0; i < row.fields.length; i++) {
+ final field = row.fields[i];
+ if (field.length > 4096) continue;
+ final score = swarmFieldMatchScore(field, term, title: i == 0);
+ if (score != null && (best == null || score < best)) {
+ best = score;
+ fieldIndex = i;
+ }
+ if (best != null && best <= 64) break;
+ }
+ if (fieldIndex >= 0) {
+ matches.add((
+ field: row.fields[fieldIndex],
+ term: term,
+ title: fieldIndex == 0,
+ ));
+ }
+ }
+ return matches;
+}
+
+typedef SearchTextRun = ({String text, bool matched});
+
+/// Preserve whole graphemes when case folding changes offsets or a query
+/// matches part of an emoji/combining sequence. Long labels remain plain text;
+/// emphasis must not add unbounded layout work to the one-line result list.
+List<SearchTextRun> searchTextRuns(
+ String text,
+ Iterable<SearchFieldMatch> matches,
+) {
+ if (matches.isEmpty || text.isEmpty || text.length > 1024) {
+ return [(text: text, matched: false)];
+ }
+ final clusters = <({int start, int end, int foldedStart, int foldedEnd})>[];
+ final folded = StringBuffer();
+ var offset = 0, foldedOffset = 0;
+ for (final cluster in text.characters) {
+ final lower = cluster.toLowerCase();
+ clusters.add((
+ start: offset,
+ end: offset + cluster.length,
+ foldedStart: foldedOffset,
+ foldedEnd: foldedOffset + lower.length,
+ ));
+ offset += cluster.length;
+ foldedOffset += lower.length;
+ folded.write(lower);
+ }
+ final normalized = folded.toString();
+ final positions = <({int start, int end})>[];
+ for (final match in matches) {
+ // A path or other hidden field may produce a result without appearing in
+ // its two visible labels. Do not invent an emphasis in unrelated text.
+ final fieldAt = normalized.indexOf(match.field);
+ if (fieldAt < 0) continue;
+ final exact = match.field.indexOf(match.term);
+ if (exact >= 0) {
+ positions.add((
+ start: fieldAt + exact,
+ end: fieldAt + exact + match.term.length,
+ ));
+ } else {
+ final fuzzy = <({int start, int end})>[];
+ if (subsequenceSpread(
+ match.field,
+ match.term,
+ onMatch: (start, end) =>
+ fuzzy.add((start: fieldAt + start, end: fieldAt + end)),
+ ) !=
+ null) {
+ positions.addAll(fuzzy);
+ }
+ }
+ }
+ if (positions.isEmpty) return [(text: text, matched: false)];
+ positions.sort((a, b) => a.start.compareTo(b.start));
+ final runs = <SearchTextRun>[];
+ var start = 0;
+ var positionIndex = 0;
+ bool? active;
+ for (final cluster in clusters) {
+ while (positionIndex < positions.length &&
+ positions[positionIndex].end <= cluster.foldedStart) {
+ positionIndex++;
+ }
+ final matched =
+ positionIndex < positions.length &&
+ positions[positionIndex].start < cluster.foldedEnd;
+ if (active != null && active != matched) {
+ runs.add((text: text.substring(start, cluster.start), matched: active));
+ start = cluster.start;
+ }
+ active = matched;
+ }
+ runs.add((text: text.substring(start), matched: active ?? false));
+ return runs;
+}
+
+class SearchResultText extends StatelessWidget {
+ const SearchResultText(
+ this.text, {
+ super.key,
+ required this.matches,
+ required this.style,
+ });
+ final String text;
+ final Iterable<SearchFieldMatch> matches;
+ final TextStyle style;
+
+ @override
+ Widget build(BuildContext context) {
+ final runs = searchTextRuns(text, matches);
+ if (!runs.any((run) => run.matched)) {
+ return Text(
+ text,
+ maxLines: 1,
+ overflow: TextOverflow.ellipsis,
+ style: style,
+ );
+ }
+ return Text.rich(
+ TextSpan(
+ children: [
+ for (final run in runs)
+ TextSpan(
+ text: run.text,
+ style: run.matched
+ ? const TextStyle(fontWeight: FontWeight.w700)
+ : null,
+ ),
+ ],
+ ),
+ maxLines: 1,
+ overflow: TextOverflow.ellipsis,
+ style: style,
+ );
+ }
+}
diff --git a/desktop/lib/widgets/swarm_switcher.dart b/desktop/lib/widgets/swarm_switcher.dart
index 97b6e0f54..2b159fda9 100644
--- a/desktop/lib/widgets/swarm_switcher.dart
+++ b/desktop/lib/widgets/swarm_switcher.dart
@@ -3,6 +3,7 @@ import 'package:flutter/services.dart';
import '../shortcuts/app_keymap.dart';
import '../shortcuts/keymap.dart';
+import 'search_result_text.dart';
import '../shared/theme/app_theme.dart' as grid;
import '../shared/widgets/app_dialog.dart';
@@ -328,6 +329,11 @@ class _SwarmSearchResultsState extends State<SwarmSearchResults> {
].join(' · ');
_rowHeight = swarmSearchRowHeight(scale, commands: search.isCommandMode);
final selected = search.selected;
+ final terms = swarmQueryTerms(
+ search.isCommandMode
+ ? search.query.trimLeft().substring(1)
+ : search.query,
+ );
return LayoutBuilder(
builder: (context, constraints) {
final previewHeight = (constraints.maxHeight - _rowHeight - 48).clamp(
@@ -358,6 +364,7 @@ class _SwarmSearchResultsState extends State<SwarmSearchResults> {
itemExtent: _rowHeight,
itemBuilder: (context, index) {
final row = search.rows[index];
+ final matches = searchResultMatches(row, terms);
return ListTile(
key: ValueKey(row.id),
minTileHeight: _rowHeight,
@@ -392,18 +399,18 @@ class _SwarmSearchResultsState extends State<SwarmSearchResults> {
size: 19,
color: Colors.white60,
),
- title: Text(
+ title: SearchResultText(
row.title,
- maxLines: 1,
- overflow: TextOverflow.ellipsis,
+ matches: matches.where((match) => match.title),
style: const TextStyle(fontSize: 13),
),
subtitle: row.isCommand
? null
- : Text(
+ : SearchResultText(
row.detail,
- maxLines: 1,
- overflow: TextOverflow.ellipsis,
+ matches: matches.where(
+ (match) => !match.title,
+ ),
style: const TextStyle(
fontSize: 11,
color: Colors.white70,
diff --git a/desktop/test/search_result_text_test.dart b/desktop/test/search_result_text_test.dart
new file mode 100644
index 000000000..c67a94ebe
--- /dev/null
+++ b/desktop/test/search_result_text_test.dart
@@ -0,0 +1,145 @@
+import 'package:flutter/material.dart';
+import 'package:flutter_test/flutter_test.dart';
+import 'package:harness/state/swarm_navigation.dart';
+import 'package:harness/widgets/search_result_text.dart';
+
+SwarmDestination row(
+ String title, {
+ String detail = '',
+ List<String> fields = const [],
+}) => SwarmDestination(
+ id: 'fixture',
+ title: title,
+ detail: detail,
+ swarmId: null,
+ current: false,
+ searchFields: fields,
+);
+
+List<SearchTextRun> runs(
+ SwarmDestination row,
+ String query, {
+ bool title = true,
+}) => searchTextRuns(
+ title ? row.title : row.detail,
+ searchResultMatches(
+ row,
+ swarmQueryTerms(query),
+ ).where((m) => m.title == title),
+);
+
+List<String> marked(List<SearchTextRun> runs) => [
+ for (final run in runs)
+ if (run.matched) run.text,
+];
+
+void main() {
+ test('title and context emphasis follows the field that earned the rank', () {
+ final result = row(
+ 'A useful thing here',
+ detail: 'Mac mini · Auth service · Auth',
+ fields: ['Mac mini', 'Auth service', 'Auth'],
+ );
+ expect(rankSwarmDestinations([result], 'auth mini'), [result]);
+ expect(marked(runs(result, 'auth mini')), isEmpty);
+ expect(marked(runs(result, 'auth mini', title: false)), ['mini', 'Auth']);
+
+ final exactTitle = row('Fix Auth', detail: 'Auth', fields: ['Auth']);
+ expect(marked(runs(exactTitle, 'AUTH')), ['Auth']);
+ expect(marked(runs(exactTitle, 'AUTH', title: false)), isEmpty);
+ });
+
+ test(
+ 'multiple terms and fuzzy matches preserve the complete display text',
+ () {
+ final result = row('Fix authentication · 東京');
+ final pieces = runs(result, 'fx ath 東');
+ expect(pieces.map((r) => r.text).join(), result.title);
+ expect(marked(pieces), ['F', 'x', 'a', 'th', '東']);
+ expect(marked(runs(result, ' AUTHENTICATION\t東京 ')), [
+ 'authentication',
+ '東京',
+ ]);
+ expect(marked(runs(result, 'not found')), isEmpty);
+ expect(runs(result, ''), [(text: result.title, matched: false)]);
+ },
+ );
+
+ test('hidden matching paths do not emphasize unrelated visible context', () {
+ final result = row(
+ 'Sign in',
+ detail: 'Mac mini · Payments',
+ fields: ['Mac mini', 'Payments', '/work/auth-service'],
+ );
+ expect(rankSwarmDestinations([result], 'auth'), [result]);
+ expect(marked(runs(result, 'auth')), isEmpty);
+ expect(marked(runs(result, 'auth', title: false)), isEmpty);
+ });
+
+ test(
+ 'overlapping and repeated query terms combine without losing matches',
+ () {
+ final result = row('Authentication tests');
+ final pieces = runs(result, 'authentication auth atn cat auth tests');
+ expect(pieces, [
+ (text: 'Authentication', matched: true),
+ (text: ' ', matched: false),
+ (text: 'tests', matched: true),
+ ]);
+ },
+ );
+
+ test('emoji and combining characters are emphasized as whole graphemes', () {
+ final result = row('🧑‍💻 Cafe\u0301 İSTANBUL 東京');
+ for (final (query, expected) in [
+ ('💻', ['🧑‍💻']),
+ ('e', ['e\u0301']),
+ ('i', ['İ']),
+ ('東', ['東']),
+ ('💻 東', ['🧑‍💻', '東']),
+ ]) {
+ expect(rankSwarmDestinations([result], query), [result]);
+ final pieces = runs(result, query);
+ expect(pieces.map((r) => r.text).join(), result.title);
+ expect(marked(pieces), expected, reason: query);
+ }
+ });
+
+ test(
+ 'large labels retain their text and ranking without extra emphasis work',
+ () {
+ final result = row('Auth ${'long context ' * 200}');
+ expect(rankSwarmDestinations([result], 'auth'), [result]);
+ expect(runs(result, 'auth'), [(text: result.title, matched: false)]);
+ },
+ );
+
+ testWidgets(
+ 'emphasis retains one accessible label and the existing ellipsis',
+ (tester) async {
+ final result = row('Fix authentication in the billing project');
+ final semantics = tester.ensureSemantics();
+ await tester.pumpWidget(
+ MaterialApp(
+ home: Scaffold(
+ body: SizedBox(
+ width: 180,
+ child: SearchResultText(
+ result.title,
+ matches: searchResultMatches(result, swarmQueryTerms('auth')),
+ style: const TextStyle(fontSize: 13),
+ ),
+ ),
+ ),
+ ),
+ );
+ expect(find.text(result.title), findsOneWidget);
+ expect(find.bySemanticsLabel(result.title), findsOneWidget);
+ final label = tester.widget<Text>(find.text(result.title));
+ expect(label.maxLines, 1);
+ expect(label.overflow, TextOverflow.ellipsis);
+ expect(tester.takeException(), isNull);
+ semantics.dispose();
+ },
+ );
+}
diff --git a/docs/harness-v2-developer-tools-research.md b/docs/harness-v2-developer-tools-research.md
index 3edc99ff0..49f90892a 100644
--- a/docs/harness-v2-developer-tools-research.md
+++ b/docs/harness-v2-developer-tools-research.md
@@ -22,7 +22,7 @@ Updated 2026-09-13 after user review. Keep the existing simple Command shortcuts
| Implemented; measured in isolation | Unified search construction and ranking avoid repeated scans/metadata work. Median catalog construction fell 50% in the 2,059-destination debug fixture; native input-to-display measurement remains separate. |
| Implemented and regression checked | [A coherent agent-workspace key system with file-first remapping](harness-v2-keyboard-system.md). The optional config loads at startup and reloads on save. Workspace and picker dispatch, native menus, search actions and shortcut help share effective bindings; invalid edits keep the last working map. Existing simple defaults remain unchanged. See the progress log for build status and validation. |
| Calibration in progress; foreground runs paused | Native Release input/navigation fixture with synthetic terminals. No validated latency result yet; resume after the keyboard work stabilizes. Live keyboard/tab/drag and real remote interruption checks remain. |
-| Resizing, splits, commands and preview implemented | `>` commands work in both search fields. Controlled resizing uses the existing gaps, saves proportions, protects usable sizes and retains terminal elements. Explicit right/down splits use the normal New agent form and preserve the surrounding rectangles. Cmd-S returns to a preset. Cmd-I or the eye control enables a compact snapshot of already-retained output for the selected agent; preview starts hidden and performs no network or terminal attachment. Match highlighting remains a follow-up. The [progress log](harness-v2-progress.md) records validation and the close-layout fallback. [The six-prototype review](harness-v2-prototype-review.md) records what to borrow and what stays out. |
+| Resizing, splits, commands and preview implemented | `>` commands work in both search fields. Controlled resizing uses the existing gaps, saves proportions, protects usable sizes and retains terminal elements. Explicit right/down splits use the normal New agent form and preserve the surrounding rectangles. Cmd-S returns to a preset. Cmd-I or the eye control enables a compact snapshot of already-retained output for the selected agent; preview starts hidden and performs no network or terminal attachment. Both search fields now emphasize matching names and visible context, using the same field preference as ranking and preserving Unicode graphemes; no permanent control is added. The [progress log](harness-v2-progress.md) records validation and the close-layout fallback. [The six-prototype review](harness-v2-prototype-review.md) records what to borrow and what stays out. |
| Keep deferred | Workflow canvases, autonomous manager layers, a full IDE/Git client and a marketplace. |
## Remaining ideas for review
diff --git a/docs/harness-v2-performance.md b/docs/harness-v2-performance.md
index 1db1bea8e..64809eff9 100644
--- a/docs/harness-v2-performance.md
+++ b/docs/harness-v2-performance.md
@@ -10,6 +10,19 @@ flutter test --no-pub --reporter expanded test/benchmarks/swarm_benchmark.dart
It prints `SWARM_BENCH` JSON records. Its filename deliberately does not end in `_test.dart`, so ordinary correctness runs do not include timing measurements.
+## Search match emphasis (2026-09-13)
+
+Highlighting runs only for built result rows, sharing ranking's field scores and rune-based subsequence matching. The visible labels preserve grapheme boundaries and do not change ranking. A label longer than 1,024 UTF-16 units stays plain; up to twelve distinct terms from the first twelve query terms are considered, each at most 128 units, against fields at most 4,096 units. Empty queries stay on the plain-text path.
+
+The isolated debug fixture measures the field selection and two labels for ten rows, using 20 warmups and 100 samples. Normal labels use “Fix authentication in Payments” with “ath payments”; the stress case uses a 511-character fuzzy title and a 127-character term repeated twelve times. Before sorting intervals and deduplicating terms, stress-case median/p95/p99 were 22.084/22.863/23.028 ms. The final implementation measured:
+
+| Ten-row workload | Median | p95 | p99 |
+| --- | ---: | ---: | ---: |
+| Ordinary labels | 0.069 ms | 0.263 ms | 0.305 ms |
+| Long fuzzy labels | 0.353 ms | 0.455 ms | 0.558 ms |
+
+This measures CPU work to construct emphasis runs in the headless debug runner, not layout, rasterization, native typing or transport latency. The ranking algorithm itself is unchanged. Logs: `/private/tmp/harness-v2-search-highlight-render.log` (initial) and `/private/tmp/harness-v2-search-highlight-final.log` (final). The temporary renderer/measurement source is `/private/tmp/harness-v2-search-highlight-render.dart`.
+
## Optional search output preview (2026-09-13)
Preview is off by default. With preview enabled, changing the selected agent reads at most 160 retained rows × 192 cells, stopping after 12 nonblank lines. Query edits that keep the same selection reuse the snapshot without reading the buffer or scanning open panes again. There are no output listeners, periodic refreshes, network calls or terminal attachments. The tooltip explains that toggling preview off/on refreshes its snapshot.
diff --git a/docs/harness-v2-progress.md b/docs/harness-v2-progress.md
index 52f630fd2..cc633f528 100644
--- a/docs/harness-v2-progress.md
+++ b/docs/harness-v2-progress.md
@@ -2,6 +2,14 @@
Updated 2026-09-13 with coordinated palettes, Models, combined closed-work History and faster unified search. This is a working preview, not a release.
+## Search match visibility checkpoint
+
+- Both search locations now emphasize matching text in names and visible context using font weight. Commands use the same presentation. Ranking chooses the emphasized field: an exact project/machine match takes precedence over incidental fuzzy letters in a title. Hidden search metadata is not painted into an unrelated label. Empty queries retain the previous plain presentation.
+- Text remains one accessible label with the same one-line truncation. Unicode emoji and combining sequences remain intact. Work is limited to constructed result rows, with caps on highlight terms and label length. Matching intervals are sorted and traversed once; duplicate terms do not repeat emphasis work. No output/network subscription or preview activation is added.
+- Validation: 48 search/navigation/keyboard checks passed, then 21 final algorithm/shared-matcher/render checks passed after the performance refinement. Analyzer has zero errors/warnings and the existing 12 vendored infos. Isolated renders were reviewed for top search, inline New swarm search, an 880×560 window and command search. The foreground app has not yet been rebuilt for this checkpoint.
+- Artifacts: `/private/tmp/harness-v2-search-highlight-{tests,final,analyze}.log` and `/private/tmp/harness-v2-search-highlight-{top,inline,narrow,commands}.png`. Debug CPU measurements for ten labels were 0.263 ms p95 for ordinary labels and 0.455 ms p95 for a deliberately long repeated fuzzy query. These measure emphasis construction, not native interaction/display latency; details are in [performance notes](harness-v2-performance.md).
+- Next: another first-use pass and measured interaction performance. Preserve the existing simple defaults and real-agent drafts. Public-origin push approval is still pending; do not retry until it arrives.
+
## Keyboard customization checkpoint
- Production startup now loads the optional `~/.config/harness/keybindings.jsonc` file (or its XDG location). Starting with no file creates nothing. Settings and the shortcut sheet offer **Edit keyboard config**, a context selector, the current path, and readable error details. The explicit edit action creates a commented template with command IDs and opens the associated editor. Invalid edits keep the last working bindings; the workspace shows a notice.
@@ -11,7 +19,7 @@ Updated 2026-09-13 with coordinated palettes, Models, combined closed-work Histo
- Validation: **1,155 Flutter tests passed, one existing skip**; **51 native decoder checks and 319 AppKit titlebar checks passed**. The native checks use the actual Dart-exported configuration in a hidden native field. Final rendering/integration checks also passed after replacing missing Tab/Return glyphs with icons and making the sheet's Close button neutral. Analyzer has zero errors/warnings and the same 12 vendored infos. No real agent received test input.
- Artifacts: `/private/tmp/harness-v2-keymap-runtime-{full-tests,native,final-checks,analyze,build}.log`, `/private/tmp/harness-v2-keymap-{settings,narrow,sheet}.png`. Visual review covered both help layouts, custom and unassigned keys, and an 880px window. Release build succeeded and the exact development preview reopened after PID 31252 was normally quit and confirmed exited. Computer-use capture still returns `cgWindowNotFound`; visual evidence is from isolated renders, not a live-window capture.
- Push status: `364f1fb` is on `origin/app-v2`. Subsequent preview/native checkpoints are local (`f04f6d3`, `cd0aa0f`, `fcb8b33`). Automatic approval review rejected pushing to the verified existing public origin `autonomous-ai/autonomous-harness`, despite ADMIN access and the user's earlier push instruction. Explicit approval naming that public destination is pending; **do not retry pushes until it arrives**. Continue local work and commits.
-- Next: search match highlighting and another first-use pass, followed by measured interaction performance. Keep the current defaults, agent drafts, sessions and saved swarm arrangements intact.
+- Saved as local commit `bf7f37d`; the rebuilt preview is running. Search match highlighting is covered by the newer checkpoint above.
## Optional search preview checkpoint