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
Keep New Agent settings in a compact footer row
dee86ad284603fe
diff --git a/desktop/lib/widgets/codex_profile_field.dart b/desktop/lib/widgets/codex_profile_field.dartindex 33253cb75..4ccac7461 100644--- a/desktop/lib/widgets/codex_profile_field.dart+++ b/desktop/lib/widgets/codex_profile_field.dart@@ -1,3 +1,5 @@+import 'dart:math' as math;+import 'package:file_selector/file_selector.dart';import 'package:flutter/foundation.dart';import 'package:flutter/material.dart';@@ -7,7 +9,6 @@ import '../core/codex_profiles.dart';import '../state/app_state.dart';import '../shared/theme/app_theme.dart' as grid;import '../shared/widgets/app_select_field.dart';-import '../shared/widgets/labeled_field.dart';import 'remote_folder_picker.dart';/// Every profile comes from the harness CLI running on [machineId]@@ -184,66 +185,86 @@ class _CodexProfileFieldState extends State<CodexProfileField> {for (final profile in _profiles) profile.path: profile,if (widget.value != null) widget.value!.path: widget.value!,};- return Column(- crossAxisAlignment: CrossAxisAlignment.start,- mainAxisSize: MainAxisSize.min,+ const refreshValue = '__refresh_profiles__';+ return Wrap(+ spacing: 8,+ runSpacing: 6,+ crossAxisAlignment: WrapCrossAlignment.center,children: [- const FieldLabel('Codex profile'),- AppSelectField<String>(- key: const Key('new-agent-codex-profile-field'),- value: widget.value?.path ?? '',- options: [- SelectOption(- value: '',- label: 'Default profile',- note: _loading ? 'loading profiles…' : null,- detail: 'Use this machine’s normal Codex launch.',- ),- for (final profile in choices.values)+ SizedBox(+ width:+ 252 *+ math.min(1.4, MediaQuery.textScalerOf(context).scale(13) / 13),+ height: 34,+ child: AppSelectField<String>(+ key: const Key('new-agent-codex-profile-field'),+ height: 34,+ value: widget.value?.path ?? '',+ options: [+ const SelectOption(value: '', label: 'Default profile'),+ for (final profile in choices.values)+ SelectOption(+ value: profile.path,+ label: profile.label,+ detail: profile.path,+ ),SelectOption(- value: profile.path,- label: profile.label,- detail: profile.path,+ value: refreshValue,+ label: 'Refresh profiles',+ leading: () => const Icon(LucideIcons.refreshCw, size: 14),),- ],- onChanged: (value) => _select(choices[value]),- ),- const SizedBox(height: 4),- Row(- children: [- Expanded(- child: Align(- alignment: Alignment.centerLeft,- child: TextButton(- onPressed: _linking ? null : _link,- style: TextButton.styleFrom(- foregroundColor: grid.AppPalette.textSecondary,- padding: const EdgeInsets.symmetric(- horizontal: 0,- vertical: 6,- ),- minimumSize: const Size(0, 32),- ),+ ],+ onChanged: (value) {+ if (value == refreshValue) {+ _load();+ } else {+ _select(choices[value]);+ }+ },+ trigger: Row(+ children: [+ Expanded(child: Text(- _linking ? 'Linking profile…' : 'Link a profile folder…',+ 'Codex profile: ${widget.value?.label ?? (_loading ? 'Loading…' : 'Default')}',+ maxLines: 1,+ overflow: TextOverflow.ellipsis,+ style: TextStyle(+ fontSize: 13,+ color: grid.AppPalette.textPrimary,+ ),),),- ),+ const SizedBox(width: 8),+ Icon(+ Icons.keyboard_arrow_down,+ size: 16,+ color: grid.AppPalette.textSecondary,+ ),+ ],),- Semantics(- label: 'Refresh profiles',- button: true,- child: IconButton(- onPressed: _loading || _linking ? null : _load,- icon: const Icon(LucideIcons.refreshCw, size: 14),- ),+ ),+ ),+ TextButton(+ onPressed: _linking ? null : _link,+ style: TextButton.styleFrom(+ foregroundColor: grid.AppPalette.textSecondary,+ padding: const EdgeInsets.symmetric(horizontal: 6, vertical: 6),+ minimumSize: const Size(0, 32),+ textStyle: TextStyle(+ fontFamily: grid.AppFont.sans,+ fontFamilyFallback: grid.AppFont.sansFallback,+ fontSize: 13,),- ],+ ),+ child: Text(_linking ? 'Adding…' : 'Add'),),if (_error != null)Text(_error!,- style: TextStyle(color: Theme.of(context).colorScheme.error),+ style: TextStyle(+ color: Theme.of(context).colorScheme.error,+ fontSize: 12,+ ),),],);diff --git a/desktop/lib/widgets/new_agent_dialog.dart b/desktop/lib/widgets/new_agent_dialog.dartindex 9ee20ae10..540abc704 100644--- a/desktop/lib/widgets/new_agent_dialog.dart+++ b/desktop/lib/widgets/new_agent_dialog.dart@@ -17,7 +17,6 @@ import '../shared/widgets/app_checkbox.dart';import '../shared/widgets/app_choice_picker.dart';import '../shared/widgets/app_dialog.dart';import '../shared/widgets/app_select_field.dart';-import '../shared/widgets/labeled_field.dart';import '../state/app_state.dart';import 'engine_identity.dart';import 'codex_profile_field.dart';@@ -111,7 +110,6 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {final _folderFocus = FocusNode(debugLabel: 'Working folder');final _actionFocus = FocusNode(debugLabel: 'Create or check agent');GitHubRepository? _repository;- final _advancedKey = GlobalKey();final _choicesScroll = ScrollController();final _projectChoices = PageStorageBucket();late _FolderSource _folderSource = widget.initialFolder == null@@ -370,24 +368,7 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {},};- void _toggleAdvanced() {- setState(() => _advancedOpen = !_advancedOpen);- if (!_advancedOpen) return;- WidgetsBinding.instance.addPostFrameCallback((_) {- if (!mounted || !_advancedOpen) return;- final anchor = _advancedKey.currentContext;- if (anchor == null) return;- unawaited(- Scrollable.ensureVisible(- anchor,- duration: MediaQuery.disableAnimationsOf(context)- ? Duration.zero- : const Duration(milliseconds: 160),- curve: Curves.easeOut,- ),- );- });- }+ void _toggleAdvanced() => setState(() => _advancedOpen = !_advancedOpen);@overrideWidget build(BuildContext context) {@@ -427,7 +408,7 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {},},child: AlertDialog(- constraints: const BoxConstraints(maxWidth: 1160),+ constraints: const BoxConstraints.tightFor(width: _dialogWidth + 56),backgroundColor: grid.AppPalette.swarmField,surfaceTintColor: Colors.transparent,shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(28)),@@ -468,7 +449,7 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {absorbing: _choicesLocked,child: ExcludeFocus(excluding: _choicesLocked,- child: _choices(bypassFlag),+ child: _choices(),),),if (_error != null) ...[@@ -493,26 +474,11 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {),),actions: [- Row(- children: [- Semantics(- label: 'Advanced settings',- button: true,- toggled: _advancedOpen,- child: IconButton(- key: const Key('new-agent-advanced'),- onPressed: _choicesLocked ? null : _toggleAdvanced,- icon: const Icon(LucideIcons.settings, size: 16),- color: grid.AppPalette.textFaint,- style: IconButton.styleFrom(- minimumSize: const Size(28, 28),- padding: const EdgeInsets.all(6),- ),- ),- ),- const SizedBox(width: 16),- Expanded(- child: Wrap(+ SizedBox(+ width: _dialogWidth,+ child: LayoutBuilder(+ builder: (context, constraints) {+ final actions = Wrap(alignment: WrapAlignment.end,spacing: 8,runSpacing: 8,@@ -594,9 +560,30 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {),),],- ),- ),- ],+ );+ final scale = MediaQuery.textScalerOf(context).scale(13) / 13;+ final stacked =+ (_advancedOpen || _confirmationPending) &&+ constraints.maxWidth < 740 * math.min(1.4, scale);+ // Keep the controls mounted when the footer wraps or hides.+ // In particular, an explicit Default profile must stay chosen.+ return Flex(+ direction: stacked ? Axis.vertical : Axis.horizontal,+ mainAxisSize: stacked ? MainAxisSize.min : MainAxisSize.max,+ crossAxisAlignment: stacked+ ? CrossAxisAlignment.start+ : CrossAxisAlignment.center,+ children: [+ Flexible(+ fit: stacked ? FlexFit.loose : FlexFit.tight,+ child: _settingsRow(bypassFlag),+ ),+ SizedBox(width: stacked ? 0 : 16, height: stacked ? 12 : 0),+ Align(alignment: Alignment.centerRight, child: actions),+ ],+ );+ },+ ),),],),@@ -615,7 +602,7 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {),);- Widget _choices(String? bypassFlag) => LayoutBuilder(+ Widget _choices() => LayoutBuilder(builder: (context, constraints) {final scaler = MediaQuery.textScalerOf(context);final minimumTileWidth = 180 * math.min(1.3, scaler.scale(14) / 14);@@ -714,14 +701,6 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {},),),- _Advanced(- key: _advancedKey,- open: _advancedOpen,- children: [- if (_engine == 'codex') _profileOptions(),- _permissionOptions(bypassFlag),- ],- ),],);},@@ -765,28 +744,48 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {],);- Widget _permissionOptions(String? bypassFlag) => Column(- crossAxisAlignment: CrossAxisAlignment.start,- mainAxisSize: MainAxisSize.min,+ Widget _settingsRow(String? bypassFlag) => Wrap(+ spacing: 12,+ runSpacing: 8,+ crossAxisAlignment: WrapCrossAlignment.center,children: [- const FieldLabel('Permissions'),- if (bypassFlag != null)+ Semantics(+ label: 'Advanced settings',+ button: true,+ toggled: _advancedOpen,+ child: IconButton(+ key: const Key('new-agent-advanced'),+ onPressed: _choicesLocked ? null : _toggleAdvanced,+ icon: const Icon(LucideIcons.settings, size: 16),+ color: grid.AppPalette.textFaint,+ style: IconButton.styleFrom(+ minimumSize: const Size(28, 28),+ padding: const EdgeInsets.all(6),+ ),+ ),+ ),+ _setting(_BypassCheck(- value: _bypassPermission,+ value: bypassFlag != null && _bypassPermission,hovered: _bypassHovered,onHover: (value) => setState(() => _bypassHovered = value),- onChanged: (value) => setState(() => _bypassPermission = value),- )- else- // Not silence: an engine with no checkbox looks identical to one whose- // checkbox the user simply missed.- Text(- 'Managed by ${engineIdentity(_engine).label}.',- style: Theme.of(context).textTheme.bodySmall,+ onChanged: bypassFlag == null+ ? null+ : (value) => setState(() => _bypassPermission = value),),+ ),+ if (_engine == 'codex') _setting(_profileOptions()),],);+ Widget _setting(Widget child) => Offstage(+ offstage: !_advancedOpen,+ child: ExcludeFocus(+ excluding: !_advancedOpen || _choicesLocked,+ child: IgnorePointer(ignoring: _choicesLocked, child: child),+ ),+ );+bool _machineOnline(MachineState machine) =>machine.isLocalMachine ||(machine.nodeOnline == true && !machine.needsLink);@@ -875,48 +874,6 @@ const double _gapBlock = 12;/// One field and the next, down the choices column.const double _gapField = 24;-class _Advanced extends StatelessWidget {- const _Advanced({super.key, required this.open, required this.children});- final bool open;- final List<Widget> children;-- @override- Widget build(BuildContext context) => Offstage(- offstage: !open,- child: ExcludeFocus(- excluding: !open,- child: Padding(- padding: const EdgeInsets.fromLTRB(4, 14, 4, 12),- child: LayoutBuilder(- builder: (context, constraints) {- if (constraints.maxWidth >= 640 && children.length > 1) {- return Row(- crossAxisAlignment: CrossAxisAlignment.start,- children: [- for (var i = 0; i < children.length; i++) ...[- if (i > 0) const SizedBox(width: 32),- Expanded(child: children[i]),- ],- ],- );- }- return Column(- crossAxisAlignment: CrossAxisAlignment.stretch,- mainAxisSize: MainAxisSize.min,- children: [- for (var i = 0; i < children.length; i++) ...[- if (i > 0) const SizedBox(height: 20),- children[i],- ],- ],- );- },- ),- ),- ),- );-}-class _BypassCheck extends StatelessWidget {const _BypassCheck({required this.value,@@ -927,31 +884,34 @@ class _BypassCheck extends StatelessWidget {final bool value;final bool hovered;final ValueChanged<bool> onHover;- final ValueChanged<bool> onChanged;+ final ValueChanged<bool>? onChanged;@overrideWidget build(BuildContext context) {grid.AppTheme.watch(context);return MouseRegion(- cursor: SystemMouseCursors.click,+ cursor: onChanged == null+ ? SystemMouseCursors.basic+ : SystemMouseCursors.click,onEnter: (_) => onHover(true),onExit: (_) => onHover(false),child: GestureDetector(- onTap: () => onChanged(!value),+ onTap: onChanged == null ? null : () => onChanged!(!value),behavior: HitTestBehavior.opaque,child: Padding(padding: const EdgeInsets.symmetric(vertical: 10),child: Row(+ mainAxisSize: MainAxisSize.min,children: [AppCheckbox(value: value, hovered: hovered, onChanged: onChanged),const SizedBox(width: 10),- Expanded(- child: Text(- 'Bypass approvals',- style: TextStyle(- fontSize: 14,- color: grid.AppPalette.textPrimary,- ),+ Text(+ 'Bypass approvals',+ style: TextStyle(+ fontSize: 13,+ color: onChanged == null+ ? grid.AppPalette.textFaint+ : grid.AppPalette.textPrimary,),),],diff --git a/desktop/test/new_agent_choices_layout_test.dart b/desktop/test/new_agent_choices_layout_test.dartindex 073d1d017..a27772284 100644--- a/desktop/test/new_agent_choices_layout_test.dart+++ b/desktop/test/new_agent_choices_layout_test.dart@@ -205,10 +205,24 @@ void main() {await tester.tap(advanced);await tester.pumpAndSettle();await tester.ensureVisible(find.text('Bypass approvals'));+ expect(find.text('Permissions'), findsNothing);+ expect(find.text('Add'), findsOneWidget);+ if (size.width >= 900 && scale == 1) {+ final settingsCenter = tester.getCenter(advanced).dy;+ for (final control in [+ find.text('Bypass approvals'),+ find.byKey(const Key('new-agent-codex-profile-field')),+ find.text('Add'),+ ]) {+ expect(tester.getCenter(control).dy, closeTo(settingsCenter, 1));+ }+ }await capture('advanced');await tester.ensureVisible(advanced);await tester.tap(advanced);await tester.pumpAndSettle();+ expect(find.text('Bypass approvals'), findsNothing);+ expect(find.text('Add'), findsNothing);final recent = find.byKey(const Key('new-agent-project-recent'));await tester.ensureVisible(recent);await tester.tap(recent);diff --git a/desktop/test/new_agent_codex_profile_test.dart b/desktop/test/new_agent_codex_profile_test.dartindex 31454fb99..d5c5c6203 100644--- a/desktop/test/new_agent_codex_profile_test.dart+++ b/desktop/test/new_agent_codex_profile_test.dart@@ -48,6 +48,15 @@ void expectProfile(WidgetTester tester, String label) {);}+Future<void> refreshProfiles(WidgetTester tester) async {+ final field = find.byKey(const Key('new-agent-codex-profile-field'));+ await tester.ensureVisible(field);+ await tester.tap(field);+ await tester.pumpAndSettle();+ await tester.ensureVisible(find.text('Refresh profiles'));+ await tester.tap(find.text('Refresh profiles'));+}+String _labelFor(String path) =>path.split('/').where((p) => p.isNotEmpty).last;@@ -253,8 +262,8 @@ void main() {find.byKey(const Key('new-agent-codex-profile-field')),findsOneWidget,);- expect(find.text('Codex profile'), findsOneWidget);- expect(find.text('Link a profile folder…'), findsOneWidget);+ expect(find.textContaining('Codex profile:'), findsOneWidget);+ expect(find.text('Add'), findsOneWidget);await browseNewAgentProject(tester);await tester.pumpAndSettle();await tester.tap(find.widgetWithText(FilledButton, 'Create'));@@ -273,9 +282,9 @@ void main() {find.byKey(const Key('new-agent-codex-profile-field')),findsOneWidget,);- expect(find.text('Codex profile'), findsOneWidget);+ expect(find.textContaining('Codex profile:'), findsOneWidget);expectProfile(tester, 'work-login');- expect(find.text('Link a profile folder…'), findsOneWidget);+ expect(find.text('Add'), findsOneWidget);await browseNewAgentProject(tester);await tester.pumpAndSettle();await tester.tap(find.widgetWithText(FilledButton, 'Create'));@@ -305,7 +314,7 @@ void main() {findsOneWidget,);expectProfile(tester, 'work-login');- expect(find.text('Link a profile folder…'), findsOneWidget);+ expect(find.text('Add'), findsOneWidget);},);@@ -321,7 +330,7 @@ void main() {findsOneWidget,);notifier.paths.add('/accounts/codex2');- await tester.tap(find.bySemanticsLabel('Refresh profiles'));+ await refreshProfiles(tester);await tester.pumpAndSettle();expect(find.byKey(const Key('new-agent-codex-profile-field')),@@ -330,7 +339,7 @@ void main() {expectProfile(tester, 'codex1');await selectSecond(tester);notifier.paths.remove('/accounts/codex1');- await tester.tap(find.bySemanticsLabel('Refresh profiles'));+ await refreshProfiles(tester);await tester.pumpAndSettle();expect(find.byKey(const Key('new-agent-codex-profile-field')),@@ -376,7 +385,7 @@ void main() {final notifier = await open(tester);await selectSecond(tester);notifier.paths.remove('/accounts/codex2');- await tester.tap(find.bySemanticsLabel('Refresh profiles'));+ await refreshProfiles(tester);await tester.pumpAndSettle();expect(find.byKey(const Key('new-agent-codex-profile-field')),@@ -398,50 +407,60 @@ void main() {expect(notifier.calls.single['codexHome'], '/accounts/codex1');});- testWidgets('refresh preserves an explicitly chosen default launch', (- tester,- ) async {- final notifier = await open(tester);- await selectSecond(tester);- await tester.ensureVisible(- find.byKey(const Key('new-agent-codex-profile-field')),- );- await tester.tap(find.byKey(const Key('new-agent-codex-profile-field')));- await tester.pumpAndSettle();- await tester.tap(find.text('Default profile').last);- await tester.pumpAndSettle();- notifier.paths.remove('/accounts/codex2');- await tester.tap(find.bySemanticsLabel('Refresh profiles'));- await tester.pumpAndSettle();- expect(- find.byKey(const Key('new-agent-codex-profile-field')),- findsOneWidget,- );- expectProfile(tester, 'Default profile');- await browseNewAgentProject(tester);- await tester.pumpAndSettle();- await tester.tap(find.widgetWithText(FilledButton, 'Create'));- await tester.pumpAndSettle();- expect(notifier.calls.single['codexHome'], isNull);- });-testWidgets(- 'creates with the selected account and shows its full path before the click',+ 'refresh and hiding settings preserve an explicit default launch',(tester) async {final notifier = await open(tester);await selectSecond(tester);- expectProfile(tester, 'codex2');+ await tester.ensureVisible(+ find.byKey(const Key('new-agent-codex-profile-field')),+ );+ await tester.tap(find.byKey(const Key('new-agent-codex-profile-field')));+ await tester.pumpAndSettle();+ await tester.tap(find.text('Default profile').last);+ await tester.pumpAndSettle();+ final settings = find.byKey(const Key('new-agent-advanced'));+ await tester.tap(settings);+ await tester.pumpAndSettle();+ expect(+ find.byKey(const Key('new-agent-codex-profile-field')),+ findsNothing,+ );+ await tester.tap(settings);+ await tester.pumpAndSettle();+ expectProfile(tester, 'Default profile');+ notifier.paths.remove('/accounts/codex2');+ await refreshProfiles(tester);+ await tester.pumpAndSettle();+ expect(+ find.byKey(const Key('new-agent-codex-profile-field')),+ findsOneWidget,+ );+ expectProfile(tester, 'Default profile');await browseNewAgentProject(tester);await tester.pumpAndSettle();await tester.tap(find.widgetWithText(FilledButton, 'Create'));await tester.pumpAndSettle();- expect(notifier.calls, [- {'engine': 'codex', 'codexHome': '/accounts/codex2', 'folder': '/work'},- ]);- expect(tester.takeException(), isNull);+ expect(notifier.calls.single['codexHome'], isNull);},);+ testWidgets('creates with the account selected in the profile menu', (+ tester,+ ) async {+ final notifier = await open(tester);+ await selectSecond(tester);+ expectProfile(tester, 'codex2');+ await browseNewAgentProject(tester);+ await tester.pumpAndSettle();+ await tester.tap(find.widgetWithText(FilledButton, 'Create'));+ await tester.pumpAndSettle();+ expect(notifier.calls, [+ {'engine': 'codex', 'codexHome': '/accounts/codex2', 'folder': '/work'},+ ]);+ expect(tester.takeException(), isNull);+ });+testWidgets('discovers newly observed local profiles while ignoring remote machine paths',(tester) async {@@ -490,7 +509,7 @@ void main() {final notifier = await open(tester);await selectSecond(tester);notifier.extraPaths.add('/elsewhere/new-profile');- await tester.tap(find.bySemanticsLabel('Refresh profiles'));+ await refreshProfiles(tester);await tester.pumpAndSettle();expectProfile(tester, 'codex2');await tester.ensureVisible(diff --git a/docs/harness-agent-first-tabs.md b/docs/harness-agent-first-tabs.mdindex d51011fbc..53597c91d 100644--- a/docs/harness-agent-first-tabs.md+++ b/docs/harness-agent-first-tabs.md@@ -130,7 +130,12 @@ switches only within that open dialog. An explicitly supplied project from asplit entry and a prepared-folder retry retain their destination. New folders use`~/harnesses/agent-1`, `agent-2`, …. Switching engines keeps the project.-A small settings icon at the bottom left reveals Codex profiles and permissions.+A small settings icon at the bottom left toggles a compact row beside it:+**Bypass approvals**, followed for Codex by **Codex profile: [name] ⌄** and+**Add**. There is no Permissions heading or separate settings block. Refresh is+inside the profile menu. Settings start hidden, and hiding them retains the+chosen profile and launch readiness. At narrow widths or larger text, the row+wraps and Create stays visible below it.The sole ordinary footer action is a large bright **Create** button. Escape oran outside click dismisses. No hover hints repeat labels already on screen.Icon-only controls retain accessible names. A late saved preference equal to@@ -204,9 +209,10 @@ then **Split Right, Split Down, Zoom Pane, Close Pane**. Pin/Unpin and Add Projeare removed from this menu. File actions have native system icons, with the samefour-corner Zoom and plain Close cross as the pane header. Machines starts with **Open Machines Manager**, thenlinked computers with their status and cached agent count, followed by Link-Machine and Refresh Machines. History and Machines fit their visible labels,-with metadata in a right-aligned column and no fixed minimum width or empty-wide span. Long names truncate to keep the menus compact. Machine counts sit+Machine and Refresh Machines. History and Machines are about 20% wider than the+initial compact pass; Models is 20% narrower. History machine names align at the+right edge. Long names truncate to keep the menus compact. Machine counts and+Link required labels sitbefore the native submenu chevron. Each computer is a submenu of named agents withengine icons. Selecting an agent opens its exact machine/agent identity, reusingan existing pane when present. The submenu retains Find Agents for the fulldiff --git a/docs/harness-v2-handoff.md b/docs/harness-v2-handoff.mdindex 29d6226e1..efed8d6fd 100644--- a/docs/harness-v2-handoff.md+++ b/docs/harness-v2-handoff.md@@ -62,13 +62,26 @@ and a monitor for machines, replaced by the chosen option’s own icon.Every new dialog defaults to New project. Recent is history only; choices madewithin an open dialog survive machine switches without carrying into the nextdialog. Explicit split project context and prepared-folder retries retain their-destination. Switching engines keeps the project. The settings gear is small and quiet at-the bottom left; Create is a larger 192 × 56 primary button. Escape/outside click+destination. Switching engines keeps the project. The small, quiet settings gear+toggles controls beside it on the same footer line: **Bypass approvals** and, for+Codex, **Codex profile: [name] ⌄** followed by **Add**. No Permissions heading,+separate settings block or refresh icon remains; refresh lives in the profile+menu. Controls retain state while hidden, including an explicit Default profile.+Narrow windows and large text wrap neatly, with Create visible below settings.+Create is a larger 192 × 56 primary button. Escape/outside clickstill dismiss, and Cmd-Return creates. Repeated-label tooltips are removed fromthe form and shared choices, sidebar rows, section labels, and picker hints.Icon-only controls retain accessible names. Prepared-folder recovery, profilereadiness and uncertain-create status checks remain intact.+The final settings pass has 54 passing focused layout, profile, engine-check and+creation-recovery tests. The four affected Dart files analyze cleanly. Evidence:+`/private/tmp/harness-inline-settings-verified-tests.log`,+`/private/tmp/harness-inline-settings-analyze.log`, and captures in+`/private/tmp/harness-inline-settings-captures`. The New project default and+per-dialog machine choices also pass all seven project-picker tests in+`/private/tmp/harness-new-project-default-final-tests.log`.+Affected Flutter checks pass across `/private/tmp/harness-four-tile-tests.log`,`/private/tmp/harness-four-tile-final-tests.log`, and`/private/tmp/harness-four-tile-recovery-tests.log`. The first run passed 34;@@ -136,9 +149,10 @@ refinement increases History and Machines by about 20% and reduces Models froma 440-point base to 352 points. Link-required labels and agent counts align bythe Machines submenu arrow. History rows use the full width for right-alignedmachine names; native titles, validation and target/actions retain navigation.-Models balances stay aligned and readable. 404 AppKit checks pass, including-native window layout, menu sizing, History highlight and activation:-`/private/tmp/harness-menu-refinement-native-checks.log`.+Models balances stay aligned and readable. 406 AppKit checks pass, including+native window layout, menu sizing, History highlight and activation, and keeping+History actions disabled while a dialog is open:+`/private/tmp/harness-history-final-native-checks.log`.### Shared icon feedback