@floless/app 0.162.1 → 0.163.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/floless-server.cjs +11754 -8096
  2. package/dist/schemas/steel.model.v2.schema.json +16 -2
  3. package/dist/skills/floless-app-actions/SKILL.md +54 -3
  4. package/dist/skills/floless-app-onboarding/SKILL.md +2 -2
  5. package/dist/skills/floless-app-onboarding/references/floless-surfaces.md +8 -6
  6. package/dist/skills/floless-app-report-issue/SKILL.md +12 -1
  7. package/dist/skills/floless-app-rfi/SKILL.md +36 -9
  8. package/dist/skills/floless-app-steel-model/SKILL.md +5 -3
  9. package/dist/skills/floless-app-steel-takeoff/SKILL.md +39 -34
  10. package/dist/skills/floless-app-steel-takeoff/references/elevation-registration.md +10 -6
  11. package/dist/web/agents.js +24 -4
  12. package/dist/web/app.css +45 -7
  13. package/dist/web/app.js +22 -3
  14. package/dist/web/aware.js +157 -43
  15. package/dist/web/chat.css +26 -1
  16. package/dist/web/chat.js +32 -8
  17. package/dist/web/commands-shell.js +190 -4
  18. package/dist/web/commands-steel.js +14 -0
  19. package/dist/web/failure-copy.js +168 -0
  20. package/dist/web/index.html +35 -1
  21. package/dist/web/instructor.js +3 -1
  22. package/dist/web/landing-sort.js +277 -0
  23. package/dist/web/model-editor-steel-adapter.js +3 -0
  24. package/dist/web/model-panel-bridge.js +13 -2
  25. package/dist/web/model-view-query.js +23 -15
  26. package/dist/web/project-access.js +3 -3
  27. package/dist/web/project-rfis.js +250 -7
  28. package/dist/web/project-workflows.js +1 -1
  29. package/dist/web/steel-3d-view.js +8 -1
  30. package/dist/web/steel-editor.html +441 -12
  31. package/dist/web/steel-filter-core.js +2 -0
  32. package/dist/web/steel-filter.html +38 -5
  33. package/dist/web/steel-model-v2-commands.js +3 -1
  34. package/dist/web/steel-profile-colours.js +124 -24
  35. package/dist/web/workspaces.js +243 -38
  36. package/package.json +1 -1
package/dist/web/chat.css CHANGED
@@ -1306,7 +1306,32 @@
1306
1306
  }
1307
1307
  .ai-chat-live-status { min-width: 0; color: var(--text-muted); font: 12px/1.4 var(--ui); }
1308
1308
  .ai-chat-live-status > canvas { flex: none; }
1309
- .ai-chat-live-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1309
+ .ai-chat-live-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-muted); }
1310
+ /* #2865: while the AI is working, a soft band of the theme's own text colour sweeps left to right
1311
+ across the muted label, then rests. Only colour moves: same box, same glyphs, never dimmer than the
1312
+ muted text it starts from. The phase comes from chat.js (--ai-chat-shimmer-delay), pinned to the page
1313
+ clock, because the feed re-attaches this row on every repaint and would otherwise restart it.
1314
+ A wait for the person, a reconnect or an ended turn drops data-activity and the text is plain. */
1315
+ .ai-chat-live-label[data-activity="working"] {
1316
+ background-image: linear-gradient(90deg, var(--text-muted) 0%, var(--text-muted) 38%, var(--text) 50%, var(--text-muted) 62%, var(--text-muted) 100%);
1317
+ /* 300% puts the band wholly outside the text at both ends, so the rest and the loop jump are invisible. */
1318
+ background-size: 300% 100%;
1319
+ background-repeat: no-repeat;
1320
+ background-position: 100% 0;
1321
+ -webkit-background-clip: text;
1322
+ background-clip: text;
1323
+ color: transparent;
1324
+ -webkit-text-fill-color: transparent;
1325
+ animation: ai-chat-live-shimmer 2600ms linear infinite;
1326
+ animation-delay: var(--ai-chat-shimmer-delay, 0ms);
1327
+ }
1328
+ @keyframes ai-chat-live-shimmer { 0% { background-position: 100% 0; } 75%, 100% { background-position: 0 0; } }
1329
+ @media (prefers-reduced-motion: reduce) {
1330
+ .ai-chat-live-label[data-activity="working"] { animation: none; background: none; color: var(--text-muted); -webkit-text-fill-color: currentColor; }
1331
+ }
1332
+ @media (forced-colors: active) {
1333
+ .ai-chat-live-label[data-activity="working"] { animation: none; background: none; color: CanvasText; -webkit-text-fill-color: currentColor; }
1334
+ }
1310
1335
  .ai-chat-live-dots { display: inline-flex; gap: 3px; }
1311
1336
  .ai-chat-live-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); animation: ai-chat-dot 1.1s ease-in-out infinite; }
1312
1337
  .ai-chat-live-dots i:nth-child(2) { animation-delay: .16s; }
package/dist/web/chat.js CHANGED
@@ -9397,12 +9397,21 @@
9397
9397
  // #2848: describe only work whose lifetime the provider actually reports. Claude's starts have no
9398
9398
  // matching ends, so its label stays generic (its existing avatar heuristic is separate). Never lift
9399
9399
  // commands, inputs, reasoning or earlier assistant narration into a claim about current work.
9400
- function liveActivityText() {
9401
- if (!turnIsVisiblyActive()) return '';
9402
- if (state.source && state.source.readyState !== 1) return 'Reconnecting to this conversation…';
9400
+ // #2865: `working` says the AI is busy right now, so the label may carry its light sweep. A wait for
9401
+ // the person and a lost connection are not progress, and an ended turn has no label at all.
9402
+ const LIVE_SHIMMER_MS = 2600; // the .ai-chat-live-label[data-activity="working"] animation length in chat.css
9403
+ function liveActivity() {
9404
+ if (!turnIsVisiblyActive()) return { text: '', working: false };
9405
+ if (state.source && state.source.readyState !== 1) return { text: 'Reconnecting to this conversation…', working: false };
9403
9406
  if (state.chat?.state === 'awaiting-approval' || state.chat?.pendingApproval) {
9404
- return state.chat?.pendingApproval?.kind === 'question' ? 'Waiting for your answer…' : 'Waiting for your approval…';
9407
+ return { text: state.chat?.pendingApproval?.kind === 'question' ? 'Waiting for your answer…' : 'Waiting for your approval…', working: false };
9405
9408
  }
9409
+ // Once the person pressed Stop the work is being cancelled, so the label keeps its words but not the sweep.
9410
+ const stopping = typeof stopRequestKey === 'function' && state.pendingStops?.has?.(stopRequestKey());
9411
+ return { text: liveWorkText(), working: !stopping };
9412
+ }
9413
+ function liveActivityText() { return liveActivity().text; }
9414
+ function liveWorkText() {
9406
9415
  if (state.chat?.provider !== 'codex') return 'Processing your request…';
9407
9416
  const running = new Map();
9408
9417
  for (const event of state.events || []) {
@@ -9452,8 +9461,19 @@
9452
9461
  const mood = liveFloMood();
9453
9462
  state.liveFlo.item.dataset.mood = mood;
9454
9463
  state.liveFlo.flo?.setMood(mood, mood === 'working');
9455
- const text = liveActivityText();
9456
- if (state.liveFlo.label.textContent !== text) state.liveFlo.label.textContent = text;
9464
+ const { text, working } = liveActivity();
9465
+ const label = state.liveFlo.label;
9466
+ if (label.textContent !== text) label.textContent = text;
9467
+ // #2865: the sweep is pure CSS on this kept label, switched only when the phase changes. The feed
9468
+ // re-attaches the row on every repaint, which restarts a CSS animation from its first frame, so the
9469
+ // phase is pinned to the page clock: each re-attach resumes exactly where the sweep already was.
9470
+ if (working) {
9471
+ const now = Number(globalThis.document?.timeline?.currentTime ?? globalThis.performance?.now?.() ?? 0) || 0;
9472
+ label.style.setProperty('--ai-chat-shimmer-delay', `-${Math.floor(now % LIVE_SHIMMER_MS)}ms`);
9473
+ }
9474
+ if ((label.dataset.activity === 'working') !== working) {
9475
+ if (working) label.dataset.activity = 'working'; else delete label.dataset.activity;
9476
+ }
9457
9477
  return state.liveFlo.item;
9458
9478
  }
9459
9479
 
@@ -9465,7 +9485,7 @@
9465
9485
  state.liveActivityAnnouncement = null;
9466
9486
  if (state.liveActivityTimer) clearTimeout(state.liveActivityTimer);
9467
9487
  state.liveActivityTimer = null;
9468
- if (state.liveFlo) state.liveFlo.label.textContent = '';
9488
+ if (state.liveFlo) { state.liveFlo.label.textContent = ''; delete state.liveFlo.label.dataset.activity; }
9469
9489
  // The screen-reader announcement is a transient status. Once the durable turn ends,
9470
9490
  // leaving its text behind makes the finished chat sound as though it is still working.
9471
9491
  // Cleared once, when that turn ends — not on every idle repaint: the 5 s poll repaints the
@@ -14395,6 +14415,8 @@
14395
14415
  // even when a request from a conversation the person has left is the one that just settled.
14396
14416
  function paintStopState() {
14397
14417
  const pending = state.chat && state.pendingStops.get(stopRequestKey());
14418
+ // #2865: the kept live row stops its sweep the moment Stop is pressed, without waiting for a repaint.
14419
+ if (state.liveFlo && turnIsVisiblyActive()) renderLiveStatus();
14398
14420
  for (const control of [ui.stop, ui.recoveryStop]) {
14399
14421
  control.disabled = Boolean(pending);
14400
14422
  if (pending) {
@@ -16021,10 +16043,12 @@
16021
16043
  ui.input.focus();
16022
16044
  }
16023
16045
 
16024
- async function openDraft(draft) {
16046
+ async function openDraft(draft, { ownerKey = null } = {}) {
16025
16047
  if (typeof draft !== 'string' || !draft.trim()) return;
16026
16048
  await refreshScope();
16027
16049
  if (!state.scope?.owner) throw new Error('Open a project or workflow before asking AI Chat about a local tool.');
16050
+ // #2764: a request written for one conversation is never put into another the person opened while it was on its way.
16051
+ if (ownerKey && scopeKey(state.scope) !== ownerKey) throw new Error('AI Chat moved to another conversation.');
16028
16052
  window.flolessBridge?.revealAiChat?.();
16029
16053
  ui.tab.click();
16030
16054
  if (!state.chat || state.chat.activeTurn || state.chat.archivedAt || state.chat.state === 'recovery') {
@@ -1088,6 +1088,32 @@
1088
1088
  why: 'Archived workflows are put away, not deleted. Open the list to see them and use Restore on a card to bring one back.',
1089
1089
  });
1090
1090
 
1091
+ // #2866: one Sort by control and one direction button on the Workspaces, Workflows and Agents landings.
1092
+ def('shell.landing-sort', {
1093
+ label: 'Sort by',
1094
+ actsOn: 'Chooses how the cards on the {instance} page are ordered inside each section: by name, by the date each was created, or by the date each last changed. Sections keep their order and stay open or closed as you left them',
1095
+ anyInstance: 'Workspaces, Workflows or Agents',
1096
+ group: 'On the landing pages',
1097
+ key: 'Enter, Space or Down arrow opens the list; Up and Down arrow move; Enter chooses; Esc closes',
1098
+ persistence: 'local',
1099
+ interaction: 'instant',
1100
+ risk: [],
1101
+ guidance: 'on-demand',
1102
+ why: 'Sorting only changes the order on screen; nothing is changed or saved in your projects, workflows or agents. FloLess remembers the choice for each page in this browser. A card with no recorded date, such as an installed workflow, is listed after the dated ones, by name.',
1103
+ });
1104
+
1105
+ def('shell.landing-sort-direction', {
1106
+ label: 'Sort direction',
1107
+ actsOn: 'Switches the cards on the {instance} page between A to Z and Z to A for names, or between oldest first and newest first for dates. Cards with no recorded date stay last, in name order',
1108
+ anyInstance: 'Workspaces, Workflows or Agents',
1109
+ group: 'On the landing pages',
1110
+ persistence: 'local',
1111
+ interaction: 'instant',
1112
+ risk: [],
1113
+ guidance: 'on-demand',
1114
+ why: 'Choosing another Sort by field starts it in its usual direction: names A to Z, dates newest first.',
1115
+ });
1116
+
1091
1117
  def('shell.workflows-landing-search-clear', {
1092
1118
  label: 'Clear search',
1093
1119
  actsOn: 'Empties the workflow search and shows every workflow card again',
@@ -1520,7 +1546,33 @@
1520
1546
  interaction: 'instant',
1521
1547
  risk: [],
1522
1548
  guidance: 'on-demand',
1523
- why: 'Quick model: the AI answers the drawing questions itself, records every decision it makes, and labels the model as a Quick model. You still decide on the Drawing Filter and on the review. Precise model: the AI asks you, as usual.',
1549
+ why: 'Quick model: the AI answers the drawing questions itself, records every decision it makes, and labels the model as a Quick model. You still decide on the Drawing Filter, unless you let the AI choose it, and on the review. Precise model: the AI asks you, as usual.',
1550
+ });
1551
+
1552
+ // #2521 row 2c: with Quick, who decides the Drawing Filter for the first read.
1553
+ def('shell.project-filter-choice', {
1554
+ label: 'Drawing Filter: {instance}',
1555
+ anyInstance: 'Review and save it myself, or Let the AI choose',
1556
+ actsOn: 'With Quick model, chooses whether you review and save the Drawing Filter for the first read, or let the AI choose which sheets and areas are read',
1557
+ group: 'In the new project dialog',
1558
+ persistence: 'none',
1559
+ interaction: 'instant',
1560
+ risk: [],
1561
+ guidance: 'on-demand',
1562
+ why: 'The Drawing Filter decides which sheets, line weights, layers and colours the read uses. If the AI chooses it, the choice is recorded and labelled as the AI’s, never as your Save, and you can review it and save it yourself in the Drawing Filter later. Precise model always waits for your Save.',
1563
+ });
1564
+
1565
+ // #2521 row 2c, Revision 3 (owner ruling 2026-10-26): with "Let the AI choose", who approves what the read leaves out.
1566
+ def('shell.project-filter-exclusions', {
1567
+ label: 'What the read leaves out: {instance}',
1568
+ anyInstance: 'Let the AI approve them too, or I’ll approve them myself',
1569
+ actsOn: 'When the AI chooses the Drawing Filter, chooses whether it also approves the lines the read leaves out, or the read stops for you whenever its Filter leaves lines out',
1570
+ group: 'In the new project dialog',
1571
+ persistence: 'none',
1572
+ interaction: 'instant',
1573
+ risk: [],
1574
+ guidance: 'on-demand',
1575
+ why: 'The Filter also decides which lines the read leaves out, dismissed as a group without a reason for each. Letting the AI approve them keeps the Quick model quick, and its approval is recorded as its own. Keeping it yourself means the read waits for your Save whenever the AI’s Filter leaves lines out.',
1524
1576
  });
1525
1577
 
1526
1578
  // #2521 row 7b: the same choice when drawings are read into an existing Steel model project.
@@ -1965,7 +2017,7 @@
1965
2017
  interaction: 'instant',
1966
2018
  risk: [],
1967
2019
  guidance: 'on-demand',
1968
- why: 'The steps run left to right and depend on the kind of project — what it knows, what it was drawn from and its model when it has one, its workflows, what comes out, and what happened.',
2020
+ why: 'The steps run left to right and depend on the kind of project — what it knows, what it was drawn from and its model when it has one, what comes out, its workflows, and what happened.',
1969
2021
  });
1970
2022
 
1971
2023
  def('shell.export-run', {
@@ -2063,7 +2115,7 @@
2063
2115
  interaction: 'instant',
2064
2116
  risk: [],
2065
2117
  guidance: 'on-demand',
2066
- why: 'Collapse keeps a single status line and makes more room for the drawing. Expand shows all checks, warnings and next actions. Your choice lasts for this project in this window; the drawing read keeps running.',
2118
+ why: 'The chevron in the progress strip’s top-right corner points down while the strip is open and right while it is folded. Collapse keeps a single status line, in the same Done, Now, Heads up, Next order, and makes more room for the drawing. Expand shows all checks, warnings and next actions. Your choice lasts for this project in this window; the drawing read keeps running.',
2067
2119
  });
2068
2120
 
2069
2121
  def('shell.revision-filter-open', {
@@ -2564,6 +2616,10 @@
2564
2616
  actsOn: 'Opens the Knowledge step, where the drawings you just attached are listed as an issue',
2565
2617
  group: 'In the project workspace', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2566
2618
  });
2619
+ def('shell.compile-refusal-ask-ai', {
2620
+ label: 'Ask AI to fix', actsOn: 'Writes a request to fix a workflow AWARE would not compile into AI Chat, with AWARE’s reason, for you to send',
2621
+ group: 'On the Workflows page', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2622
+ });
2567
2623
  def('shell.report-ready-open', {
2568
2624
  label: 'Open the report', actsOn: 'Opens the report a workflow run made while its viewer was closed',
2569
2625
  group: 'On the Workflows page', persistence: 'none', interaction: 'dialog', risk: [], guidance: 'on-demand',
@@ -2925,7 +2981,7 @@
2925
2981
  persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand',
2926
2982
  });
2927
2983
  def('shell.workflow-draft-retry', {
2928
- label: 'Try again', actsOn: 'Tries compiling this workflow again', group: 'On the Workflows page',
2984
+ label: 'Compile again', actsOn: 'Compiles this workflow again, after its file was fixed', group: 'On the Workflows page',
2929
2985
  persistence: 'approved', interaction: 'instant', risk: [], guidance: 'on-demand',
2930
2986
  });
2931
2987
  // ── #2007: the Agents tab ──
@@ -5186,6 +5242,136 @@
5186
5242
  why: 'Use this only after finding the reference line in the right account’s Sent folder. It records that check and sends nothing. Until then the RFI is held, so its history stays true.',
5187
5243
  });
5188
5244
 
5245
+ def('shell.project-rfis-gmail-settle', {
5246
+ label: 'I didn’t find {instance}…',
5247
+ actsOn: 'Opens the ways out of a Gmail send FloLess couldn’t confirm: send it again, record that you sent it another way, or leave it unconfirmed',
5248
+ anyInstance: 'an RFI',
5249
+ group: RFIS_STEP,
5250
+ persistence: 'none',
5251
+ interaction: 'instant',
5252
+ risk: [],
5253
+ guidance: 'on-demand',
5254
+ });
5255
+
5256
+ def('shell.project-rfis-gmail-leave-earlier', {
5257
+ label: 'Leave the earlier send of {instance} unconfirmed…',
5258
+ actsOn: 'Opens the one way out of an earlier Gmail send that still holds the RFI: leave it unconfirmed',
5259
+ anyInstance: 'an RFI',
5260
+ group: RFIS_STEP,
5261
+ persistence: 'none',
5262
+ interaction: 'instant',
5263
+ risk: [],
5264
+ guidance: 'on-demand',
5265
+ });
5266
+
5267
+ def('shell.project-rfi-settle-way', {
5268
+ label: '{instance}',
5269
+ actsOn: 'Chooses how to settle the Gmail send FloLess couldn’t confirm',
5270
+ anyInstance: 'a way to settle it',
5271
+ group: RFIS_STEP,
5272
+ persistence: 'none',
5273
+ interaction: 'instant',
5274
+ risk: [],
5275
+ guidance: 'on-demand',
5276
+ });
5277
+
5278
+ def('shell.project-rfi-settle-via', {
5279
+ label: '{instance}',
5280
+ actsOn: 'Says whether you sent the RFI by email or another way',
5281
+ anyInstance: 'a channel',
5282
+ group: RFIS_STEP,
5283
+ persistence: 'none',
5284
+ interaction: 'instant',
5285
+ risk: [],
5286
+ guidance: 'on-demand',
5287
+ });
5288
+
5289
+ def('shell.project-rfi-settle-to', {
5290
+ label: 'Who {instance} went to',
5291
+ actsOn: 'The email address you sent the RFI to yourself. FloLess records it and sends nothing',
5292
+ anyInstance: 'an RFI',
5293
+ group: RFIS_STEP,
5294
+ persistence: 'none',
5295
+ interaction: 'instant',
5296
+ risk: [],
5297
+ guidance: 'on-demand',
5298
+ });
5299
+
5300
+ def('shell.project-rfi-settle-how', {
5301
+ label: 'How {instance} was sent',
5302
+ actsOn: 'A few words on how you sent the RFI, when it was not by email',
5303
+ anyInstance: 'an RFI',
5304
+ group: RFIS_STEP,
5305
+ persistence: 'none',
5306
+ interaction: 'instant',
5307
+ risk: [],
5308
+ guidance: 'on-demand',
5309
+ });
5310
+
5311
+ def('shell.project-rfi-settle-submit', {
5312
+ label: 'Settle the send of {instance}',
5313
+ actsOn: 'Does what you chose for the unconfirmed send: records it as sent another way, leaves it unconfirmed, or asks before sending it again',
5314
+ anyInstance: 'an RFI',
5315
+ group: RFIS_STEP,
5316
+ persistence: 'external',
5317
+ interaction: 'instant',
5318
+ risk: ['destructive'],
5319
+ guidance: 'on-demand',
5320
+ why: 'Each choice is final and stays in the RFI’s history. Sending it again asks you first, because the engineer may get it twice.',
5321
+ });
5322
+
5323
+ def('shell.project-rfi-settled-history', {
5324
+ label: 'Sends of {instance} not confirmed',
5325
+ actsOn: 'Shows or hides the Gmail sends FloLess couldn’t confirm, and what was chosen for each',
5326
+ anyInstance: 'an RFI',
5327
+ group: RFIS_STEP,
5328
+ persistence: 'none',
5329
+ interaction: 'instant',
5330
+ risk: [],
5331
+ guidance: 'on-demand',
5332
+ });
5333
+
5334
+ def('shell.project-rfis-gmail-again-to', {
5335
+ label: 'Send it again to',
5336
+ actsOn: 'The address Gmail sends the RFI to again',
5337
+ group: RFIS_STEP,
5338
+ persistence: 'none',
5339
+ interaction: 'instant',
5340
+ risk: [],
5341
+ guidance: 'on-demand',
5342
+ });
5343
+
5344
+ def('shell.project-rfis-gmail-again-tick', {
5345
+ label: 'I understand they may get it twice',
5346
+ actsOn: 'Your confirmation that the engineer may receive the RFI twice. Only you can give it',
5347
+ group: RFIS_STEP,
5348
+ persistence: 'none',
5349
+ interaction: 'instant',
5350
+ risk: [],
5351
+ guidance: 'on-demand',
5352
+ });
5353
+
5354
+ def('shell.project-rfis-gmail-again-cancel', {
5355
+ label: 'Cancel',
5356
+ actsOn: 'Closes Send it again without sending anything',
5357
+ group: RFIS_STEP,
5358
+ persistence: 'none',
5359
+ interaction: 'instant',
5360
+ risk: [],
5361
+ guidance: 'on-demand',
5362
+ });
5363
+
5364
+ def('shell.project-rfis-gmail-again-send', {
5365
+ label: 'Send again with Gmail',
5366
+ actsOn: 'Settles the unconfirmed send and sends the RFI as a new email from the connected Google account',
5367
+ group: RFIS_STEP,
5368
+ persistence: 'external',
5369
+ interaction: 'instant',
5370
+ risk: ['destructive'],
5371
+ guidance: 'on-demand',
5372
+ why: 'Gmail may already have sent the first one, so the engineer may get it twice. It sends only after you tick that you understand.',
5373
+ });
5374
+
5189
5375
  def('shell.project-rfis-gmail-marker', {
5190
5376
  label: 'Copy the search text of {instance}',
5191
5377
  actsOn: 'Copies the reference line to search for in the Sent folder',
@@ -2355,6 +2355,20 @@
2355
2355
  def('steel.rfi-gmail-submit', { label: 'Send with Gmail', actsOn: 'Sends {instance} through the connected Google account', group: 'In a steel project’s RFIs step', persistence: 'external', interaction: 'instant', risk: ['destructive'], guidance: 'on-demand', why: 'This cannot be undone. Focus stays on this RFI while Gmail works, then returns to an available action on the same row. Acceptance does not prove inbox delivery.' });
2356
2356
  def('steel.rfi-gmail-continue', { label: 'Continue recording this send', actsOn: 'Continues the exact prepared Gmail attempt for {instance}', group: 'In a steel project’s RFIs step', persistence: 'external', interaction: 'instant', risk: ['destructive'], guidance: 'on-demand', why: 'This may finish the already-prepared Gmail delivery, so it is the same irreversible send, never a new attempt. Focus stays on this action while it runs, then returns to the same RFI.' });
2357
2357
  def('steel.rfi-gmail-confirm-sent', { label: 'I found it in Sent', actsOn: 'Records that the exact Gmail attempt for {instance} is visible in the connected account’s Sent folder', group: 'In a steel project’s RFIs step', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Use this only after matching the RFI and attempt marker in the correct sender’s Sent folder. It records that check and returns focus to the same RFI; it does not send another message.' });
2358
+ // #2470 R6.6e: the ways out of a Gmail send FloLess could not confirm.
2359
+ def('steel.rfi-gmail-settle', { label: 'I didn’t find it…', actsOn: 'Opens the ways out of the unconfirmed Gmail send of {instance}: send it again, record that you sent it another way, or leave it unconfirmed', group: 'In a steel project’s RFIs step', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Nothing is chosen for you and nothing happens until you choose. Each way is final and stays in the RFI’s history as not confirmed.' });
2360
+ def('steel.rfi-gmail-leave-earlier', { label: 'Leave it unconfirmed…', actsOn: 'Opens the one way out of an earlier Gmail send that still holds {instance}', group: 'In a steel project’s RFIs step', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'That send is from before the RFI last changed, so sending it again or recording it would describe an older question. Leaving it unconfirmed frees the RFI and says so in its history.' });
2361
+ def('steel.rfi-settle-way', { label: '{instance}', actsOn: 'Chooses how to settle the unconfirmed Gmail send', group: 'In a steel project’s RFIs step', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
2362
+ def('steel.rfi-settle-via', { label: '{instance}', actsOn: 'Says whether you sent the RFI by email or another way', group: 'In a steel project’s RFIs step', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
2363
+ def('steel.rfi-settle-to', { label: 'Who it went to', actsOn: 'The email address you sent {instance} to yourself. FloLess records it and sends nothing', group: 'In a steel project’s RFIs step', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
2364
+ def('steel.rfi-settle-how', { label: 'How it was sent', actsOn: 'A few words on how you sent {instance}, when it was not by email', group: 'In a steel project’s RFIs step', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
2365
+ def('steel.rfi-settle-cancel', { label: 'Cancel', actsOn: 'Closes the ways out for {instance} without changing anything', group: 'In a steel project’s RFIs step', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
2366
+ def('steel.rfi-settle-submit', { label: 'Settle the send', actsOn: 'Does what you chose for the unconfirmed send of {instance}', group: 'In a steel project’s RFIs step', persistence: 'external', interaction: 'instant', risk: ['destructive'], guidance: 'on-demand', why: 'Each choice is final and stays in the RFI’s history. Sending it again asks you first, because the engineer may get it twice.' });
2367
+ def('steel.rfi-settled-history', { label: 'Not confirmed', actsOn: 'Shows or hides the Gmail sends of {instance} FloLess couldn’t confirm, and what was chosen for each', group: 'In a steel project’s RFIs step', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
2368
+ def('steel.rfi-gmail-again-to', { label: 'Send it again to', actsOn: 'The address Gmail sends the RFI to again', group: 'In a steel project’s RFIs step', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
2369
+ def('steel.rfi-gmail-again-tick', { label: 'I understand they may get it twice', actsOn: 'Your confirmation that the engineer may receive the RFI twice. Only you can give it', group: 'In a steel project’s RFIs step', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
2370
+ def('steel.rfi-gmail-again-cancel', { label: 'Cancel', actsOn: 'Closes Send it again without sending anything', group: 'In a steel project’s RFIs step', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
2371
+ def('steel.rfi-gmail-again-send', { label: 'Send again with Gmail', actsOn: 'Settles the unconfirmed send and sends the RFI as a new email from the connected Google account', group: 'In a steel project’s RFIs step', persistence: 'external', interaction: 'instant', risk: ['destructive'], guidance: 'on-demand', why: 'Gmail may already have sent the first one, so the engineer may get it twice. It sends only after you tick that you understand.' });
2358
2372
  def('steel.rfi-answer', { label: 'Answer', actsOn: 'Opens the form that records the answer to {instance}', group: 'In a steel project’s RFIs step', persistence: 'external', interaction: 'mode', risk: [], guidance: 'active-command', steps: ['Write what came back, or pick the section', 'Choose Answer to record it'], escLabel: 'Esc closes the form — nothing is recorded', why: 'A question about a size takes a section designation rather than a sentence, because FloLess has to compare it against the model later. Every other kind takes the words the engineer actually sent back.' });
2359
2373
  def('steel.rfi-apply', { label: 'Mark applied', actsOn: 'Records that the model now carries the size answered on {instance}', group: 'In a steel project’s RFIs step', persistence: 'external', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'FloLess records that the answer reached the steel; it does not write it for you. Set the size with the box on this row first — then this checks the model really carries it and stamps the receipt that lets the RFI close as resolved. Offered only once an answer exists and the model agrees.' });
2360
2374
  def('steel.rfi-close', { label: 'Close', actsOn: 'Opens the form that closes {instance}', group: 'In a steel project’s RFIs step', persistence: 'external', interaction: 'mode', risk: [], guidance: 'active-command', steps: ['Choose how it ended', 'Give a short reason', 'Choose Close to record it'], escLabel: 'Esc closes the form — the RFI stays open', why: 'A closed RFI stays on the project and stays readable; it leaves the Open filter, not the record. Only the endings this particular question can actually have are offered — a size question ends by the size reaching the model, never by accepting an answer on paper.' });
@@ -0,0 +1,168 @@
1
+ // Failure copy (#2868): the one place that turns what the server said about a failed request into the sentence a
2
+ // person reads. Pure: no DOM, no fetch. app.js shows it (showFailureToast); web/workspaces.js, web/aware.js and
3
+ // web/agents.js call it from their catch blocks; server/failure-copy-ui.test.ts drives it in Node through
4
+ // module.exports.
5
+ //
6
+ // Why it exists: catch blocks used to throw the server's facts away and print one generic line ("Check the files and
7
+ // try again", "Try again. If it keeps happening, reopen FloLess"). A project busy preparing drawings then read as a bad
8
+ // file. Every sentence here has three parts, and each part is only said when it is known:
9
+ // 1. the outcome, when the route PROVES it ("Nothing was added."), else "Couldn't <action>.";
10
+ // 2. the cause, in FloLess words, from the server's structured facts (code, busy holder, status), never its raw text;
11
+ // 3. a next step that can actually work for that cause.
12
+ //
13
+ // Rules owned here:
14
+ // - `nothingDone` is the caller's claim that the route refuses this kind of failure BEFORE changing anything (a busy
15
+ // lock is refused before its work runs; a bad upload is rejected before it is stored). It is said only for those
16
+ // kinds — never for a lost connection or an unexpected failure, where the outcome is unknown and `unsure` says so.
17
+ // - No time estimates: a lock's estimate can be a fixed cap (drawing preparation holds a 2-hour one), and "about 119
18
+ // minutes left" would be a number FloLess made up.
19
+ // - Server-authored person copy (`userMessage`, a per-file `reason`) is shown as written; the server's `error` text
20
+ // is not, because on most routes it is written for a developer.
21
+
22
+ /* Busy refusals: another operation holds the project or workflow. Each is refused before its own work starts. */
23
+ const FAILURE_BUSY_CODES = new Set(['lifecycle-busy', 'project-busy', 'steel-manifest-preparation-busy', 'lifecycle-lock-deadline']);
24
+
25
+ /* Holder labels whose plain wording is better than "is busy <label>". `until` completes "… when <until>." */
26
+ const FAILURE_BUSY_WORK = {
27
+ 'inspecting steel drawings': { work: 'FloLess is preparing this project’s drawings', until: 'that finishes' },
28
+ 'starting the first drawing read of a new project': { work: 'FloLess is starting this project’s first drawing read', until: 'that finishes' },
29
+ };
30
+
31
+ /* Codes for "this changed somewhere else after the screen loaded". */
32
+ const FAILURE_STALE = /(?:^|-)(?:changed|stale|superseded|retired|discarded)$/;
33
+
34
+ /* Mirrors subjectFor() in server/lifecycle-lock.ts, so the toast names what the server's lock names. */
35
+ function failureSubject(kind) {
36
+ if (kind === 'project' || kind === 'revit-project') return 'This project';
37
+ if (kind === 'app') return 'This workflow';
38
+ if (kind === 'steel-extraction') return 'Steel drawing preparation';
39
+ if (kind === 'managed-runtime') return 'This AI runtime';
40
+ if (kind === 'page') return 'This Page';
41
+ if (kind === 'page-shares') return 'Your shared links';
42
+ return 'This app';
43
+ }
44
+
45
+ /* The messages browsers give a fetch that got no answer (Chrome, Firefox, Safari, Node). A TypeError with any other
46
+ * message is a bug in the page (`undefined.x`), not a lost connection. */
47
+ const FAILURE_FETCH_FAILED = /failed to fetch|networkerror|load failed|network request failed|fetch failed/i;
48
+
49
+ /** What kind of failure this is: busy, stale, invalid, missing, outdated, connection, access or unexpected. */
50
+ function failureKind(error) {
51
+ const body = error && error.body && typeof error.body === 'object' ? error.body : {};
52
+ const code = typeof body.code === 'string' ? body.code : '';
53
+ const status = Number(error && error.status) || 0;
54
+ if (code === 'maintenance-busy' || FAILURE_BUSY_CODES.has(code) || (status === 409 && body.busy && typeof body.busy === 'object')) return 'busy';
55
+ if (status === 401 || status === 402 || body.error === 'subscription required') return 'access';
56
+ // No answer at all (fetch refused, timed out), or an answer that is not FloLess's own JSON. A 5xx FloLess wrote itself
57
+ // carries `ok: false` and is a failure FloLess reported, not a lost connection.
58
+ // An Error with no status that is not one of those (a check in the browser threw) is unexpected, not a lost connection.
59
+ const name = error && error.name;
60
+ const fetchFailed = name === 'TypeError' && FAILURE_FETCH_FAILED.test(String(error && error.message));
61
+ const noAnswer = !status && (fetchFailed || name === 'AbortError' || name === 'TimeoutError' || name === 'NetworkError');
62
+ if (noAnswer || code === 'response-unreadable' || ((status === 502 || status === 503 || status === 504) && body.ok === undefined)) return 'connection';
63
+ if (code === 'aware-too-old') return 'outdated';
64
+ if (status === 403) return 'access';
65
+ if (code && FAILURE_STALE.test(code)) return 'stale';
66
+ if (status === 404) return 'missing';
67
+ if (status === 400 || status === 413 || status === 422) return 'invalid';
68
+ return 'unexpected';
69
+ }
70
+
71
+ /** The busy cause and when to come back, from the lock's holder label. Labels that are not a plain gerund phrase
72
+ * ("unreconciled workspace operation") read as other work rather than as a broken sentence. */
73
+ function failureBusyParts(body) {
74
+ if (body.code === 'steel-manifest-preparation-busy') return { work: 'FloLess is already preparing these drawings', until: 'that finishes' };
75
+ const busy = body.busy && typeof body.busy === 'object' ? body.busy : {};
76
+ const label = typeof busy.label === 'string' ? busy.label.trim() : '';
77
+ if (FAILURE_BUSY_WORK[label]) return FAILURE_BUSY_WORK[label];
78
+ const subject = failureSubject(busy.kind);
79
+ const is = busy.kind === 'page-shares' ? 'are' : 'is';
80
+ if (/^[a-z]+ing\b/.test(label) && label.length <= 60) return { work: `${subject} ${is} busy ${label}`, until: 'that finishes' };
81
+ return { work: `${subject} ${is} busy with other work`, until: 'it finishes' };
82
+ }
83
+
84
+ function failureSentence(text) {
85
+ const t = String(text || '').trim();
86
+ return !t ? '' : /[.!?]$/.test(t) ? t : `${t}.`;
87
+ }
88
+
89
+ /**
90
+ * The person's sentence for a failed request, and how loud it should be.
91
+ * @param {any} error the error api() threw: { status, body } (body = the server's JSON), or a TypeError for no answer.
92
+ * @param {{ action?: string, nothingDone?: string, unsure?: string, retry?: string, retrySafe?: boolean, account?: (e: any) => string }} [ctx]
93
+ * action — completes "Couldn't …" ("add these files"). Defaults to "finish that".
94
+ * nothingDone — the proven outcome for a refusal ("Nothing was added."); see the rules at the top of this file.
95
+ * unsure — the next step when the outcome is unknown ("Check the references list before adding them again.").
96
+ * retry — the retry phrase for a busy refusal ("Try adding the files again").
97
+ * retrySafe — the action only reads (refresh a list), so an unexplained failure may say "Try once more"; without
98
+ * it the outcome of an unexplained failure is unknown and a retry is not recommended blindly.
99
+ * account — the sign-in sentence for a 402 (aware.js accountAccessText), so every surface says the same.
100
+ * @returns {{ kind: string, type: 'warn'|'err', text: string }}
101
+ */
102
+ function failureCopy(error, ctx) {
103
+ const c = ctx || {};
104
+ const body = error && error.body && typeof error.body === 'object' ? error.body : {};
105
+ const kind = failureKind(error);
106
+ const action = c.action || 'finish that';
107
+ const lead = `Couldn’t ${action}.`;
108
+ const refused = failureSentence(c.nothingDone) || lead;
109
+ const said = (s) => s.filter(Boolean).join(' ');
110
+ const userMessage = typeof body.userMessage === 'string' ? body.userMessage.trim() : '';
111
+ const reason = typeof body.reason === 'string' ? body.reason.trim() : '';
112
+ if (kind === 'busy') {
113
+ if (body.code === 'maintenance-busy' && typeof body.message === 'string' && body.message.trim()) {
114
+ return { kind, type: 'warn', text: said([refused, failureSentence(body.message)]) };
115
+ }
116
+ const { work, until } = failureBusyParts(body);
117
+ return { kind, type: 'warn', text: said([refused, `${work}.`, `${c.retry || 'Try again'} when ${until}.`]) };
118
+ }
119
+ if (kind === 'access') {
120
+ const account = typeof c.account === 'function' ? c.account(error) : '';
121
+ if (account) return { kind, type: 'warn', text: account };
122
+ if (userMessage) return { kind, type: 'warn', text: said([refused, failureSentence(userMessage)]) };
123
+ if (Number(error && error.status) === 403) {
124
+ return { kind, type: 'warn', text: said([refused, 'FloLess doesn’t allow this from here.', 'If you expected it to work, use Report an issue at the bottom of the window.']) };
125
+ }
126
+ return { kind, type: 'warn', text: said([refused, 'Your FloLess sign-in needs attention.', 'Sign in to FloLess again, then try again.']) };
127
+ }
128
+ if (kind === 'connection') {
129
+ // The request may have reached FloLess before the answer was lost, so only a read-only action is told to try again.
130
+ if (c.retrySafe) return { kind, type: 'err', text: said([lead, 'FloLess stopped answering before it finished.', 'Make sure FloLess is still running, then try again.']) };
131
+ return { kind, type: 'err', text: said([lead, 'FloLess stopped answering before it finished.', 'Make sure FloLess is still running.',
132
+ failureSentence(c.unsure) || 'FloLess can’t tell whether it went through, so check before trying again.']) };
133
+ }
134
+ // A refusal the server wrote for the person. Not for an unexpected failure: a 5xx is not a considered answer, and
135
+ // the person is told the reason is unknown rather than a sentence that may describe something else (#2764).
136
+ if (userMessage && kind !== 'unexpected') return { kind, type: 'warn', text: said([refused, failureSentence(userMessage)]) };
137
+ if (kind === 'outdated') {
138
+ return { kind, type: 'err', text: said([refused, 'The AWARE runtime on this computer is too old for it.', 'Update AWARE, then try again.']) };
139
+ }
140
+ if (kind === 'stale') {
141
+ return { kind, type: 'warn', text: said([refused, 'It was changed somewhere else after this screen loaded.', 'Reload this window to see the latest, then try again.']) };
142
+ }
143
+ // Missing: never the caller's "still there" claim, because the thing it names is exactly what is gone.
144
+ if (kind === 'missing') {
145
+ return { kind, type: 'warn', text: said([lead,'It is no longer there; it may have been removed in another window.', 'Reload this window to see what is there now.']) };
146
+ }
147
+ // Invalid: a per-file `reason` and a 413 are rejected before anything is stored, so the outcome claim holds; any other
148
+ // 400 may come from a check that runs after a write, so it only says what could not be done.
149
+ if (kind === 'invalid') {
150
+ if (reason) return { kind, type: 'warn', text: said([refused, failureSentence(reason)]) };
151
+ if (Number(error && error.status) === 413) return { kind, type: 'warn', text: said([refused, 'It is too large for FloLess to take.', 'Choose a smaller one.']) };
152
+ // The outcome is not proven here either, so a change is not told to "try again" blindly.
153
+ if (c.retrySafe) return { kind, type: 'warn', text: said([lead, 'FloLess couldn’t use what was sent.', 'Check what you entered or chose, then try again.']) };
154
+ return { kind, type: 'warn', text: said([lead, 'FloLess couldn’t use what was sent.', 'Check what you entered or chose.',
155
+ failureSentence(c.unsure) || 'If any of it may have gone through, check before trying again.']) };
156
+ }
157
+ // Unexpected: say plainly that the reason is unknown. The outcome is unknown too, so a retry is offered only for an
158
+ // action that just reads (`retrySafe`); for a change, retrying blindly could do it twice, so the person is asked to
159
+ // check first, in the caller's words when it knows where to look (`unsure`).
160
+ const report = 'If it keeps happening, use Report an issue at the bottom of the window.';
161
+ if (c.retrySafe) return { kind, type: 'err', text: said([`Couldn’t ${action}, and FloLess couldn’t tell why.`, 'Try once more.', report]) };
162
+ const unsure = failureSentence(c.unsure) || 'FloLess can’t tell whether it went through, so check before trying again.';
163
+ return { kind, type: 'err', text: said([`Couldn’t ${action}, and FloLess couldn’t tell why.`, unsure, report]) };
164
+ }
165
+
166
+ if (typeof module !== 'undefined' && module.exports) {
167
+ module.exports = { failureKind, failureCopy, FAILURE_BUSY_CODES, FAILURE_BUSY_WORK };
168
+ }
@@ -1427,9 +1427,41 @@
1427
1427
  <span>You answer them · hours · best evidence</span>
1428
1428
  </button>
1429
1429
  </div>
1430
+ <!-- #2521 row 2c: who decides the Drawing Filter in a Quick build. Shown only with Quick; Precise always uses the
1431
+ person's Save (owner ruling 2026-10-24), so with Precise it is hidden and nothing is sent. -->
1432
+ <div class="project-setup-filter" id="project-setup-filter" role="group"
1433
+ aria-labelledby="project-setup-filter-label" aria-describedby="project-setup-filter-explain" hidden>
1434
+ <strong class="project-setup-label" id="project-setup-filter-label">Drawing Filter</strong>
1435
+ <p id="project-setup-filter-explain">The Drawing Filter decides which sheets, line weights, layers and colours the drawing read uses, and which it leaves out. If the AI chooses it, that choice is recorded and labelled as the AI's, never as your Save. You can review or change it in the Drawing Filter later.</p>
1436
+ <div class="project-setup-standard-options">
1437
+ <button type="button" data-filter-choice="person" data-command-id="shell.project-filter-choice#Review and save it myself" aria-pressed="true">
1438
+ <span class="project-setup-standard-label">I'll review and save the Filter myself</span>
1439
+ <span>You check it before the read uses it</span>
1440
+ </button>
1441
+ <button type="button" data-filter-choice="ai" data-command-id="shell.project-filter-choice#Let the AI choose" aria-pressed="false">
1442
+ <span class="project-setup-standard-label">Let the AI choose</span>
1443
+ <span>It picks which sheets and areas are read</span>
1444
+ </button>
1445
+ </div>
1446
+ <div class="project-setup-exclusions" id="project-setup-exclusions" role="group"
1447
+ aria-labelledby="project-setup-exclusions-label" aria-describedby="project-setup-exclusions-explain" hidden>
1448
+ <strong class="project-setup-label" id="project-setup-exclusions-label">What the read leaves out</strong>
1449
+ <p id="project-setup-exclusions-explain">The Filter also decides which lines the read leaves out, dismissed as a group without a reason for each. The AI can approve that list as part of its choice, recorded as its own, or the read can stop for you whenever its Filter leaves lines out.</p>
1450
+ <div class="project-setup-standard-options">
1451
+ <button type="button" data-exclusions-choice="ai" data-command-id="shell.project-filter-exclusions#Let the AI approve them too" aria-pressed="true">
1452
+ <span class="project-setup-standard-label">Let the AI approve them too</span>
1453
+ <span>Quickest: the read does not stop</span>
1454
+ </button>
1455
+ <button type="button" data-exclusions-choice="person" data-command-id="shell.project-filter-exclusions#I'll approve them myself" aria-pressed="false">
1456
+ <span class="project-setup-standard-label">I'll approve them myself</span>
1457
+ <span>The read stops for you if lines are left out</span>
1458
+ </button>
1459
+ </div>
1460
+ </div>
1461
+ </div>
1430
1462
  <div class="project-setup-quick-terms" id="project-setup-quick-terms" role="group" aria-label="Quick model terms" aria-live="polite" hidden>
1431
1463
  <strong>Before you create a Quick model</strong>
1432
- <p>The AI answers this read's drawing questions itself instead of asking you, and files an RFI, marked as its own, only for a question it cannot settle; nothing is sent to anyone. It records every decision it makes, so you can review them afterwards, and the model is labelled as a Quick model. The AI never approves anything: you still decide on the Drawing Filter and on the review.</p>
1464
+ <p>The AI answers this read's drawing questions itself instead of asking you, and files an RFI, marked as its own, only for a question it cannot settle; nothing is sent to anyone. It records every decision it makes, so you can review them afterwards, and the model is labelled as a Quick model. <span id="project-setup-quick-terms-tail">The AI never approves anything: you still decide on the Drawing Filter and on the review.</span></p>
1433
1465
  <p id="project-setup-quick-create-only">Create project only starts no read, so it builds no Quick model. To build one later, ask for a Quick model in AI Chat.</p>
1434
1466
  </div>
1435
1467
  <div class="project-setup-note" id="project-setup-build-locked" hidden>This setup was already sent with this choice, so it continues with it. To choose differently, cancel and start a new project.</div>
@@ -2122,7 +2154,9 @@
2122
2154
  <script src="startup-admission.js"></script>
2123
2155
  <script src="analytics.js"></script>
2124
2156
  <script src="commands.js"></script>
2157
+ <script src="failure-copy.js"></script>
2125
2158
  <script src="app.js"></script>
2159
+ <script src="landing-sort.js"></script>
2126
2160
  <script src="workspace-root-management.js"></script>
2127
2161
  <script src="workspace-root-recovery.js"></script>
2128
2162
  <script src="project-reconciliation.js"></script>
@@ -860,7 +860,9 @@
860
860
  a static array cannot express that, because "active" is runtime state. */
861
861
  var GROUP_ORDER = [
862
862
  // the shell
863
- 'In the header', 'In the workflow picker', 'In the project picker', 'In the project list', 'On the Workflows page', 'In Archived on the Workflows page', 'In the workflow picker and on a draft workflow',
863
+ 'In the header', 'In the workflow picker', 'In the project picker', 'In the project list',
864
+ // #2866: Sort by sits in the header of the Workspaces, Workflows and Agents pages.
865
+ 'On the landing pages', 'On the Workflows page', 'In Archived on the Workflows page', 'In the workflow picker and on a draft workflow',
864
866
  'On the Agents page', 'On an agent',
865
867
  // #2046: the ways into the Guide on the empty pages, and its first-launch question.
866
868
  'Getting started', 'In the Guide question',