@alis-build/design-system 0.74.0 → 0.78.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.
package/alisx.css CHANGED
@@ -454,6 +454,7 @@
454
454
  /* Type styles: one class per job (rules/type.md). */
455
455
  .text-welcome-title { font-family: var(--font-sans); font-size: 40px; line-height: 48px; font-weight: 800; letter-spacing: -0.03em; }
456
456
  .text-page-title { font-family: var(--font-sans); font-size: 28px; line-height: 36px; font-weight: 700; letter-spacing: -0.03em; }
457
+ .text-prompt { font-family: var(--font-sans); font-size: 30px; line-height: 38px; font-weight: 500; letter-spacing: -0.02em; }
457
458
  .text-section-title { font-family: var(--font-sans); font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.02em; }
458
459
  .text-object-title { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: 0; }
459
460
  .text-reading { font-family: var(--font-sans); font-size: 20px; line-height: 28px; font-weight: 400; letter-spacing: 0; }
@@ -476,6 +477,7 @@
476
477
  @media (max-width: 599px) {
477
478
  .text-welcome-title { font-size: 32px; line-height: 40px; }
478
479
  .text-page-title { font-size: 22px; line-height: 28px; font-weight: 500; letter-spacing: 0; }
480
+ .text-prompt { font-size: 24px; line-height: 32px; }
479
481
  }
480
482
 
481
483
  /* Product base. A marketing page overrides it with <body class="ax-page">. */
@@ -1315,6 +1317,36 @@ button.app-attachment{border:0;color:inherit;font:inherit;text-align:left;cursor
1315
1317
  .app-voice__round.is-selected{background:var(--secondary-container);color:var(--on-secondary-container)}
1316
1318
  .app-voice__end{min-height:56px;padding:0 var(--space-32)}
1317
1319
  @media (max-width:599px){.app-voice{padding:var(--space-12) var(--space-16) var(--space-24)}}
1320
+ /* An interview: talking is the whole job. Progress on top, the question high in a 640 column, then the handover and a floating dock over the voice field at the foot */
1321
+ .app-voice--interview{gap:0;padding-bottom:var(--space-24)}
1322
+ .app-voice--interview>.app-voice__top,.app-voice--interview>.app-voice__body,.app-voice__handover,.app-voice__dock{position:relative;z-index:1}
1323
+ .app-voice--interview>.app-voice__top,.app-voice--interview>.app-voice__body{width:100%;max-width:640px;margin-inline:auto}
1324
+ .app-voice__top>.app-progress{flex:1}
1325
+ .app-voice--interview>.app-voice__body{justify-content:flex-start;align-items:stretch;gap:var(--space-16);padding-top:calc(var(--space-48) + var(--space-24));text-align:start}
1326
+ .app-voice__question{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-12);background:var(--background)}
1327
+ .app-voice__question>.text-prompt{margin:0;color:var(--on-surface);overflow-wrap:anywhere;white-space:pre-wrap;text-wrap:pretty}
1328
+ .app-voice__again{padding-inline:0}
1329
+ .app-voice__materials{display:flex;flex-wrap:wrap;gap:var(--space-8)}
1330
+ .app-voice__handover{display:flex;flex-direction:column;align-items:center;gap:var(--space-4);width:100%;margin:var(--space-16) auto var(--space-24);padding-block:var(--space-8);background:var(--background);text-align:center}
1331
+ .app-voice__status{display:flex;flex-direction:column;align-items:center;gap:var(--space-4)}
1332
+ .app-voice__status>*{margin:0}
1333
+ .app-voice__handover>.app-voice__capture{margin-top:var(--space-4)}
1334
+ .app-voice__hold{min-height:56px;margin-top:var(--space-8);touch-action:none}
1335
+ /* The dock: the settled-dock pill (surface-container-high, elevation-2, no edge) holding labelled actions, a 24px glyph a weight up over a 12px label so they read at arm's length */
1336
+ .app-voice__dock{align-self:center;display:flex;align-items:center;gap:var(--space-8);width:max-content;max-width:100%;padding:var(--space-8);border-radius:var(--radius-pill);background:var(--surface-container-high);box-shadow:var(--elevation-2)}
1337
+ .app-voice__action{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-4);flex:none;width:80px;min-height:56px;padding:var(--space-4);border:0;border-radius:var(--radius-pill);background:transparent;color:var(--on-surface);font-family:var(--font-sans);font-size:12px;line-height:16px;font-weight:600;white-space:nowrap}
1338
+ .app-voice__action .app-icon{font-size:24px;font-variation-settings:"FILL" 0,"wght" 500,"GRAD" 0,"opsz" 24}
1339
+ .app-voice__action.app-btn--error{width:88px;color:var(--error)}
1340
+ .app-voice__dock>.app-voice__end{padding:0 var(--space-24)}
1341
+ /* The voice field: a second voice light, dots the product draws into an svg, behind everything at the foot. It fades upward, so the handover and the dock stand on it */
1342
+ .app-voice__field{position:absolute;z-index:0;left:50%;bottom:calc(var(--space-16) * -1);width:calc(100% + var(--space-32) * 2);max-width:900px;height:258px;max-height:45%;transform:translateX(-50%);color:var(--ai-you);opacity:.75;pointer-events:none;-webkit-mask-image:linear-gradient(to top,var(--on-surface) 0,var(--on-surface) 34%,transparent 100%);mask-image:linear-gradient(to top,var(--on-surface) 0,var(--on-surface) 34%,transparent 100%);transition:color var(--spring-slow-effects),opacity var(--spring-slow-effects)}
1343
+ .app-voice__field>svg{display:block;width:100%;height:100%;fill:currentColor}
1344
+ .is-alis .app-voice__field{color:var(--ai-alis)}
1345
+ .is-muted:not(.is-alis) .app-voice__field{opacity:.4}
1346
+ @media (max-height:760px){.app-voice--interview>.app-voice__body{padding-top:var(--space-32)}.app-voice__handover{margin:var(--space-8) auto var(--space-16)}}
1347
+ @media (max-width:599px){.app-voice--interview>.app-voice__body{padding-top:var(--space-32);gap:var(--space-12)}.app-voice__handover{margin-bottom:var(--space-16)}.app-voice__dock{gap:var(--space-4);padding:var(--space-4)}.app-voice__action{width:68px}.app-voice__field{bottom:calc(var(--space-12) * -1);width:calc(100% + var(--space-16) * 2);height:230px}}
1348
+ @media (max-width:599px) and (max-height:760px){.app-voice--interview>.app-voice__body{padding-top:var(--space-16)}}
1349
+ @media (max-width:360px){.app-voice__action{width:64px}}
1318
1350
 
1319
1351
  /* ── Thread and turns · you in a bubble, Alis as prose, anyone else in a bubble under a who-line ── */
1320
1352
  .app-thread{display:flex;flex-direction:column;gap:var(--space-32);width:100%;max-width:var(--measure-prose);margin-inline:auto}
@@ -1410,6 +1442,9 @@ button.app-attachment{border:0;color:inherit;font:inherit;text-align:left;cursor
1410
1442
  .app-thread__event{display:flex;align-items:center;justify-content:center;gap:var(--space-4);margin:0;color:var(--on-surface-variant);text-align:center}
1411
1443
  .app-thread__event .app-icon{font-size:16px}
1412
1444
  .app-thread__typing{margin:0;color:var(--on-surface-variant)}
1445
+ /* New messages: the settled-dock pill, held at the thread's foot above the composer */
1446
+ .app-thread__latest{position:sticky;z-index:1;bottom:var(--space-16);align-self:center;display:inline-flex;align-items:center;gap:var(--space-8);min-height:40px;padding:0 var(--space-16) 0 var(--space-12);border:0;border-radius:var(--radius-pill);background:var(--surface-container-high);color:var(--on-surface);box-shadow:var(--elevation-2);font-family:var(--font-sans);font-size:14px;line-height:20px;font-weight:600;white-space:nowrap}
1447
+ .app-thread__latest .app-icon{font-size:20px}
1413
1448
  .app-thread__status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
1414
1449
  .app-turn__bubble.prose{white-space:normal;--prose-gap:12px;--prose-item-gap:4px;--prose-h1-size:16px;--prose-h1-line:24px;--prose-h1-tracking:0;--prose-h1-weight:600;--prose-h1-above:16px;--prose-h1-below:4px;--prose-h2-size:16px;--prose-h2-line:24px;--prose-h2-weight:600;--prose-h2-above:16px;--prose-h3-above:12px;--prose-code-size:14px}
1415
1450
  .app-turn__request{display:flex;align-items:center;gap:var(--space-8);margin-bottom:var(--space-4);white-space:normal}
package/classes.json CHANGED
@@ -408,6 +408,7 @@
408
408
  "app-target--none",
409
409
  "app-thread",
410
410
  "app-thread__event",
411
+ "app-thread__latest",
411
412
  "app-thread__status",
412
413
  "app-thread__typing",
413
414
  "app-tile",
@@ -455,20 +456,30 @@
455
456
  "app-turn__who",
456
457
  "app-turn__worked",
457
458
  "app-voice",
459
+ "app-voice--interview",
458
460
  "app-voice-note",
459
461
  "app-voice-note__more",
460
462
  "app-voice-note__player",
461
463
  "app-voice-note__time",
462
464
  "app-voice-note__transcript",
463
465
  "app-voice-note__wave",
466
+ "app-voice__action",
467
+ "app-voice__again",
464
468
  "app-voice__body",
465
469
  "app-voice__caption",
466
470
  "app-voice__capture",
467
471
  "app-voice__controls",
472
+ "app-voice__dock",
468
473
  "app-voice__end",
474
+ "app-voice__field",
475
+ "app-voice__handover",
476
+ "app-voice__hold",
477
+ "app-voice__materials",
469
478
  "app-voice__orb",
479
+ "app-voice__question",
470
480
  "app-voice__round",
471
481
  "app-voice__said",
482
+ "app-voice__status",
472
483
  "app-voice__title",
473
484
  "app-voice__top",
474
485
  "app-wide-only",
@@ -537,6 +548,7 @@
537
548
  "text-on-surface",
538
549
  "text-on-surface-variant",
539
550
  "text-page-title",
551
+ "text-prompt",
540
552
  "text-reading",
541
553
  "text-section-title",
542
554
  "text-selected",
@@ -30,7 +30,7 @@ Where you write to Alis, an agent or a person. One floating surface with three b
30
30
 
31
31
  | State | Trailing button (filled) | Beside it (plain) | Editor |
32
32
  |---|---|---|---|
33
- | Empty, live offered | `graphic_eq` **Talk** | `mic` "Dictate" (not on a phone) or "Record a voice note" | Placeholder |
33
+ | Empty, live offered | `voice_selection` **Talk** | `mic` "Dictate" (not on a phone) or "Record a voice note" | Placeholder |
34
34
  | Empty, mic only | `mic` **Dictate** or **Record** (on a phone, Dictate gives way to Send, disabled) | none | Placeholder |
35
35
  | Empty, no voice | `arrow_upward` "Send", disabled | none | Placeholder |
36
36
  | Something to send (text, a staged file or a quote) | `arrow_upward` "Send" | none: the voice controls leave | Live |
@@ -154,7 +154,7 @@ Select text on a screen with a dock and **Ask Alis** appears by the selection (`
154
154
  <button type="button" class="app-icon-btn app-state app-target" aria-label="Add files and more" title="Add files and more"><span class="app-icon" aria-hidden="true">add</span></button>
155
155
  <span class="app-composer__spacer"></span>
156
156
  <button type="button" class="app-icon-btn app-state app-target app-wide-only" aria-label="Dictate" title="Dictate"><span class="app-icon" aria-hidden="true">mic</span></button>
157
- <button type="button" class="app-composer__go app-state"><span class="app-icon" aria-hidden="true">graphic_eq</span><span class="app-composer__go-label">Talk</span></button>
157
+ <button type="button" class="app-composer__go app-state"><span class="app-icon" aria-hidden="true">voice_selection</span><span class="app-composer__go-label">Talk</span></button>
158
158
  </div>
159
159
  </div>
160
160
  <p class="app-composer__line text-meta">What you put here stays in your organisation.</p>
@@ -328,7 +328,7 @@ Select text on a screen with a dock and **Ask Alis** appears by the selection (`
328
328
  <div class="app-composer__row">
329
329
  <button type="button" class="app-icon-btn app-state app-target" aria-label="Add files and more" title="Add files and more"><span class="app-icon" aria-hidden="true">add</span></button>
330
330
  <span class="app-composer__spacer"></span>
331
- <button type="button" class="app-composer__go app-state"><span class="app-icon" aria-hidden="true">graphic_eq</span><span class="app-composer__go-label">Talk</span></button>
331
+ <button type="button" class="app-composer__go app-state"><span class="app-icon" aria-hidden="true">voice_selection</span><span class="app-composer__go-label">Talk</span></button>
332
332
  </div>
333
333
  <button type="button" class="app-composer__trace app-state" inert>
334
334
  <svg viewBox="0 0 30 50" aria-hidden="true" style="fill:var(--alis-red)"><circle cx="5" cy="25" r="3.7"/><circle cx="5" cy="35" r="3.7"/><circle cx="5" cy="45" r="3.7"/><circle cx="15" cy="5" r="3.7"/><circle cx="15" cy="15" r="3.7"/><circle cx="15" cy="25" r="3.7"/><circle cx="15" cy="35" r="3.7"/><circle cx="15" cy="45" r="3.7"/><circle cx="25" cy="5" r="3.7"/><circle cx="25" cy="15" r="3.7"/><circle cx="25" cy="25" r="3.7"/></svg>
@@ -227,6 +227,9 @@ Northwind 120 —</pre></li>
227
227
  <p class="app-turn__line text-meta is-error"><span class="app-icon" aria-hidden="true">error</span>Didn't send<button type="button" class="app-turn__line-action">Try again</button></p>
228
228
  <p class="app-turn__line text-meta is-error"><span class="app-icon" aria-hidden="true">error</span>Alis couldn't finish this reply.<button type="button" class="app-turn__line-action">Try again</button></p>
229
229
  <p class="app-turn__line text-meta">Stopped</p>
230
+
231
+ <!-- New messages: something arrived below while the person had scrolled up -->
232
+ <button type="button" class="app-thread__latest app-state app-target"><span class="app-icon" aria-hidden="true">arrow_downward</span>New messages</button>
230
233
  ```
231
234
 
232
235
  ## Behaviour you must supply
@@ -243,8 +246,9 @@ Northwind 120 —</pre></li>
243
246
  - **As the reply streams**, wrap each run of text as it arrives in `<span class="app-turn__chunk">`, so it fades in where it lands. A renderer that redraws the whole reply on every run leaves it out, or the reply would fade in again each time.
244
247
  - **On a phone**, a long press on a turn opens its actions as a menu.
245
248
  - Keep the thread pinned to the bottom while Alis writes, unless the person has scrolled up. Keep it there too when the space it has shrinks (the keyboard opening on a phone, the composer growing), if its end was in view: the latest question is what the person is answering.
249
+ - **New messages** (`.app-thread__latest`): when a turn arrives below while the person has scrolled up, so the thread doesn't follow it, show one button at the foot of the thread, centred above the composer: `arrow_downward` and "New messages". Pressing it scrolls to the latest turn, and the button leaves; it leaves too once they scroll down to it themselves. It never shows only because they scrolled up: reading back is theirs to do.
246
250
  - **People**: insert the day line before the first turn of each day; move *Seen* to the newest of your bubbles anyone has read; show the typing line while they type and drop it when their turn arrives; keep a request's state line in step with the request; write typing (once, as it starts) and each request change into the thread's status region.
247
251
 
248
252
  ## Classes
249
253
 
250
- `.app-thread`, `.app-thread__event`, `.app-thread__typing`, `.app-thread__status`; `.app-turn`, `.app-turn--you`, `.app-turn--alis`, `.app-turn--them`, `.is-latest`, `.is-arriving`; `.app-turn__about`, `.app-turn__who`, `.app-turn__audience`, `.app-turn__avatar`, `.app-turn__avatar--alis`; `.app-turn__head`, `.app-turn__mark`, `.app-turn__status`, `.app-turn__worked`, `.app-turn__steps`, `.app-turn__step`, `.app-turn__output`, `.app-turn__caret`, `.app-turn__chunk`; `.app-turn__row`, `.app-turn__bubble`, `.app-turn__bubble--voice`, `.app-turn__tools`, `.app-turn__files`, `.app-turn__image`; `.app-turn__foot`; `.app-turn__line`, `.is-error`, `.app-turn__line-action`; `.app-turn__record`; `.app-turn__request`; `.app-voice-note`, `.is-open`, `.app-voice-note__player`, `.app-voice-note__wave`, `.is-played`, `.app-voice-note__time`, `.app-voice-note__transcript`, `.app-voice-note__more`; with `.prose` on the reply, `.app-icon-btn` and `.app-state` on the buttons, and `.app-loader.app-loader--line` on the mark while Alis thinks.
254
+ `.app-thread`, `.app-thread__event`, `.app-thread__typing`, `.app-thread__status`, `.app-thread__latest`; `.app-turn`, `.app-turn--you`, `.app-turn--alis`, `.app-turn--them`, `.is-latest`, `.is-arriving`; `.app-turn__about`, `.app-turn__who`, `.app-turn__audience`, `.app-turn__avatar`, `.app-turn__avatar--alis`; `.app-turn__head`, `.app-turn__mark`, `.app-turn__status`, `.app-turn__worked`, `.app-turn__steps`, `.app-turn__step`, `.app-turn__output`, `.app-turn__caret`, `.app-turn__chunk`; `.app-turn__row`, `.app-turn__bubble`, `.app-turn__bubble--voice`, `.app-turn__tools`, `.app-turn__files`, `.app-turn__image`; `.app-turn__foot`; `.app-turn__line`, `.is-error`, `.app-turn__line-action`; `.app-turn__record`; `.app-turn__request`; `.app-voice-note`, `.is-open`, `.app-voice-note__player`, `.app-voice-note__wave`, `.is-played`, `.app-voice-note__time`, `.app-voice-note__transcript`, `.app-voice-note__more`; with `.prose` on the reply, `.app-icon-btn` and `.app-state` on the buttons, and `.app-loader.app-loader--line` on the mark while Alis thinks.
@@ -1,10 +1,10 @@
1
1
  # AppVoiceView
2
2
 
3
- A live call given room: the content area on a desktop (the focus view), the whole screen on a phone. The same call as the composer's call bar, with the voice light large.
3
+ A live call given room: the content area on a desktop (the focus view), the whole screen on a phone. The same call as the composer's call bar, with the voice light large. It has two layouts: **an Alis call**, where talking is one way to work with Alis, and **an interview**, where talking is the whole job (§ An interview).
4
4
 
5
5
  ## Use / don't use
6
6
 
7
- - **Desktop**: a call starts in [AppComposer](AppComposer.md); its `open_in_full` "Focus view" opens this view in the content area, and the navigation stays. A product may open a call here by default when talking is the whole job (an interview participant on a laptop).
7
+ - **Desktop**: a call starts in [AppComposer](AppComposer.md); its `open_in_full` "Focus view" opens this view in the content area, and the navigation stays. A product opens a call here by default when talking is the whole job: an interview, in its own layout (§ An interview).
8
8
  - **Phone**: the call is full-screen. The chevron folds it back into the composer, and the call carries on.
9
9
  - **Top**: back (`close_fullscreen` "Back to the conversation" on a desktop, `keyboard_arrow_down` "Fold into the composer" on a phone), the conversation's name in label type, captions (`closed_caption`, a toggle).
10
10
  - **Body**: the orb (the voice light, large: cool while you speak, Alis's brand red as a tint while Alis does), the status word in section-title (Connecting, Listening, Thinking, Speaking, Muted), and the caption: the last three lines said, settled words in `on-surface`, the rest in `on-surface-variant`.
@@ -12,6 +12,42 @@ A live call given room: the content area on a desktop (the focus view), the whol
12
12
  - **Controls**: mute and Type instead as 56px round buttons, and End as the filled button, 56 high. End is cyan, never red.
13
13
  - On the ground (`background`), no card, no shadow.
14
14
 
15
+ ## An interview
16
+
17
+ When talking is the whole job (someone answering an interview), the view leads with the question and hands the turn back and forth in words. Add `.app-voice--interview`. Web, iOS and Android draw this one screen; in an app it is our own screen, under the phone's status bar and nothing else.
18
+
19
+ - **Top**: [AppProgress](AppProgress.md) in the `__top` row, in place of back, title and captions: the interview's title, how far through it is in a word ("Halfway"), and the track. No captions: the answer is written down once it ends, so there are no words to show while someone talks.
20
+ - **The question** (`.app-voice__question`), high in a 640px column, left-aligned:
21
+ - the interviewer's mark: [AlisMark](AlisMark.md) at 20 high, or the client's icon on a branded interview ([branding.md](../rules/branding.md)), named for the interviewer;
22
+ - the question in `text-prompt` ([type.md](../rules/type.md)), a heading;
23
+ - **Hear the question again**, a text button (`.app-voice__again`): hidden while Alis speaks, disabled while nothing is recorded;
24
+ - shared material as [AppAttachment](AppAttachment.md) tiles in `.app-voice__materials`: a thing opens what it names, so each tile is the button.
25
+ - **The handover** (`.app-voice__handover`), centred above the dock on `background`, so the field stops behind it. The status word in `text-section-title` and its hint in `text-supporting` `on-surface-variant` (`.app-voice__status`, the live region). Under it, one of: **Unmute**; **Hold to talk** (`.app-voice__hold`, outlined, 56 high, `voice_selection`), only when the room is too noisy for turns to pass by themselves; or the capture line (`.app-voice__capture`, with a 16px `mic_off` beside the time while the microphone is muted).
26
+
27
+ | State | Word | Hint |
28
+ | --- | --- | --- |
29
+ | Getting ready | Getting ready | Allow microphone access if asked. Alis begins with a question. |
30
+ | Preparing | Preparing the question | Alis will read the question aloud. |
31
+ | Listening | Your turn | Take your time. Speak when you're ready. |
32
+ | Alis speaking (`is-alis`) | Alis is asking | You can interrupt if you need to. |
33
+ | Thinking | Considering your answer | Alis is preparing a follow-up. |
34
+ | Muted (`is-muted`) | Muted | Unmute when you're ready to answer. |
35
+ | Paused (`is-muted`) | Paused | Take a break. Resume when you're ready. |
36
+ | Reconnecting | Reconnecting | If you were mid-answer, say it again once you're back. |
37
+ | A noisy room | Your turn | It's noisy where you are. Use Hold to talk, move closer or use a headset, or type instead. |
38
+
39
+ "Alis" is the interviewer's name; on a branded interview, the client's. A failure takes the hint's line, in [errors.md](../rules/errors.md)'s words, and says the way on ("The connection dropped. Tap Resume, or type instead."). While held, Hold to talk reads "Listening… let go when you're done".
40
+ - **The dock** (`.app-voice__dock`): one floating pill on `surface-container-high` with `elevation-2` and no edge, the settled dock's pill. Its actions (`.app-voice__action`) are a 24px glyph a weight up over a 12px label, 56 high, so they read at arm's length. In this order, with Finish always last:
41
+
42
+ | When | The dock |
43
+ | --- | --- |
44
+ | Talking | Pause (`pause`; Resume, `play_arrow`, while paused) · Type instead (`keyboard`) · Show (`present_to_all`, a menu: Share your screen, Upload a file), or Upload (`upload`) where a screen can't be shared · Finish |
45
+ | Sharing a screen | Pause · Stop recording (`stop_circle`, `error` ink, never filled) · More (`more_vert`, "More recording actions", a menu: Take screenshot, Mute microphone or Unmute, then Discard recording last) · Finish |
46
+
47
+ - **Pause, not Mute.** In an interview, Pause stops both sides, and Resume goes on. Mute is only in More while a screen is recorded, because the recording carries the sound; a muted microphone always shows Unmute (under the status, or in More while sharing). An Alis call keeps Mute.
48
+ - **Finish ends the interview**, in End's place and look: filled, `primary`, `call_end`, the word "Finish" and the accessible name "Finish interview". It always asks first, in an [AppDialog](AppDialog.md): "Finish the interview?", "Your answers go to {who invited them}. You can come back to this link to add more.", then Cancel and Finish interview. Finishing keeps the dialog: [AppProgress](AppProgress.md) with its steps (Answers saved, Sending your files, Handing everything to {who}). In an app, the ask is the phone's own alert with the same words.
49
+ - **The voice field** (`.app-voice__field`): the interview's voice light, dots drawn into an svg behind everything at the foot. Fifteen rows, the dots about 36px apart; the speaker's sound flows in from the right and off to the left over about two seconds, a louder sound lighting higher, brighter rows; the edges fade out. Cool (`ai-you`) while you speak, Alis red (`ai-alis`) under `is-alis`, a client's `primary` on a branded interview; resting at .75, and at .4 under `is-muted`. The orb stays for an Alis call.
50
+
15
51
  ## Markup
16
52
 
17
53
  ```html
@@ -41,12 +77,205 @@ A live call given room: the content area on a desktop (the focus view), the whol
41
77
  </section>
42
78
  ```
43
79
 
80
+ ```html
81
+ <!-- An interview, your turn -->
82
+ <section class="app-voice app-voice--interview" aria-label="Talking with Alis">
83
+ <div class="app-voice__top">
84
+ <div class="app-progress">
85
+ <div class="app-progress__head">
86
+ <span class="text-label" role="heading" aria-level="1">Pricing rethink</span>
87
+ <span class="app-progress__value text-meta">Halfway</span>
88
+ </div>
89
+ <div class="app-progress__track" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="50" aria-valuetext="Halfway" aria-label="Pricing rethink"><span class="app-progress__fill" style="width:50%"></span></div>
90
+ </div>
91
+ </div>
92
+ <div class="app-voice__body">
93
+ <div class="app-voice__question">
94
+ <svg viewBox="0 0 30 50" width="12" height="20" role="img" aria-label="Alis" style="fill:var(--signal);display:block"><!-- the eleven circles --></svg>
95
+ <h2 class="text-prompt">When you last renewed, what made you hesitate?</h2>
96
+ <button type="button" class="app-btn app-state app-target app-voice__again">Hear the question again</button>
97
+ <div class="app-voice__materials">
98
+ <button type="button" class="app-attachment app-state">
99
+ <span class="app-attachment__glyph"><span class="app-icon" aria-hidden="true">description</span></span>
100
+ <span class="app-attachment__text"><span class="text-label">Pricing page, May</span><span class="text-meta">Shared material</span></span>
101
+ </button>
102
+ </div>
103
+ </div>
104
+ </div>
105
+ <div class="app-voice__handover">
106
+ <div class="app-voice__status" role="status" aria-atomic="true">
107
+ <p class="text-section-title">Your turn</p>
108
+ <p class="text-supporting text-on-surface-variant">Take your time. Speak when you're ready.</p>
109
+ </div>
110
+ </div>
111
+ <div class="app-voice__dock" role="group" aria-label="Interview controls">
112
+ <button type="button" class="app-voice__action app-state"><span class="app-icon" aria-hidden="true">pause</span>Pause</button>
113
+ <button type="button" class="app-voice__action app-state"><span class="app-icon" aria-hidden="true">keyboard</span>Type instead</button>
114
+ <button type="button" class="app-voice__action app-state" aria-haspopup="menu" aria-expanded="false"><span class="app-icon" aria-hidden="true">present_to_all</span>Show</button>
115
+ <button type="button" class="app-btn app-btn--filled app-state app-voice__end" aria-label="Finish interview"><span class="app-icon" aria-hidden="true">call_end</span>Finish</button>
116
+ </div>
117
+ <div class="app-voice__field" aria-hidden="true"><svg></svg></div>
118
+ </section>
119
+ ```
120
+
121
+ ```html
122
+ <!-- An interview, Alis is asking (is-alis): Hear the question again hides -->
123
+ <section class="app-voice app-voice--interview is-alis" aria-label="Talking with Alis">
124
+ <div class="app-voice__top">
125
+ <div class="app-progress">
126
+ <div class="app-progress__head">
127
+ <span class="text-label" role="heading" aria-level="1">Pricing rethink</span>
128
+ <span class="app-progress__value text-meta">Halfway</span>
129
+ </div>
130
+ <div class="app-progress__track" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="50" aria-valuetext="Halfway" aria-label="Pricing rethink"><span class="app-progress__fill" style="width:50%"></span></div>
131
+ </div>
132
+ </div>
133
+ <div class="app-voice__body">
134
+ <div class="app-voice__question">
135
+ <svg viewBox="0 0 30 50" width="12" height="20" role="img" aria-label="Alis" style="fill:var(--signal);display:block"><!-- the eleven circles --></svg>
136
+ <h2 class="text-prompt">When you last renewed, what made you hesitate?</h2>
137
+ </div>
138
+ </div>
139
+ <div class="app-voice__handover">
140
+ <div class="app-voice__status" role="status" aria-atomic="true">
141
+ <p class="text-section-title">Alis is asking</p>
142
+ <p class="text-supporting text-on-surface-variant">You can interrupt if you need to.</p>
143
+ </div>
144
+ </div>
145
+ <div class="app-voice__dock" role="group" aria-label="Interview controls">
146
+ <button type="button" class="app-voice__action app-state"><span class="app-icon" aria-hidden="true">pause</span>Pause</button>
147
+ <button type="button" class="app-voice__action app-state"><span class="app-icon" aria-hidden="true">keyboard</span>Type instead</button>
148
+ <button type="button" class="app-voice__action app-state" aria-haspopup="menu" aria-expanded="false"><span class="app-icon" aria-hidden="true">present_to_all</span>Show</button>
149
+ <button type="button" class="app-btn app-btn--filled app-state app-voice__end" aria-label="Finish interview"><span class="app-icon" aria-hidden="true">call_end</span>Finish</button>
150
+ </div>
151
+ <div class="app-voice__field" aria-hidden="true"><svg></svg></div>
152
+ </section>
153
+ ```
154
+
155
+ ```html
156
+ <!-- An interview, paused (is-muted): Resume leads the dock -->
157
+ <section class="app-voice app-voice--interview is-muted" aria-label="Talking with Alis">
158
+ <div class="app-voice__top">
159
+ <div class="app-progress">
160
+ <div class="app-progress__head">
161
+ <span class="text-label" role="heading" aria-level="1">Pricing rethink</span>
162
+ <span class="app-progress__value text-meta">Halfway</span>
163
+ </div>
164
+ <div class="app-progress__track" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="50" aria-valuetext="Halfway" aria-label="Pricing rethink"><span class="app-progress__fill" style="width:50%"></span></div>
165
+ </div>
166
+ </div>
167
+ <div class="app-voice__body">
168
+ <div class="app-voice__question">
169
+ <svg viewBox="0 0 30 50" width="12" height="20" role="img" aria-label="Alis" style="fill:var(--signal);display:block"><!-- the eleven circles --></svg>
170
+ <h2 class="text-prompt">When you last renewed, what made you hesitate?</h2>
171
+ <button type="button" class="app-btn app-state app-target app-voice__again">Hear the question again</button>
172
+ </div>
173
+ </div>
174
+ <div class="app-voice__handover">
175
+ <div class="app-voice__status" role="status" aria-atomic="true">
176
+ <p class="text-section-title">Paused</p>
177
+ <p class="text-supporting text-on-surface-variant">Take a break. Resume when you're ready.</p>
178
+ </div>
179
+ </div>
180
+ <div class="app-voice__dock" role="group" aria-label="Interview controls">
181
+ <button type="button" class="app-voice__action app-state"><span class="app-icon" aria-hidden="true">play_arrow</span>Resume</button>
182
+ <button type="button" class="app-voice__action app-state"><span class="app-icon" aria-hidden="true">keyboard</span>Type instead</button>
183
+ <button type="button" class="app-voice__action app-state" aria-haspopup="menu" aria-expanded="false"><span class="app-icon" aria-hidden="true">present_to_all</span>Show</button>
184
+ <button type="button" class="app-btn app-btn--filled app-state app-voice__end" aria-label="Finish interview"><span class="app-icon" aria-hidden="true">call_end</span>Finish</button>
185
+ </div>
186
+ <div class="app-voice__field" aria-hidden="true"><svg></svg></div>
187
+ </section>
188
+ ```
189
+
190
+ ```html
191
+ <!-- An interview, a noisy room: Hold to talk under the status -->
192
+ <section class="app-voice app-voice--interview" aria-label="Talking with Alis">
193
+ <div class="app-voice__top">
194
+ <div class="app-progress">
195
+ <div class="app-progress__head">
196
+ <span class="text-label" role="heading" aria-level="1">Pricing rethink</span>
197
+ <span class="app-progress__value text-meta">Halfway</span>
198
+ </div>
199
+ <div class="app-progress__track" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="50" aria-valuetext="Halfway" aria-label="Pricing rethink"><span class="app-progress__fill" style="width:50%"></span></div>
200
+ </div>
201
+ </div>
202
+ <div class="app-voice__body">
203
+ <div class="app-voice__question">
204
+ <svg viewBox="0 0 30 50" width="12" height="20" role="img" aria-label="Alis" style="fill:var(--signal);display:block"><!-- the eleven circles --></svg>
205
+ <h2 class="text-prompt">When you last renewed, what made you hesitate?</h2>
206
+ <button type="button" class="app-btn app-state app-target app-voice__again">Hear the question again</button>
207
+ </div>
208
+ </div>
209
+ <div class="app-voice__handover">
210
+ <div class="app-voice__status" role="status" aria-atomic="true">
211
+ <p class="text-section-title">Your turn</p>
212
+ <p class="text-supporting text-on-surface-variant">It's noisy where you are. Use Hold to talk, move closer or use a headset, or type instead.</p>
213
+ </div>
214
+ <button type="button" class="app-btn app-btn--outlined app-state app-target app-voice__hold" aria-pressed="false"><span class="app-icon" aria-hidden="true">voice_selection</span>Hold to talk</button>
215
+ </div>
216
+ <div class="app-voice__dock" role="group" aria-label="Interview controls">
217
+ <button type="button" class="app-voice__action app-state"><span class="app-icon" aria-hidden="true">pause</span>Pause</button>
218
+ <button type="button" class="app-voice__action app-state"><span class="app-icon" aria-hidden="true">keyboard</span>Type instead</button>
219
+ <button type="button" class="app-voice__action app-state" aria-haspopup="menu" aria-expanded="false"><span class="app-icon" aria-hidden="true">present_to_all</span>Show</button>
220
+ <button type="button" class="app-btn app-btn--filled app-state app-voice__end" aria-label="Finish interview"><span class="app-icon" aria-hidden="true">call_end</span>Finish</button>
221
+ </div>
222
+ <div class="app-voice__field" aria-hidden="true"><svg></svg></div>
223
+ </section>
224
+ ```
225
+
226
+ ```html
227
+ <!-- An interview, sharing a screen: Stop recording and More take the middle of the dock -->
228
+ <section class="app-voice app-voice--interview" aria-label="Talking with Alis">
229
+ <div class="app-voice__top">
230
+ <div class="app-progress">
231
+ <div class="app-progress__head">
232
+ <span class="text-label" role="heading" aria-level="1">Pricing rethink</span>
233
+ <span class="app-progress__value text-meta">Halfway</span>
234
+ </div>
235
+ <div class="app-progress__track" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="50" aria-valuetext="Halfway" aria-label="Pricing rethink"><span class="app-progress__fill" style="width:50%"></span></div>
236
+ </div>
237
+ </div>
238
+ <div class="app-voice__body">
239
+ <div class="app-voice__question">
240
+ <svg viewBox="0 0 30 50" width="12" height="20" role="img" aria-label="Alis" style="fill:var(--signal);display:block"><!-- the eleven circles --></svg>
241
+ <h2 class="text-prompt">Show me where you'd look for the renewal price.</h2>
242
+ <button type="button" class="app-btn app-state app-target app-voice__again">Hear the question again</button>
243
+ </div>
244
+ </div>
245
+ <div class="app-voice__handover">
246
+ <div class="app-voice__status" role="status" aria-atomic="true">
247
+ <p class="text-section-title">Your turn</p>
248
+ <p class="text-supporting text-on-surface-variant">Take your time. Speak when you're ready.</p>
249
+ </div>
250
+ <div class="app-voice__capture" role="group" aria-label="Screen recording">
251
+ <button type="button" class="app-capture-thumb app-state" aria-label="Show what Alis sees" title="Show what Alis sees" aria-haspopup="dialog" aria-expanded="false"><video muted playsinline autoplay aria-hidden="true"></video></button>
252
+ <span class="app-composer__rec text-label">Recording</span>
253
+ <span class="app-composer__timer text-label" role="timer">03:18</span>
254
+ </div>
255
+ </div>
256
+ <div class="app-voice__dock" role="group" aria-label="Interview controls">
257
+ <button type="button" class="app-voice__action app-state"><span class="app-icon" aria-hidden="true">pause</span>Pause</button>
258
+ <button type="button" class="app-voice__action app-btn--error app-state"><span class="app-icon" aria-hidden="true">stop_circle</span>Stop recording</button>
259
+ <button type="button" class="app-voice__action app-state" aria-label="More recording actions" aria-haspopup="menu" aria-expanded="false"><span class="app-icon" aria-hidden="true">more_vert</span>More</button>
260
+ <button type="button" class="app-btn app-btn--filled app-state app-voice__end" aria-label="Finish interview"><span class="app-icon" aria-hidden="true">call_end</span>Finish</button>
261
+ </div>
262
+ <div class="app-voice__field" aria-hidden="true"><svg></svg></div>
263
+ </section>
264
+ ```
265
+
44
266
  ## Behaviour you must supply
45
267
 
46
268
  - The same call state as the composer's: toggle `is-alis` and `is-muted`, update the status word (a live region) and the caption. Mute is a toggle: `is-selected`, `aria-pressed` and `mic_off` while muted.
47
269
  - Back and Type instead return to the composer with the call still running and focus in the editor; End ends the call and returns too.
48
270
  - Give it the height it fills (the content area, or the viewport on a phone); it lays out inside that.
271
+ - **Keep the screen awake while a call runs**, and let it sleep again once paused, finished or left: the Screen Wake Lock on the web, the platform's idle timer in an app.
272
+ - **In an interview:**
273
+ - Draw the voice field into its svg from the live sound: fifteen rows of dots across the width, about 36px apart; a level history of about two seconds that moves from right to left; louder sound lighting higher rows, bigger and brighter, and the edges fading. Draw at most 30 frames a second, stop while the page is hidden or the field is off screen and clear the history when it comes back, and hold it still under `prefers-reduced-motion`. Remove it while finishing.
274
+ - Swap the word, the hint and the dock as the state moves (the tables above). `is-muted` covers both paused and muted; Resume is never drawn as pressed.
275
+ - Hear the question again replays the question's audio; hide it while Alis speaks.
276
+ - Hold to talk sends sound only while held: pointer capture, and Space or Enter held down for the keyboard; `aria-pressed` and the "Listening… let go when you're done" label while held.
277
+ - Finish opens the dialog (§ An interview); Cancel and Escape go back to the interview while going back is still possible.
49
278
 
50
279
  ## Classes
51
280
 
52
- `.app-voice`, `.is-alis`, `.is-muted`, `.app-voice__top`, `.app-voice__title`, `.app-voice__body`, `.app-voice__orb`, `.app-voice__caption`, `.app-voice__said`, `.app-voice__capture` (holding `.app-capture-thumb`, `.app-composer__rec` and `.app-composer__timer`), `.app-voice__controls`, `.app-voice__round`, `.is-selected`, `.app-voice__end`, with `.app-state` on its buttons.
281
+ `.app-voice`, `.is-alis`, `.is-muted`, `.app-voice__top`, `.app-voice__title`, `.app-voice__body`, `.app-voice__orb`, `.app-voice__caption`, `.app-voice__said`, `.app-voice__capture` (holding `.app-capture-thumb`, `.app-composer__rec` and `.app-composer__timer`), `.app-voice__controls`, `.app-voice__round`, `.is-selected`, `.app-voice__end`, with `.app-state` on its buttons. An interview adds `.app-voice--interview`, `.app-voice__question`, `.app-voice__again`, `.app-voice__materials`, `.app-voice__handover`, `.app-voice__status`, `.app-voice__hold`, `.app-voice__dock`, `.app-voice__action` (with `.app-btn--error` for Stop recording) and `.app-voice__field`.
@@ -113,7 +113,13 @@
113
113
  "expanded": "Claude's panel or full screen; where Claude can't expand, the AlisX console",
114
114
  "look": "Claude's: a widget on Claude's variables, font and sizes, expanded too; never an embedded page",
115
115
  "ground": "transparent, no border around it",
116
- "connect": "Claude's own sign-in, never a widget"
116
+ "connect": "Claude's own sign-in, never a widget",
117
+ "draws": {
118
+ "what": "what changed, the thing asked about, the list asked for: as its card",
119
+ "collapsed": "a search on the way: one line in the card's own words, the whole line a disclosure ending in Show; shown, the card with its actions and Hide; no action while collapsed; an ask never collapses",
120
+ "limit": "Claude mounts a widget for every call of a tool that has one; no call can opt out (Daniel's probe, 17 November)"
121
+ },
122
+ "buttonHeight": 32
117
123
  },
118
124
  "style": {
119
125
  "send": "ours, from Claude's variables only",
@@ -105,10 +105,17 @@ and the expanded view is Claude's panel or full screen. Connect is Claude's
105
105
  own sign-in, never a widget. Where Claude can't expand a widget, what would open
106
106
  there opens in the AlisX console.
107
107
 
108
+ **What you came for draws whole; Claude's searches fold.** Claude mounts a
109
+ widget for every call of a tool that has one, and no call can opt out, so a
110
+ search on the way still gets a frame under its tool call. What changed, the
111
+ thing you asked about or the list you asked for draws as its card; a search
112
+ draws collapsed, one line with *Show*, as the rule draws it.
113
+
108
114
  **Claude's look, expanded too.** A widget takes Claude's variables,
109
115
  font and sizes, our roles mapped onto them; expanded, it stays a widget, never
110
116
  an embedded page in our register. Its ground is transparent, with no border
111
- around it: it sits on Claude's conversation. It lays out from 320 and keeps
117
+ around it: it sits on Claude's conversation. Its buttons are Claude's height,
118
+ 32, not ours. It lays out from 320 and keeps
112
119
  clear of every edge, since Claude's composer can overlap an inline widget's
113
120
  foot.
114
121
 
package/hosts/gemini.json CHANGED
@@ -47,7 +47,8 @@
47
47
  "developmentName": "AlisX (Dev)",
48
48
  "provider": "Alis Exchange",
49
49
  "nameSetAt": "registration (displayName); the agent card's name is AlisX too",
50
- "signIn": "named by its authorization id, which people read: alisx"
50
+ "signIn": "named by its authorization id, which people read: alisx",
51
+ "description": "Leads with what Alis does, since the gallery shows three lines: \"Hand work to Alis on the AlisX Platform: explore your projects in Alis Ideate, run research and interviews, and build and deploy software, with your approval before anything that matters changes.\""
51
52
  },
52
53
  "limits": {
53
54
  "drawnWhen": "the task stops",
@@ -287,6 +288,14 @@
287
288
  "page": null,
288
289
  "checked": "2026-11-17",
289
290
  "note": "Newton Nthiga, conversation cc41d385"
291
+ },
292
+ {
293
+ "id": "gallery-description",
294
+ "tag": "observed",
295
+ "claim": "The agent gallery cuts a description at three lines",
296
+ "url": null,
297
+ "page": null,
298
+ "checked": "2026-11-17"
290
299
  }
291
300
  ],
292
301
  "components": {
package/hosts/gemini.md CHANGED
@@ -38,6 +38,7 @@ is in `gemini.json` § sources; the ones that shape a design are here.
38
38
  | unknown | Whether `MaterialExpansionPanel`, which the catalog lists, draws: nothing that folds has been tried |
39
39
  | unknown | How a card looks in a contrast theme, and whether Gemini has one |
40
40
  | observed | `MaterialIcon` draws the system's names, `record_voice_over` and `rocket_launch` included, 16 Nov |
41
+ | observed | The agent gallery cuts a description at three lines, 17 Nov |
41
42
 
42
43
  ## 2. Jobs here
43
44
 
@@ -58,7 +59,11 @@ is in `gemini.json` § sources; the ones that shape a design are here.
58
59
  **One listing, named AlisX.** The agent card's name is AlisX and its provider
59
60
  Alis Exchange; the name Gemini shows is set when the agent is registered:
60
61
  AlisX, and AlisX (Dev) for Development only. The card's description speaks of
61
- the AlisX Platform, and of Alis. Sign-in is named by its authorization id,
62
+ the AlisX Platform, and of Alis, and leads with what Alis does for you, since
63
+ the gallery shows only its first three lines: "Hand work to Alis on the AlisX
64
+ Platform: explore your projects in Alis Ideate, run research and interviews,
65
+ and build and deploy software, with your approval before anything that
66
+ matters changes." Sign-in is named by its authorization id,
62
67
  which people read, so Production's id is `alisx`.
63
68
 
64
69
  **Gemini's look, throughout.** Gemini Enterprise draws A2UI with its own
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alis-build/design-system",
3
- "version": "0.74.0",
3
+ "version": "0.78.0",
4
4
  "description": "The AlisX design system for coding agents: tokens, product CSS, component markup, capability marks, words and rules.",
5
5
  "keywords": ["alisx", "design-system", "design-tokens", "css"],
6
6
  "homepage": "https://alisx.com",
package/rules/errors.md CHANGED
@@ -34,6 +34,10 @@ What went wrong?
34
34
  │ what to change (AppComposer)
35
35
  ├─ A conversation attachment didn't upload → its tile keeps retry/remove
36
36
  │ (AppAttachment)
37
+ ├─ They turned down the microphone, the
38
+ │ camera or another device permission → the line where it was needed says
39
+ │ what's off and both ways on
40
+ │ (§ A device permission)
37
41
  └─ A submitted message didn't send, or Alis
38
42
  couldn't finish a reply → the turn keeps its recovery action
39
43
  (AppTurn)
@@ -126,6 +130,32 @@ neutral tile.
126
130
  the thing's own state: its chip says Failed, and the alert waits in its pane
127
131
  with the next step ([quick-start.md](quick-start.md) § 5).
128
132
 
133
+ ## A device permission
134
+
135
+ The microphone, the camera, notifications, photos: the browser or the phone asks,
136
+ in its own dialog, and we write only what comes before and after it.
137
+
138
+ - **Ask when the person chooses what needs it**, never on opening: the
139
+ microphone when they press Start talking, the camera when they choose to take a
140
+ photo. One permission at a time; never a second prompt straight after the
141
+ first.
142
+ - **Say the prompt is coming, in one line beside the button that brings it**:
143
+ "Your browser will ask to use your microphone." In an app, "This app will ask
144
+ to use your microphone." No screen of its own before the prompt: the line is
145
+ enough, and the prompt follows the press.
146
+ - **After a no, say what's off and both ways on**, in the line where it was
147
+ needed, in ink with the hint's role rather than an alert: nothing they did
148
+ failed. Keep the way that doesn't need it: "The microphone is turned off for
149
+ AlisX. Allow it in Settings, or type instead." In an app, add **Open
150
+ Settings**, which opens the app's own page in the phone's settings. A browser
151
+ can't open its settings, so there the sentence says where: "Allow it in the
152
+ browser's settings, or type instead."
153
+ - **Never ask into a prompt the system will no longer show.** Once a no is
154
+ final, the press that needs the permission shows the line again; it doesn't
155
+ ask again and silently get nothing.
156
+ - **When they come back with it allowed**, carry on from where they pressed,
157
+ with no second press.
158
+
129
159
  ## What they may not do
130
160
 
131
161
  The whole of it, from roles to asking for more, is [access.md](access.md). In
@@ -167,3 +197,5 @@ short:
167
197
  was entered still there?
168
198
  3. Is any text on screen something the machine wrote?
169
199
  4. Is there a `catch` that only logs?
200
+ 5. Turn down every device permission your screen asks for. Does the line say
201
+ what's off, with the way that doesn't need it and, in an app, Open Settings?
package/rules/hosts.md CHANGED
@@ -96,7 +96,7 @@ for one host. Five things, each from a component the system already has.
96
96
  | What | From | In a host |
97
97
  | --- | --- | --- |
98
98
  | **Alis's reply** | [AppTurn](../components/AppTurn.md) | A message, the default. It streams where the host streams, and Alis writes "I". Thumbs are the host's own reactions where it has them. A card only when a press or a structure is needed |
99
- | **Alis needs you** | [AppAsk](../components/AppAsk.md), any kind | A card. The question is its title; up to four fields say what will happen. Options are rows you press to answer, never buttons. Choose several is the host's own checklist, then the verb. Then Not now, AppAsk's one wider scope where the ask offers it, and the verb named by its outcome, in AppAsk's order. A press or an answer typed in the host's composer closes it: "yes, go ahead" allows it, except where the host's own agent answers, whose profile says what counts. It then reads back as AppAsk's record ("Allowed: Send 6 invites", "Not now: …") and loses its actions. Connect is AppAsk's Connect |
99
+ | **Alis needs you** | [AppAsk](../components/AppAsk.md), any kind | A card. The question is its title, under a first line that says it waits and until when ("Waiting for you · until 15:30"); up to four fields say what will happen. Options are rows you press to answer, never buttons. Choose several is the host's own checklist, then the verb. Then Not now, AppAsk's one wider scope where the ask offers it, and the verb named by its outcome, in AppAsk's order. A press or an answer typed in the host's composer closes it: "yes, go ahead" allows it, except where the host's own agent answers, whose profile says what counts. It then reads back as AppAsk's record ("Allowed: Send 6 invites", "Not now: …") and loses its actions. Connect is AppAsk's Connect |
100
100
  | **A thing** | [AppAttachment](../components/AppAttachment.md) | A card, or a row in one: its glyph, its name, its kind and a detail, up to four fields. Alone on a card it carries its state's actions (below); a row in a list opens it and carries no button |
101
101
  | **Work** | AppTurn's steps, with the composer's Stop | The task card: the task's name, its state in words (§ From the agent's message), the latest three steps; once finished, AppTurn's line: "Worked for 42s · 6 steps" |
102
102
  | **Too big for a card** | [AppFilePane](../components/AppFilePane.md), a page | The expanded view: an embedded page beside or over the conversation, where the host has one. *Open task* opens a task there; *Open interview* (the thing's name) opens a thing in the console |
@@ -132,14 +132,33 @@ be pressed (a host that draws no widget, a terminal), what counts is open, as
132
132
  an approval's is; until it's ruled, the ask's words carry a confirmation that
133
133
  the host's agent passes back with the person's yes.
134
134
 
135
+ **A thing reads in one glance.** Its detail says when, and "by you" where it
136
+ was you ("alis.os.probe.v1 · by you · 12:19"); a fact joins the detail line,
137
+ and label over value is for the expanded view. With one action and nothing
138
+ more to say, it sits in one row where the row fits, and stacks where it
139
+ doesn't. While it runs, progress you can count shows under it
140
+ ([loading.md](loading.md)) and nothing on it is filled: Stop keeps its edge.
141
+ A failure's reason is `on-surface`, then where it stopped; nothing offers a
142
+ fix no service sent. A step that copies a link shows the link on
143
+ `code-surface`, and the press ends as ✓ for two seconds. A step asked first
144
+ takes the action row's place under a hairline: the question, one sentence on
145
+ what the press replaces or reaches, then Not now and the verb, and the title
146
+ stays.
147
+
148
+ **Straight after a press, its undo has an edge**, not a fill (Restore, right
149
+ after Delete), and a deleted thing says until when it can be restored. An ask
150
+ the person asked for themselves ends as its outcome, in the past tense, on the
151
+ thing ("Deleted Launch notes"), never as "Allowed: …".
152
+
135
153
  **A person's request** ([AppAsk](../components/AppAsk.md) § Who asks) is
136
154
  shown to whoever can decide it, never to the requester. Its title is a question
137
- naming them and the act ("Give Martha Botha builder access to alis?"), its body
138
- their note in their words, then Decline and the verb by its outcome ("Grant
139
- builder access"). **Decline declines at once**: a host's card has no reason
140
- field (rule 3), and a press never waits on a message. The card then reads as
141
- its record ("Declined: Martha Botha's builder access"), and the requester sees
142
- who declined. A reason, when the person wants to give one, is a reply on the
155
+ naming them and the act ("Give Martha Botha builder access to alis?") under "Request from Martha Botha · 15:20", its
156
+ body their note in their words, quoted on `surface-container-low`, then
157
+ Decline and the verb by its outcome ("Grant builder access"). **Decline
158
+ declines at once**: a host's card has no reason field (rule 3), and a press
159
+ never waits on a message. The card then reads as its record ("Declined ·
160
+ Martha Botha's builder access · by you at 15:21"), which says what the
161
+ requester sees ("Martha sees it in the conversation"). A reason, when the person wants to give one, is a reply on the
143
162
  requester's conversation, typed in the host's composer; where the host's own
144
163
  agent answers, it may offer to pass one on.
145
164
 
@@ -151,6 +170,15 @@ opens there too, never inside the card: a card never navigates (rule 2). The
151
170
  expanded view is a page, so moving around in it is fine, with a back that
152
171
  names where you came from ([page.md](page.md)).
153
172
 
173
+ **A list's header names it and how many**, and the kind once when every row is
174
+ one ("Your projects · Project · Alis Ideate · 8"); its rows then drop the
175
+ kind. A row's state sits at its trailing edge, and in a list an operation is
176
+ named by what it acts on, its label moving to the state. The opener is
177
+ `text-label` in `on-surface`. **An opened thing** heads its page with its
178
+ title, its detail, *Open in the AlisX console* and its step, with its ways in
179
+ as tabs under it, Overview first. A resource name never shows, and a count is
180
+ said in words.
181
+
154
182
  **A card the host can't change.** Microsoft Teams updates a card it drew;
155
183
  Microsoft 365 Copilot and Gemini Enterprise can't. There, a card is drawn once
156
184
  and stands as a record of that moment: a task card says when ("Working ·
@@ -207,7 +235,9 @@ rest". The expanded view says how many it shows when it can't show them all:
207
235
  "The first 50 of 120", or "The first 50" when the whole isn't known.
208
236
 
209
237
  **What makes an approval grave** is said in words, never by a tint or a red
210
- card: an ask is never coloured, because a decision isn't a status.
238
+ card: an ask is never coloured, because a decision isn't a status. On a grave
239
+ ask the verb names where it lands ("Deploy to Production"), so the button
240
+ alone is safe to press.
211
241
 
212
242
  | `risk` | The first sentence |
213
243
  | --- | --- |
@@ -225,23 +255,30 @@ risk is `CHANGE` or none. A grave approval never offers one.
225
255
  command" (or the act, once the agent says it), "Allowed for this session: alis
226
256
  build commands", "Not now: Run this command"; for a plan, "Allowed: Run this
227
257
  plan, asking before every change", "Allowed: Run this plan without asking",
228
- "Not now: Run this plan". A choice leaves the person's own words.
258
+ "Not now: Run this plan". A choice leaves the person's own words. On a card a
259
+ record is one line, since a host keeps its cards and the chat becomes the
260
+ record: the outcome in `text-label`, then the act, who and when ("Allowed ·
261
+ Deploy 1.4.2 to Production · by you at 15:21"). A time is written as the
262
+ person's own clock writes it, never with a leading zero.
229
263
 
230
264
  **An ask nobody answered** reads as its record too, in ink, never red, and
231
- loses its actions. One that lapsed says when and what didn't happen, named:
232
- "No answer by 15:30, so Alis didn't deploy 1.4.2 to Production", or, for an
233
- ask that isn't Alis's, "No answer by 15:30, so 1.4.2 wasn't deployed to
234
- Production". One asked again further on, before anyone answered, reads "Asked
265
+ loses its actions. One that lapsed is a record like the rest, saying what
266
+ didn't happen and when, then the way back in words: "Not answered · Deploy
267
+ 1.4.2 to Production · nothing was deployed after 15:30", and under it "To
268
+ deploy it, ask again." One asked again further on, before anyone answered, reads "Asked
235
269
  again: Deploy 1.4.2 to Production", so only the newest can be pressed.
236
270
 
237
271
  **An operation's label**, with its version and, for a deploy, where it went:
238
272
 
239
- | | Running | Done | Failed |
240
- | --- | --- | --- | --- |
241
- | Define | Defining 1.0.5 | Defined 1.0.5 | Couldn't define 1.0.5 |
242
- | Build | Building 1.0.5 | Built 1.0.5 | Couldn't build 1.0.5 |
243
- | Deploy | Deploying 1.0.5 to Development | Deployed 1.0.5 to Development | Couldn't deploy 1.0.5 |
244
- | Not said | Running | Finished | Couldn't finish |
273
+ | | Running | Done | Failed | Stopped |
274
+ | --- | --- | --- | --- | --- |
275
+ | Define | Defining 1.0.5 | Defined 1.0.5 | Couldn't define 1.0.5 | Stopped defining 1.0.5 |
276
+ | Build | Building 1.0.5 | Built 1.0.5 | Couldn't build 1.0.5 | Stopped building 1.0.5 |
277
+ | Deploy | Deploying 1.0.5 to Development | Deployed 1.0.5 to Development | Couldn't deploy 1.0.5 | Stopped deploying 1.0.5 |
278
+ | Not said | Running | Finished | Couldn't finish | Stopped |
279
+
280
+ Stopped is in ink, and said only where the stop's own answer says so: read
281
+ again later, a stop the service records as a failure reads as one.
245
282
 
246
283
  **A reference's kind**, from the last collection in its name (`…/products/…`,
247
284
  `…/interviews/…`): names nest (`organisations/acme/products/ledger` is a
@@ -316,6 +353,19 @@ places, each read by someone else:
316
353
  onboarded until it has a profile of its own.
317
354
  - **The host draws the work.** Its tool call, with its own spinner, is the
318
355
  working line; a profile says whether a widget of ours takes over.
356
+ - **What the person came for draws whole; a lookup on the way folds**. What
357
+ changed (the thing made, the work, an ask), the thing they asked about and
358
+ the list they asked for draw as cards. A lookup the host draws a widget for
359
+ anyway shows collapsed: one line in the card's own words, its title in
360
+ `text-label` and the rest in `on-surface-variant` ("Built 1.4.2 ·
361
+ alis.os.probe.v1 · 12:19"; a list says how many and its first names), with
362
+ no edge or ground of its own. The whole line is a disclosure ending in
363
+ *Show*; shown, it is the card, with its actions and *Hide* on its title row.
364
+ Nothing collapsed carries an action, so no live action lands on a thing
365
+ nobody asked about, and an ask is never collapsed.
366
+ - **A widget's own words are written for the person**, never the result's
367
+ text written for the host's agent: with nothing to draw, its line says what
368
+ the console would ("No projects yet in acme").
319
369
 
320
370
  ## Every host
321
371
 
package/rules/icons.md CHANGED
@@ -20,6 +20,10 @@ library, and nothing else hand-drawn. Self-host the subset you use.
20
20
  not `email`).
21
21
  - **Send is `arrow_upward`**, in the composer's filled circle: it points into the
22
22
  conversation. Never the paper plane (`send`), which sits lopsided in a circle.
23
+ - **Talk is `voice_selection`**, a mouth with sound coming out: on the composer's
24
+ Talk, a dock's Talk and Hold to talk, wherever the person starts speaking aloud.
25
+ Never `graphic_eq`, which is an audio file and reads as a level meter, and never
26
+ `record_voice_over`, which is an interview, the thing.
23
27
 
24
28
  ## The capability marks
25
29
 
package/rules/type.md CHANGED
@@ -29,7 +29,7 @@ What is this text doing?
29
29
 
30
30
  Default when unsure: **body**.
31
31
 
32
- Four more styles, each with one place:
32
+ Six more styles, each with one place:
33
33
 
34
34
  - **`text-page-title` on a phone** is 22/28 at 500, no tracking (below 600px):
35
35
  Material 3's Title Large Emphasized, the title of its 64 small app bar
@@ -53,6 +53,11 @@ Four more styles, each with one place:
53
53
  - **`text-reading`**, 20/28 at 400: the reading that leads a Glass view, one or
54
54
  two sentences built from the state, its notable part at 600 ([glass.md](glass.md)).
55
55
  Nowhere else.
56
+ - **`text-prompt`**, 30/38 at 500, −0.02em (24/32 below 600px): the question
57
+ someone is answering, read at arm's length. A live interview's question
58
+ ([AppVoiceView](../components/AppVoiceView.md) § An interview) and a typed
59
+ interview's latest question. One per screen, and never a title: the screen's
60
+ name stays `text-page-title` or the progress above it.
56
61
 
57
62
  ## Body, supporting or meta
58
63
 
@@ -162,11 +167,11 @@ marks the selected and commits, 800 greets.** This is M3 Expressive's model: a
162
167
  quiet baseline, with emphasis spent where it means something.
163
168
 
164
169
  - **800**: welcome-title only, the one hero moment of an entry screen.
165
- - **700**: page-title (500 on a phone, § Three more styles), metric-value, the selected state (`.text-selected`), the
170
+ - **700**: page-title (500 on a phone, § The seven jobs), metric-value, the selected state (`.text-selected`), the
166
171
  filled button, and eyebrow.
167
172
  - **600**: section-title, a text or outlined button's label, emphasis in reading text
168
173
  (`.text-emphasis`), and `strong` and the headings in rendered prose.
169
- - **500**: object-title, label, tabs, segments, nav rows.
174
+ - **500**: object-title, label, prompt, tabs, segments, nav rows.
170
175
  - **400**: body, supporting and meta.
171
176
 
172
177
  **Never override a role's weight.** A weight utility beside a role wins and
@@ -177,7 +182,7 @@ breaks it. Choose the role, and emphasise only reading text, at 600.
177
182
  **None outside the headings and the eyebrow**, because alisx.com sets Nunito Sans
178
183
  at 0.
179
184
 
180
- - welcome-title and page-title −0.03em, section-title −0.02em.
185
+ - welcome-title and page-title −0.03em, section-title and prompt −0.02em.
181
186
  - eyebrow 0.12em, because it is uppercase.
182
187
  - Everything else, labels, buttons and tabs included: 0. Set a component
183
188
  library's own tracking to 0 once, in its theme; never restate it on a
package/tokens.json CHANGED
@@ -1410,6 +1410,18 @@
1410
1410
  },
1411
1411
  "usage": "Names the whole screen. One per screen, in the title bar."
1412
1412
  },
1413
+ {
1414
+ "name": "text-prompt",
1415
+ "fontSize": "30px",
1416
+ "lineHeight": "38px",
1417
+ "fontWeight": 500,
1418
+ "letterSpacing": "-0.02em",
1419
+ "phone": {
1420
+ "fontSize": "24px",
1421
+ "lineHeight": "32px"
1422
+ },
1423
+ "usage": "The question being answered, read at arm's length: a live interview's question, and a typed interview's latest question. One per screen."
1424
+ },
1413
1425
  {
1414
1426
  "name": "text-section-title",
1415
1427
  "fontSize": "18px",