Skip to content

Commit f482975

Browse files
committed
fix(test): keep help ios-system-ui out of the 30-line first-screen budget
#1404 added a benchmark gate requiring every Agent Workflows pointer to stay within the first 30 lines of bare `agent-device help` output. Adding ios-system-ui to that list pushed help macos to line 31. Drop the AGENT_WORKFLOWS entry; the topic stays fully reachable via its cross-references from help physical-device, help workflow's Escalate section, the agent-device skill router, and website/docs/docs/commands.md.
1 parent 41157ea commit f482975

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

‎src/cli/parser/__tests__/cli-help-topics.test.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,6 @@ test('usage includes agent workflows, config, environment, and examples footers'
183183
usageText,
184184
/agent-device help physical-device\s+Use when using a connected phone\/tablet or iOS signing setup/,
185185
);
186-
assert.match(
187-
usageText,
188-
/agent-device help ios-system-ui\s+Use when driving iOS SpringBoard, widgets, or other system-UI surfaces/,
189-
);
190186
assert.match(
191187
usageText,
192188
/agent-device help react-native\s+Use when the target app is React Native, Expo, or a dev client/,

‎src/cli/parser/cli-help.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ const AGENT_WORKFLOWS = [
5757
label: 'agent-device help physical-device',
5858
description: 'Use when using a connected phone/tablet or iOS signing setup',
5959
},
60-
{
61-
label: 'agent-device help ios-system-ui',
62-
description: 'Use when driving iOS SpringBoard, widgets, or other system-UI surfaces',
63-
},
6460
{
6561
label: 'agent-device help remote',
6662
description: 'Use when working through cloud config, tenants, leases, or local tunnels',

0 commit comments

Comments
 (0)