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.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
Use Command-number to select tabs and preserve pane focus
dee44d6540a1aa8
diff --git a/desktop/lib/screens/home_screen.dart b/desktop/lib/screens/home_screen.dartindex 0e503f57a..044d7b8d1 100644--- a/desktop/lib/screens/home_screen.dart+++ b/desktop/lib/screens/home_screen.dart@@ -147,8 +147,7 @@ class _HomeScreenState extends State<HomeScreen> {/// Every agent the rail is currently showing, in the order it shows them.///- /// Built from the same two lists the rail walks, so ⌘3 lands on the third row- /// the user can see rather than the third row of some internal order.+ /// Agent traversal follows the rail's visible ordering.List<({String machineId, String agentId})> _visibleAgents() {final notifier = widget.notifier;final result = <({String machineId, String agentId})>[];@@ -282,7 +281,7 @@ class _HomeScreenState extends State<HomeScreen> {),),},- onSelectPaneIndex: notifier.focusPaneByIndex,+ onSelectTabIndex: notifier.selectSwarmByIndex,),child: Focus(// This is only a shortcuts scope. If it owns keyboard focus afterdiff --git a/desktop/lib/screens/swarm_screen.dart b/desktop/lib/screens/swarm_screen.dartindex 9adba312a..526c99ba5 100644--- a/desktop/lib/screens/swarm_screen.dart+++ b/desktop/lib/screens/swarm_screen.dart@@ -1117,7 +1117,9 @@ class _SwarmScreenState extends State<SwarmScreen> {for (final command in harnessCommands)if (command.action != null && _actionHandlers.containsKey(command.action))command.id: _actionHandlers[command.action]!,- for (var i = 1; i <= kAgentDigitCount; i++)+ for (var i = 1; i <= kTabDigitCount; i++)+ 'swarm.select_$i': () => app.selectSwarmByIndex(i - 1),+ for (var i = 1; i <= 9; i++)'pane.focus_$i': () => app.focusPaneByIndex(i - 1),'navigation.commands': _showSearchCommands,'machine.link': () => _dialog(() => showSwarmLinkDialog(context, app)),@@ -1138,6 +1140,10 @@ class _SwarmScreenState extends State<SwarmScreen> {}if (id == 'keyboard.open_config') return _keymap.store != null;if (id == 'pane.layout' || id == 'task.route') return true;+ if (id.startsWith('swarm.select_')) {+ final number = int.tryParse(id.substring('swarm.select_'.length));+ return number != null && number >= 1 && number <= app.swarms.length;+ }if (id == 'swarm.new') return app.swarms.length < AppNotifier.maxSwarms;if (id == 'swarm.reopen') return app.canReopenLastClosed;if (id == 'swarm.next' || id == 'swarm.previous') {diff --git a/desktop/lib/shortcuts/app_keymap.dart b/desktop/lib/shortcuts/app_keymap.dartindex 597746d67..da6a58d98 100644--- a/desktop/lib/shortcuts/app_keymap.dart+++ b/desktop/lib/shortcuts/app_keymap.dart@@ -194,9 +194,9 @@ List<ShortcutRow> effectiveShortcutRows(final bindings = (map ?? harnessDefaultKeymap).bindingsFor(contextKind);final defaultDigits =contextKind != KeymapContext.picker &&- List.generate(kAgentDigitCount, (i) {+ List.generate(kTabDigitCount, (i) {final matches = bindings- .where((b) => b.command == 'pane.focus_${i + 1}')+ .where((b) => b.command == 'swarm.select_${i + 1}').toList();return matches.length == 1 &&matches.single.keys.length == 1 &&@@ -208,7 +208,7 @@ List<ShortcutRow> effectiveShortcutRows(if ((command.context == KeymapContext.workspace ||command.context == contextKind) &&(!defaultDigits ||- !RegExp(r'^pane\.focus_[1-9]$').hasMatch(command.id)))+ !RegExp(r'^swarm\.select_[1-9]$').hasMatch(command.id)))if (command.action != null ||bindings.any((b) => b.command == command.id))ShortcutRow(@@ -234,11 +234,11 @@ List<ShortcutRow> effectiveShortcutRows(),if (defaultDigits)const ShortcutRow(- label: 'Focus the 1st–9th pane',+ label: 'Select tabs 1–9',chords: [['⌘', '1 – 9'],],- group: ShortcutGroup.panes,+ group: ShortcutGroup.navigate,),];}diff --git a/desktop/lib/shortcuts/app_shortcuts.dart b/desktop/lib/shortcuts/app_shortcuts.dartindex 43d8c070b..064df3e0f 100644--- a/desktop/lib/shortcuts/app_shortcuts.dart+++ b/desktop/lib/shortcuts/app_shortcuts.dart@@ -299,24 +299,8 @@ const List<AppShortcut> kAppShortcuts = [label: 'Forward',group: ShortcutGroup.navigate,),- // ⌘P — "go to", the way VS Code's quick-open spells it, because that is what- // this is: type part of a name, land on the agent.- //- // It answers the one thing a keyboard-only session could not do at all. ⌘1…⌘9- // address TILES, so they only reach agents already on the grid; ⌘B sends a- // task and lets a model choose. Neither opens the eleventh agent by name, and- // until this key existed the only way was the mouse.- //- // ⌘K stays unbound and is now spoken for by the navigation row above — see- // the header's note about what the file used to hold it in reserve for.- // ⌃⇥ / ⌃⇧⇥ — the one Ctrl pair this app is allowed, and the terminal is made- // to let it past on purpose (terminal_view.dart) because no shell or tmux- // binding wants it.- //- // It walks AGENTS now, not panes. It used to be a third spelling of "next- // pane", which put it in list order beside hjkl's geometry — the same split- // brain the brackets had. Tab between agents is what every tabbed app has- // trained the hand to expect anyway.+ // Control-Tab and Shift-brackets move through tabs. Pane directions and+ // agent history have their own shortcuts above.AppShortcut(action: ShortcutAction.nextAgent,activator: SingleActivator(LogicalKeyboardKey.tab, control: true),@@ -515,18 +499,11 @@ const kSwarmShortcuts = [),];-/// `⌘1`…`⌘9` jump to the nth TILE on the grid.-///-/// Tiles, not sidebar rows: the number is the one printed on the tile and the-/// one the dial walks, so "the third one" means the same thing wherever it is-/// said. Addressing the sidebar instead made ⌘3 open something that was not on-/// screen and replace a tile to do it.-///-/// Not in [kAppShortcuts] because nine near-identical rows would bury the sheet;-/// the sheet prints them as one line instead.-const int kAgentDigitCount = 9;+/// Command-number selects the first nine tabs in their visible order. The+/// shortcut sheet prints one row; pane movement uses H/J/K/L and arrow keys.+const int kTabDigitCount = 9;-List<SingleActivator> agentDigitActivators() => const [+List<SingleActivator> tabDigitActivators() => const [SingleActivator(LogicalKeyboardKey.digit1, meta: true),SingleActivator(LogicalKeyboardKey.digit2, meta: true),SingleActivator(LogicalKeyboardKey.digit3, meta: true),@@ -592,18 +569,16 @@ List<ShortcutRow> shortcutRows() {// The digits are not in [kAppShortcuts] — nine near-identical rows would bury// everything around them — so they join here, at the end of their group.final digits = ShortcutRow(- label: 'Focus the 1st–9th pane',+ label: 'Select tabs 1–9',chords: const [- ['⌘', '1 – $kAgentDigitCount'],+ ['⌘', '1 – $kTabDigitCount'],],- // Panes, not Navigate: the digits address tiles on the grid now, and a row- // reads under the heading that matches what it does.- group: ShortcutGroup.panes,+ group: ShortcutGroup.navigate,);- final lastPane = rows.lastIndexWhere(- (row) => row.group == ShortcutGroup.panes,+ final lastTab = rows.lastIndexWhere(+ (row) => row.group == ShortcutGroup.navigate,);- rows.insert(lastPane + 1, digits);+ rows.insert(lastTab + 1, digits);return rows;}@@ -637,7 +612,7 @@ const List<TerminalKey> kTerminalOwnedKeys = [/// terminal underneath could have had it.Map<ShortcutActivator, VoidCallback> buildShortcutBindings({required Map<ShortcutAction, VoidCallback> handlers,- void Function(int index)? onSelectPaneIndex,+ void Function(int index)? onSelectTabIndex,bool swarmMode = true,}) {final bindings = <ShortcutActivator, VoidCallback>{};@@ -645,10 +620,10 @@ Map<ShortcutActivator, VoidCallback> buildShortcutBindings({final handler = handlers[shortcut.action];if (handler != null) bindings[shortcut.activator] = handler;}- if (onSelectPaneIndex != null) {- final digits = agentDigitActivators();+ if (onSelectTabIndex != null) {+ final digits = tabDigitActivators();for (var i = 0; i < digits.length; i++) {- bindings[digits[i]] = () => onSelectPaneIndex(i);+ bindings[digits[i]] = () => onSelectTabIndex(i);}}return bindings;diff --git a/desktop/lib/shortcuts/keymap_commands.dart b/desktop/lib/shortcuts/keymap_commands.dartindex f4caa8373..927dea2ff 100644--- a/desktop/lib/shortcuts/keymap_commands.dart+++ b/desktop/lib/shortcuts/keymap_commands.dart@@ -131,16 +131,12 @@ final harnessCommands = <HarnessCommand>[for (var i = 1; i <= 9; i++)HarnessCommand('swarm.select_$i',- i == 9 ? 'Select the last tab' : 'Select tab $i',+ 'Select tab $i',ShortcutGroup.navigate,- ),- for (var i = 1; i <= 9; i++)- HarnessCommand(- 'pane.focus_$i',- 'Focus pane $i',- ShortcutGroup.panes,extraKeys: ['cmd+$i'],),+ for (var i = 1; i <= 9; i++)+ HarnessCommand('pane.focus_$i', 'Focus pane $i', ShortcutGroup.panes),const HarnessCommand('pane.focus_left','Focus the pane to the left',diff --git a/desktop/lib/state/app_state.dart b/desktop/lib/state/app_state.dartindex 3070fff0c..13281635a 100644--- a/desktop/lib/state/app_state.dart+++ b/desktop/lib/state/app_state.dart@@ -526,6 +526,13 @@ class AppNotifier extends ChangeNotifier {return true;}+ /// Command-number follows the current visual tab order, retaining each tab's+ /// focused pane. A missing position is a no-op, never a pane selection.+ void selectSwarmByIndex(int index) {+ if (index < 0 || index >= swarms.length) return;+ selectSwarm(swarms[index].id);+ }+void stepSwarm(int delta) {final index = swarms.indexOf(activeSwarm);selectSwarm(swarms[(index + delta) % swarms.length].id);diff --git a/desktop/test/keymap_host_test.dart b/desktop/test/keymap_host_test.dartindex 23b66570c..7e8391f04 100644--- a/desktop/test/keymap_host_test.dart+++ b/desktop/test/keymap_host_test.dart@@ -55,8 +55,8 @@ void main() {.match(context, keys.split(' ').map(KeyStroke.parse)).command;for (final (keys, expected) in [- ('cmd+1', 'pane.focus_1'),- ('cmd+9', 'pane.focus_9'),+ ('cmd+1', 'swarm.select_1'),+ ('cmd+9', 'swarm.select_9'),('cmd+h', 'pane.focus_left'),('cmd+j', 'pane.focus_below'),('cmd+k', 'pane.focus_above'),diff --git a/desktop/test/keymap_runtime_test.dart b/desktop/test/keymap_runtime_test.dartindex aa220618f..8e23f1089 100644--- a/desktop/test/keymap_runtime_test.dart+++ b/desktop/test/keymap_runtime_test.dart@@ -58,6 +58,88 @@ Future<void> native(WidgetTester tester, String method, [Object? arguments]) {}void main() {+ for (final nativeTabs in [false, true]) {+ testWidgets(+ 'Command-number selects tabs and preserves pane focus (native=$nativeTabs)',+ (tester) async {+ final app = createApp();+ final map = MemoryKeymap();+ final input = <TerminalBinaryFrame>[];+ final firstLeft = app.adoptSessionForTest(terminal('a0', input));+ final firstRight = app.adoptSessionForTest(terminal('a1', input));+ final firstTab = app.activeSwarm;+ app.newSwarm();+ final secondLeft = app.adoptSessionForTest(terminal('a2', input));+ final secondRight = app.adoptSessionForTest(terminal('a3', input));+ final secondTab = app.activeSwarm;+ app.newSwarm();+ final emptyTab = app.activeSwarm;+ if (nativeTabs) {+ tester.binding.defaultBinaryMessenger.setMockMethodCallHandler(+ nativeChannel,+ (_) async => null,+ );+ addTearDown(+ () => tester.binding.defaultBinaryMessenger+ .setMockMethodCallHandler(nativeChannel, null),+ );+ }+ await mount(tester, app, map, native: nativeTabs);+ Future<void> select(int number) async {+ if (nativeTabs) {+ await native(tester, 'keymapCommand', {+ 'command': 'swarm.select_$number',+ });+ } else {+ await key(+ tester,+ LogicalKeyboardKey(LogicalKeyboardKey.digit1.keyId + number - 1),+ cmd: true,+ );+ }+ await tester.pump(const Duration(milliseconds: 100));+ }++ await select(1);+ expect(app.activeSwarm, same(firstTab));+ expect(app.focusedPaneId, firstRight.id);+ await key(tester, LogicalKeyboardKey.keyH, cmd: true);+ expect(app.focusedPaneId, firstLeft.id);+ await select(2);+ expect(app.activeSwarm, same(secondTab));+ expect(app.focusedPaneId, secondRight.id);+ await key(tester, LogicalKeyboardKey.arrowLeft, cmd: true);+ expect(app.focusedPaneId, secondLeft.id);+ await select(1);+ expect(app.focusedPaneId, firstLeft.id);+ await select(9);+ expect(+ app.activeSwarm,+ same(firstTab),+ reason: 'A missing tab number is a no-op',+ );+ app.reorderSwarm(secondTab.id, 0);+ await select(1);+ expect(app.activeSwarm, same(secondTab));+ expect(app.focusedPaneId, secondLeft.id);+ expect(firstTab.panes, [firstLeft, firstRight]);+ expect(secondTab.panes, [secondLeft, secondRight]);+ expect(emptyTab.panes, isEmpty);+ expect(+ input,+ isEmpty,+ reason: 'App navigation never reaches terminal input',+ );+ await tester.sendKeyEvent(LogicalKeyboardKey.arrowLeft);+ await tester.pump();+ expect(input.single.bytes, [27, 91, 68]);+ await tester.pumpWidget(const SizedBox());+ app.dispose();+ map.dispose();+ },+ );+ }+testWidgets('remaps, unbinding and sequences control the actual focused agent without leaking input',(tester) async {@@ -69,7 +151,7 @@ void main() {final first = app.adoptSessionForTest(terminal('a0', firstInput));final second = app.adoptSessionForTest(terminal('a1', secondInput));await mount(tester, app, map);- await key(tester, LogicalKeyboardKey.digit1, cmd: true);+ await key(tester, LogicalKeyboardKey.keyH, cmd: true);expect(app.focusedPaneId, first.id);await key(tester, LogicalKeyboardKey.keyL, cmd: true);expect(app.focusedPaneId, second.id);diff --git a/desktop/test/shortcuts_test.dart b/desktop/test/shortcuts_test.dartindex f9dd9d66f..0babc14d6 100644--- a/desktop/test/shortcuts_test.dart+++ b/desktop/test/shortcuts_test.dart@@ -220,9 +220,9 @@ void main() {test('every declared shortcut gets a binding when a handler exists', () {final bindings = buildShortcutBindings(handlers: {for (final s in appShortcuts()) s.action: () {}},- onSelectPaneIndex: (_) {},+ onSelectTabIndex: (_) {},);- expect(bindings.length, appShortcuts().length + kAgentDigitCount);+ expect(bindings.length, appShortcuts().length + kTabDigitCount);});chordsFor(ShortcutAction a) => appShortcuts()@@ -353,19 +353,17 @@ void main() {test('the digits are one row, at the end of their own group', () {final rows = shortcutRows();- final digits = rows.indexWhere(- (row) => row.label == 'Focus the 1st–9th pane',- );+ final digits = rows.indexWhere((row) => row.label == 'Select tabs 1–9');expect(digits, isNot(-1));expect(rows[digits].chords, [['⌘', '1 – 9'],]);- // Panes: the digits address tiles on the grid, not rows in the sidebar.- expect(rows[digits].group, ShortcutGroup.panes);+ // Digits select tabs; directional shortcuts stay in the pane layout.+ expect(rows[digits].group, ShortcutGroup.navigate);// Last of its group, so it does not split the group it belongs to.expect(digits == rows.length - 1 ||- rows[digits + 1].group != ShortcutGroup.panes,+ rows[digits + 1].group != ShortcutGroup.navigate,isTrue,);});diff --git a/desktop/tool/keymap_native_checks.swift b/desktop/tool/keymap_native_checks.swiftindex 746de2f56..36db0b680 100644--- a/desktop/tool/keymap_native_checks.swift+++ b/desktop/tool/keymap_native_checks.swift@@ -20,6 +20,12 @@ for (key, command) in [try checkKeymap(defaults.match([stroke(key)], context: "workspace").binding?.command == command,"Preserve the current default for \(key)")}+for context in ["workspace", "terminal", "picker"] {+ for number in 1...9 {+ try checkKeymap(defaults.match([stroke("cmd+\(number)")], context: context).binding?.command == "swarm.select_\(number)",+ "Command-number selects the corresponding tab from \(context)")+ }+}for context in ["workspace", "terminal", "picker"] {try checkKeymap(changed.match([stroke("cmd+t")], context: context).binding == nil,"Native context honors inherited unbinding")diff --git a/docs/harness-agent-first-tabs.md b/docs/harness-agent-first-tabs.mdindex 0f0297b8c..572f85e41 100644--- a/docs/harness-agent-first-tabs.md+++ b/docs/harness-agent-first-tabs.md@@ -46,7 +46,10 @@ and Refresh Machines. Selecting a computer opens the shared search with itsname filled in; no agent is opened until the user chooses a result.Cmd-T opens New Harness, Cmd-N opens Add Agent, Shift-Cmd-N opens Create Agent,-Cmd-W closes the tab, and Shift-Cmd-W closes the focused pane. Closing views+Cmd-W closes the tab, and Shift-Cmd-W closes the focused pane. **Cmd-1…Cmd-9**+select tabs 1…9 in their current visible order; a missing number does nothing.+**Cmd-H/J/K/L** and **Cmd-arrows** move between panes. Each tab retains its focused+pane when switching away and back. Closing viewskeeps agent runtimes alive. Stored layout formats and internal command IDs remaincompatible.diff --git a/docs/harness-v2-handoff.md b/docs/harness-v2-handoff.mdindex a0926d07c..f1f0ce6a4 100644--- a/docs/harness-v2-handoff.md+++ b/docs/harness-v2-handoff.md@@ -5,7 +5,9 @@ is the current contract. **New Harness** is a centered search with recent harnesand a prominent creation button. Pick one result and open it immediately; multi-selectis removed. **File** replaces Agent in the macOS menu, and **Machines** follows Models.The latest header keeps icon/name left, folder/branch/machine right, swapping the-right side for muted actions on hover. This supersedes older swarm/onboarding notes.+right side for muted actions on hover. **Cmd-1…Cmd-9** select tabs in visual order;+**Cmd-H/J/K/L** and **Cmd-arrows** focus panes. This supersedes older+swarm/onboarding and numbered-pane notes.Updated September 14, 2026. **Read this first when resuming on another computer.**This is the current product contract and next-work order. It supersedes conflictingdiff --git a/docs/harness-v2-keyboard-system.md b/docs/harness-v2-keyboard-system.mdindex 9999f53de..83cb3429d 100644--- a/docs/harness-v2-keyboard-system.md+++ b/docs/harness-v2-keyboard-system.md@@ -1,8 +1,18 @@# A coherent keyboard system for Harness-Current continuation: [goal, plan, and acceptance criteria](harness-v2-handoff.md). The latest user decision separates global Navigate (Cmd-P) from local Add agent; earlier descriptions of identical direct-open behavior in both search fields are superseded. Cmd-Shift-P remains command mode. Both flows are implemented. The latest default is Cmd-N for Add (the floating +) and Shift-Cmd-N for a fresh agent, with a prominent New agent button beside the Add search field. Shift-Enter optionally selects multiple agents; Enter still adds a single agent immediately when none are checked.--Updated 2026-09-13 after the user's review. **The earlier proposed modifier-heavy defaults are withdrawn.** The user explicitly chose to retain Cmd-H/J/K/L and Cmd-arrows for pane movement, Cmd-S for layout, Cmd-R for refresh, and Cmd-B for Boss mode. Cmd-L stays move right. File remapping is available; menus and help reflect the effective bindings.+Current continuation: [goal, plan, and acceptance criteria](harness-v2-handoff.md)+and [Harness entry](harness-agent-first-tabs.md). Updated September 14, 2026.+**Command-1 through Command-9 now select tabs in their current visual order**,+replacing their former pane-focus defaults. An unavailable number does nothing.+Command-H/J/K/L and Command-arrows still move between panes, retaining each tab's+last focused pane when switching back.++Cmd-T opens New Harness, Cmd-N opens Add Agent, and Shift-Cmd-N creates a fresh+agent. Add uses immediate single selection; there is no multi-select or Shift-Enter+staging. Cmd-Shift-P opens command mode. The Navigate directory and default Cmd-P+were removed by the agent-first update. Cmd-S, Cmd-R and Cmd-B keep their layout,+refresh and task-routing behavior. File remapping remains available; menus and+help reflect the effective bindings.## Product contract@@ -20,12 +30,12 @@ Keep ordinary typing and editing predictable inside the actual agent CLI, search| Layout | Keep Cmd-S. The user explicitly resolved the Cmd-L conflict in favor of the complete H/J/K/L family. || Refresh machines/agents | Keep Cmd-R. The user considered using it for relayout and chose to preserve refresh. || Boss mode / task routing | Keep Cmd-B. |-| Navigate agents/swarms | Keep Cmd-P. Show every swarm destination for agents with multiple memberships; choosing one focuses that exact view. New design pending implementation. |-| Local Add agent | New swarm, floating +, and Split share existing-agent search and New agent creation. Keep the target swarm/position; this is a separate UI from Navigate. |-| Machine/project results | Their effect depends on the entry point; never silently navigate away from a local Add flow. Bulk addition seeds membership once. Final presentation belongs to the new Navigate/Add implementation. |-| Other existing shortcuts | Preserve until a concrete problem justifies a reviewed change. Do not silently switch Cmd-number navigation, zoom, tab traversal, or closing to the earlier proposed alternatives. |+| Select a tab | Cmd-1…Cmd-9 select positions 1…9 in the visible tab order. Reordering tabs changes those positions. Closing or switching tabs preserves each tab’s pane focus. |+| Local Add agent | New Harness, floating +, and Split share immediate existing-agent selection and a prominent Create Agent action. Keep the target tab/position. |+| Machine/project results | One group result seeds its existing agents into the current tab. There is no multi-select basket or separate group-creation step. |+| Other existing shortcuts | Preserve until a concrete problem justifies a reviewed change. Numbered tab selection is now explicitly approved; preserve zoom, traversal and closing. || File customization | One commented config file with reload; menus, help and dispatch must agree. |-| Commands in search | Approved: Cmd-Shift-P opens `>` command mode, following the later user decision. Pin remains available in the Agent menu, pane menu, commands and custom bindings. |+| Commands in search | Approved: Cmd-Shift-P opens `>` command mode, following the later user decision. Pin remains in File, commands and custom bindings; it is absent from pane headers. |The previous full default-binding audit is preserved in Git history. Its evidence is useful, but its proposed defaults do not override these decisions.@@ -57,10 +67,14 @@ Parse and resolve when configuration changes, never on each keystroke. A lookupProduction startup loads the optional file before the workspace opens. Settings and the shortcut sheet show the effective bindings for Workspace, Agent input or Search, including unassigned commands. **Edit keyboard config** creates a commented template only when explicitly invoked, lists the stable command IDs, and opens the associated editor. The startup path, watcher and dispatch never rewrite existing user configuration.-Flutter owns configured workspace/terminal keys before the focused input, with live composition checks. Both search fields use their own picker context. Their Enter/add/preview actions and displayed hints update together; the command result list also refreshes its shortcut labels after a configuration change. Prefixes are temporary and never replay into agent input. Cmd-P opens the centered shared search editor. Cmd-Shift-P opens the same editor in command mode. The other frequent direct defaults remain unchanged.+Flutter owns configured workspace/terminal keys before the focused input, with live composition checks. Both search fields use their own picker context. Their Enter/add actions and displayed hints update together; the command result list also refreshes its shortcut labels after a configuration change. Prefixes are temporary and never replay into agent input. Cmd-N opens Add; Cmd-Shift-P opens command mode. Numbered keys select tabs in workspace, terminal and picker contexts, with modal/composition guards still respected.-Native menu labels come from the same resolved snapshot. The main menu yields configured first strokes to Flutter, which owns both search editors, text selection, composition and result navigation. The titlebar contains Navigate and Notifications. The floating Add button is inside the swarm, with the effective Cmd-N hint; New agent is prominent inside Add. Button activation waits for the destination's Flutter frame before returning native keyboard focus to the content view. Ordinary Mac editing, font and window commands remain native; custom bindings using reserved strokes are rejected.+Native menu labels come from the same resolved snapshot. The main menu yields configured first strokes to Flutter, which owns both search editors, text selection, composition and result navigation. The titlebar contains tabs, New Harness and Notifications. The floating Add button is inside the swarm, with the effective Cmd-N hint; Create Agent is prominent inside Add. Button activation waits for the destination's Flutter frame before returning native keyboard focus to the content view. Ordinary Mac editing, font and window commands remain native; custom bindings using reserved strokes are rejected.-Current validation includes the shared editor's arrow navigation, select-all/delete, command mode, effective remaps, pane focus and terminal IME. The native adapter passes **51 checks** against Dart-exported bindings, followed by **347 AppKit titlebar checks**, including Swarm/Agent menu ordering, three distinct toolbar targets, disabled controls and delayed focus handoff. These are synthetic checks; no real agents receive test input. Current build and regression results are recorded in the progress log.+Current validation covers the shared editor, effective remaps, terminal IME,+numbered tab selection through Flutter and the native command bridge, reordered+tabs, preserved pane focus and the first subsequent terminal key. Native fixtures+consume the Dart-exported bindings. These are synthetic correctness checks; no+real agents receive test input. Current build and test counts are in the progress log.See the [progress log](harness-v2-progress.md) for build/artifact status and the [working queue](harness-v2-developer-tools-research.md) for the next product improvements. These fixtures do not establish native input-to-display latency or first-install conversion rates; those remain separate measurements.diff --git a/docs/harness-v2-progress.md b/docs/harness-v2-progress.mdindex 92a70973e..2d559ae4d 100644--- a/docs/harness-v2-progress.md+++ b/docs/harness-v2-progress.md@@ -6,6 +6,16 @@ Updated 2026-09-14 after integrating the continuation into main. This is a worki## Continue directly on main+- Command-number now selects **tabs 1–9** in their current visible order.+ Command-H/J/K/L and Command-arrows continue to move between panes. Switching+ tabs restores their focused pane, reordered tabs use their new positions, and+ an unavailable number does nothing. Custom pane-focus command IDs remain+ available without conflicting default digit bindings. Shortcut help and the+ native exported keymap agree. All 52 affected Flutter checks pass, including+ native-command routing, tab order/focus and subsequent terminal input; the+ native keyboard bridge passes 78 checks against the exported bindings.+ Analysis has zero errors/warnings and the 14 existing infos. Logs:+ `/private/tmp/harness-tab-shortcuts-{tests,analyze,titlebar}.log`.- Applied the latest simple-entry direction: **New Harness** replaces New Agenton empty tabs. The centered start page has **Find a harness…**, a prominent**Create harness** action, and up to six recent shortcuts, with responsive