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
Copper and Solid, a category under every name, and the header the owner asked for
dee7f9994e5efef
diff --git a/README.md b/README.mdindex 7b64a5c4c..f396af447 100644--- a/README.md+++ b/README.md@@ -386,15 +386,15 @@ cd cli && npm run test:tmux-real # the real multiplexer discovery suite### Add a domain harness-A domain harness is an engine tile that comes with a domain: Circuit (PCBs, on Claude Code),-Workshop (3D parts, on Codex), Marp (slide decks, on Claude Code). Pick one in New Agent and you get+A domain harness is an engine tile that comes with a domain: Copper (PCBs, on Claude Code), Solid+(3D parts, on Codex), Marp (slide decks, on Claude Code). Pick one in New Agent and you geta tab of its own — the domain's viewer on the left, the engine's terminal on the right — and theengine starts with the domain's skills loaded in a workspace the harness laid out. Nothing about thedomain lives in Harness itself: a harness is a git repository, installed per machine on first use.| In the repo | What it is ||---|---|-| `harness.json` | the manifest: id, base engine, template, skills, toolchain, viewer, verdict path |+| `harness.json` | the manifest: id, name, category, base engine, template, skills, toolchain, viewer, verdict path || `AGENTS.md` | what the engine is told — Claude Code gets a `CLAUDE.md` that includes it || `skills/` | the domain's skills, linked into the workspace (`.claude/skills/` or `.agents/skills/`) || `template/` | a fresh workspace, copied once, plus an `init` script |diff --git a/cli/src/backendSocket.ts b/cli/src/backendSocket.tsindex d04e04ce5..feb49c05f 100644--- a/cli/src/backendSocket.ts+++ b/cli/src/backendSocket.ts@@ -1476,6 +1476,7 @@ export class BackendSocket {id: entry.id,name: entry.manifest.name,description: entry.manifest.description ?? null,+ category: entry.manifest.category ?? null,engine: entry.manifest.engine,installed: true,viewer: !!entry.manifest.viewer,@@ -1489,6 +1490,7 @@ export class BackendSocket {id: entry.id,name: entry.name,description: entry.description ?? null,+ category: entry.category ?? null,engine: entry.engine,installed: false,viewer: (entry.tier ?? 0) >= 2,diff --git a/cli/src/dsh/artifacts.spec.ts b/cli/src/dsh/artifacts.spec.tsindex b462c69c3..21eba7e5f 100644--- a/cli/src/dsh/artifacts.spec.ts+++ b/cli/src/dsh/artifacts.spec.ts@@ -42,11 +42,11 @@ describe('isCandidateArtifact', () => {})describe('bundledDshRegistry', () => {- it('reads the registry off the source tree in dev, with Circuit and Workshop present', () => {+ it('reads the registry off the source tree in dev, with Copper, Solid and Marp present', () => {resetBundledDshRegistry()const ids = bundledDshRegistry().map((entry) => entry.id)- expect(ids).toEqual(expect.arrayContaining(['autonomous/circuit', 'autonomous/workshop']))- expect(resolveInstallSource('autonomous/circuit')).toMatchObject({ source: 'https://github.com/autonomous-ai/autonomous-circuit', id: 'autonomous/circuit' })+ expect(ids).toEqual(expect.arrayContaining(['autonomous/copper', 'autonomous/solid', 'autonomous/marp']))+ expect(resolveInstallSource('autonomous/copper')).toMatchObject({ source: 'https://github.com/autonomous-ai/autonomous-circuit', id: 'autonomous/copper' })expect(resolveInstallSource('https://example.com/x.git')).toEqual({ source: 'https://example.com/x.git' })expect(resolveInstallSource('bad\nsource')).toBeNull()})diff --git a/cli/src/dsh/command.ts b/cli/src/dsh/command.tsindex 455349b60..604555bfc 100644--- a/cli/src/dsh/command.ts+++ b/cli/src/dsh/command.ts@@ -12,7 +12,7 @@ export function dshUsage(): string {return `Domain-specific harnesses (a DSH turns Harness into a product for one domain — see dsh/README.md):harness dsh list what is installed on this computer, and what the registry offersharness dsh install <id|url|path> [--ref <ref>] [--link]- install by registry id (autonomous/circuit), git URL, or local path;+ install by registry id (autonomous/copper), git URL, or local path;--link symlinks a local checkout instead of cloning itharness dsh doctor <id> re-run the harness's own readiness checkharness dsh remove <id> uninstall (a --link install removes only the link)diff --git a/cli/src/dsh/install.ts b/cli/src/dsh/install.tsindex e2d743d5a..7d3e41744 100644--- a/cli/src/dsh/install.ts+++ b/cli/src/dsh/install.ts@@ -53,7 +53,7 @@ export type DshInstallResult =| { ok: true; installed: InstalledDsh; doctor: DshDoctorResult; setupLines: string[] }| { ok: false; error: string; detail: string }-/** A registry id (`autonomous/circuit`) resolves to its repo and ref; anything else is a source. */+/** A registry id (`autonomous/copper`) resolves to its repo and ref; anything else is a source. */export function resolveInstallSource(idOrSource: string): { source: string; ref?: string; id?: string } | null {const entry = registryEntry(idOrSource)if (entry) return { source: entry.repo, ref: entry.ref, id: entry.id }diff --git a/cli/src/dsh/manifest.ts b/cli/src/dsh/manifest.tsindex e4237c677..3fad5416e 100644--- a/cli/src/dsh/manifest.ts+++ b/cli/src/dsh/manifest.ts@@ -34,6 +34,8 @@ export const DshManifestSchema = z.strictObject({id: z.string().regex(DSH_ID_RE, 'id must be owner/name in lowercase letters, digits and dashes'),name: z.string().min(1).max(40),description: z.string().max(300).optional(),+ /** The one- or two-word kind of thing it makes — "PCB", "3D design", "Slides" — the picker's second line. */+ category: z.string().min(1).max(24).optional(),engine: z.enum(ENGINES),workspace: z.strictObject({template: relativePath.optional(),diff --git a/cli/src/dsh/registry.ts b/cli/src/dsh/registry.tsindex c10c98450..e1f261d69 100644--- a/cli/src/dsh/registry.ts+++ b/cli/src/dsh/registry.ts@@ -20,6 +20,7 @@ export const DshRegistryEntrySchema = z.strictObject({id: z.string().regex(DSH_ID_RE),name: z.string().min(1).max(40),description: z.string().max(300).optional(),+ category: z.string().min(1).max(24).optional(),repo: z.string().min(1).max(2048),ref: z.string().min(1).max(200).optional(),engine: z.enum(ENGINES),diff --git a/cli/src/lib/registry.ts b/cli/src/lib/registry.tsindex 6e5417165..38657345f 100644--- a/cli/src/lib/registry.ts+++ b/cli/src/lib/registry.ts@@ -120,7 +120,7 @@ export interface RegisteredSession {*/codexHome?: string | null/**- * The domain-specific harness this agent was created as (`autonomous/circuit`), or null for a plain+ * The domain-specific harness this agent was created as (`autonomous/copper`), or null for a plain* engine. NOT a second engine: `engine` stays the base (`claude`, `codex`, …) and every normalizer,* probe and install path keys on that. Chosen at creation, carried forward, and re-read off the* live process's `HARNESS_DSH` by discovery so a pane the daemon did not create (or had to mintdiff --git a/desktop/assets/engine-icons/circuit.png b/desktop/assets/engine-icons/circuit.pngdeleted file mode 100644index d623ffbc2..000000000Binary files a/desktop/assets/engine-icons/circuit.png and /dev/null differdiff --git a/desktop/assets/engine-icons/copper.png b/desktop/assets/engine-icons/copper.pngnew file mode 100644index 000000000..952b5114eBinary files /dev/null and b/desktop/assets/engine-icons/copper.png differdiff --git a/desktop/assets/engine-icons/solid.png b/desktop/assets/engine-icons/solid.pngnew file mode 100644index 000000000..9cfc2a5beBinary files /dev/null and b/desktop/assets/engine-icons/solid.png differdiff --git a/desktop/assets/engine-icons/workshop.png b/desktop/assets/engine-icons/workshop.pngdeleted file mode 100644index 14b553a03..000000000Binary files a/desktop/assets/engine-icons/workshop.png and /dev/null differdiff --git a/desktop/lib/core/dsh_catalog.dart b/desktop/lib/core/dsh_catalog.dartindex 834277f74..41a869cf1 100644--- a/desktop/lib/core/dsh_catalog.dart+++ b/desktop/lib/core/dsh_catalog.dart@@ -15,6 +15,7 @@ class DshEntry {required this.name,required this.engine,this.description,+ this.category,this.installed = false,this.viewer = false,this.tier = 0,@@ -29,6 +30,9 @@ class DshEntry {/// The base engine the harness runs on: what `agent_create` must be sent.final String engine;final String? description;++ /// The kind of thing it makes, in a word or two — the picker's second line.+ final String? category;final bool installed;/// Whether it ships a viewer, i.e. whether a web pane will open beside it.@@ -43,6 +47,7 @@ class DshEntry {if (engine is! String || engine.isEmpty || engine.length > 64) return null;final name = raw['name'];final description = raw['description'];+ final category = raw['category'];final tier = raw['tier'];return DshEntry(id: id,@@ -56,6 +61,9 @@ class DshEntry {description.trim().length.clamp(0, 300),): null,+ category: category is String && category.trim().isNotEmpty+ ? category.trim().substring(0, category.trim().length.clamp(0, 24))+ : null,installed: raw['installed'] == true,viewer: raw['viewer'] == true,tier: tier is num && tier >= 0 && tier <= 9 ? tier.toInt() : 0,diff --git a/desktop/lib/core/models.dart b/desktop/lib/core/models.dartindex 82a982c14..fa65a0fbc 100644--- a/desktop/lib/core/models.dart+++ b/desktop/lib/core/models.dart@@ -134,7 +134,7 @@ class Agent {final bool terminalAvailable;final String? terminalUnavailableReason;- /// The domain-specific harness this agent was created from (`autonomous/circuit`), or+ /// The domain-specific harness this agent was created from (`autonomous/copper`), or/// null for a plain engine. [engine] stays the BASE engine the process actually runs —/// a DSH is a decoration on the session, never a second engine (see the DSH spec in/// `dsh/spec/README.md`). Everything a person sees keys off this when it is set.@@ -375,6 +375,18 @@ class AgentVerdict {AgentPhase? get activePhase =>phases.where((p) => p.state == AgentPhaseState.active).firstOrNull;+ /// The one phase the header shows: the one under way, else the last one+ /// that has happened — done or failed — else nothing. A status, not a+ /// history: each new one replaces the last.+ AgentPhase? get currentPhase {+ final active = activePhase;+ if (active != null) return active;+ for (final phase in phases.reversed) {+ if (phase.state != AgentPhaseState.pending) return phase;+ }+ return null;+ }+static AgentVerdict? fromJson(Object? raw) {if (raw is! Map) return null;final ready = raw['ready'];diff --git a/desktop/lib/widgets/agent_picker.dart b/desktop/lib/widgets/agent_picker.dartindex d316ab9b9..4b661a3dd 100644--- a/desktop/lib/widgets/agent_picker.dart+++ b/desktop/lib/widgets/agent_picker.dart@@ -19,6 +19,7 @@ class AgentPicker extends StatelessWidget {final ValueChanged<String> onChanged;final bool compact;final Size? tileSize;+/// The preferred order: the three engines the tiles show, then the two/// first-party domain harnesses, first in More; a chosen one is what the/// More tile then shows.@@ -26,8 +27,8 @@ class AgentPicker extends StatelessWidget {'codex','claude','opencode',- 'autonomous/circuit',- 'autonomous/workshop',+ 'autonomous/copper',+ 'autonomous/solid','autonomous/marp',];diff --git a/desktop/lib/widgets/engine_identity.dart b/desktop/lib/widgets/engine_identity.dartindex 5f176d5ff..27cffe217 100644--- a/desktop/lib/widgets/engine_identity.dart+++ b/desktop/lib/widgets/engine_identity.dart@@ -11,11 +11,18 @@ class EngineIdentity {final Color color;final String? asset;+ /// The kind of thing it makes, in a word or two — "Code" for every coding+ /// engine, "PCB", "3D design", "Slides" for the harnesses. The picker's+ /// second line under the name, so a name with some character never has to+ /// explain itself.+ final String? category;+const EngineIdentity({required this.id,required this.label,required this.color,this.asset,+ this.category,});}@@ -23,83 +30,97 @@ const _engines = <String, EngineIdentity>{'claude': EngineIdentity(id: 'claude',label: 'Claude',+ category: 'Code',color: Color(0xffcc7c5e),),'codex': EngineIdentity(id: 'codex',label: 'Codex',+ category: 'Code',color: Color(0xff64d2ff),asset: 'assets/engine-icons/codex.png',),'cursor': EngineIdentity(id: 'cursor',label: 'Cursor',+ category: 'Code',color: Color(0xffc6ff72),asset: 'assets/engine-icons/cursor.png',),'opencode': EngineIdentity(id: 'opencode',label: 'OpenCode',+ category: 'Code',color: Color(0xfff1ecec),asset: 'assets/engine-icons/opencode.png',),'pi': EngineIdentity(id: 'pi',label: 'Pi',+ category: 'Code',color: Colors.white,asset: 'assets/engine-icons/pi.png',),'hermes': EngineIdentity(id: 'hermes',label: 'Hermes',+ category: 'Code',color: Color(0xff9b8cff),asset: 'assets/engine-icons/hermes.png',),'commandcode': EngineIdentity(id: 'commandcode',label: 'Command Code',+ category: 'Code',color: Color(0xfff5f5f5),asset: 'assets/engine-icons/commandcode.png',),'devin': EngineIdentity(id: 'devin',label: 'Devin',+ category: 'Code',color: Color(0xff8fb8ff),asset: 'assets/engine-icons/devin.png',),'muse': EngineIdentity(id: 'muse',label: 'Muse',+ category: 'Code',color: Color(0xff0082fb),asset: 'assets/engine-icons/muse.png',),'amp': EngineIdentity(id: 'amp',label: 'Amp',+ category: 'Code',color: Color(0xfff34e3f),asset: 'assets/engine-icons/amp.png',),'kilo': EngineIdentity(id: 'kilo',label: 'Kilo',+ category: 'Code',color: Color(0xfff8f676),asset: 'assets/engine-icons/kilo.png',),'grok': EngineIdentity(id: 'grok',label: 'Grok',+ category: 'Code',color: Colors.white,asset: 'assets/engine-icons/grok.png',),'copilot': EngineIdentity(id: 'copilot',label: 'Copilot',+ category: 'Code',color: Color(0xff8957e5),asset: 'assets/engine-icons/copilot.png',),'agy': EngineIdentity(id: 'agy',label: 'Antigravity',+ category: 'Code',color: Color(0xff3287fb),asset: 'assets/engine-icons/agy.png',),@@ -114,21 +135,24 @@ const _engines = <String, EngineIdentity>{/// own. It is only a face. A harness absent here still draws — the daemon/// sends its name, and [engineIdentity] falls back to an initial.const _harnesses = <String, EngineIdentity>{- 'autonomous/circuit': EngineIdentity(- id: 'autonomous/circuit',- label: 'Circuit',- color: Color(0xffd2643a),- asset: 'assets/engine-icons/circuit.png',+ 'autonomous/copper': EngineIdentity(+ id: 'autonomous/copper',+ label: 'Copper',+ category: 'PCB',+ color: Color(0xffd98a4a),+ asset: 'assets/engine-icons/copper.png',),- 'autonomous/workshop': EngineIdentity(- id: 'autonomous/workshop',- label: 'Workshop',- color: Color(0xffe09a3c),- asset: 'assets/engine-icons/workshop.png',+ 'autonomous/solid': EngineIdentity(+ id: 'autonomous/solid',+ label: 'Solid',+ category: '3D design',+ color: Color(0xff5a52d8),+ asset: 'assets/engine-icons/solid.png',),'autonomous/marp': EngineIdentity(id: 'autonomous/marp',label: 'Marp',+ category: 'Slides',color: Color(0xff218cdb),asset: 'assets/engine-icons/marp.png',),@@ -138,8 +162,8 @@ const _harnesses = <String, EngineIdentity>{/// say "Runs on Claude Code" — and send the right `engine` — before the machine/// has answered `dsh_list`. The daemon's catalog is authoritative when present.const knownHarnessBase = <String, String>{- 'autonomous/circuit': 'claude',- 'autonomous/workshop': 'codex',+ 'autonomous/copper': 'claude',+ 'autonomous/solid': 'codex','autonomous/marp': 'claude',};diff --git a/desktop/lib/widgets/new_agent_dialog.dart b/desktop/lib/widgets/new_agent_dialog.dartindex 62b6deb4f..c0026951d 100644--- a/desktop/lib/widgets/new_agent_dialog.dart+++ b/desktop/lib/widgets/new_agent_dialog.dart@@ -242,6 +242,7 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {DshEntry(id: identity.id,name: identity.label,+ category: identity.category,engine: knownHarnessBase[identity.id] ?? 'claude',),];@@ -742,6 +743,7 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {SelectOption(value: identity.id,label: identity.label,+ detail: identity.category,leading: () => EngineMark(engine: identity.id, size: 14),),// The domain harnesses, after the engines they run on. What the@@ -751,7 +753,12 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {value: harness.id,label: harness.name,note: 'on ${_labelOf(harness.engine)}',- detail: harness.description,+ // What it makes, in a word or two; the machine's word first,+ // this build's when the machine has not answered.+ detail:+ harness.category ??+ engineIdentity(harness.id).category ??+ harness.description,leading: () => EngineMark(engine: harness.id,displayName: harness.name,@@ -856,9 +863,8 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {key: const Key('new-agent-runs-on'),'Runs on ${_labelOf(_baseEngine(_engine))}. ''Skills, toolchain and viewer come from the harness.',- style: Theme.of(- context,- ).textTheme.bodySmall?.copyWith(color: grid.AppPalette.textSecondary),+ style: Theme.of(context).textTheme.bodySmall+ ?.copyWith(color: grid.AppPalette.textSecondary),);Widget _profileOptions() => Column(diff --git a/desktop/lib/widgets/pane_header_actions.dart b/desktop/lib/widgets/pane_header_actions.dartindex 2ee61d0fc..cdd1f8abe 100644--- a/desktop/lib/widgets/pane_header_actions.dart+++ b/desktop/lib/widgets/pane_header_actions.dart@@ -17,6 +17,7 @@ class PaneHeaderActions extends StatelessWidget {this.composerVisible = false,this.onToggleViewer,this.viewerVisible = false,+ this.viewerColor,this.details,});@@ -28,6 +29,10 @@ class PaneHeaderActions extends StatelessWidget {final VoidCallback? onToggleViewer;final bool viewerVisible;+ /// The harness's own colour: the sparkles glow with it while the viewer+ /// is open, and go quiet when it is hidden.+ final Color? viewerColor;+/// Folder, branch and machine share the controls' space while idle. Both/// layers keep their size so hovering never changes the title's width.final Widget? details;@@ -77,15 +82,11 @@ class PaneHeaderActions extends StatelessWidget {mainAxisSize: MainAxisSize.min,children: [if (onToggleViewer != null) ...[- KeyedSubtree(+ _ViewerToggle(key: const ValueKey('pane-viewer-toggle'),- child: action(- viewerVisible ? 'Hide viewer' : 'Show viewer',- viewerVisible- ? LucideIcons.panelLeftClose- : LucideIcons.panelLeftOpen,- onToggleViewer,- ),+ on: viewerVisible,+ color: viewerColor ?? AppColors.text,+ onPressed: onToggleViewer,),const SizedBox(width: 2),],@@ -174,3 +175,61 @@ class _PaneHeaderVisibility extends InheritedWidget {bool updateShouldNotify(_PaneHeaderVisibility oldWidget) =>visible != oldWidget.visible;}++/// The way into the magic box: sparkles that glow in the harness's colour+/// while its viewer is open, and sit muted when it is hidden. Same footprint+/// as the other header actions, so the row never shifts.+class _ViewerToggle extends StatelessWidget {+ const _ViewerToggle({+ super.key,+ required this.on,+ required this.color,+ required this.onPressed,+ });++ final bool on;+ final Color color;+ final VoidCallback? onPressed;++ @override+ Widget build(BuildContext context) {+ final glow = color.withValues(alpha: .55);+ return IconButton(+ tooltip: on ? 'Hide viewer' : 'Show viewer',+ onPressed: onPressed,+ icon: AnimatedContainer(+ duration: const Duration(milliseconds: 220),+ curve: Curves.easeOut,+ decoration: BoxDecoration(+ shape: BoxShape.circle,+ boxShadow: on+ ? [+ BoxShadow(color: glow, blurRadius: 10, spreadRadius: 1),+ BoxShadow(+ color: color.withValues(alpha: .25),+ blurRadius: 18,+ spreadRadius: 4,+ ),+ ]+ : const [],+ ),+ child: Icon(+ LucideIcons.sparkles,+ size: 16,+ color: on ? color : AppColors.mutedStrong.withValues(alpha: .6),+ ),+ ),+ style: ButtonStyle(+ fixedSize: const WidgetStatePropertyAll(Size(28, 28)),+ minimumSize: const WidgetStatePropertyAll(Size(28, 28)),+ padding: const WidgetStatePropertyAll(EdgeInsets.zero),+ tapTargetSize: MaterialTapTargetSize.shrinkWrap,+ visualDensity: VisualDensity.standard,+ shape: WidgetStatePropertyAll(+ RoundedRectangleBorder(borderRadius: BorderRadius.circular(6)),+ ),+ overlayColor: WidgetStatePropertyAll(grid.AppSurface.hoverFill),+ ),+ );+ }+}diff --git a/desktop/lib/widgets/rename_agent_dialog.dart b/desktop/lib/widgets/rename_agent_dialog.dartindex 15ed9f0fd..352c97f64 100644--- a/desktop/lib/widgets/rename_agent_dialog.dart+++ b/desktop/lib/widgets/rename_agent_dialog.dart@@ -60,12 +60,36 @@ class _RenameAgentDialog extends StatefulWidget {class _RenameAgentDialogState extends State<_RenameAgentDialog> {late final _controller = TextEditingController(text: widget.currentName);+ final _focus = FocusNode(debugLabel: 'rename-agent-name');/// The CLI's refusal, shown under the field. Null until one arrives.String? _error;+ @override+ void initState() {+ super.initState();+ // Typing replaces the name, the way a rename works everywhere else on+ // the Mac. Claimed after the first frame, and once more a beat later:+ // the terminal under the dialog autofocuses on its own rebuilds, and+ // `autofocus: true` on the field lost that race (owner, 2026-09-15).+ void claim() {+ if (!mounted) return;+ _focus.requestFocus();+ _controller.selection = TextSelection(+ baseOffset: 0,+ extentOffset: _controller.text.length,+ );+ }++ WidgetsBinding.instance.addPostFrameCallback((_) {+ claim();+ Future<void>.delayed(const Duration(milliseconds: 120), claim);+ });+ }+@overridevoid dispose() {+ _focus.dispose();_controller.dispose();super.dispose();}@@ -97,6 +121,7 @@ class _RenameAgentDialogState extends State<_RenameAgentDialog> {children: [TextField(controller: _controller,+ focusNode: _focus,autofocus: true,style: grid.kFieldTextStyle,onSubmitted: (_) => _submit(),diff --git a/desktop/lib/widgets/swarm_search_field.dart b/desktop/lib/widgets/swarm_search_field.dartindex ab1af0f8e..1f6d7c0f5 100644--- a/desktop/lib/widgets/swarm_search_field.dart+++ b/desktop/lib/widgets/swarm_search_field.dart@@ -26,8 +26,7 @@ class SwarmSearchField extends StatefulWidget {class _SwarmSearchFieldState extends State<SwarmSearchField> {FocusNode? _ownedFocus;FocusNode get _focus =>- widget.focusNode ??- (_ownedFocus ??= FocusNode(debugLabel: 'Find agent'));+ widget.focusNode ?? (_ownedFocus ??= FocusNode(debugLabel: 'Find agent'));@overridevoid initState() {diff --git a/desktop/lib/widgets/terminal_panel.dart b/desktop/lib/widgets/terminal_panel.dartindex 56389fbae..8ac1c3a88 100644--- a/desktop/lib/widgets/terminal_panel.dart+++ b/desktop/lib/widgets/terminal_panel.dart@@ -1521,24 +1521,9 @@ class _TerminalHeader extends StatelessWidget {EngineMark.forAgent(agent, size: 17)elseEngineMark(engine: session.engineId, size: 17),- // A harness agent is drawn as its harness, but the process in the pane is still- // Claude or Codex — and that is the account being spent, so it stays visible: a- // small base-engine mark tucked against the harness's own.- if (agent?.dsh != null) ...[- const SizedBox(width: 3),- Tooltip(- message:- 'Runs on ${engineIdentity(session.engineId).label}',- child: Opacity(- opacity: .75,- child: EngineMark(- key: const ValueKey('pane-header-base-engine'),- engine: session.engineId,- size: 11,- ),- ),- ),- ],+ // Icon and name, the same as every other pane (owner,+ // 2026-09-15): a harness agent is its harness here, and the+ // engine it runs on is the dialog's and the tooltip's to say.const SizedBox(width: 10),Expanded(child: Row(@@ -1672,6 +1657,9 @@ class _TerminalHeader extends StatelessWidget {viewerVisible:agent != null &¬ifier.viewerPaneShown(session.machineId, agent.id),+ viewerColor: agent == null+ ? null+ : agentIdentity(agent).color,details: Tooltip(message: [if (project != null) project.cwd,diff --git a/desktop/lib/widgets/verdict_marks.dart b/desktop/lib/widgets/verdict_marks.dartindex 6fb4a1cba..38c48e702 100644--- a/desktop/lib/widgets/verdict_marks.dart+++ b/desktop/lib/widgets/verdict_marks.dart@@ -1,6 +1,5 @@-// The marks a harness's verdict puts in a pane header: the chip (ready, or how-// far from it) and the phase strip (where the work is). One file, so the-// terminal pane and the viewer pane draw them the same.+// The marks a harness's verdict puts in the viewer pane's header: the chip+// (ready, or how far from it) and the phase mark (where the work is).import 'package:flutter/material.dart';import 'package:lucide_icons_flutter/lucide_icons.dart';@@ -65,44 +64,11 @@ class VerdictChip extends StatelessWidget {}}-/// Where the work is: every phase the verdict names, in order, with the one-/// under way emphasised. Read-only — the harness moves it, not the user.-class PhaseStrip extends StatelessWidget {- const PhaseStrip({super.key, required this.phases});-- final List<AgentPhase> phases;-- @override- Widget build(BuildContext context) {- final active = phases.indexWhere((p) => p.state == AgentPhaseState.active);- final label = active < 0- ? phases.map((p) => p.name).join(', ')- : '${phases[active].name}, ${active + 1} of ${phases.length}';- return Semantics(- label: 'Phase: $label',- child: Row(- key: const ValueKey('pane-phase-strip'),- mainAxisSize: MainAxisSize.min,- children: [- for (var i = 0; i < phases.length; i++) ...[- if (i > 0)- Padding(- padding: const EdgeInsets.symmetric(horizontal: 5),- child: Text(- '·',- style: TextStyle(color: AppColors.textSoft, fontSize: 11),- ),- ),- _PhaseMark(phase: phases[i]),- ],- ],- ),- );- }-}--class _PhaseMark extends StatelessWidget {- const _PhaseMark({required this.phase});+/// Where the work is, in one word: the phase under way, or the last one+/// that happened. Drawn in the viewer pane's title, where "Viewer" used to+/// be — a status, not a history, so each phase replaces the one before.+class PhaseMark extends StatelessWidget {+ const PhaseMark({super.key, required this.phase});final AgentPhase phase;@@ -127,6 +93,7 @@ class _PhaseMark extends StatelessWidget {AgentPhaseState.pending => (null, AppColors.textSoft, FontWeight.w500),};return Row(+ key: const ValueKey('pane-phase-mark'),mainAxisSize: MainAxisSize.min,children: [if (icon != null) ...[diff --git a/desktop/lib/widgets/web_pane_panel.dart b/desktop/lib/widgets/web_pane_panel.dartindex ef157c7e4..a451bedea 100644--- a/desktop/lib/widgets/web_pane_panel.dart+++ b/desktop/lib/widgets/web_pane_panel.dart@@ -178,31 +178,18 @@ class _WebPanePanelState extends State<WebPanePanel> {size: 17,),const SizedBox(width: 10),- // Title and phase strip share the flexible middle: the title- // yields first, the strip second, and whatever is left stays- // between them — never at the row's end, where it would push- // the actions off the right edge the terminal pane keeps.+ // The name, and where the work is — the current phase, one+ // word, in the place a "Viewer" label would only repeat what+ // the pane shows. A status, not a history.Expanded(- child: Row(- mainAxisAlignment: MainAxisAlignment.spaceBetween,- children: [- Flexible(- child: Tooltip(- message: widget.pane.url ?? '',- waitDuration: const Duration(milliseconds: 700),- child: Text.rich(- TextSpan(- children: [- TextSpan(text: widget.ownerName),- TextSpan(- text: ' · Viewer',- style: TextStyle(- color: AppColors.mutedStrong,- fontWeight: FontWeight.w500,- ),- ),- ],- ),+ child: Tooltip(+ message: widget.pane.url ?? '',+ waitDuration: const Duration(milliseconds: 700),+ child: Row(+ children: [+ Flexible(+ child: Text(+ widget.ownerName,maxLines: 1,overflow: TextOverflow.ellipsis,style: TextStyle(@@ -213,16 +200,19 @@ class _WebPanePanelState extends State<WebPanePanel> {),),),- ),- if (widget.verdict case final verdict?- when verdict.phases.isNotEmpty)- Flexible(- child: Padding(- padding: const EdgeInsets.only(left: 12),- child: PhaseStrip(phases: verdict.phases),+ if (widget.verdict?.currentPhase case final phase?) ...[+ Text(+ ' · ',+ style: TextStyle(+ color: AppColors.mutedStrong,+ fontSize: 13,+ fontWeight: FontWeight.w500,+ ),),- ),- ],+ Flexible(child: PhaseMark(phase: phase)),+ ],+ ],+ ),),),const SizedBox(width: 8),diff --git a/desktop/macos/Runner/SwarmTitlebar.swift b/desktop/macos/Runner/SwarmTitlebar.swiftindex 2085ef2f0..1990caf81 100644--- a/desktop/macos/Runner/SwarmTitlebar.swift+++ b/desktop/macos/Runner/SwarmTitlebar.swift@@ -1075,11 +1075,25 @@ private final class SwarmTabStrip: NSView {private var tabOrderChanged = falseprivate var actionsEnabled = falseprivate var lastBackgroundClick: (time: TimeInterval, point: NSPoint)?+ // Hold ⌘ and each of the first nine tabs shows the digit that reaches it+ // (⌘1…⌘9, the app's own bindings) — the same discoverability Safari and+ // the terminals give their tabs. Off again the moment ⌘ is released or the+ // app goes to the background.+ private var commandHeld = false+ private var flagsMonitor: Any?+ private var resignObserver: NSObjectProtocol?override var mouseDownCanMoveWindow: Bool { true }override init(frame: NSRect) {super.init(frame: frame)wantsLayer = true+ flagsMonitor = NSEvent.addLocalMonitorForEvents(matching: .flagsChanged) { [weak self] event in+ self?.setCommandHeld(event.modifierFlags.contains(.command))+ return event+ }+ resignObserver = NotificationCenter.default.addObserver(+ forName: NSApplication.didResignActiveNotification, object: nil, queue: .main+ ) { [weak self] _ in self?.setCommandHeld(false) }scroll.drawsBackground = falsescroll.hasHorizontalScroller = falsescroll.hasVerticalScroller = false@@ -1142,6 +1156,23 @@ private final class SwarmTabStrip: NSView {openButton.borderColor = palette.accent.withAlphaComponent(0.3)}+ deinit {+ if let flagsMonitor { NSEvent.removeMonitor(flagsMonitor) }+ if let resignObserver { NotificationCenter.default.removeObserver(resignObserver) }+ }++ private func setCommandHeld(_ held: Bool) {+ guard commandHeld != held else { return }+ commandHeld = held+ applyShortcutBadges()+ }++ fileprivate func applyShortcutBadges() {+ for (index, tab) in tabs.enumerated() {+ tab.shortcut = commandHeld && actionsEnabled && index < 9 ? index + 1 : nil+ }+ }+func update(_ state: [String: Any]) {// Workspace teardown clears its controls without changing appearance.if let palette = state["palette"] as? [String: Any] { updatePalette(palette) }@@ -1180,6 +1211,7 @@ private final class SwarmTabStrip: NSView {return tab}updateDividers()+ applyShortcutBadges()// Moving frames alone leaves AppKit's child traversal in insertion order.document.setAccessibilityChildren(tabs)newButton.isEnabled = actionsEnabled && (state["canOpenNewTab"] as? Bool ?? (tabs.count < 24))@@ -1305,6 +1337,8 @@ private final class SwarmTabButton: NSView, NSDraggingSource, NSMenuItemValidativar selected = false { didSet { if selected != oldValue { invalidateLabel(); updateAccessibility() } } }var attention = false { didSet { if attention != oldValue { needsDisplay = true; updateAccessibility() } } }var showsDivider = false { didSet { if showsDivider != oldValue { needsDisplay = true } } }+ /// The ⌘-digit that selects this tab, shown while ⌘ is held; nil otherwise.+ var shortcut: Int? { didSet { if shortcut != oldValue { updateCloseVisibility(); needsDisplay = true } } }var contentCenterY: CGFloat = 20var emit: ((String, Any?) -> Void)?var hoverChanged: (() -> Void)?@@ -1386,7 +1420,9 @@ private final class SwarmTabButton: NSView, NSDraggingSource, NSMenuItemValidatihoverChanged?()}fileprivate func updateCloseVisibility() {- closeButton.showsGlyph = hovered || selectButton.hasKeyboardFocus || closeButton.hasKeyboardFocus+ // The badge borrows the close glyph's slot; while ⌘ is held the digit wins.+ closeButton.showsGlyph = shortcut == nil+ && (hovered || selectButton.hasKeyboardFocus || closeButton.hasKeyboardFocus)}private func invalidateLabel() {cachedLabel = nil@@ -1435,6 +1471,15 @@ private final class SwarmTabButton: NSView, NSDraggingSource, NSMenuItemValidatiNSColor.systemOrange.setFill()NSBezierPath(ovalIn: NSRect(x: 13, y: contentCenterY - 2, width: 4, height: 4)).fill()}+ if let shortcut {+ let paragraph = NSMutableParagraphStyle()+ paragraph.alignment = .right+ let badge = NSAttributedString(string: "⌘\(shortcut)",+ attributes: [.font: NSFont.monospacedDigitSystemFont(ofSize: 11, weight: .medium),+ .foregroundColor: NSColor(white: 1, alpha: selected ? 0.7 : 0.5), .paragraphStyle: paragraph])+ let badgeHeight = badge.size().height+ badge.draw(in: NSRect(x: bounds.width - 46, y: contentCenterY - badgeHeight / 2, width: 32, height: badgeHeight))+ }}// Overflowed tabs might not be drawn. Their names and selection still need// to be available to VoiceOver and automation before they scroll into view.diff --git a/desktop/test/agent_model_test.dart b/desktop/test/agent_model_test.dartindex d0bb64895..75d248d79 100644--- a/desktop/test/agent_model_test.dart+++ b/desktop/test/agent_model_test.dart@@ -70,8 +70,8 @@ void _dshTests() {'id': 'agent-1','name': 'Board','engine': 'claude',- 'dsh': 'autonomous/circuit',- 'dshName': 'Circuit',+ 'dsh': 'autonomous/copper',+ 'dshName': 'Copper','viewerUrl': 'http://127.0.0.1:4179/?workspace=1','verdict': {'ready': false,@@ -83,10 +83,10 @@ void _dshTests() {},});expect(agent.engine, 'claude');- expect(agent.dsh, 'autonomous/circuit');- expect(agent.dshName, 'Circuit');- expect(agent.identityEngine, 'autonomous/circuit');- expect(agent.identityDisplayName, 'Circuit');+ expect(agent.dsh, 'autonomous/copper');+ expect(agent.dshName, 'Copper');+ expect(agent.identityEngine, 'autonomous/copper');+ expect(agent.identityDisplayName, 'Copper');expect(agent.viewerUrl, 'http://127.0.0.1:4179/?workspace=1');final verdict = agent.verdict!;expect(verdict.ready, isFalse);@@ -96,7 +96,7 @@ void _dshTests() {expect(verdict.artifact, 'boards/main.board.json');expect(verdict.updatedAt, DateTime.utc(2026, 9, 14, 20));expect(agent.copyWith(name: 'Renamed').verdict, verdict);- expect(agent.copyWith(name: 'Renamed').dsh, 'autonomous/circuit');+ expect(agent.copyWith(name: 'Renamed').dsh, 'autonomous/copper');});test('a plain engine agent has none of them and draws as its engine', () {diff --git a/desktop/test/dsh_catalog_test.dart b/desktop/test/dsh_catalog_test.dartindex 301363444..1dd87fe5b 100644--- a/desktop/test/dsh_catalog_test.dart+++ b/desktop/test/dsh_catalog_test.dart@@ -36,8 +36,8 @@ class _Connection extends WsConn {}const _circuit = {- 'id': 'autonomous/circuit',- 'name': 'Circuit',+ 'id': 'autonomous/copper',+ 'name': 'Copper','description': 'Chat with AI → a board you can order','engine': 'claude','installed': false,@@ -48,8 +48,8 @@ const _circuit = {void main() {test('an entry is read off the wire and refuses ids outside owner/name', () {final entry = DshEntry.fromJson(_circuit)!;- expect(entry.id, 'autonomous/circuit');- expect(entry.name, 'Circuit');+ expect(entry.id, 'autonomous/copper');+ expect(entry.name, 'Copper');expect(entry.engine, 'claude');expect(entry.installed, isFalse);expect(entry.viewer, isTrue);@@ -61,7 +61,7 @@ void main() {);expect(DshEntry.fromJson({'id': 'circuit', 'engine': 'claude'}), isNull);expect(DshEntry.fromJson({'id': 'a/b', 'engine': ''}), isNull);- expect(DshEntry.fromJson('autonomous/circuit'), isNull);+ expect(DshEntry.fromJson('autonomous/copper'), isNull);});test(@@ -100,7 +100,7 @@ void main() {final catalog = app.stateOf('m')!.dsh;expect(catalog.loaded, isTrue);expect(catalog.error, isNull);- expect(catalog.entries.map((e) => e.id), ['autonomous/circuit']);+ expect(catalog.entries.map((e) => e.id), ['autonomous/copper']);expect(connection.calls.map((c) => c.$1), ['dsh_list']);// A second ask is answered from memory unless forced.await app.probeDsh('m');@@ -134,23 +134,23 @@ void main() {{..._circuit, 'installed': true},],});- final result = app.installDsh('m', 'autonomous/circuit');+ final result = app.installDsh('m', 'autonomous/copper');final catalog = app.stateOf('m')!.dsh;- expect(catalog.installs['autonomous/circuit']!.phase, 'clone');+ expect(catalog.installs['autonomous/copper']!.phase, 'clone');await app.handleEventForTest('m', {'type': 'dsh_install_status',- 'payload': {'id': 'autonomous/circuit', 'phase': 'setup'},+ 'payload': {'id': 'autonomous/copper', 'phase': 'setup'},});expect(- catalog.installs['autonomous/circuit']!.label,+ catalog.installs['autonomous/copper']!.label,'Setting up the toolchain…',);install.complete({'ok': true});expect(await result, isNull);- expect(catalog.installs['autonomous/circuit']!.done, isTrue);- expect(catalog['autonomous/circuit']!.installed, isTrue);+ expect(catalog.installs['autonomous/copper']!.done, isTrue);+ expect(catalog['autonomous/copper']!.installed, isTrue);expect(connection.calls.map((c) => c.$1), ['dsh_install', 'dsh_list']);- expect(connection.calls.first.$2, {'id': 'autonomous/circuit'});+ expect(connection.calls.first.$2, {'id': 'autonomous/copper'});},);@@ -164,10 +164,10 @@ void main() {);final app = createApp(connectionForTest: (_) => connection);addTearDown(app.dispose);- final error = await app.installDsh('m', 'autonomous/circuit');+ final error = await app.installDsh('m', 'autonomous/copper');expect(error, 'Update the harness CLI on Test host to install harnesses');expect(- app.stateOf('m')!.dsh.installs['autonomous/circuit']!.failed,+ app.stateOf('m')!.dsh.installs['autonomous/copper']!.failed,isTrue,);});diff --git a/desktop/test/entry_surfaces_render_test.dart b/desktop/test/entry_surfaces_render_test.dartindex 189d16dea..d73316397 100644--- a/desktop/test/entry_surfaces_render_test.dart+++ b/desktop/test/entry_surfaces_render_test.dart@@ -28,7 +28,7 @@ class _RenderApp extends AppNotifier {for (final id in ['local', 'remote']) {final machine = Machine(machineId: id,- name: id == 'local' ? 'MacBook Pro' : 'Workshop',+ name: id == 'local' ? 'MacBook Pro' : 'Solid',authMode: MachineAuthMode.remote,);machines.add(machine);diff --git a/desktop/test/first_workspace_test.dart b/desktop/test/first_workspace_test.dartindex d274943ef..9eeeb69f9 100644--- a/desktop/test/first_workspace_test.dart+++ b/desktop/test/first_workspace_test.dart@@ -862,7 +862,7 @@ void main() {await tester.pump();if (chooseExplicitly) {await tester.tap(- find.byKey(const ValueKey('new-agent-quick-autonomous/circuit')),+ find.byKey(const ValueKey('new-agent-quick-autonomous/copper')),);await tester.pump();}@@ -877,7 +877,7 @@ void main() {final engine = tester.widget<AppSelectField<String>>(find.byKey(const Key('new-agent-engine-field')),);- expect(engine.value, chooseExplicitly ? 'autonomous/circuit' : 'codex');+ expect(engine.value, chooseExplicitly ? 'autonomous/copper' : 'codex');expect(app.launches, isEmpty);await tester.pumpWidget(const SizedBox());app.dispose();diff --git a/desktop/test/harness_tab_test.dart b/desktop/test/harness_tab_test.dartindex 26b6f5a17..d9aab81cf 100644--- a/desktop/test/harness_tab_test.dart+++ b/desktop/test/harness_tab_test.dart@@ -22,7 +22,7 @@ class _Request {'id': id,'name': id,'engine': 'claude',- 'dsh': 'autonomous/circuit',+ 'dsh': 'autonomous/copper',},});}@@ -68,12 +68,12 @@ void main() {'m',engine: 'claude',folder: '/w',- dsh: 'autonomous/circuit',+ dsh: 'autonomous/copper',);expect(app.swarms, hasLength(1), reason: 'the start page is reused');- expect(app.activeSwarm.name, 'Circuit');+ expect(app.activeSwarm.name, 'Copper');expect(connection.calls.single.type, 'agent_create');- expect(connection.calls.single.payload['dsh'], 'autonomous/circuit');+ expect(connection.calls.single.payload['dsh'], 'autonomous/copper');connection.calls.single.created('c1');expect(await create, isNull);expect(app.activeSwarm, same(starter));@@ -94,13 +94,13 @@ void main() {'m',engine: 'codex',folder: '/w',- dsh: 'autonomous/workshop',+ dsh: 'autonomous/solid',// What the dialog passes when no tab was chosen: the current one.swarmId: app.activeSwarmId,);expect(app.swarms, hasLength(2));expect(app.activeSwarm, isNot(same(busy)));- expect(app.activeSwarm.name, 'Workshop');+ expect(app.activeSwarm.name, 'Solid');connection.calls.single.created('w1');expect(await create, isNull);expect(app.activeSwarm.panes.single.agentId, 'w1');diff --git a/desktop/test/new_agent_dsh_test.dart b/desktop/test/new_agent_dsh_test.dartindex 44d6bd865..8c0c69115 100644--- a/desktop/test/new_agent_dsh_test.dart+++ b/desktop/test/new_agent_dsh_test.dart@@ -28,8 +28,8 @@ class _Folders extends FileSelectorPlatform {}const _circuit = DshEntry(- id: 'autonomous/circuit',- name: 'Circuit',+ id: 'autonomous/copper',+ name: 'Copper',engine: 'claude',description: 'Chat with AI → a board you can order',installed: false,@@ -203,14 +203,14 @@ void main() {state.dsh.replace([_circuit.copyWith(installed: true)]),);expect(app.harnessProbes, 0, reason: 'not asked until a harness is chosen');- await pick(tester, 'Circuit');+ await pick(tester, 'Copper');expect(app.harnessProbes, 1);- expect(engineField(tester), 'autonomous/circuit');+ expect(engineField(tester), 'autonomous/copper');// Chosen, it is what the More tile shows.expect(find.descendant(of: find.byKey(const Key('new-agent-engine-field')),- matching: find.text('Circuit'),+ matching: find.text('Copper'),),findsOneWidget,);@@ -233,7 +233,7 @@ void main() {expect(app.launches.single, {'machine': 'machine-1','engine': 'claude',- 'dsh': 'autonomous/circuit',+ 'dsh': 'autonomous/copper','folder': '','bypass': false,});@@ -249,17 +249,17 @@ void main() {seed: (state) => state.dsh.replace([_circuit]),);app.pendingInstall = Completer<String?>();- await pick(tester, 'Circuit');+ await pick(tester, 'Copper');// Quiet until Create: the install is a step of the create, not a warning.expect(find.textContaining('Installing'), findsNothing);await create(tester);- expect(app.installs, ['autonomous/circuit']);+ expect(app.installs, ['autonomous/copper']);expect(app.launches,isEmpty,reason: 'no create until the install lands',);- expect(find.text('Installing Circuit…'), findsOneWidget);+ expect(find.text('Installing Copper…'), findsOneWidget);expect(find.textContaining('Setting up the toolchain…'),findsOneWidget,@@ -268,7 +268,7 @@ void main() {app.pendingInstall!.complete(null);await tester.pump();await tester.pump();- expect(app.launches.single['dsh'], 'autonomous/circuit');+ expect(app.launches.single['dsh'], 'autonomous/copper');expect(app.launches.single['engine'], 'claude');expect(tester.takeException(), isNull);},@@ -280,7 +280,7 @@ void main() {seed: (state) => state.dsh.replace([_circuit]),);app.pendingInstall = Completer<String?>();- await pick(tester, 'Circuit');+ await pick(tester, 'Copper');await create(tester);app.pendingInstall!.complete('kicad-cli is not on harness-remote-box');await tester.pump();@@ -296,8 +296,8 @@ void main() {'a machine that has not answered offers the tiles without a verdict',(tester) async {final app = await open(tester, seed: (_) {});- await pick(tester, 'Workshop');- expect(engineField(tester), 'autonomous/workshop');+ await pick(tester, 'Solid');+ expect(engineField(tester), 'autonomous/solid');await tester.ensureVisible(find.byKey(const Key('new-agent-advanced')));await tester.tap(find.byKey(const Key('new-agent-advanced')));await tester.pumpAndSettle();@@ -306,7 +306,7 @@ void main() {// The machine never answered, so nothing can be called missing.expect(app.installs, isEmpty);expect(app.launches.single['engine'], 'codex');- expect(app.launches.single['dsh'], 'autonomous/workshop');+ expect(app.launches.single['dsh'], 'autonomous/solid');expect(tester.takeException(), isNull);},);diff --git a/desktop/test/swarm_closed_agents_test.dart b/desktop/test/swarm_closed_agents_test.dartindex 0ac44bfe3..42c241ba7 100644--- a/desktop/test/swarm_closed_agents_test.dart+++ b/desktop/test/swarm_closed_agents_test.dart@@ -90,7 +90,7 @@ void main() {() async {final app = createApp();addTearDown(app.dispose);- app.renameSwarm(app.activeSwarmId, 'Workshop');+ app.renameSwarm(app.activeSwarmId, 'Solid');final origin = app.activeSwarmId;await app.addAgentToSwarm('m', 'a0');await app.addAgentToSwarm('m', 'a1');@@ -99,7 +99,7 @@ void main() {await app.closeSwarm(origin);expect(app.reopenClosed(historyId: closure), isTrue);expect(app.activeSwarmId, origin);- expect(app.activeSwarm.name, 'Workshop');+ expect(app.activeSwarm.name, 'Solid');expect(app.panes.single.agentId, 'a0');expect(app.closedHistory.single, isA<ClosedSwarm>());expect(app.reopenClosed(historyId: closure), isFalse);@@ -109,7 +109,7 @@ void main() {expect(app.activeSwarm, same(restored));expect(app.panes.map((pane) => pane.agentId), ['a0', 'a1']);expect(- app.swarms.where((swarm) => swarm.name == 'Workshop'),+ app.swarms.where((swarm) => swarm.name == 'Solid'),hasLength(1),);expect(app.swarms.map((s) => s.id).toSet().length, app.swarms.length);@@ -124,7 +124,7 @@ void main() {final first = app.adoptSessionForTest(terminal('a0', input));final second = app.adoptSessionForTest(terminal('a1', input));final origin = app.activeSwarmId;- app.renameSwarm(origin, 'Workshop');+ app.renameSwarm(origin, 'Solid');app.newSwarm(name: 'Live work');final peer = app.activeSwarm;await app.addAgentToSwarm('m', 'a0');diff --git a/desktop/test/swarm_project_members_test.dart b/desktop/test/swarm_project_members_test.dartindex 4424491f5..4c6e295f2 100644--- a/desktop/test/swarm_project_members_test.dart+++ b/desktop/test/swarm_project_members_test.dart@@ -24,8 +24,8 @@ void main() {protocolVersion: 1,terminalProtocolVersion: 3,agentProjects: const {- 'a0': AgentProject(name: 'Workshop', cwd: '/work/workshop'),- 'a1': AgentProject(name: 'Workshop', cwd: '/work/workshop'),+ 'a0': AgentProject(name: 'Solid', cwd: '/work/workshop'),+ 'a1': AgentProject(name: 'Solid', cwd: '/work/workshop'),},);app.machineStates['remote'] =@@ -96,17 +96,17 @@ void main() {await tester.pump();await tester.enterText(find.byKey(const ValueKey('swarm-search-input')),- 'Workshop',+ 'Solid',);await tester.pump();- await tester.tap(find.widgetWithText(ListTile, 'Workshop'));+ await tester.tap(find.widgetWithText(ListTile, 'Solid'));await tester.pump(const Duration(milliseconds: 100));expect(app.panes.map((p) => (p.machineId, p.agentId)), [('m', 'a0'),('m', 'a1'),('remote', 'chess'),]);- expect(app.activeSwarm.name, 'Workshop');+ expect(app.activeSwarm.name, 'Solid');await tester.pumpWidget(const SizedBox());app.dispose();projects.dispose();diff --git a/desktop/test/swarm_search_test.dart b/desktop/test/swarm_search_test.dartindex 1d8d05ee6..32ed0169e 100644--- a/desktop/test/swarm_search_test.dart+++ b/desktop/test/swarm_search_test.dart@@ -65,7 +65,7 @@ void main() {name: 'Design',terminalAvailable: true,project: AgentProject(- name: 'Workshop',+ name: 'Solid',cwd: '/work/workshop',branch: 'feature/wood',),@@ -84,7 +84,7 @@ void main() {SavedSwarmProject(machineId: 'm',path: '/work/workshop',- name: 'Workshop',+ name: 'Solid',members: [(machineId: 'remote', agentId: 'chess')],),];@@ -96,11 +96,11 @@ void main() {isTrue,);expect(- rankSwarmDestinations(entries, 'Workshop').any((e) => e.isProject),+ rankSwarmDestinations(entries, 'Solid').any((e) => e.isProject),isTrue,);expect(- rankSwarmDestinations(entries, 'Workshop chess').single.agentId,+ rankSwarmDestinations(entries, 'Solid chess').single.agentId,'chess',);expect(rankSwarmDestinations(entries, 'wood Design').single.agentId, 'a0');diff --git a/desktop/test/terminal_panel_header_test.dart b/desktop/test/terminal_panel_header_test.dartindex b1f3dea94..fb599f200 100644--- a/desktop/test/terminal_panel_header_test.dart+++ b/desktop/test/terminal_panel_header_test.dart@@ -246,8 +246,8 @@ void main() {id: 'agent-1',name: 'a',engine: 'claude',- dsh: 'autonomous/circuit',- dshName: 'Circuit',+ dsh: 'autonomous/copper',+ dshName: 'Copper',terminalAvailable: true,verdict: verdict,);@@ -265,14 +265,15 @@ void main() {const AgentVerdict(ready: true, summary: 'Board is fab-ready'),),);- // Its harness, with its base engine beside it.+ // Its harness — icon and name, like every other pane; no second mark+ // for the engine underneath (owner, 2026-09-15).expect(- find.byKey(const ValueKey('engine-icon-autonomous/circuit')),+ find.byKey(const ValueKey('engine-icon-autonomous/copper')),findsOneWidget,);expect(find.byKey(const ValueKey('pane-header-base-engine')),- findsOneWidget,+ findsNothing,);// The verdict is the viewer pane's to show (owner, 2026-09-15): the// terminal header carries none, before or after a verdict arrives.diff --git a/desktop/test/verdict_marks_test.dart b/desktop/test/verdict_marks_test.dartindex 640a8c588..f49bea19d 100644--- a/desktop/test/verdict_marks_test.dart+++ b/desktop/test/verdict_marks_test.dart@@ -42,25 +42,55 @@ void main() {expect(many.phases, hasLength(12));});- testWidgets('the strip names every phase and says which is under way', (- tester,- ) async {- const phases = [- AgentPhase(id: 'outline', name: 'Outline', state: AgentPhaseState.done),- AgentPhase(id: 'draft', name: 'Draft', state: AgentPhaseState.active),- AgentPhase(id: 'polish', name: 'Polish'),- ];+ test(+ 'the current phase is the one under way, else the last that happened',+ () {+ AgentVerdict v(List<AgentPhaseState> states) => AgentVerdict(+ ready: false,+ phases: [+ for (final (i, s) in states.indexed)+ AgentPhase(id: 'p$i', name: 'P$i', state: s),+ ],+ );+ expect(+ v([+ AgentPhaseState.done,+ AgentPhaseState.active,+ AgentPhaseState.pending,+ ]).currentPhase?.name,+ 'P1',+ );+ expect(+ v([AgentPhaseState.done, AgentPhaseState.done, AgentPhaseState.pending])+ .currentPhase+ ?.name,+ 'P1',+ );+ expect(+ v([AgentPhaseState.done, AgentPhaseState.failed]).currentPhase?.name,+ 'P1',+ );+ expect(v([AgentPhaseState.pending]).currentPhase, isNull);+ expect(const AgentVerdict(ready: true).currentPhase, isNull);+ },+ );++ testWidgets('the mark names the phase and its state', (tester) async {await tester.pumpWidget(const MaterialApp(home: Scaffold(- body: Center(child: PhaseStrip(phases: phases)),+ body: PhaseMark(+ phase: AgentPhase(+ id: 'draft',+ name: 'Draft',+ state: AgentPhaseState.active,+ ),+ ),),),);- expect(find.byKey(const ValueKey('pane-phase-strip')), findsOneWidget);- expect(find.text('Outline'), findsOneWidget);+ expect(find.byKey(const ValueKey('pane-phase-mark')), findsOneWidget);expect(find.text('Draft'), findsOneWidget);- expect(find.text('Polish'), findsOneWidget);});testWidgets('the chip says ready, or how far from it', (tester) async {diff --git a/desktop/test/web_pane_test.dart b/desktop/test/web_pane_test.dartindex 0a8ec7b31..4d39fd9bb 100644--- a/desktop/test/web_pane_test.dart+++ b/desktop/test/web_pane_test.dart@@ -22,8 +22,8 @@ Map<String, dynamic> _frame('id': id,'name': 'Agent $id','engine': 'claude',- 'dsh': 'autonomous/circuit',- 'dshName': 'Circuit',+ 'dsh': 'autonomous/copper',+ 'dshName': 'Copper','viewerUrl': ?viewerUrl,'verdict': ?verdict,'terminal': {@@ -238,7 +238,6 @@ void main() {expect(find.byType(WebPanePanel), findsOneWidget);expect(find.byKey(const ValueKey('web-pane-placeholder')), findsOneWidget);expect(find.text('http://127.0.0.1:4179/'), findsOneWidget);- expect(find.textContaining('Viewer'), findsWidgets);// Its own close control, and no way to end an agent from it.expect(find.byTooltip('Close viewer'), findsOneWidget);expect(@@ -276,8 +275,12 @@ void main() {findsOneWidget,);expect(find.byKey(const ValueKey('pane-verdict-chip')), findsOneWidget);- expect(find.byKey(const ValueKey('pane-phase-strip')), findsOneWidget);+ // One phase, the current one, in the title — not the whole history.+ expect(find.byKey(const ValueKey('pane-phase-mark')), findsOneWidget);expect(find.text('Checks'), findsOneWidget);+ expect(find.text('Build'), findsNothing);+ // No "Viewer" label in the title: the pane says what it is.+ expect(find.textContaining('· Viewer'), findsNothing);expect(find.byTooltip('Hide viewer'), findsOneWidget);await tester.tap(find.byTooltip('Close viewer'));await tester.pump();diff --git a/dsh/README.md b/dsh/README.mdindex fb8478110..77631f7f8 100644--- a/dsh/README.md+++ b/dsh/README.md@@ -41,11 +41,11 @@ Harness does at create time, and what it sets in the engine's environment. The J## Installing```bash-harness dsh install autonomous/circuit # by registry id+harness dsh install autonomous/copper # by registry idharness dsh install https://github.com/autonomous-ai/autonomous-circuit # by git URLharness dsh install /path/to/checkout --link # symlink, for developmentharness dsh list-harness dsh doctor autonomous/circuit+harness dsh doctor autonomous/copperharness dsh check /path/to/checkout # conformance, before publishing```diff --git a/dsh/registry/autonomous/circuit.json b/dsh/registry/autonomous/circuit.jsondeleted file mode 100644index e06d05463..000000000--- a/dsh/registry/autonomous/circuit.json+++ /dev/null@@ -1,10 +0,0 @@-{- "id": "autonomous/circuit",- "name": "Circuit",- "description": "Chat with AI → a board you can order. Golden blocks, two independent DRC substrates, a JLCPCB-ready packet.",- "repo": "https://github.com/autonomous-ai/autonomous-circuit",- "ref": "harness-dsh",- "engine": "claude",- "tier": 2,- "verified": true-}diff --git a/dsh/registry/autonomous/copper.json b/dsh/registry/autonomous/copper.jsonnew file mode 100644index 000000000..a76e5b193--- /dev/null+++ b/dsh/registry/autonomous/copper.json@@ -0,0 +1,11 @@+{+ "id": "autonomous/copper",+ "name": "Copper",+ "category": "PCB",+ "description": "Describe a board; get a fab-ready PCB with a live board view, ordered from JLCPCB in a click.",+ "repo": "https://github.com/autonomous-ai/autonomous-circuit",+ "ref": "harness-dsh",+ "engine": "claude",+ "tier": 2,+ "verified": true+}diff --git a/dsh/registry/autonomous/marp.json b/dsh/registry/autonomous/marp.jsonindex 9222848ca..794fee79a 100644--- a/dsh/registry/autonomous/marp.json+++ b/dsh/registry/autonomous/marp.json@@ -1,6 +1,7 @@{"id": "autonomous/marp","name": "Marp",+ "category": "Slides","description": "Describe a talk; get a Marp slide deck with a live preview, exportable to PDF and PPTX.","repo": "https://github.com/autonomous-ai/autonomous-marp","ref": "harness-dsh",diff --git a/dsh/registry/autonomous/solid.json b/dsh/registry/autonomous/solid.jsonnew file mode 100644index 000000000..2b88a472b--- /dev/null+++ b/dsh/registry/autonomous/solid.json@@ -0,0 +1,11 @@+{+ "id": "autonomous/solid",+ "name": "Solid",+ "category": "3D design",+ "description": "Describe a part; get a validated, printable STEP with a live 3D view.",+ "repo": "https://github.com/autonomous-ai/autonomous-workshop",+ "ref": "harness-dsh",+ "engine": "codex",+ "tier": 2,+ "verified": true+}diff --git a/dsh/registry/autonomous/workshop.json b/dsh/registry/autonomous/workshop.jsondeleted file mode 100644index 68f732c44..000000000--- a/dsh/registry/autonomous/workshop.json+++ /dev/null@@ -1,10 +0,0 @@-{- "id": "autonomous/workshop",- "name": "Workshop",- "description": "Describe a 3D object; get a validated, printable STEP part or assembly with a live 3D view.",- "repo": "https://github.com/autonomous-ai/autonomous-workshop",- "ref": "harness-dsh",- "engine": "codex",- "tier": 2,- "verified": true-}diff --git a/dsh/spec/CHANGES.md b/dsh/spec/CHANGES.mdindex 6275497d8..968322117 100644--- a/dsh/spec/CHANGES.md+++ b/dsh/spec/CHANGES.md@@ -14,3 +14,12 @@ Initial contract. Lifted from the `.board.json` (Circuit) and `.episode.json` (Twatching the viewer needs to know which of those is happening. The verdict already moves; thisis the one line that says where.- **Backward compatible:** yes — absent means no strip; every existing verdict is unchanged.++## 2026-09-15 — `category`, and the first-party names+- **Change:** manifest and registry entries gain `category` (≤ 24 chars): what the harness makes,+ in a word or two — "PCB", "3D design", "Slides". `dsh_list` forwards it; the picker shows it under+ the name, the way every engine now shows "Code". The first-party ids are `autonomous/copper`+ (Circuit's pipeline) and `autonomous/solid` (Workshop's Make stage); `autonomous/marp` is unchanged.+- **Backward compatible:** `category` is optional. The old ids are not aliased: an agent created as+ `autonomous/circuit` or `autonomous/workshop` before this change draws by its name and loses its+ viewer on the next daemon start.diff --git a/dsh/spec/README.md b/dsh/spec/README.mdindex 71c59b85e..9e6fa0874 100644--- a/dsh/spec/README.md+++ b/dsh/spec/README.md@@ -10,7 +10,7 @@ A DSH is a git repo. Harness reads `harness.json` at its root and nothing else a```jsonc{"spec": 1,- "id": "autonomous/circuit", // owner/name; the install dir and the wire id+ "id": "autonomous/copper", // owner/name; the install dir and the wire id"name": "Circuit", // the picker tile"description": "Chat with AI → a board you can order","engine": "claude", // base engine, one of ENGINES@@ -88,7 +88,7 @@ writes it beside the sidecar in `circuitpy.generation`; Workshop writes it from- `AgentFrame` gains `dsh: string | null`, `dshName: string | null`, `viewerUrl: string | null`,`verdict: { ready, summary, errors, warnings, artifact, phases, updatedAt } | null`. Null is a real answer(see `agentFrame.ts`'s doc on erased fields).-- `dsh_list` → `{ dsh: [{ id, name, description, engine, installed, viewer, tier }] }`: installed+- `dsh_list` → `{ dsh: [{ id, name, description, category, engine, installed, viewer, tier }] }`: installedDSHs on this machine merged with the bundled registry (`dsh/registry/**/*.json`).- `dsh_install { id?, url?, ref? }` → runs clone → setup → doctor; pushes`dsh_install_status { id, phase: clone|setup|doctor|done|failed, detail? }`; replies `{ ok }` at@@ -101,8 +101,8 @@ writes it beside the sidecar in `circuitpy.generation`; Workshop writes it from```~/.harness/dsh/installed.json # [{ id, dir, source, ref, commit, installedAt }]- autonomous/circuit/ # clone, or a symlink when installed with --link (dev loop)- autonomous/workshop/+ autonomous/copper/ # clone, or a symlink when installed with --link (dev loop)+ autonomous/solid/```CLI: `harness dsh install <git-url|path> [--link] [--ref <ref>]`, `harness dsh list`,diff --git a/dsh/spec/schema/harness.schema.json b/dsh/spec/schema/harness.schema.jsonindex 6ecc7490e..22ada8c0b 100644--- a/dsh/spec/schema/harness.schema.json+++ b/dsh/spec/schema/harness.schema.json@@ -4,69 +4,133 @@"title": "Domain-specific harness manifest (harness.json), spec 1","type": "object","additionalProperties": false,- "required": ["spec", "id", "name", "engine"],+ "required": [+ "spec",+ "id",+ "name",+ "engine"+ ],"properties": {- "spec": { "const": 1 },+ "spec": {+ "const": 1+ },"id": {"type": "string","pattern": "^[a-z0-9][a-z0-9-]{0,63}/[a-z0-9][a-z0-9-]{0,63}$","description": "owner/name. The install directory under ~/.harness/dsh and the id on the wire."},- "name": { "type": "string", "minLength": 1, "maxLength": 40, "description": "The picker tile." },- "description": { "type": "string", "maxLength": 300 },+ "name": {+ "type": "string",+ "minLength": 1,+ "maxLength": 40,+ "description": "The picker tile."+ },+ "description": {+ "type": "string",+ "maxLength": 300+ },+ "category": {+ "type": "string",+ "minLength": 1,+ "maxLength": 24,+ "description": "The kind of thing it makes, in a word or two \u2014 PCB, 3D design, Slides. The picker's second line under the name."+ },"engine": {"type": "string",- "description": "The base engine this harness runs on: claude, codex, cursor, … (one of the CLI's ENGINES)."+ "description": "The base engine this harness runs on: claude, codex, cursor, \u2026 (one of the CLI's ENGINES)."},"workspace": {"type": "object","additionalProperties": false,"properties": {- "template": { "type": "string", "description": "Directory copied into an empty workspace." },- "marker": { "type": "string", "description": "Workspace-relative file whose presence means 'already materialized'." },- "init": { "type": "string", "description": "Command run after the template copy, cwd = workspace." }+ "template": {+ "type": "string",+ "description": "Directory copied into an empty workspace."+ },+ "marker": {+ "type": "string",+ "description": "Workspace-relative file whose presence means 'already materialized'."+ },+ "init": {+ "type": "string",+ "description": "Command run after the template copy, cwd = workspace."+ }}},"agent": {"type": "object","additionalProperties": false,"properties": {- "instructions": { "type": "string", "description": "File copied to <workspace>/AGENTS.md (appended under a marker if one exists)." },+ "instructions": {+ "type": "string",+ "description": "File copied to <workspace>/AGENTS.md (appended under a marker if one exists)."+ },"skills": {"type": "array",- "items": { "type": "string" },+ "items": {+ "type": "string"+ },"description": "Directories whose SKILL.md-bearing subdirectories are linked into the workspace's skills folder."},"env": {"type": "object",- "additionalProperties": { "type": "string" },+ "additionalProperties": {+ "type": "string"+ },"description": "Set on the engine process. Values may use ${dsh}, ${workspace}, ${home}."},- "args": { "type": "array", "items": { "type": "string" }, "description": "Appended to the base engine's argv." }+ "args": {+ "type": "array",+ "items": {+ "type": "string"+ },+ "description": "Appended to the base engine's argv."+ }}},"toolchain": {"type": "object","additionalProperties": false,"properties": {- "setup": { "type": "string", "description": "Run once at install, cwd = install dir." },- "doctor": { "type": "string", "description": "Exit 0 = ready. Each stdout line is shown to the user." }+ "setup": {+ "type": "string",+ "description": "Run once at install, cwd = install dir."+ },+ "doctor": {+ "type": "string",+ "description": "Exit 0 = ready. Each stdout line is shown to the user."+ }}},"viewer": {"type": "object","additionalProperties": false,- "required": ["command", "url"],+ "required": [+ "command",+ "url"+ ],"properties": {- "command": { "type": "string", "description": "Long-running; env HARNESS_VIEWER_PORT, HARNESS_WORKSPACE, HARNESS_DSH_DIR; cwd = install dir." },- "url": { "type": "string", "description": "Template with ${port} and ${artifact} (url-encoded workspace-relative path, or empty)." },+ "command": {+ "type": "string",+ "description": "Long-running; env HARNESS_VIEWER_PORT, HARNESS_WORKSPACE, HARNESS_DSH_DIR; cwd = install dir."+ },+ "url": {+ "type": "string",+ "description": "Template with ${port} and ${artifact} (url-encoded workspace-relative path, or empty)."+ },"artifactExtensions": {"type": "array",- "items": { "type": "string", "pattern": "^\\.[A-Za-z0-9]+$" },+ "items": {+ "type": "string",+ "pattern": "^\\.[A-Za-z0-9]+$"+ },"description": "The newest file under the workspace with one of these extensions is ${artifact} when the verdict names none."}}},- "verdict": { "type": "string", "description": "Workspace-relative path of the verdict file. Default .harness/verdict.json." }+ "verdict": {+ "type": "string",+ "description": "Workspace-relative path of the verdict file. Default .harness/verdict.json."+ }}}diff --git a/dsh/starter-dsh/harness.json b/dsh/starter-dsh/harness.jsonindex 95b7f05b7..5ef577b4e 100644--- a/dsh/starter-dsh/harness.json+++ b/dsh/starter-dsh/harness.json@@ -2,6 +2,7 @@"spec": 1,"id": "autonomous/starter","name": "Starter",+ "category": "Example","description": "The smallest domain-specific harness: a manifest, an AGENTS.md, and one skill.","engine": "claude","workspace": {@@ -11,8 +12,12 @@},"agent": {"instructions": "AGENTS.md",- "skills": ["skills"],- "env": { "STARTER_DSH_DIR": "${dsh}" }+ "skills": [+ "skills"+ ],+ "env": {+ "STARTER_DSH_DIR": "${dsh}"+ }},"toolchain": {"setup": "toolchain/setup.sh",